2408 Commits

Author SHA1 Message Date
Jenkins
1d3115c49f Merge "Fix race condition in V1 Records API" 2015-09-22 15:23:26 +00:00
Jenkins
ecff9aac7a Merge "Fix Vagrantfile for Rally repo changes" 2015-09-22 15:23:19 +00:00
Jenkins
ad180b415b Merge "Correct a possible DNSService connection leak" 2015-09-22 15:23:12 +00:00
Jenkins
b51146c4db Merge "Ensure API workers > 1 starts correctly" 2015-09-22 15:23:05 +00:00
Jenkins
0ecb86e437 Merge "Unauthed tests for RecordSets (Security)" 2015-09-22 15:23:01 +00:00
Jenkins
fb0dfdbb7e Merge "Updated from global requirements" 2015-09-22 15:22:59 +00:00
Graham Hayes
12a82f5fec Fix unhandled exceptions in adapters parsing
Change-Id: I25ea27c2b7d79982517f348fb3d43f4b5b045975
Closes-Bug: #1483404
2015-09-22 16:17:47 +01:00
Kiall Mac Innes
b153f66298 Add Kilo upgrade nodes
Change-Id: If34909ddbec624ecff96d6649e40612f067bc46e
Closes-Bug: 1494388
2015-09-22 15:39:51 +01:00
Federico Ceratto
8277e964db Fix #1494799 handle limit=max on v2 and Admin APIs
Handle mixed case "max", raise ValueError on unexpected strings
on v2 and Admin APIs.
Add unit tests.

Change-Id: I2cf8d11bd2f4bc4bdff9d67812f6eb7437eb59ae
Closes-bug: 1494799
2015-09-22 15:27:05 +01:00
Endre Karlson
93d572e47a Ensure unique records when listing recordsets
Add a test also to always ensure that the records are unique.

Change-Id: Iddc451ec2c99c51260273fbbabebb1c00c79e74d
Closes-Bug: #1493942
2015-09-22 15:18:10 +02:00
Kiall Mac Innes
eea5c1e8ad Fix race condition in V1 Records API
When listing records in the V1 API, two calls to central
are made - once for records once for recordsets - if the
content of either changes between the two calls, a failure
can occour. Instead, we already have all the data we need
so use it from the recordsets rather than make two calls

Change-Id: Ic43d7e8c0d60267ec4788b63ed5f7e88e7bbe625
Closes-Bug: 1487934
2015-09-22 14:16:46 +01:00
Kiall Mac Innes
3e3d4681b7 Fix Vagrantfile for Rally repo changes
Change-Id: Ifb026caa7fbbf0f7162b8400e97fe818d2783156
2015-09-22 12:24:26 +01:00
Kiall Mac Innes
4a68605bc8 Correct a possible DNSService connection leak
There was a potential codepath where, if after parsing
a packet, an exception was raused, we may leave TCP sockets
around without explicitly closing them

Change-Id: I6d619d05c7d0250cb5ae55212129e0d849c66c9d
2015-09-22 12:24:06 +01:00
Kiall Mac Innes
0c034d1c8a Ensure API workers > 1 starts correctly
* Move DNSUtils bind methods into designate.utils
* Switch WSGIService to using the bind_tcp method
* Add support for TCP_KEEPIDLE to the bind_tcp method

Change-Id: If2d554fd757969f5b833ede6cb635bb4901906a7
Closes-Bug: 1498054
2015-09-22 10:52:41 +01:00
OpenStack Proposal Bot
ce2155523b Updated from global requirements
Change-Id: Ic39771d8296589e594ba17f802f8fceeb44b5611
2015-09-21 18:54:48 +00:00
Jenkins
537f8930c7 Merge "Change ignore-errors to ignore_errors" 2015-09-21 15:43:25 +00:00
Jenkins
253cd8a88b Merge "A functional test to check CNAME recordsets allow only 1 record" 2015-09-21 15:42:48 +00:00
Jenkins
f9eb708cbc Merge "Ensure CNAME RRSets only have one record" 2015-09-21 15:42:03 +00:00
Monty Taylor
9c5bc4cb28 Change ignore-errors to ignore_errors
Needed for coverage 4.0

Change-Id: I7c02559fccb0feebdac6f2cdc5dcb69c17bf18b8
2015-09-21 14:26:01 +00:00
Paul Glass
4097be456b A functional test to check CNAME recordsets allow only 1 record
Change-Id: Ifa7232d858a20db05cd03e949fbd3c4e891a6afb
2015-09-18 20:54:58 +00:00
Charles Neill
1e6456ac1f Unauthed tests for RecordSets (Security)
These tests will attempt CRUD operations against RecordSets without
auth tokens. All requests should return 401 (Unauthorized).

Change-Id: I2959f5438efa748042a1c2ef7fa03d17f5892ef2
2015-09-18 10:48:05 -05:00
Jenkins
3af1dc0e31 Merge "Imported Translations from Zanata" 2015-09-17 22:41:48 +00:00
Jenkins
57eaca83dd Merge "Updated from global requirements" 2015-09-17 22:32:54 +00:00
TimSimmons
476980e9a1 Ensure CNAME RRSets only have one record
Throw a 400 error back at the user if they try to create a CNAME
RRSet with more than 1 record.

Change-Id: I252fcd046dc902ff28162d831c0c0fd6b0dea3d2
Closes-Bug: 1486743
2015-09-17 16:28:58 -05:00
Federico Ceratto
443b802a36 Remove functional-tests.log, update .gitignore
Change-Id: Iecb7e790f99dc4581a5e78aa7a2403c20f235c62
2015-09-17 15:18:33 +01:00
OpenStack Proposal Bot
a24b754c67 Updated from global requirements
Change-Id: Ib88162b601e714e94678503f6313c9b6c3a55db2
2015-09-17 12:11:31 +00:00
OpenStack Proposal Bot
d68474faac Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I28427c9aba24d6c20d012c30f6435a1e24dc6b11
2015-09-17 06:12:12 +00:00
Jenkins
f6f2c4cd48 Merge "Add backend for Designate using SECONDARY zones" 2015-09-16 18:19:36 +00:00
Jenkins
99308060e8 Merge "[zm] Periodic Secondary zone refresh task" 2015-09-16 18:09:46 +00:00
Endre Karlson
e90dbe1ae5 Add backend for Designate using SECONDARY zones
This will allow the use of a Designate installation as a backend using the
recently added SECONDARY zones feature. The patch includes bits for devstack
and tests.

Implement blueprint: d2d-driver

Change-Id: I5fcaf36482cf692432f7871ef08b2ae7fefe749a
2015-09-16 18:48:35 +02:00
Jenkins
746fa57eae Merge "Replace request.request_mac with request.mac" 2015-09-16 15:13:46 +00:00
Jenkins
eb34b4da82 Merge "Handling Forbidden Exception" 2015-09-16 15:10:48 +00:00
Jenkins
c3bd071690 Merge "Updated from global requirements" 2015-09-16 15:02:32 +00:00
Endre Karlson
516360e769 [zm] Periodic Secondary zone refresh task
Change-Id: Ia619153e63da27f4555fb9a719214e54dfb5a26a
Closes-Bug: 1432850
2015-09-16 17:00:37 +02:00
Jenkins
1d9a2e544d Merge "Agent - If no allow_notify hosts are specified, allow all" 2015-09-16 15:00:24 +00:00
Jenkins
eeaaf8b9b8 Merge "Change ip->host in the agent" 2015-09-16 15:00:10 +00:00
Jenkins
af5fa2382d Merge "Check the contents of a zone export in the functional tests" 2015-09-16 14:56:45 +00:00
Jenkins
2d247d0cc7 Merge "Cleanup data created in the functional tests" 2015-09-16 14:05:34 +00:00
Jenkins
7e85461a32 Merge "Modify centrals 'purge_domains' arguments" 2015-09-16 11:50:07 +00:00
sonu.kumar
da1fdf792a Replace request.request_mac with request.mac
This patch replaces request.request_mac with request.mac
to provide TSIG verification.

Change-Id: Ide4f48dc3b4de7a919cc41abebf9843d0ba77763
Closes-Bug: #1466300
2015-09-15 16:37:34 +05:30
hardik
f51ce40034 Handling Forbidden Exception
This patch adds forbidden exception for all_tenants
and edit_managed attributes.

Change-Id: I7a160abee99cc787f18593cba5c9e33485a85239
Closes-Bug: #1486709
2015-09-14 16:53:31 +05:30
Paul Glass
ef96861c2c Check the contents of a zone export in the functional tests
* Fixes a policy check on doing the zone export that caused a 403
unless the tenant was an admin
* Adds ZoneFile and ZoneFileRecord models to parse a zone file
* Adds some "meta" tests for the new models
* Updates the test_export_domain test to check the zone file text

Change-Id: I65c93f5d5283fc5962f4a2bf0ac8abae1966e6d6
2015-09-11 20:20:26 +00:00
Paul Glass
3c8e0d7891 Cleanup data created in the functional tests
Change-Id: I773d56662adc24322ce0ab0fa26fb62c9624d36f
2015-09-11 20:17:07 +00:00
TimSimmons
10944d3ac6 Agent - If no allow_notify hosts are specified, allow all
Spelling out all the hosts that are allowed to send messages
to the Agent could get really tedious, and there are other ways of
controlling access to this service that might be smarter in a
production environment.

Change-Id: Ie6ee5cf748d7fc9d138b09d14b5be99cd22c05f4
2015-09-11 15:07:45 -05:00
TimSimmons
3bbfedcd9c Change ip->host in the agent
The agent is calling the `do_axfr` function in `dnsutils`, passing in
a dict with {"ip": "x"}, this was changed in
9350ea7ad0
this changes catches the agent up and restores functionality.

Change-Id: I339f5c6ebffe009c19f66d924648f44799c83479
2015-09-10 16:30:26 -05:00
OpenStack Proposal Bot
08b8e20107 Updated from global requirements
Change-Id: I83ee2420d65bb48896fd1c5a3c7c41f0d7b63831
2015-09-09 19:36:00 +00:00
Jenkins
f329a813aa Merge "Implement deleted zone purging" 2015-09-08 13:40:23 +00:00
Graham Hayes
b4109f19e8 Modify centrals 'purge_domains' arguments
Move 'criterion' from kwarg to arg.

Change-Id: Ib8168d066bbf0671d941f7b0211bb96021c066b0
2015-09-08 14:03:02 +01:00
Federico Ceratto
d0595c5a90 Implement deleted zone purging
Change-Id: I69e1be7e49dc4ee44f1f2b454ae5c758f4389245
2015-09-08 11:08:03 +01:00
Jenkins
d43a1fe27f Merge "Add functional tests that query for wildcard records" 2015-09-07 13:01:34 +00:00