2408 Commits

Author SHA1 Message Date
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
Jenkins
301cefc23e Merge "Increase unit tests coverage" 2015-08-13 14:00:25 +00:00
Graham Hayes
ea4b054ac6 Add DomainMaster Object to designate objects
Change-Id: I60dbe23be0d6f2ea6b6f3f9d7bd26ce2e2f7686f
2015-08-13 14:40:39 +01:00
Jenkins
d602a6421c Merge "Add __str__() methods to DesignateObjects" 2015-08-13 12:35:46 +00:00
Jenkins
725a717818 Merge "Agent: Optional middleware to rate limit NOTIFYs" 2015-08-13 12:31:01 +00:00
Jenkins
21d1cf0646 Merge "Remove auth* related param keys in middleware" 2015-08-13 12:29:04 +00:00
Paul Glass
31d8145762 Add functional tests for wildcard records
Change-Id: I45b65b7f842e2bc5dc3a8bf2129b1b647ffd5cfa
2015-08-13 11:59:48 +00:00
OpenStack Proposal Bot
c86dc92a80 Updated from global requirements
Change-Id: I89dd50625575dcab3cf7631e21d59cdc9e9000e0
2015-08-13 02:11:18 +00:00
Jenkins
3313171fb2 Merge "Verify DNS changes when updating RRSet" 2015-08-12 18:58:32 +00:00
Tim Simmons
520c32e514 Refactor notify logic into backends
The idea here is, like many things, the time and frequency of sending
NOTIFYs is not the same for every backend. So we let the backends decide
when to send their NOTIFYs. Ideally this makes the Pool Manager code simpler
and the backend code easier to understand, and avoids sending some
unnecessary NOTIFYs.

This requires a change to MiniDNS' rpcapi to make notify_zone_changed and
get_serial_number take a host and port, instead of a nameserver object.

Change-Id: I8d67cebeecc8261e715849aefeafd20f0d60d304
2015-08-12 18:57:57 +00:00
Jenkins
3c62f20c1f Merge "Replaces x.keys() with six.iterkeys(x)" 2015-08-12 15:12:28 +00:00
sonu.kumar
aed85dbd68 Replaces str to byte to provide py3 compatibility
Partially-Implements: blueprint designate-py3

Change-Id: I390c98978016833f4f0d5de9a9ef9d82ec9d01ac
2015-08-12 16:35:42 +05:30
sonu.kumar
a5865e270e Replaces x.keys() with six.iterkeys(x)
Partially-Implements: blueprint designate-py3

Change-Id: I92994c49b9821b9264e95ac8fa21e16907c4c35c
2015-08-12 14:59:20 +05:30
Mimi
cc03777022 Export Zones
Modified export zones to improve time.
Initially took 6 minutes 30 seconds to export a zone with 30,000
recordsets. Now takes 2-4 seconds. To export a zone with 100,000
recordsets, it now takes approximately 7-16 seconds.

MySQL Dump with 2 big zones (30,000 recordsets and 100,000 recordsets)
http://goo.gl/CEZ3pT

WIP

Change-Id: Ifc079ec89b7190532c90e1edb0e70f8d3da0018e
2015-08-11 21:06:12 +00:00
Jenkins
8aeaaf344d Merge "Fix zone transfer requests + add tempest tests" 2015-08-11 17:17:02 +00:00