2533 Commits

Author SHA1 Message Date
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
Jiajun Liu
e6f2ee508a add firewall driver if we use quantum security group
fixes bug 1179820

we must set firewall driver if we want to use quantum security group because
quantum will disable security group if we do not change the default firewall
driver. Currently devstack will not change the default firewall driver
if we just running quantum server on a node which will cause nova unable to
security group information.

Change-Id: Ie274325decbf252630a237ed3d6ee3136eb259fe
2013-05-23 02:40:01 +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
eb2da5dfb8 Ensure Open vSwitch can be installed on RHEL6.
* RHEL6 does not include Open vSwitch in the default repos, but it
   is available via the RDO repo.  This patch automatically
   configures the RDO repo for RHEL6.
 * The openvswitch package is now listed as an rpm dependency to
   ensure it can be cached by a pre-built CI environment.

Change-Id: I8f93f53039cca4ff29bcb91720be7bb047b3ed8a
2013-05-21 04:23:11 +00: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
Mate Lakat
8644676846 xenapi - use management network to reach OS VM
Devstack used the HOST_IP_IFACE to reach the OpenStack VM through ssh.
This patch changes this behavior, so that the IP address of the
interface connected to the management network will be used.

Related to blueprint xenapi-devstack-cleanup

Change-Id: I7f34d973870792d60a33ea512901d9b0d422150b
2013-05-12 18:41:40 +01:00
Mate Lakat
0b3804bff7 xenapi - cleanup
Add error on unitialised variable to the scripts. This way some issues
were identified. Also modify README with fresh variables. The patch
includes:
 - Add SWIFT_HASH to the README
 - Add XENAPI_CONNECTION_URL to the README
 - Add VNCSERVER_PROXYCLIENT_ADDRESS to the README
 - Introduce UBUNTU_INST_IFACE which is the OpenStack VM interface used
   for the netinstall. It defaults to eth3. Previously this parameter
   was set by the combination of HOST_IP_IFACE and the undocumented
   NETINSTALL_IP
 - get rid of NETINSTALL_IP
 - xenrc includes CLEAN_TEMPLATES
 - xenrc no longer tries to change directory
 - remove chrooting from prepare_guest.sh (STAGING_DIR was always / )
 - remove DO_TGZ variable from prepare_guest.sh
 - use arguments to call prepare_guest.sh, instead of env vars
 - Fix backslash escaping in prepare_guest_template.sh

NOTE: networking is about to be addressed in a separate change.

Related to blueprint xenapi-devstack-cleanup

Change-Id: Ie9a75321c7f41cc9a0cc051398d1e6ec2c88adfa
2013-05-12 17:27:13 +01: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
Ian Wienand
053dafe6de Disable selinux for RHEL6
selinux locks down httpd which causes various issues for Horizon
working from git checkouts.  Dealing with selinux is more a deployment
than a development issue, so we just disable it for devstack.

Change-Id: I1e61f34e812360dafacd3b3288e66bc9cc5f1648
Fixes: 1175444
2013-05-10 09:04:47 +10:00
Jenkins
5f349179f4 Merge "Add pbr to devstack." 2013-05-09 21:58:20 +00:00
armando-migliaccio
cabc60cc0e Add third-party support for Quantum NVP plugin
This patch leverages the third-party mechanism provided by DevStack
to customize the configuration of DevStack instances when working
with the Quantum NVP plugin. This is useful in dev/test scenarios,
where connectivity between the DevStack VM and the NVP Gateway is
required.

Supports blueprint nvp-third-party-support

Change-Id: I3f5afa5de1219f491e37c8b9b28370855d6b017c
2013-05-09 11:37:37 -07: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