458 Commits

Author SHA1 Message Date
Jenkins
3721657b27 Merge "ZeroMQ driver to default to redis matchmaker" 2013-05-28 20:56:06 +00:00
Jenkins
84a5f7484d Merge "Create usable IPC directory for ZeroMQ" 2013-05-28 20:56:04 +00:00
Kieran Spear
7033829d71 Add h-api to suggested ENABLED_SERVICES for Heat
Currently lib/heat says:

    To enable, add the following to localrc
    ENABLED_SERVICES+=,heat,h-api-cfn,h-api-cw,h-eng

Once the stack is up, `heat list` fails because the API server
isn't running.

This commit adds h-api to that list.
Also make sure h-api is killed in stop_heat().

Change-Id: I2e818bb343680b3778f9277c23c766f784d28887
2013-05-28 11:36:54 +10:00
Jenkins
6436067306 Merge "Fix screenrc for nova-compute" 2013-05-24 18:57:01 +00:00
Eric Windisch
800bf387b3 ZeroMQ driver to default to redis matchmaker
Switching to the redis matchmaker.

The localhost matchmaker does not presently work.
Also, the localhost matchmaker could not work for
multi-host setups.

Change-Id: I81a26b9af78328e360a18b87371c619e194365d2
2013-05-24 12:41:38 -04:00
Eric Windisch
767c6dfa0e Create usable IPC directory for ZeroMQ
By default, the zeromq driver looks for
/var/run/openstack which needs to be created and
given the right permissions.

It is easier and just as safe in the case of devstack
to just use mktemp to establish a temporary working
directory.

Change-Id: I4cec33e49d2b042a244420fb40d83d476e4971cd
2013-05-24 12:04:10 -04:00
Jenkins
5a5a089a35 Merge "Remove temporary logic for Quantum auth_token transition" 2013-05-24 10:53:27 +00:00
Jenkins
ab1b6de9eb Merge "On unstack : clean up network namespaces created by quantum" 2013-05-24 10:53:24 +00:00
Ben Nemec
2fce0a973d Fix screenrc for nova-compute
When devstack creates stack-screenrc, it includes unescaped "
characters that cause failures starting nova-compute.  This fix
changes the " to ' so there isn't a conflict.

Fixes bug 1183114

Change-Id: I7830879d56f1ac20950aace46dd3b72d209986ce
2013-05-22 21:21:15 +00:00
JordanP
614202fc40 On unstack : clean up network namespaces created by quantum
Also removes OVS ports

Fix Bug #1156837

Change-Id: Id4178c0a12a3ada76403a57a736a9c7a908d6a4a
2013-05-22 10:00:30 +02:00
Akihiro MOTOKI
64539924db Remove temporary logic for Quantum auth_token transition
When Quantum auth_token configuration were moved to quantum.conf,
the temporary logic to disable auth_token in api-paste.ini was added
to avoid gating test failures of patches based on the version with
api-paste.ini auth_token configurations.
This temporary logic is no longer needed.

Change-Id: I539301a338d5ada01c83af5e9cf203849a67c6c1
2013-05-22 13:46:29 +09:00
Jian Wen
f28c9c7595 use SERVICE_HOST intead of HOST_IP for quantum services
The other services, like nova, glance and cinder, use SERVICE_HOST
instead of HOST_IP to configure their server listening addresses.
This is more friendly to multi-node quantum deployment.

Change-Id: Ibee22ef59d532e8f7004d8e4582015d303d15404
2013-05-21 14:16:56 +08:00
Daniel P. Berrange
d52008acd4 Use --managed-save flag to virsh undefine
If a virtual machine has got a managed save image, it is not
possible to delete it using a plain 'virsh undefine' command.
While Nova doesn't use 'managed save', the libvirt-guests
init script or systemd service may have created one if the
user rebooted their host. Thus we devstack should pass the
--managed-save flag to virsh to ensure the VM's removal.

Change-Id: Id9b072a6dceeb4e179d2b6a25bbdfb559c299e95
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2013-05-20 15:07:27 +01:00
Sean Dague
f35ff72b77 add support for changing cinder perodic_interval
As discovered in tempest, when you create and delete volumes
quickly, and have a small volume storage pool, you can get cinder
scheduler to think you are "out of space" when you are not.

This is because cinder scheduler updates free space on it's
periodic job, which defaults to 60 seconds. We need control over
that value for the devstack gate otherwise we regularly get
overruns if we run too many volume tests quickly.

Work around for bug 1180976

Expect that this will get removed later if cinder gets a more
efficient way to update the scheduler for freed resources.

Also, don't be completely stupid about setting defaults....

Change-Id: I20e52e66fcc94b224476cdd14c88bd6981b4e617
2013-05-16 18:05:47 -04:00
Jenkins
9f52cd78f2 Merge "Add XAPI config to quantum rootwrap for XS/XCP." 2013-05-15 16:50:16 +00:00
Jenkins
26f7a5ae4e Merge "fix ceilometer ENABLE_SERVICES comment" 2013-05-15 16:45:48 +00:00
Jenkins
af44505dd0 Merge "Do not run heat/tools/nova_create_flavors.sh" 2013-05-15 11:12:27 +00:00
Jenkins
f6b3ee7a25 Merge "Clean up horizon apache logs on unstack" 2013-05-15 11:12:26 +00:00
Jenkins
ff9584f5d7 Merge "Stop quantum-ns-metadata-proxy process on unstack" 2013-05-15 11:12:24 +00:00
Jenkins
07a8a5eb02 Merge "Check quantum status dependent on the plugin" 2013-05-14 15:04:34 +00:00
Jenkins
a642cf00fa Merge "ceilometer setup incorrectly sets notification_topics" 2013-05-14 15:03:55 +00:00
Shengjie Min
eda5579e1c fix ceilometer ENABLE_SERVICES comment
- keep it aligned with the Ceilometer doc

Change-Id: Ib1ca0cfbeafc61723e5d4fe79da6355db7d76f0c
Fixes: bug #1179590
2013-05-14 15:42:22 +01:00
Jenkins
ad573f8543 Merge "Only search the lib dir for rpc_backend" 2013-05-13 20:37:27 +00:00
Vishvananda Ishaya
78a53d92c7 Only search the lib dir for rpc_backend
The grep in rpc_backend uses . to search all files. Unfortunately
the current directory when the command is called is not the lib
directory, so change it to search the lib directory instead.
Without this fix the command is forced to grep all files under
devstack which could be very slow if one has downloaded large
images.

Fixes bug 1174718

Change-Id: Ic8a59885cd07e5d6f2e734e80824762f9ac12996
2013-05-13 10:34:53 -07:00
Kieran Spear
fb2a3ae3ca Basic cells support
Adds support for running a region and child cell within a single
devstack environment.

README.md has been updated with some info on getting started.

Rebased/updated from initial work by Andrew Laski <andrew.laski@rackspace.com>.

Change-Id: Ic181da2180ccaa51df7efc9d66f7ccb820aac19b
2013-05-13 11:16:40 +10:00
Gordon Chung
701eb61931 ceilometer setup incorrectly sets notification_topics
drop glance_notifications from notification_topics in ceilometer setup

Change-Id: Ib18b4193af9df925b4ce4dbe3faf4c6a756ed03f
Fixes:Bug #1178704
2013-05-10 10:47:50 -04:00
JordanP
1e4587ef99 Clean up horizon apache logs on unstack
It feels like the right think to do. Moreover it will avoid to display
horizon errors from a previous devstack run that would be displayed because
of the tail -f in start_horizon()

Change-Id: Id1ab272e60e0733a4feef3b85029f438f2273cb0
2013-05-10 15:55:27 +02:00
Jenkins
2104912887 Merge "Add Debian OS support in DevStack" 2013-05-09 16:45:01 +00:00
Jenkins
8294858ddf Merge "Set MYSQL_HOST parameter to better support multi-node mode." 2013-05-09 16:43:05 +00:00
armando-migliaccio
7c025fedc3 Check quantum status dependent on the plugin
There are Quantum plugins that do not require the use of an agent.
This patch relaxes the constraint in quantum-adv-test.sh by adding
the ability to customize the logic that verifies whether the test
can run or not, depending on the Quantum plugin of your choice.

Fixes bug #1177904

Change-Id: I6e2c17f43d9e1475b2eb175cceb5107a83f9aa74
2013-05-09 09:05:15 -07:00
zhhuabj
5595fdc2ac Update the package name of qpid in the fedora platform
The package name of qpid in default yum repository
is qpid-cpp-server, not qpid-cpp-server-daemon.

Fix bug 1177731

Change-Id: I4412029966583f5ef5a5a4cc80e7fdc4771c8eca
2013-05-09 13:12:01 +08:00
Émilien Macchi
b2ef890db3 Add Debian OS support in DevStack
Fix bug #1176216

Change-Id: Ia94c332f02a921a936db249dc3b4a7ae4eff0400
2013-05-09 00:18:37 +02:00
Jordan Pittier
2ae6acfe38 Stop quantum-ns-metadata-proxy process on unstack
Change function stop_quantum() in lib/quantum to also kill quantum-ns-metadata-proxy process

Fix Bug #1175658

Change-Id: I9e8f8437817cc645ab15eecfea1a134ea5ac13f2
2013-05-08 20:33:13 +02:00
zhhuabj
2832f28012 Set MYSQL_HOST parameter to better support multi-node mode.
When deploying openstack with multi-node mode,
mysql needs to be started by listening it's real ip, not localhost.
but devstack always use localhost to recreate databases that will
lead bellow errors.

Fix bug 1177735

Change-Id: I50284f469a998d023a41b4796f1dc775bb52e710
2013-05-08 18:47:49 +08:00
Steve Baker
de0898a02c Do not run heat/tools/nova_create_flavors.sh
This script takes a long time to run which will affect tempest
run times. Instead of running this, example templates will be modified
to align with the default heat flavors.

Change-Id: I588b1da9f5a02de3bf64ac8011d75c7d5432ef26
2013-05-08 11:37:26 +12:00
Ian Wienand
b85f9d73c1 Ensure correct polkit config written for RHEL6
Ensure the correct polkit config is written for RHEL6, or nova-cpu
will fail to start with libvirt permission errors

Change-Id: I871ef4e03157883db15be41222b7338765fbb843
2013-05-02 12:53:57 +10:00
Jenkins
bc41b5b079 Merge "Add configurable use of veths with Quantum+OVS." 2013-05-01 22:30:52 +00:00
Maru Newby
a8f7a62f13 Add XAPI config to quantum rootwrap for XS/XCP.
* Supports blueprint xenapi-ovs

Change-Id: I902458ec26cd07e94fe50bb3648efa75658ccba3
2013-05-01 21:12:25 +00:00
Jenkins
832659d05d Merge "Fix nova compute failing to start on openSUSE 12.3" 2013-05-01 01:22:45 +00:00
Jenkins
a9232a53dd Merge "lib/database: Fixed a bug in database_connection_url" 2013-05-01 01:21:33 +00:00
Maru Newby
d7150e9bbc Add configurable use of veths with Quantum+OVS.
* This patch adds the ability to configure use of veths with
   OVS via the Q_OVS_USE_VETH variable.  The use of veths with OVS
   is required to support namespaces on RHEL.
 * Supports bug 1171727

Change-Id: I5f557d659684ead99a3e5e2b4df787699d9d3f05
2013-04-30 05:57:25 +00:00
Tal Kain
0729d06fae lib/database: Fixed a bug in database_connection_url
The changes from https://review.openstack.org/#/c/23364/ simplified
the usage of database_connection_url_mysql and
database_connection_url_postgresql without making the proper changes
to database_connection_url.

Fixes: bug #1167668
Signed-off-by: Tal Kain <tal.kain@ravellosystems.com>
Change-Id: I5115d123ad794f2eb2e144b76932031af5248f26
2013-04-29 23:08:27 +03:00
Ian Wienand
ad43b3957e Grab upstream nodejs for RHEL6
RHEL6 has no nodejs in main packages or in EPEL.  The easiest way is
to just install the upstream binary version which works fine for the
very minimal usage by lesscss.

Change-Id: Ia35e7dbaf4c7add43797d6b7d0c846bab1cf0cb0
2013-04-29 16:21:54 +10:00
Jenkins
cd30ad90b8 Merge "Install api-paste.ini and policy.json" 2013-04-26 21:58:45 +00:00
Jenkins
77e8d18c8c Merge "Move ec2authtoken config from paste.ini to conf" 2013-04-26 21:58:42 +00:00
Matthieu Huin
7a7a466738 Removes "RPC not enabled" error message when no backend is needed
When no service needing a RPC backend is activated, no error message
should appear if a RPC backend is not installed. A simple check is
done on the services installation files to see which services need to
initialize a RPC backend at some point; if none of these services
are in ENABLED_SERVICES then the error message is skipped.

Change-Id: I4e47e0c675c74775b4ea53a00848ac1d777f0125
Fixes: bug #1167338
2013-04-26 10:36:32 +02:00
Jenkins
0906621356 Merge "Modify RPM lists for RHEL6" 2013-04-26 00:32:45 +00:00
Steve Baker
d5cd79b16b Install api-paste.ini and policy.json
This is related to this Heat change, and Heat on Devstack will not work
while only one of these changes is applied:
Consolidated api-paste.ini file
https://review.openstack.org/#/c/27384/

Change-Id: Iba02b56173f796de5348289247233c8765f83ac2
2013-04-26 08:29:56 +12:00
Steve Baker
fd1ebe7cba Move ec2authtoken config from paste.ini to conf
Nothing now needs to be configured in paste.ini on launch

This change relates to these committed Heat changes:
https://review.openstack.org/#/c/27382/
https://review.openstack.org/#/c/27382/

Change-Id: Ia29dee8e32cd3d43d1b9200dd94de70e02a54bfc
2013-04-26 08:28:30 +12:00
Steve Baker
c32490838a Move auth_token config to .conf, key cache directories
auth_token configuration can now be read from the conf files
rather than the paste.ini files.

A key cache directory has been created for each of the 3 API services
under /var/cache/heat

This is the devstack change relating to
Heat Blueprint: keystone-middleware

This is related to this committed change:
https://review.openstack.org/#/c/26351/

Devstack users will find Heat to be broken until this corresponding change
is approved.

Change-Id: If6f77f86a3eeb08a58b516725bd806e39ccedb50
2013-04-26 08:26:14 +12:00