2492 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
Jenkins
aaf1d8425e Merge "Add h-api to suggested ENABLED_SERVICES for Heat" 2013-05-28 20:53:28 +00:00
Jenkins
6676e5ec85 Merge "Install nose 1.1 from EPEL for RHEL." 2013-05-28 20:47:37 +00:00
Jenkins
eff14644b0 Merge "Cleanup openrc." 2013-05-28 09:07:53 +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
Maru Newby
4a9f26bf20 Install nose 1.1 from EPEL for RHEL.
* It's not possible to prevent python-nose (which is not compatible
   with Tempest) from being installed since so many os packages
   dependent on it.
 * This patch installs python-nose1.1 from EPEL and adds a
   /usr/local/bin symlink for nosetests1.1 so that invocations for
   Tempest will work as expected.

Change-Id: I756d1ca5eda127dcdd2efb047c8e14dd344f710d
2013-05-27 21:26:18 +00:00
Jenkins
6436067306 Merge "Fix screenrc for nova-compute" 2013-05-24 18:57:01 +00:00
Jian Wen
7164fc9bc0 Add myself to AUTHORS and add my email addresses to .mailmap
Change-Id: I5922421cfb5ef0929f6375089efcd1dc1224e30a
2013-05-25 00:43:44 +08: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
Jenkins
edbea45888 Merge "xenapi - cleanup network configuration" 2013-05-24 16:34:59 +00:00
Jenkins
f34778eb96 Merge "add myself to AUTHORS" 2013-05-24 16:32:47 +00:00
Jenkins
18b6650f77 Merge "Create .mailmap file" 2013-05-24 16:31:09 +00: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
d952474d93 Merge "Move hypervisor-specific code into a case statement" 2013-05-24 11:49:15 +00:00
Mate Lakat
9e32677927 xenapi - cleanup network configuration
The Xenserver/XCP part of devstack was configuring the hypervisor's
connectivity to the outer world, by adding VLANs, and physical
interfaces to the virtual networks. It added a lot of complexity, and
made it hard to get started with XenServer. This patch removes that
extra complexity, so it is left as an exercise for the user.

Related to blueprint blueprint xenapi-devstack-cleanup

Change-Id: If3367335c3da8621d0afe1f6cae77511fbdbb3e2
2013-05-24 12:07:56 +01:00
Jenkins
b4057a4c50 Merge "xenapi - use management network to reach OS VM" 2013-05-24 11:04:04 +00: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
Jenkins
699fec37ed Merge "use SERVICE_HOST intead of HOST_IP for quantum services" 2013-05-24 10:53:21 +00:00
Sean Dague
3759c65677 add myself to AUTHORS
realized that apparently I'd never done that, assuming it was
auto generated like other projects. Oops.

Change-Id: Ib3374e1eed54fb723da8afc006f83d42432307aa
2013-05-24 06:41:18 -04:00
Jiajun Liu
09d20513e9 Create .mailmap file
Use .mailmap file to coalesce commits
by the same person using multiple names and/or email addresses

Change-Id: I00c060d62a4671ca6ce0a5e04ac3c4f144ed671e
2013-05-23 09:12:04 +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
Jenkins
7640350bb5 Merge "Avoid installing python-nose for RHEL6." 2013-05-21 16:13:50 +00: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
Maru Newby
70e6b7d14c Avoid installing python-nose for RHEL6.
* python-nose on RHEL isn't new enough to support Tempest.

Change-Id: I98107bf664a12f6252f74b4511e3228d511ff855
2013-05-20 18:15:21 +00: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
Jenkins
683ef75510 Merge "Do not run selinux commands if it is disabled." 2013-05-19 14:31:29 +00: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
Bob Ball
337bd8176f Move hypervisor-specific code into a case statement
Change-Id: Id799506f180ac81d493f49de140cc079338430aa
2013-05-16 15:49:55 +01:00
Maru Newby
b1802db807 Do not run selinux commands if it is disabled.
* Execution of the setenforce command when selinux was not enabled
   was resulting in a non-zero exit status, which halted devstack.
 * Addresses bug 1175444

Change-Id: I7f6492dea7c52d153e755cda826d6fabd53f3771
2013-05-16 00:47:24 +00: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
526b2ea069 Merge "xenapi: Ubuntu installation repository/proxy fix" 2013-05-15 11:12:20 +00:00
Chmouel Boudjnah
73695d0ea4 Cleanup openrc.
- Cleanup openrc, removing the sourcing of functions (which was failing
  for zsh) and remove the *_DEBUG comment since they have been removed
  from the clients.

Change-Id: Ie2e6fb1e770403c4ef3463a850e8151bd312614c
2013-05-15 12:47:10 +02:00
Jenkins
d1d2a2dd7d Merge "Disable selinux for RHEL6" 2013-05-15 03:37:35 +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
Mate Lakat
d3740f70b5 xenapi: Ubuntu installation repository/proxy fix
Get rid of UBUNTU_INST_REPOSITORY, use UBUNTU_INST_HTTP_HOSTNAME and
UBUNTU_INST_HTTP_DIRECTORY instead. User can also specify
UBUNTU_INST_HTTP_PROXY to utilize a proxy for the OpenStack VM
installation. The answer file will be edited to contain the specified
values. Also get rid of the magic, undocumented MIRROR variable.

This is related to blueprint xenapi-devstack-cleanup

Change-Id: Ic9fc564c4ad0f43e2e536854335ebe14791d0255
2013-05-14 11:37:07 +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
Jenkins
23bdb93293 Merge "xenapi - cleanup" 2013-05-13 15:22:35 +00: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
Jenkins
a20fb6d383 Merge "Basic check for homedir permissions" 2013-05-13 00:09:24 +00:00