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
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
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
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>
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
Current tempest didn't create networks for each tenant, so let
tempest use demo tenant for tesing if we enable quantum.
Change-Id: I5f139b5f1bdf5c176130b8db9e896e2cb48b4420
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
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
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
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
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
* 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
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
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
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
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
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