* In python the white spaces are part of the section name
* Handle options with empty value
* Support paths with white spaces
Change-Id: I69a584608853cfdb8b7dce1e24d929216ef2fc41
this spuriously fails in devstack gate, and need to turn
this on to get to the bottom of the fails.
Change-Id: I7d5c1b4d3230efacdd8a3b89e5e40e98ac894a1d
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
There are some environment variables that are derived in stack.sh
and cubersome to re-create later, so save them at the end of stack.sh
for use by other supporting scripts, such as openrc.
Change-Id: I1bbf717b970f8ceac0ff7da74aeaf19474997e07
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
There is a buggy limitation with pkla files on openSUSE, that blocks
using 'unix-group:libvirtd' from working. A pkla with such a matching
identity will be overruled by the pkla generated by polkit-default-privs
containing 'unix-group:*' (which will match the other groups the user
belongs to, likely after matching libvirtd).
To work around this, explicitly allow the user instead.
Also, move the creation of the libvirtd group a bit later, to clarify
the code.
Change-Id: Ia3e4ae982accfc247a744eaa6d6aa4935e4f404c
The initdb call is part of starting the service for the first time, so
we need to do that.
Also, restart postgresql after sed'ing its configuration files: if it
was already running for some reason, it needs to be restarted, not
started.
Change-Id: Ib7d3ff5217d06a7764a62a36084090514a1825ea
- Use right package files for openSUSE in tools/info.sh
- Use a2enmod to enable the wsgi apache module
Change-Id: I51e3019be32dc0938674c9c8d285a55f5b023707
Instead of implementing availability zones in the service table,
availability zones will be implemented using general aggregate metadata.
So when an aggregate is created it will already have metadata.
Part of blueprint aggregate-based-availability-zones
Change-Id: I0fd22399b99a14087fef63fc91d0baef746efbed
* Adds lib/tls to create test CA/certs
* Start proxy if 'tls-proxy' is enabled
* Configure keystone service catalog for TLS
* Tear down proxy in unstack.sh
* Set auth protocol and ca-cert chain in openrc
* Add DATA_DIR to stackrc
This is the first in a series of patches to enable TLS support
for the service API endpoints.
Change-Id: Ia1c91dc8f1aaf94fbec9dc71da322559a83d14b6
Fixes bug 1088801
devstack does not create signing_dir when keystone token format is UUID.
If the default value of signing_dir is read-only, OpenStack services
such as Quantum server failed to start due to permission denied.
On the keystone client cannot know which token_format is used in keystone
in advance, so signing_dir should be created regardless of the token format.
Change-Id: I1b0d25c1ac4d22d9fb2c5443d15b96fdaa5a4c81
turn on tempest by default, as that will provide the end users
with a testing environment to use with openstack out of the box.
Change-Id: I74160a25cfbc6325eea30c81df36e6acbb938bfd
Revert to previous behavior, pick up whatever is set as default
in nova. This was causing an issue in a tempest run. Tempest has
a test where multiple servers can be spun up with the same name
this test failed.
Change-Id: Ie71eda94caf38db0489d6b2385dc80808a39864d
* Set base default env vars in lib/quantum
* Rename common dirs to match devstack conventions
Q_CONF_FILE -> QUANTUM_CONF
QUANTUM_CLIENT_* -> QUANTUMCLIENT_*
Change-Id: I7a2a92b50ef953195f078ac62cb975f28892c05c