1960 Commits

Author SHA1 Message Date
Attila Fazekas
588eb4129d Fix iniset and his friends
* In python the white spaces are part of the section name
* Handle options with empty value
* Support paths with white spaces

Change-Id: I69a584608853cfdb8b7dce1e24d929216ef2fc41
2012-12-20 11:00:42 +01: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
Jenkins
6b127a9d57 Merge "turn debug on for euca-upload-bundle" 2012-12-19 17:10:55 +00:00
Sean Dague
ac25b0359a turn debug on for euca-upload-bundle
this spuriously fails in devstack gate, and need to turn
this on to get to the bottom of the fails.

Change-Id: I7d5c1b4d3230efacdd8a3b89e5e40e98ac894a1d
2012-12-19 11:15:46 -05:00
Jenkins
82cefc2570 Merge "Write selected env variables to .stackenv" 2012-12-19 12:55:27 +00: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
Jenkins
7c8b738043 Merge "Always chown $KEYSTONE_CONF_DIR" 2012-12-18 12:53:13 +00:00
Jenkins
2a255d9922 Merge "Update aggregates test for aggregates bp" 2012-12-18 12:52:52 +00:00
Jenkins
bc81c67839 Merge "Remove tools/configure_tempest.sh" 2012-12-18 08:02: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
James E. Blair
eb4ae630bc Stud is only in >=precise.
Change-Id: Ieb302e80af69a783736f2ebbdc9077e2cafe6a35
2012-12-16 19:00:26 -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
Armando Migliaccio
b0d8a8288b make volume size parametric in boot_from_volume
Fixes bug #1090007

Change-Id: Ifa13b0b7b62be75805db2730cb7154406f0c1b94
2012-12-13 17:02:24 +00: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
Dean Troyer
33cb43034e Write selected env variables to .stackenv
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
2012-12-12 17:48:58 -06: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
dd0bed5dd0 Merge "Add a service_check function" 2012-12-12 18:20:01 +00:00
Jenkins
e0195ed8ab Merge "Always create signing_dir regardless of token format" 2012-12-12 18:19:42 +00:00
Jenkins
d85f503e9a Merge "Add the role heat_stack_user for heat" 2012-12-12 18:17:22 +00:00
Jenkins
7e527946ea Merge "enable tempest by default" 2012-12-12 17:52:54 +00:00
Vincent Untz
f1c094cbcd Fix polkit configuration to allow usage of libvirt on openSUSE
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
2012-12-12 16:15:51 +01:00
Vincent Untz
b1b04d066d Fix postgresql setup on openSUSE
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
2012-12-12 16:15:06 +01:00
Vincent Untz
f2a18c065e Two small fixes for openSUSE support
- Use right package files for openSUSE in tools/info.sh
- Use a2enmod to enable the wsgi apache module

Change-Id: I51e3019be32dc0938674c9c8d285a55f5b023707
2012-12-12 16:14:16 +01:00
Jenkins
63ea3185de Merge "Move Nova account creation out of keystone_data.sh" 2012-12-12 15:03:06 +00:00
Joe Gordon
5c1bedd1ed Update aggregates test for aggregates bp
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
2012-12-12 12:20:01 +00:00
Dean Troyer
a0dce264d9 Move Nova account creation out of keystone_data.sh
Supports the coming HA/proxy configuration for Nova

Change-Id: I2baf1f51486537a1489f1376d38f5710bd96c314
2012-12-11 17:34:28 -06:00
Jenkins
5e4812149b Merge "Add is_fedora and exit_distro_not_supported functions" 2012-12-11 23:15:15 +00:00
Dean Troyer
c83a7e125f Add TLS support for keystone via proxy
* 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
2012-12-11 17:08:54 -06:00
Jenkins
00626a3186 Merge "Quantum cleanups" 2012-12-11 16:45:37 +00:00
Akihiro MOTOKI
5e3deb678e Always create signing_dir regardless of token format
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
2012-12-11 18:16:05 +09:00
Steve Baker
053a5f8425 Add the role heat_stack_user for heat
Change-Id: I0c3ac92d222ff746baca817002821f109815fee9
2012-12-11 17:08:48 +13:00
Steve Baker
9ec34214fc Fix Heat waitcondition URL configuration
Change-Id: I32fb7f5ef91aebdf574a98845988b3a2a91d5550
2012-12-11 14:18:02 +13:00
Sean Dague
77f076a56d enable tempest by default
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
2012-12-10 16:49:20 -05:00
Davanum Srinivas
c50a86e917 Don't set the dns managers
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
2012-12-10 15:10:23 -05:00
Jenkins
70e8c23555 Merge "Setup rootwrapper for quantum-debug command" 2012-12-10 18:15:07 +00:00
Jenkins
de772736ce Merge "exercises/euca: Fix volume timeout" 2012-12-10 17:55:13 +00:00
Dean Troyer
60e9c0ab22 Quantum cleanups
* 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
2012-12-10 11:29:56 -06:00
Jenkins
edcf4c84f8 Merge "Add a timestamp to the log output for better diagnosis" 2012-12-10 16:16:01 +00:00
Nachi Ueno
3c6a57a3c4 Setup rootwrapper for quantum-debug command
Setup rootwrapper for quantum-debug command
This change is needed to quantum-gating

Change-Id: I032f26c0c020374ac978e00bdf72856da795096d
2012-12-08 22:07:11 -08:00
Jenkins
1e392d769c Merge "setup quantum-rootrwapper" 2012-12-08 12:19:05 +00:00