390 Commits

Author SHA1 Message Date
Dean Troyer
ca80217123 Add tools/make_cert.sh
This allows use of either the DevStack CA or creating another CA
independent of stack.sh.

Change-Id: I055679b5fd06e830c8e6d7d7331c52dd8782d0b6
2013-01-10 01:56:23 -06:00
Lianhao Lu
8c54849d79 Create signing_dir for ceilometer.
Create and initialize the signing_dir for ceilometer keystone
authentication. This ensures the ceilometer to use its own PKI cache
directory for authentication and avoids the authentication error due to
the invalid cached certifications.

Change-Id: I6fbc364695ae9be800245d14fd8945d531679550
2013-01-10 08:26:42 +08:00
Devananda van der Veen
9bc47db29c convert add_nova_opt to iniset
Convert all calls to add_nova_opt to use
   iniset $NOVA_CONF DEFAULT

Convert baremetal options to use
   iniset $NOVA_CONF baremetal

Change-Id: I03ce2149e1f3abc2feb40c156c50de7dabaf47a2
2013-01-09 15:26:18 -08:00
Chmouel Boudjnah
8e5d2f0c7a Set recon_cache_path to ${SWIFT_DATA_DIR}/cache.
- Fixes bug 1092538.

Change-Id: Id9eb9446b32a800b1c7e0ef72882747424c65b6e
2013-01-09 10:40:39 -06:00
Sean Dague
4ce35c46cc fix msec format string
in the else case, which was triggered for devstack gate
the msec format string was incorrect, thus largely scrambling
the usefulness of logs. Fix this to make devstack readable.

Change-Id: I59d0e73932daf27dc1d718dfcf217fe2edf4d491
2013-01-09 08:13:39 -05:00
Jenkins
d9cfdc6ae1 Merge "Adjust CINDER_SECURE_DELETE flag to cinder changes" 2013-01-09 04:44:15 +00:00
Yunhong, Jiang
e583d9b8f9 Add ceilometer client in devstack
Ceilometer client CLI is helpful to develop ceilometer related code. Add
it to devstack also involve more developer to use it.

Change-Id: I4147e50c00cb520ec15d63a0c34524ba8cb6654f
Signed-off-by: Yunhong, Jiang <yunhong.jiang@intel.com>
2013-01-09 10:33:41 +08:00
Jenkins
2d9a4e4e37 Merge "Use new RPC notifier" 2013-01-08 19:44:15 +00:00
Jenkins
b2a1d7deae Merge "Clean up cinder volume group rather than remove it" 2013-01-08 14:38:39 +00:00
Jenkins
29acb1745b Merge "Turn off tenant_isolation in tempest for quantum" 2013-01-08 02:05:04 +00:00
Dean Troyer
22853c1974 Clean up cinder volume group rather than remove it
Removing the cinder volume group breaks devstack installations
that share that volume group with other logical volumes. It also was
leaking loopback devices.

Change-Id: Ice4470e06e08ce49a0e1f82af70abcc015c91c20
2013-01-07 15:21:08 -06:00
Nachi Ueno
06fac37d06 Turn off tenant_isolation in tempest for quantum
Current tempest didn't create networks for each tenant, so let
tempest use demo tenant for tesing if we enable quantum.

Change-Id: I5f139b5f1bdf5c176130b8db9e896e2cb48b4420
2013-01-07 12:22:45 -08:00
Jenkins
83391ee0d1 Merge "Enable millisecond logging for nova and cinder" 2013-01-04 19:20:53 +00:00
Jenkins
b1f2d84d1f Merge "Fix selection of image(s) tested by tempest." 2013-01-04 19:07:35 +00:00
Jenkins
9728f8ae18 Merge "Minor fixes for lib/baremetal" 2013-01-04 19:06:58 +00:00
Joe Gordon
c99853ca71 Enable millisecond logging for nova and cinder
Change-Id: Ic28867ae9a436e81c7f2fcf79f40a1ecc251072c
2013-01-03 17:39:16 -08:00
Pádraig Brady
eac9370a12 Adjust CINDER_SECURE_DELETE flag to cinder changes
Cater for the pending more general cinder support
for configurable volume wiping method at:
https://review.openstack.org/#/c/12521

This change is done here first so as to not
trigger a CI lockup when the referenced patch above lands.
When that's in place, we can remove the older
secure_delete config adjustment in a subsequent patch.

Change-Id: I73fe2e0d1cf2815ab6025121584951cb5ff56fa3
2013-01-02 16:09:52 +00:00
Devananda van der Veen
75eaaf43c7 Minor fixes for lib/baremetal
A recent patch moved the flavor management out of nova-manage
and into python-novaclient. This corrects the behaviour of lib/baremetal
so that it calls "nova flavor-key" instead of "nova-manage". This also
fixes a logical error in testing whether dnsmasq is installed.

Change-Id: I3fa821c22ae45a49e283d091b6e5ed51c9757e88
2012-12-31 07:24:46 -08:00
Dean Troyer
6d04fd7ba5 Holiday docs and comment formatting cleanup
Change-Id: Ia4ca88c67d3b94e306a79a669805a2fa1b0dc069
2012-12-28 18:03:10 -06:00
Jenkins
5ba0360b32 Merge "Set up swift's auth cache dir" 2012-12-28 23:49:59 +00:00
Jenkins
eb26230be6 Merge "Set up Nova for TLS" 2012-12-28 23:47:00 +00:00
Dean Troyer
64ab774313 Set up swift's auth cache dir
Swift backing glance doesn't work due to auth_token failing without
a signing_dir configured and set up.  Create the dir and configure
in proxy-server.conf

Bug 1092783

Change-Id: If9ac46592bb7fc09e6cfd0a802a4fa61304fc369
2012-12-28 15:44:21 -06:00
Devananda van der Veen
7611c894b5 Add fake env support to baremetal
Use bm_poseur to create VM and network bridge
so that, in the absence of physical hardware,
baremetal driver still has something to manipulate.

Change-Id: Id80ede13a35e4380f358b47f08d41ff98ea9d70f
2012-12-28 10:56:17 -08:00
Devananda van der Veen
f35cf91a1d adding support for baremetal hypervisor
New files for baremetal driver:
- lib/baremetal
- files/apts/baremetal

Adds two dependencies:
- google shell-in-a-box
- diskimage-builder

Enable by setting both:
  VIRT_DRIVER=baremetal
  ENABLED_SERVICES="$ENABLED_SERVICES,baremetal"

Change-Id: Ibf6fe1671a759a449c9eb0df47751d1b31ade591
2012-12-28 11:33:58 -06:00
Jenkins
3dc18034d6 Merge "clean up cinder on an unstack" 2012-12-27 22:14:00 +00:00
Akihiro MOTOKI
66afb47cb9 Refactor quantum installation
* Move quantum installation to lib/quantum
* Refactor quantum configuration
* Move Quantum service account creation from keystone_data.sh to lib/quantum
* Define generic functions to install third party programs

* Minor cleanups related to Quantum
  * Kill dnsmasq which watches an interface 'ns-XXXXXX' in unstack.sh
  * Set default_floating_pool in nova.conf to make default flaoting pool
    work when PUBLIC_NETWORK_NAME is other than 'nova'
  * Make tempest work even when PRIVATE_NETWORK_NAME is other than 'private'

Change-Id: I4a6e7fcebfb11556968f53ab6a0e862ce16bb139
2012-12-26 23:41:38 +09:00
Julien Danjou
8e36cbe8c8 Use new RPC notifier
Stop using the deprecated rabbit_notifier.

Change-Id: I84574c555031b23fb5f256d248af1cdafc8979ce
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-12-21 15:39:28 +01:00
Jenkins
e1fb1d4669 Merge "Changed so that nova databases are only created once in a multi-host setup." 2012-12-21 14:27:10 +00:00
Cody A.W. Somerville
c24e23b43e Fix selection of image(s) tested by tempest.
The variable DEFAULT_IMAGE_NAME is set to 'cirros-0.3.0-x86_64-uec' by default.
This will cause configure_tempest to 'exit 1' and abort stack.sh if an image
with that name is not uploaded to glance. According to the relevant code
comment, this behaviour is incorrect. Updated code to match behaviour described
in comment: If image with name matching DEFAULT_IMAGE_NAME exists, use it for
both primary and secondary test image otherwise select first image and, if
available, second image listed by glance. Will still 'exit 1' if no images
are available at all (though it probably shouldn't).

Change-Id: I92773d4afd52cf533d16772ae2a087e23e206f8c
Fixes: bug #1092713
2012-12-21 02:25:16 -05:00
Sean Dague
252f2f533b clean up cinder on an unstack
cinder currently has issues that leave volumes around
after tempest tests. Make sure that cinder gets cleaned
up to a zero state on an unstack.sh so that we can reset
the environment.

Change-Id: I448340899bf0fae7d4d16fa26da17feafcef888f
2012-12-20 16:43:41 -05:00
Dean Troyer
3a3a2bac67 Set up Nova for TLS
* Start n-api proxy if 'tls-proxy' is enabled
* Configure nova service catalog for TLS

Change-Id: If031eb315f76c5c441a25fe3582b626bbee73c6e
2012-12-20 14:46:57 -06:00
Dean Troyer
560346b506 Set up Cinder for TLS
* Start c-api proxy if 'tls-proxy' is enabled
* Configure Cinder service catalog for TLS

Change-Id: Ic692a0a16ffa51bfd4bfb67f827cd941ac0e72a4
2012-12-19 15:29:42 -06:00
Jenkins
701718a844 Merge "Use the right service name for tgt/tgtd in stop_cinder" 2012-12-19 18:39:36 +00:00
Jenkins
90875eacf9 Merge "Do not use sudo when sed'ing $KEYSTONE_CATALOG" 2012-12-19 18:39:14 +00:00
Bob Melander
c439b5dfc2 Changed so that nova databases are only created once in a multi-host setup.
Change-Id: Idb17bcb8b6d558f03c188d14509bb5e732079585
Fixes: bug #1091730
2012-12-19 14:49:34 +01:00
Jenkins
d6decab220 Merge "Add tempest config support for quantum." 2012-12-18 13:14:12 +00:00
Jenkins
d22dd9c06c Merge "Clear out the keystone pki data for each run" 2012-12-18 13:13:50 +00:00
Jenkins
8dc995c701 Merge "Move cinder account creation out of keystone_data.sh" 2012-12-18 13:08:03 +00:00
Vishvananda Ishaya
23431f3526 Clear out the keystone pki data for each run
This prevents old invalid tokens from working after a rerun of stack.sh
and potentially providing users and tenants that don't exist.

Fixes bug 1089700

Change-Id: Icfc22978e41e459d51b50bc7ad2e6d98d766e402
2012-12-17 08:44:01 -08:00
Maru Newby
a5c774ea62 Add tempest config support for quantum.
* Supports fix for 1043980

Change-Id: I047989dacc263b30992a90181fb07a5ac47787d4
2012-12-14 17:46:08 +00:00
Dean Troyer
671c16e63a Move cinder account creation out of keystone_data.sh
Supports the coming HA/proxy configuration for Cinder

Change-Id: If2e08e45430dce895ed6bb1070612517a38ca4bc
2012-12-14 09:17:28 -06:00
Vincent Untz
90dd96d478 Use the right service name for tgt/tgtd in stop_cinder
Change-Id: I58cf8cdf88a3edebed729f4460e8ce222db3664d
2012-12-13 12:10:41 +01:00
Vincent Untz
7e86dbe166 Do not use sudo when sed'ing $KEYSTONE_CATALOG
We already edited this file earlier without sudo.

Change-Id: I366053edd1a2ad729cfd983ea7491c6252cad905
2012-12-13 12:10:22 +01:00
Vincent Untz
90e1088854 Always chown $KEYSTONE_CONF_DIR
If the directory exists but is owned by another user, then this will
cause failures.

Note that we already do this for other components (glance, for
instance).

Change-Id: Ic7d2a2dd179f721636afc9ea9c3fe6bb314c9b33
2012-12-13 12:10:02 +01:00
Clint Byrum
1bd2a1b186 Fixes lib/heat to use DATABASE_PASSWORD instead of MYSQL_PASSWORD
The latter is not used anywhere else, but the former is used in all
of the other projects sharing the mysql database for devstack.

Change-Id: I2a0cd7e5b908eb144468caf410a6c41e0e5e3fd0
2012-12-12 12:57:16 -08:00
Jenkins
60ffc61650 Merge "Add TLS support for keystone via proxy" 2012-12-12 19:57:02 +00:00
Jenkins
74a5435593 Merge "Fix postgresql setup on openSUSE" 2012-12-12 19:33:43 +00:00
Jenkins
3fae252c34 Merge "Fix polkit configuration to allow usage of libvirt on openSUSE" 2012-12-12 18:51:19 +00:00
Jenkins
f3afd2ef4b Merge "Two small fixes for openSUSE support" 2012-12-12 18:48:39 +00:00
Jenkins
e0195ed8ab Merge "Always create signing_dir regardless of token format" 2012-12-12 18:19:42 +00:00