1960 Commits

Author SHA1 Message Date
Jenkins
308beccc24 Merge "Add PostgreSQL support to devstack" 2012-11-04 12:34:31 +00:00
Jenkins
00bd761474 Merge "Configure PKI cache dirs" 2012-11-04 12:31:07 +00:00
Terry Wilson
428af5a257 Add PostgreSQL support to devstack
This patch adds an interface for supporting multiple database backend
types and implemnts support for PostgreSQL. It also adds a function,
use_exclusive_service, which serves as a base for enabling a service
that conflicts with other services. The use_database function uses it,
and it might also be useful for selecting messaging backends.

MySQL is still selected by default. Tested on Fedora 17 and Ubuntu
12.04 with MySQL and PostgreSQL. Implements blueprint postgresql-support

Change-Id: I4b1373e25676fd9a9809fe70cb4a6450a2479174
2012-11-03 18:19:21 -04:00
Jenkins
5825761793 Merge "Ensure that tempest configuration happens last." 2012-11-03 21:16:12 +00:00
Jenkins
2a8e503c41 Merge "Fix errors when commands return error text rather than data" 2012-11-03 21:15:11 +00:00
Dean Troyer
e88c0a2036 Fix errors when commands return error text rather than data
I'm looking at you euca2ools

Change-Id: I82bfb8a3ee58fdc54ead6a285c9415593e741892
2012-11-02 17:05:35 -05:00
Maru Newby
ec0865127e Ensure that tempest configuration happens last.
* Tempest configuration relies on having other services such as
   Glance and Nova running and accepting requests.  Previously,
   configuration was happening before these services were started.
   This change ensures that Tempest configuration is performed
   after the necessary services have been started.

Change-Id: If0b6753dd51671fbc2a2cf6ad32ce9303d0a0479
2012-11-02 00:10:28 +00:00
Jenkins
98b26ab358 Merge "Don't enable osapi_volume if n-vol not enabled." 2012-10-31 22:26:55 +00:00
Andrew Laski
6e7e1c941a Don't enable osapi_volume if n-vol not enabled.
Enabling cinder removes osapi_volume from enabled_apis in nova.conf but
if neither cinder or n-vol are enabled it should not be there.  It seems
that volume code is being removed from nova so osapi_volume should not
be enabled by default.

Fixes bug #1073701

Change-Id: I626a941f434b1c8c1a73b32318e21c99445b5541
2012-10-31 17:01:45 -04:00
Dean Troyer
bc071bcef0 Configure PKI cache dirs
* Configure Cinder, Glance, Keystone, Nova to put cached credentials
  from keystone.auth_token into /var/cache/<service>

It is not obvious to me that having each of these service share a
credentials cache is a good idea.  It does appear to work but this
patch takes the conservative approach of putting each service's cache
in a distinct directory.

More importantly it gets them out of $HOME!

Change-Id: If88088fc287a2f2f4f3e34f6d9be9de3da7ee00d
2012-10-31 13:23:39 -05:00
Jenkins
afaeefd183 Merge "Fix the typo of Q_USE_ROOTWRAP expression." 2012-10-30 09:09:11 +00:00
Jenkins
9d10103888 Merge "If heat is enabled, replace nova flavors." 2012-10-29 16:25:34 +00:00
Jenkins
3cc39134a8 Merge "Add a variable to control keystone token format" 2012-10-29 16:25:05 +00:00
Jenkins
420ff07070 Merge "Clean database when configuring ceilmeter." 2012-10-29 13:45:30 +00:00
Jenkins
4fc0fd2bc8 Merge "clear screen rc file every time you run stack.sh" 2012-10-29 12:46:34 +00:00
Jenkins
ecacc2ae49 Merge "change Quantum network plugin set part" 2012-10-29 11:33:52 +00:00
Jenkins
f57f1b2fd7 Merge "Correct misspelled OVS plugin variable" 2012-10-26 19:39:44 +00:00
Steve Baker
bad9d89fa0 If heat is enabled, replace nova flavors.
All heat users will need to run heat/tools/nova_create_flavors.sh as an admin
user. This change runs nova_create_flavors.sh if heat is enabled.

This saves the hassle of switching to an admin user and running this every time
devstack is started.

Flavors are changed in heat_init, so heat_init is deferred until after nova
is running.

Change-Id: I4576c83f5ef55809567e40e56c25eb0e1bbe6d45
2012-10-27 07:05:33 +13:00
David Kranz
867cf42ebd Clean database when configuring ceilmeter.
Change-Id: If9e35f645b35fbe2e2550930da6b909a40f309b1
2012-10-26 13:32:22 -04:00
Doug Hellmann
4de55e9be4 Add a variable to control keystone token format
This change lets the developer running devstack
control the token format used by keystone through
setting KEYSTONE_TOKEN_FORMAT in their localrc
file.

Change-Id: Ic1265fcb10b8de112891f61d5e07312322148ec2
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
2012-10-26 12:24:28 -04:00
Jenkins
c6b9fcaed1 Merge "Add ceilometer-api to service catalog" 2012-10-26 15:31:36 +00:00
Jenkins
1a9cdd3ecd Merge "Added ping_check and ssh_check functions and use it in exercise.sh" 2012-10-26 15:31:29 +00:00
Jenkins
1bc811b055 Merge "Fix quantum typo" 2012-10-26 15:31:15 +00:00
Jenkins
e33dfd553e Merge "ceilometer: build the configuration file from scratch" 2012-10-26 15:28:18 +00:00
zhang-hare
e747efb3f6 Fix the typo of Q_USE_ROOTWRAP expression.
Fixes bug 1071636

Change-Id: If384d1d9205300e11722e5280107b773368825ba
2012-10-26 15:37:14 +08:00
Nachi Ueno
fda946e3eb Added ping_check and ssh_check functions and use it in exercise.sh
Change-Id: I69d41c9db527f60f250b6af36b2d8e9d0dd39684
2012-10-25 21:52:31 -07:00
Takaaki Suzuki
b4907b2eee change Quantum network plugin set part
Currently in devstack, Q_PLUGIN can be set to only one of well-known quantum plugins ("openvswitch", "linuxbridge", "ryu").
Setting it to a custom plugin causes stack.sh to exit with an error.
This commit lets you run devstack with Q_PLUGIN set to a custom Quantum plugin.

Change-Id: Iafe07cf162b5b07bee120b0c571149c374004bb3
Signed-off-by: Takaaki Suzuki <suzuki@midokura.com>
2012-10-26 11:26:45 +09:00
Terry Wilson
adeefbf3e7 Correct misspelled OVS plugin variable
Fixes bug 1071567, the broken setup of external gateway IP/routes
when using quantum with the openvswitch plugin due to a misspelled
variable name.

Change-Id: I950701a55f770cf075bca500e5a935628f6bf14a
2012-10-25 22:20:54 -04:00
Eoghan Glynn
1fcc6a1fc9 Modify nova config for ceilometer if enabled
If ceilometer is enabled, nova instance usage auditing and the
appropriate notification drivers should be automatically enabled,
as opposed to relying on manual reconfiguration and service restart.

Change-Id: I41643a1418a87942be7b2b7979797ff5eb7e5479
2012-10-25 17:37:10 +01:00
Jenkins
9f8da4b09b Merge "Clean up local state paths" 2012-10-25 11:36:18 +00:00
Jenkins
58ffa670cd Merge "Remove unused nova.conf option image_service" 2012-10-25 01:15:59 +00:00
Jenkins
8a14a6c145 Merge "Add new ubuntu release" 2012-10-24 22:36:39 +00:00
Jenkins
cf59999019 Merge "Extract create_nova_conf() from init_nova()" 2012-10-24 21:17:45 +00:00
Julien Danjou
4b3e4e529f ceilometer: build the configuration file from scratch
Stop using the one from nova. Fix the keystone_authtoken default
auth_protocol.

Change-Id: Id9b30a4105a7187966c3953958477967cf58fe9b
2012-10-24 17:57:15 +02:00
Julien Danjou
f36afe587b Add ceilometer-api to service catalog
This fixes bug #1060344

Change-Id: I0fee6b4660f564c4f8d62274ed52fa4b367f67da
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-10-24 14:01:13 +02:00
Jenkins
9428287204 Merge "Install the python-netaddr package before we use it." 2012-10-24 02:36:51 +00:00
Jiajun Liu
61bb2c1b5c clear screen rc file every time you run stack.sh
fixes bug 1032022.

Devstack will not update service's start up command if the command already
exists in screen rc files due to previous deployment. There is no way to
clear a service's start up command so this would be a problem if the service's
start up command changes between different deployment. Clear the content of
screen rc file every time you run stack.sh to deploy openstack can solve
this problem.

Change-Id: I18d0700bb2169bdb0dadfa7982168aef2eff8b22
2012-10-24 10:00:07 +08:00
Joe Gordon
0921c453e4 Remove unused nova.conf option image_service
FLAGS.image_service was removed in:
[3aaa0b103447d56f8d3b259c693cd9a3a8dcbe36] Cleanup of image service code

Change-Id: Ie566f972e2c196228cd83edda0924b5a679a63a6
2012-10-23 17:10:56 -07:00
Dean Troyer
1331445b6f Clean up local state paths
Puts additional state and lock paths for swift, quantum and nova
into $DATA_DIR/project that can be set independently of $DEST.

Change-Id: I2cca701856d3caa7fe472fefdd8b070a3c7f3adf
2012-10-23 16:36:27 -05:00
Dean Troyer
5a4148d33a Fix quantum typo
Change-Id: Ib6343f5c6b7dedb8bda33110460372bc52b6c6a7
2012-10-23 15:47:01 -05:00
Chuck Short
59d602e743 Add new ubuntu release
Raring is the new codename for the next Ubuntu release.

Change-Id: I53b5b4d23c0974427fbf0026a55f7b98b0fc3c76
Signed-off-by: Chuck Short <chuck.short@canonical.com>
2012-10-23 13:04:16 -05:00
Jenkins
92c964f92a Merge "Directly create bootable volume based on image ID." 2012-10-22 16:27:13 +00:00
Dean Troyer
da7b8091b9 Extract create_nova_conf() from init_nova()
Allows creating a new nova.conf without wiping the database,
say, during an upgrade.

Change-Id: I7703b54bc3a32485b3cdab8d6185f93a6675040d
2012-10-22 11:08:26 -05:00
David Ripton
bbc54635c8 Install the python-netaddr package before we use it.
It's used if installed and not used if not installed, which is confusing.
So trying to install it should make things a bit less confusing.

It's available under the same name in both Fedora and Ubuntu.

Change-Id: I6785dd5e831e9cf2da2eae5b116a9f5859c68c6d
2012-10-22 09:41:32 -04:00
Jenkins
1f409a6bbb Merge "Add missing debian packages for quantum" 2012-10-20 21:32:07 +00:00
Vincent Untz
782c00b1f5 Add missing debian packages for quantum
The rpm list is more complete than the debian list, so complete the
debian one based on the rpm one.

Change-Id: I707a16d3d2646b4b3d0bc200fed62e5e6743c030
2012-10-20 16:38:17 +02:00
Eoghan Glynn
fc65cfed55 Directly create bootable volume based on image ID.
Now that a bootable volume can be created directly based on
image ID, we can dispense with the complexity around using
a builder instance to acheive the same effect.

Change-Id: Ied1f6863a4dd21685e2f135841b9e2c4d499675f
2012-10-20 14:18:06 +01:00
Yoshihiro Kaneko
602cf9bd68 Add support for the Quantum Ryu plugin.
This patch allows using the Quantum Ryu plugin.
Ryu plugin lets Quantum link Open vSwitch and Ryu OpenFlow controller[1].

Ryu OpenFlow controller is not Openstack component, but I added some
processing that is related with Ryu to stack.sh for the convenience of
the person who intend to try the plugin.

Instructions for using Ryu plugin:
1. Enable services: "q-svc", "q-agt", "q-dhcp", "q-l3", "quantum", "ryu"
2. Set Q_PLUGIN to "ryu"
3. Set an internal network interface name to connect br-int on plural
   hosts to RYU_INTERNAL_INTERFACE (optional)

Example localrc:
  disable_service n-net
  enable_service q-svc q-agt q-dhcp q-l3 quantum ryu
  Q_PLUGIN=ryu
  RYU_INTERNAL_INTERFACE=eth1

[1] http://osrg.github.com/ryu/

Change-Id: Ic1da132fa421f1c70c10a319ee3239831b0f956f
2012-10-19 07:00:32 +00:00
Jenkins
eccaa80ba8 Merge "Configure and launch Heat REST API." 2012-10-10 20:52:09 +00:00
Jenkins
d41d32e7ca Merge "kill throws an error while finding pid in quantum dhcp agent section" 2012-10-10 20:51:38 +00:00