2523 Commits

Author SHA1 Message Date
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
Jenkins
c035ab79a4 Merge "Fix AXFR / Secondary zone functionality" 2015-09-07 13:01:23 +00:00
Jenkins
c0453b6793 Merge "Fix typos in comments" 2015-09-07 13:01:13 +00:00
Endre Karlson
9350ea7ad0 Fix AXFR / Secondary zone functionality
* Dont load masters when loading attribute relations as this causes
  update_domain() to explode after the zone is AXFR'd
* Change srv.ip > srv.host

Closes-Bug: #1492749
Closes-Bug: #1492750
Change-Id: Ia6b1e855708254ab2d17ffd92eed3c140b2b9836
2015-09-06 14:29:38 +02:00
THOMAS J. COCOZZELLO
d351a1de8b Activate pep8 check that _ is imported
Remove the specification in tox.ini that _ is a builtin so that
it will no longer assume that _ does not need to be imported.
This helps ensure that the _ from i18n is used.

Activating this check did not flag any violations.

Change-Id: I5ce6b01544eab566353ad69a3d36d009f178f606
2015-09-03 15:46:46 -05:00
Takashi NATSUME
8b9d948f7a Fix typos in comments
paramater => parameter
accross => across
targetted => targeted
sucessful => successful

Change-Id: I8319d713946317de3e6e385034ffffcc83e1b3a8
2015-09-03 18:37:27 +09:00
OpenStack Proposal Bot
dbd58dfe00 Updated from global requirements
Change-Id: I88ca5f963c906eee602c57c99b4a33ad5eacc252
2015-09-02 17:30:39 +00:00
Jenkins
21a7db80dd Merge "The address for cloning designate is corrected" 2015-09-02 17:07:30 +00:00
Jenkins
9a1b75f317 Merge "Asynchronous Zone Export" 2015-09-02 17:07:28 +00:00
Jenkins
8fce7255e1 Merge "Show functional test request logging" 2015-09-02 17:07:23 +00:00
Jenkins
0f35061702 Merge "Refactor Zone Import Internals" 2015-09-02 17:07:20 +00:00
Jenkins
4c448232cf Merge "Correct generated links when behind an SSL terminating proxy" 2015-09-02 16:12:08 +00:00
Jenkins
a4fb27ac27 Merge "Add a service catalog override url for the functional tests" 2015-09-01 11:25:32 +00:00
Jenkins
2e300411bf Merge "Remove unused dependency: discover" 2015-09-01 11:23:07 +00:00
Jenkins
66015ea969 Merge "Grammar mistakes have been corrected" 2015-09-01 11:23:05 +00:00
Jenkins
d48e5d6310 Merge "Correct pool_target options in sample config" 2015-09-01 11:22:17 +00:00
OpenStack Proposal Bot
01db3feb9b Updated from global requirements
Change-Id: Ibb27d10f37c6bd40e6aedd58670ee328e6f2b8c8
2015-08-31 15:31:03 +00:00
TimSimmons
0f183cf2e8 Correct generated links when behind an SSL terminating proxy
Adds SSLMiddleware that checks a configurable header to set
the correct url_scheme used to generate links when host headers
are in use.

Change-Id: Id864bb53d175c868fdee58c04fd2ea27ee188e08
Closes-Bug: #1490034
2015-08-31 10:25:38 -05:00
Tim Simmons
eb00e1fb05 Correct pool_target options in sample config
When https://review.openstack.org/#/c/170612/ landed, the host/port
configuration for pool targets moved to be regular pool_target options.

The config that is shown in the documentation reflects this, but the sample
config does not. This gets really confusing, because the default host/port
is 127.0.0.1:53, so the Pool Manager will still start, and NOTIFYs will
be sent there.

Change-Id: If682bdcdf2bfb5f2a6c7f435a41e0577e262a5f3
2015-08-31 09:19:02 -05:00
venkatamahesh
06ff802dc9 The address for cloning designate is corrected
For cloning designate using https://github.com
is easy, so it is changed

Change-Id: I2bef6189e316f35cbf63b3c16b0ddb99763b5345
Closes-Bug: #1487684
2015-08-31 06:16:38 +05:30
TimSimmons
50d1b1553e Asynchronous Zone Export
Do the needful to move Zone Exports to an asynchronous resource in the
v2 API, as discussed at the Austin 2015 summe mid-cycle

* Make designate-zone-manager an RPC service, with a read-only connection
  to the database
* Add a 'location' column to the zone_tasks table that stores a location
  (swift, URI) that is used to determine where the export will be made
  available to the user
* Add all the infrastucture to make zone export resources live (objects,
  central, storage methods)
* Add a quota on the size of allowed synchronous exports
* Tests, docs

THIS DOES NOT IMPLEMENT
* Zone exports to Swift
* Debateable: See the note in zone_manager/service.py about how the configuration
  and determination of future swift exports will work.

ApiImpact
Blueprint: async-export
Change-Id: I1c168b10358164c3ca5be986b4d615df71062851
2015-08-28 16:45:10 -05:00
Paul Glass
0eb5125e96 Add a service catalog override url for the functional tests
This lets us run functional tests that need to auth with keystone
but that need to run against a url outside of the service catalog.

Change-Id: Ie3f739ea2626bd0c597188f3312a7c2b950ae4fb
2015-08-28 16:12:51 +00:00
TimSimmons
523395dec0 Refactor Zone Import Internals
In preparation for async zone exports, move imports to be their own objects,
away from zone tasks. This is essentially a giant renaming.

Change-Id: If6eefbf5553d0fc09e638e879b88c73c133c56fe
2015-08-28 10:27:34 -05:00
Chandan Kumar
ff8d1b5d33 Remove unused dependency: discover
Change-Id: I1f3e7056d8dd93bddd7fe9d5939d6b168363bd33
2015-08-28 20:08:38 +05:30
Paul Glass
f27e662cbe Add functional tests that query for wildcard records
Change-Id: I61131b4b60562b7cd0812e8f542f587165e04380
2015-08-28 14:17:13 +00:00
Jenkins
7ac4cb4759 Merge "Remove unused V2 schemas" 2015-08-27 19:22:11 +00:00
Jenkins
371c75dc89 Merge "Fixing datagen random_pool_data" 2015-08-22 16:22:01 +00:00
Jenkins
ca8f9474a0 Merge "Add DomainMaster Object to designate objects" 2015-08-22 16:21:58 +00:00
Jenkins
e59e584b64 Merge "Update docs for the functional tests" 2015-08-22 16:21:51 +00:00
Jenkins
0d3b81c338 Merge "Refactor notify logic into backends" 2015-08-22 16:12:53 +00:00
venkatamahesh
1f944da12f Grammar mistakes have been corrected
Change-Id: I3e19f22e78fe3904817b180687dc62a0a8a6bc77
Closes-Bug: #1487688
2015-08-22 21:32:18 +05:30
Paul Glass
2ce23fe37f Show functional test request logging
* Failed test cases will show all captured logging
* Forward OS_*_CAPTURE environment variables along from tox to testr

Change-Id: Ice9a64d07bb77dd46fb1da6a8ffaa8fd85d5f38b
2015-08-19 15:44:11 +00:00
Paul Glass
fa61cfe167 Update docs for the functional tests
* Call them "functional tests" instead of "tempest tests"
* The functional tests are run with tox now
* Updated the config file

Change-Id: Ibf9e986ac63e277e1b4f5f319113b4558be2a900
2015-08-18 13:52:28 -05:00
Jenkins
e593741969 Merge "Export Zones" 2015-08-17 17:55:18 +00:00
naggappan
6b9f4b274e Fixes bug 1484332
git url was wrong. Modified to proper url

Change-Id: I24ed1d236634bb3628556a52ae13612bd856794f
2015-08-13 22:44:42 -07:00
Jenkins
7d3a448ce3 Merge "Updated from global requirements" 2015-08-13 14:50:00 +00:00
Jenkins
5e345d3fe5 Merge "Add functional tests for wildcard records" 2015-08-13 14:22:48 +00:00