252 Commits

Author SHA1 Message Date
Paul Glass
669ab5c830 Functional tests: minus tempest, plus noauth support
* Functional tests no longer need tempest installed
* Functional tests can run against a Keystone-less environment

Change-Id: I2c2603b7207bfa09bb96ad180b959e4164096858
2015-04-21 15:46:53 +00:00
eric
0dea7e3d6f Correct designate-dashboard domain detail screen
The detail screen for domains was just linking to the
update screen, which does not follow other horizon screens / UX
patterns.  This change adds a new detail screen.

Change-Id: Ice43b2d96087e607746ceaa51d13ec4810fdf3cb
Closes-Bug: #1443588
2015-04-18 13:56:17 +00:00
eric
0763101f66 Add policy support to designatedashboard
Change-Id: I52ec9ed4cb42d251b4991599eb55c8ed4c3cf0c8
Closes-Bug: #1438438
2015-04-17 20:22:26 +00:00
Kiall Mac Innes
43e65f9efb DevStack: Reduce periodic intervals in the gate
Additional, increase the Tempest test timeout to double the sync
interval, to ensure it has a chance to run.

We do this to ensure a periodic sync is issued at least once
within the tempest timeouts, in order to work around an apparent
kernel bug in the netfilter module[1].

[1]: https://deepthought.isc.org/article/AA-01213/0/What-causes-refresh%3A-failure-trying-master-...%3A-operation-canceled-error-messages.html

Change-Id: I369f9913e4d2df2cd9e9f21ae26810194f5518dc
2015-04-09 16:51:44 +00:00
Kiall Mac Innes
515bb38603 Fixup DevStack Horizon install
Change-Id: I85b7c600fe78c19d562ddcf0fcfc87dca101a2a5
2015-04-07 19:05:28 +00:00
Jenkins
8eb8ec5ab6 Merge "Add Ceilometer support to DevStack plugin" 2015-04-07 18:06:33 +00:00
Jenkins
7e390c68ba Merge "DevStack: Akamai/Dyn Support for Jenkins Credentials and Exercises" 2015-04-07 18:06:25 +00:00
Jenkins
fe1b2f8a1e Merge "Split out Optional OpenStack services in localrc" 2015-04-07 17:57:30 +00:00
Jenkins
d412aa580a Merge "Support Vagrant Libvirt" 2015-04-07 17:57:22 +00:00
Jenkins
4dfdfc2a75 Merge "Fix support for PostgreSQL" 2015-04-07 16:26:41 +00:00
Jenkins
19ef3db9c2 Merge "Revert "Disable tempest in the gate, for now"" 2015-04-07 16:26:38 +00:00
Kiall Mac Innes
3dc701a1ba Add Ceilometer support to DevStack plugin
This simply enables Designate to emit the necessary notifications, as a
first step towards Ceilometer integration.

Change-Id: I5183df447d80cdfbd39f6fc178c05a3f5d09dd4b
2015-04-04 15:04:25 +01:00
Kiall Mac Innes
9a36544add DevStack: Akamai/Dyn Support for Jenkins Credentials and Exercises
The Jenkins credential binding plugin will provide the secrets in
a single colon separated environment variable, so we pass this
through and update the Akamai and Dyn drivers to support reading
from it.

The exercices are also now fixed, where both the Akami and Dyn
backends would result in more than 1 NS records, the original
counters were off.

Change-Id: I7bb37e9671dae34b47abf9bf092d90e8ba248ccb
2015-04-04 15:04:25 +01:00
Kiall Mac Innes
8574c82b5b Split out Optional OpenStack services in localrc
Additionally, Switching the provided examples to use Neutron
rather than Nova's old networking.

Change-Id: I6a5079c7bc2ab7163e843ca9697ac6d7415c004f
2015-04-04 15:04:25 +01:00
Kiall Mac Innes
816e4fe879 Support Vagrant Libvirt
Change-Id: Ic5e56697cdb5c311d0715d665321e83b70d823c6
2015-04-04 14:33:07 +01:00
Endre Karlson
50c435c056 Fix support for PostgreSQL
https://review.openstack.org/152337 - This is a reference for dropping support
for downgrade() in migrations that add values to enums since it's hard to
delete values from a enum type in postgres.

Change-Id: I61e86935b508986470447f02fa2f4b6c9d9f8afd
2015-04-01 14:50:02 +02:00
Kiall Mac Innes
768db6e0cb Akamai: mDNS must run on port 53
Change-Id: I09e158623102e389ec876a9a1a553bd0a119b28a
2015-03-31 21:18:50 +01:00
Kiall Mac Innes
41fb13ac60 Add Akamai EDNS Backend
This is a heavily stripped down version of the Akamai backend used
by HP Cloud, some stripped functionality was HP internal, others were
for features not currently upstreamed - but will be upstreamed in
Liberty.

Change-Id: I05a15e07eecd95c8fc19c91bd2c3d33ad1ef9953
Implements: blueprint akamai-backend
2015-03-31 16:48:44 +01:00
Kiall Mac Innes
55de27b95a DynECT: Convert to a Pool Backend
Change-Id: Ia68020563274f5b7854db5d5a586641f07b266a7
Closes-Bug: 1404529
Closes-Bug: 1398989
2015-03-31 16:48:44 +01:00
Kiall Mac Innes
3386d9539c Implement Pool Targets
We separate out the idea of targets (backends you write to), to places you read
from (DNS servers you query). This allows for backends like Akamai/Dynect/Agent
to work correctly with multiple DNS servers behind one target.

Change-Id: If1060ccd83bce8201f52e9927789db21fc2675c9
2015-03-31 16:48:44 +01:00
eric
497aad8351 forgot missing __init__.py file
Change-Id: Ieb4856024625c6cfcd088c2901f02f7cffb76b4b
Closes-Bug: #1436584
2015-03-25 15:54:22 -06:00
eric
3f9a7e1704 improving designatedashboard packaging
this change moves some items around to place all the
designatedashboard items in a self contained egg for
easier deployment

Change-Id: I4830baf17991de1c5305bd4aa88a885f91954f4d
Closes-Bug: #1435583
2015-03-24 08:54:27 -06:00
Kiall Mac Innes
0c50755c01 Archive non-pool backends
As these are converted to PoolBackends, we'll move them back into
the codebase.

Change-Id: Id004c39d92940d706cd8f86ab00bfcac0b0f3098
2015-03-22 16:14:50 +00:00
Kiall Mac Innes
2eaf00aba6 Revert "Disable tempest in the gate, for now"
This reverts commit 95f3716b1b310c4c01da87605fc549f80bd78f6d.

Change-Id: I9d5d603f3b2b3932bd62f679c68d8b2aaae65160
2015-03-20 12:17:08 +00:00
Jenkins
3ea4b30971 Merge "Add Admin API and add extensions" 2015-03-19 15:00:07 +00:00
Kiall Mac Innes
95f3716b1b Disable tempest in the gate, for now
Change-Id: I0dfc3228a37f9a92fabe27b15979d9ed273a442a
2015-03-18 21:20:59 +00:00
Graham Hayes
a8a6246dbc Add Admin API and add extensions
* Move the current v2 extensions to /admin
* This should be an evolving API, so not guaranteed to be stable
* Basic admin api code ripped from
  Id19d6b84808b1b2ef0b1fcefdf85ffa0ccce191b

Change-Id: I1737af3be4eb7cb8c965f215f9c609af49d3bea2
APIImpact: Moved admin extensions to /admin/
2015-03-18 16:32:54 +00:00
Endre Karlson
f4225c8bee MDNS part of Secondary zones
Change-Id: I707a2f217b8ab56699ebe7ac80658bd637515b73
2015-03-16 21:46:09 +01:00
Kiall Mac Innes
24b5762e28 Implement TSIG Support in mDNS
Implements support for scoped TSIG Keys in MiniDNS. When a non-tsig
signed request is received, we assume the default pool should be
used.

Change-Id: I0b5ab727fba526724e44894bb7b84855e3ec0351
Implements: blueprint mdns-designate-mdns-tsig
2015-03-16 17:16:51 +00:00
Kiall Mac Innes
72ff534a62 Enable Tempest Functional Tests
Change-Id: I617c15aa5ba03bec103991f9b65ddc5e3181bd13
2015-03-13 15:50:37 +00:00
Endre Karlson
1924d8e7e9 Validate SSHFP records
Change-Id: Ied419f7ff7f6f66a1ec759d287d04934c44ad4da
2015-03-09 14:26:30 +01:00
Jenkins
2bb9f6d8c5 Merge "Fix exception handling" 2015-03-09 12:23:55 +00:00
Endre Karlson
76d4385820 Fix exception handling
Was Fix exception handling with no message.

I moved the common code into a decorator.

Change-Id: I9c7585714f34000efa82cfa897eb20e70314b2eb
2015-03-06 12:17:01 +01:00
Jenkins
50ef743ab5 Merge "devstack/install.sh shouldn't rely on exact paths" 2015-03-05 22:48:15 +00:00
John Schwarz
8ed2b96318 devstack/install.sh shouldn't rely on exact paths
Currently the contrib/devstack/install.sh script relies on the fact that
designate and devstack are installed side by side. This isn't always
true and can restrict the developer if he keeps his code someplace else
on the filesystem. This patch proposes a change to install.sh which
stores the pwd (where the script assumes devstack is installed,
according to the installation documentation [1]) and uses that directory
instead.

[1]: https://designate.readthedocs.org/en/latest/devstack.html

Change-Id: I97f7762dde56df6e3b9a45198d9201ec0296d94f
Closes-Bug: 1428679
2015-03-05 17:13:40 +02:00
Kiall Mac Innes
dacbc70c60 Add designate-agent to DevStack
This adds the service, but doesn't configure it etc
yet, additionally, do some cleanup and reordering
for consistency.

Change-Id: I205a6feb7650789099a20bfc64b15e2fd7714e90
2015-03-05 12:17:35 +00:00
Jenkins
403306993e Merge "Remove bulk actions from records page" 2015-02-28 14:20:14 +00:00
Endre Karlson
094dba75de Remove bulk actions from records page
Change-Id: I878dc5328ce223fd9533460b643e28e0cfab6847
2015-02-26 18:20:03 +01:00
Endre Karlson
4b08ee0726 Pass SSL CA Cert to client
Change-Id: I79c1e5d2018eb660b22d61c12d16df8026a0f588
2015-02-23 12:40:59 +01:00
Endre Karlson
57cf7916ab Pass ssl no verify to client
Change-Id: I9607d59aa33d52e64624964c909ef9a6fc7b363a
2015-02-23 12:37:55 +01:00
Kiall Mac Innes
0945e88877 DevStack: Sync function rename with DevStack
See I999308098d22be9800578ae67144a3b687fbc3be

Change-Id: Icf1f379fc5437db2246aa6ef37fc9974f003a1e5
2015-02-12 17:24:44 +00:00
Endre Karlson
7eefb71b8b Switch to oslo.log
Change-Id: I08386ed2c8a2d9e16c57776413a612b8bf8323f7
2015-01-21 21:39:16 +01:00
Kiall Mac Innes
270ad8a2fd Update Vagrantfile with new Ubuntu box
rhefner/devstack-dependencies no longer exists (Download fails with
a 401), so we switch over to ubuntu/trusty64.

Change-Id: Ibcfb028af22a0f6446948f770be7af1b8663b90e
2015-01-14 10:21:17 -08:00
Vinod Mangalpally
889475db99 Post-pool merge cleanup
(1) Removed references to designate-agent.
(2) Removed mdns references that are no longer needed.
(3) Ensure that create_domain creates soa first.
(4) Removed py26 from the default tox tests

Change-Id: Ic014fecac7f97fa88a45e3ac2a3e2d35299fc966
2014-12-16 12:40:28 -06:00
rjrjr
4e75f5b54c Pool Manager Integration with Central
Full integration of Pool Manager with Central (no longer using the proxy
backend driver.)

This patch fixes:

- Fix concurrent requests that cause lockup issue (bug #1392762)
- Fixed bug where creating a domain fails the first time in mdns
- Fixed bug where records in recordsets do not have the correct
  status/action/serial
- Changed 'ADD' to 'CREATE' for ACTION column
- Ported Fake backend to pools
- Removed transitional pool_manager_proxy backend

Change-Id: Icb40448f760ff2a573d08a04bb4dec1f550119bb
Closes-Bug: 1392762
2014-12-15 18:48:51 +00:00
Kiall Mac Innes
39c49c057e Remove the non-pools bind9 backend
Change-Id: Id04a0d6b76244d5f3b22b637e79bf05209287ad3
2014-12-15 13:55:07 +00:00
Kiall Mac Innes
9b7a253460 Convert PowerDNS to a Pools Backend
Change-Id: I1bf5f91afa1262d73acb0e494c42bdc8166f8195
Blueprint: transition-powerdns-to-pools
2014-12-15 13:54:59 +00:00
Kiall Mac Innes
504a2607a8 Pools Config Changes
Implement the beginning of a structured pattern for Plugin's to provide
configuration into Designate. The chosen pattern has been built to support
both config generation, and the ability to define "extra" config options
which are based on other config options (i.e. the dynamic sections for each
pool server).

Change-Id: I1889ac1de3dc90b95533bea3f456ea2bf8e9b845
2014-12-15 13:53:37 +00:00
Jenkins
e7b06b218d Merge "Added designate-dashboard code to contrib/designate-dashboard" 2014-12-10 16:17:27 +00:00
Kiall Mac Innes
4a2cec8e20 Add DynECT DevStack plugin
Change-Id: I63f5da422c6690a7052cbde2983be0e9a466f451
2014-12-04 13:03:12 +00:00