252 Commits

Author SHA1 Message Date
Kiall Mac Innes
ce1b97a913 DevStack Gate: Enable Designate exercises
Change-Id: I716373187286abd2940a65f16ed71083020f0240
2014-06-10 00:48:41 +01:00
Kiall Mac Innes
bbcbc5b9b2 DevStack: Sync up our logging options
Change-Id: I6155ac2c04691f43397ac4a9111fa8d3cf70ceb0
2014-06-10 00:48:41 +01:00
Kiall Mac Innes
431f5327d0 DevStack: Sync up our service startup commands
Change-Id: I229a79fc398af0ad12433ed549e15313f5263b5b
2014-06-10 00:48:41 +01:00
Kiall Mac Innes
85f101d162 DevStack/Vagrant: Set # of CPU's to # of physical cores
Change-Id: Id41e2b674bf8b6feeced8cec8db5f95a8318a4a0
2014-06-10 00:48:41 +01:00
Kiall Mac Innes
23f10f6411 DevStack/Vagrant: Don't configure LOGFILE by default
This, somehow, causes messages to appear out of order when running stack.sh
via SSH.

Change-Id: Icfa1f44c16350ea9d11ce9acc955336bfac5ae8d
2014-06-10 00:48:41 +01:00
Kiall Mac Innes
8724522818 DevStack: Support configuring bind host/port
Additionally, sync with the other services and support tls-proxy. Note that
keystone currently does not start with the tls-proxy enabled.

Change-Id: I0558dc45d7b617a744336b645b0e25c1eaaf17aa
2014-06-10 00:48:41 +01:00
Kiall Mac Innes
21a1be4e88 DevStack: Migrate from keystone CLI to OpenStack CLI
Change-Id: I44e297684c8ccb408a97af85a91bda2101537b28
2014-06-10 00:48:41 +01:00
Kiall Mac Innes
311bd1ab78 DevStack: Support PowerDNS on Fedora
Change-Id: If29b8dbeb064051d35578f47b4be4c2e20239241
2014-06-10 00:48:41 +01:00
Kiall Mac Innes
33cb197ddf DevStack: Support devstack with bind9 backend on Fedora
This adds support for running devstack on Fedora 20 with
support for the bind9 backend in designate.
Adds the $STACK_USER to the bind9 daemon group, and uses sg to
start designate-central, because designate-central needs read/write
access to the bind9 db/zone files.

Closes-Bug: #1325655
Change-Id: Ib2a2d619dbd41234017d45871e8b11aa093df686
2014-06-10 00:48:41 +01:00
Kiall Mac Innes
2c65d444f5 DevStack: Split backends out into plugins
Change-Id: Ie3183a3daf1e9e97f92d49238ee06df81daf67e1
2014-06-09 20:58:42 +00:00
Jenkins
2806103d44 Merge "DevStack: Use a timeout rather than hard sleep" 2014-06-09 20:50:46 +00:00
Jenkins
69119ff987 Merge "DevStack: Support running with bind9 as non-root user" 2014-06-09 20:50:37 +00:00
Jenkins
73d805c372 Merge "DevStack: Default to PowerDNS rather than the fake backend" 2014-06-09 18:56:25 +00:00
Jenkins
73f1173b5e Merge "DevStack: Ensure PowerDNS is configured correctly" 2014-06-09 18:56:19 +00:00
Jenkins
774a1c6929 Merge "Add DevStack Vagrantfile" 2014-06-09 18:55:58 +00:00
Jenkins
d18ce92a52 Merge "API now passes objects to central" 2014-06-09 13:18:13 +00:00
Kiall Mac Innes
ebdbdfc8b7 DevStack: Use a timeout rather than hard sleep
While waiting for Designate to start, use a timeout rather than hardcoded
worst case sleep for 15 seconds.

Change-Id: I2dbe3dfd07532d223c9d45a6fc5040b94f744f81
2014-06-09 13:32:50 +01:00
Kiall Mac Innes
87c3be9d3b DevStack: Support running with bind9 as non-root user
Change-Id: Ifb630095cb17c1924cb04670158b25cabb77412d
2014-06-09 13:32:50 +01:00
Kiall Mac Innes
98e159d267 DevStack: Default to PowerDNS rather than the fake backend
Change-Id: Ie59482c46725682eed23e0f9a205519045d6c0d2
2014-06-09 13:32:50 +01:00
Kiall Mac Innes
89a8f3d137 DevStack: Ensure PowerDNS is configured correctly
Change-Id: I04b6cb611a72603ef061fb34b533303aeefbc524
2014-06-09 13:32:50 +01:00
Kiall Mac Innes
85bb70217e Add DevStack Vagrantfile
Change-Id: I43facef5d94037ba9f030bcc6c44fccc43d9c19c
2014-06-09 13:32:21 +01:00
Jenkins
097962594b Merge "Add pre/post dsvm test hooks" 2014-06-08 10:57:12 +00:00
Jenkins
b3e631854c Merge "Implement mDNS Service" 2014-06-07 15:05:35 +00:00
Kiall Mac Innes
35bb9534d5 Add pre/post dsvm test hooks
This moves the basic dsvm gate setup from openstack-infra/config
to inside the tree - allowing us to more easily make additions.

Change-Id: I0ee3ea8ebf05a48d6d06de95c4d908352f2ba603
2014-06-07 14:42:48 +01:00
Jenkins
a2f1e3bbdc Merge "Added detection of powerdns package name to devstack script" 2014-06-06 16:36:46 +00:00
Joe Harrison
435e40339d Added detection of powerdns package name to devstack script
Change-Id: I48231a8cf3646117bdf4407847652bbbd225c438
Closes-Bug: 1327244
2014-06-06 17:04:19 +02:00
Kiall Mac Innes
4160124698 Wait a little after starting Designate
Change-Id: I8c1f2d1ffec828157e59246930cbba71c8665655
2014-06-06 14:43:38 +00:00
Kiall Mac Innes
f205633c63 Revert "add sink support to designate devstack"
This reverts commit fd0d71e7057efb04a9bd5b9a589dad83f5151330.

Conflicts:
	contrib/devstack/lib/designate

Change-Id: I2143f5cb23736ec58ac80ac7098e6cd4b1654d41
2014-06-06 15:42:37 +01:00
Kiall Mac Innes
c8b686c7e0 Ensure we configure all keystone middleware options
Change-Id: Iea9498295997375ecae1bcea6ea6b2458748fadf
2014-06-05 18:19:30 +01:00
Kiall Mac Innes
0b67288404 Ensure our DevStack plugin cleans up services it starts
Change-Id: I6cad863c85d2fc612a972b778de606d250d927cb
2014-06-05 15:31:36 +01:00
Kiall Mac Innes
7fea1ff18f Switch stop_designate to use screen_stop rather than kill
This is one of several commits required to fix the new OpenStack CI
DevStack gate jobs.

Change-Id: I03f91745b90b0967cb10ff876b309461d2037330
2014-06-05 13:59:30 +01:00
Kiall Mac Innes
36e501c6f7 Implement mDNS Service
This service listens on a TCP/UDP port, and dispatches requests to a
single method for parsing and handling.

Each incoming request is handled in a greenthread spawned specifically
for that request, allow for >1 concurrent requests.

Additionally, the "workers" config option allows for multiple distict
processes to be spawned for the service, all sharing the same socket,
to allow for >1 CPU core usage.

Change-Id: I173f4640a50b56f52c0371bae47b84ce44301263
2014-06-04 23:45:27 +01:00
Vinod Mangalpally
c8a052bf65 API now passes objects to central
Now that API and Central both use objects, the communication between
the two uses objects rather than dicts.  The create (POST) operations
are the ones that are affected by this change.

Change-Id: Ife31ae7e71632dc327e6d7843cad1fdbaea7337d
Implements: blueprint mdns-designate-central-api-comm
2014-06-03 12:35:43 -05:00
Jenkins
884ccfe1c1 Merge "add support for FreeIPA backend - phase 6 - devstack" 2014-05-25 14:33:04 +00:00
Kiall Mac Innes
96eb8a6549 Correct DESIGNATE_TEST_NSREC default value
Change-Id: Ifd0c0bca05fdfba320dd757a257c51acc7fb3aed
2014-05-23 12:22:49 +01:00
Jenkins
84fbe7123e Merge "add support for FreeIPA backend - phase 4 - migration" 2014-05-22 17:47:48 +00:00
Rich Megginson
7cc6cc2a18 add support for FreeIPA backend - phase 6 - devstack
This adds support for using the ipa backend in devstack

Implements: blueprint ipa-backend

Change-Id: I7c5712d9da9d8c14427d121ae0f13a00ba26d470
2014-05-07 17:16:12 -06:00
Rich Megginson
cb7050e366 add support for FreeIPA backend - phase 4 - migration
There is a script that can be used to initially populate Designate
from FreeIPA called ipaextractor.py.  You use it like this:
1) Change Designate to use backend_driver = fake - this will allow it
to update its internal database but not the ipa backend which we are
importing from
2) run ipaextractor.py with no arguments will use the standard designate.conf
3) run ipaextractor.py --config-file file.conf will use the parameters from the given config file
4) run ipaextractor.py and explicitly pass in the parameters
   ipaextractor.py [--config-file file.conf] \
      --backend:ipa-ipa-host hostname \
      ... other ipa options specified as --backend:ipa-optionname ...
      --service:ipa-api-base-uri=http://designateapihost:port
Where the ipa parameters are as described above
the default designate API URL is https://localhost:9001/
NOTE: if you want to specify both a config file (e.g. for common
options) but you want to override some of those via the command line,
you must specify --config-file file.conf first, before any other specfic
parameters you want to override.
NOTE: ipaextractor cannot be used if designate is using the IPA backend.
ipaextractor will attempt to determine if designate is using the IPA
backend, and will exit with an error if so.

Change-Id: Ic2b9c78e5f5980b62b7e93d000038ac7db921c19
Implements: blueprint ipa-backend
2014-05-07 17:16:12 -06:00
Rich Megginson
fd0d71e705 add sink support to designate devstack
Add support for designate-sink to the designate devstack plugin.
There can be a different domain used for fixed IPs and floating
IPs.  By default, the nova_fixed handler will be used for fixed
IPs, and the neutron_floatingip handler will be used for floating
IPs.  The domains will be created if they do not already exist.
In order to use the nova_fixed handler, nova must be enabled,
and DESIGNATE_TEST_DOMAIN_FIX must be defined.
In order to use the neutron_floatingip handler, neutron must be enabled,
and DESIGNATE_TEST_DOMAIN_FLT must be defined.
This will also configure nova and neutron to emit notifications if they
are not already configured to do so.

Change-Id: Ib3642212e0fdf42de2cbdf8289fb6465c935a95f
Closes-Bug: #1315187
2014-05-06 17:05:09 -06:00
Jenkins
2d864e111a Merge "WIP - Implement Capture the Notification Context in Designate Sink" 2014-04-04 11:50:38 +00:00
rjrjr
1aa350698a WIP - Implement Capture the Notification Context in Designate Sink
This change captures the notification context in Designate Sink and passes it on to the notification handlers via the process_notification method.

blueprint sink-capture-notification-context

Change-Id: I8c3702d3ebec1b3d27b0302a10a9d219f62dec67
2014-04-02 12:43:17 -07:00
Endre Karlson
23a499f094 Remove designate-manage dependancy on cliff
This switches all the designate manage commands over to use the pattern
used in Glance instead of using Cliff server side.

Change-Id: I3e6350bb5ea5afcbeffa3d9fdf93e31b298aad91
Closes-Bug: #1214870
2014-03-20 14:05:45 +01:00
Endre Karlson
c05371737b Register as a endpoint without version
Change-Id: Iea300ca5a57c2952d2adefb2694d8f2f0183e491
2014-02-25 13:07:55 +00:00
Jenkins
0eea1cdab8 Merge "Add Bind9 Support to the DevStack Plugin" 2014-02-24 16:00:14 +00:00
Jenkins
064081d46d Merge "Add the handler plugin example to the contrib folder" 2014-02-22 12:41:12 +00:00
Kiall Mac Innes
8059a67f00 Add the handler plugin example to the contrib folder
Change-Id: Ibf25214cd02660628b0cbad20af5a33aba4bfae0
2014-02-22 12:08:45 +00:00
Tim Simmons
55b80e7764 Add Bind9 Support to the DevStack Plugin
Allow bind9 as an available backend to be installed
with a DevStack instance.

blueprint bind9-devstack

Change-Id: I59e6c86213ba0a0b78a1d6e6e83dd0ef66ade35e
2014-02-21 20:47:05 +00:00
Kiall Mac Innes
517ec9531a Correct misspelled words
Change-Id: I7f98cd32ecd64e49d2fd7376ce5f4b6df9fe6ff9
Closes-Bug: 1257295
2014-02-20 16:20:58 +00:00
Kiall Mac Innes
ba87d7e6f5 DevStack: Set the correct state_path
Change-Id: Ifaf8ac667af7a67613e13f977a254a09e0c47d8e
2014-02-20 14:38:46 +00:00
Kiall Mac Innes
3ecef0d8cb Don't install designate packages twice with Devstack
Change-Id: Ie0687fac9cccc1e0df6ed8d5bd4c4ae1d2127d6e
2014-02-20 14:10:30 +00:00