2509 Commits

Author SHA1 Message Date
Jenkins
62d88f9218 Merge "Install nodejs for RHEL/Fedora" 2013-06-03 00:56:00 +00:00
Jenkins
2da00dd21b Merge "xenapi - quantum: L2 agents for dom0 and domU" 2013-06-01 16:30:39 +00:00
Jeff Peeler
ebdd61d136 Functions are required to parse localrc
This is essentially a revert of
73695d0ea490c4c7a1158957dd5a85586cfa0933. Since stackrc is
responsible for sourcing localrc, the required functions
are necessary (like for enable_service).

fixes bug 1186488

Change-Id: Iad90f802e77b94416821008c294c1a2ede8a4729
2013-06-01 01:36:24 -04:00
Jenkins
88494ffb3c Merge "ceilometer does not set db in conf file" 2013-05-31 16:36:12 +00:00
Jenkins
fddc27c573 Merge "Enable Nova v3 API" 2013-05-31 16:36:10 +00:00
Jenkins
a53db1f1f6 Merge "Install EPEL for rhel6 if not detected" 2013-05-31 16:28:24 +00:00
Jenkins
ac8a90fb41 Merge "add firewall driver if we use quantum security group" 2013-05-31 16:28:23 +00:00
Jenkins
fdb9f8f6d2 Merge "specify session name on perform rejoin stack" 2013-05-31 16:28:19 +00:00
Gordon Chung
8f3af42f56 ceilometer does not set db in conf file
Set [database]connection option to mongodb rather than sqlite as mongodb
is the only fully supported db.

Change-Id: I2b9fbc65de4476593d456a782dbc7e6540a75141
Fixes: bug #1186240
2013-05-31 09:02:41 -04:00
Chris Yeoh
951a48df3c Enable Nova v3 API
The Nova v3 API will be disabled by default after 31164 goes through.
This change explicitly enables the v3 API in the nova config file

Change-Id: I8b4c64b4718fc96d7a928c6fa3a0e8716c7edba1
2013-05-31 21:42:34 +09:30
Ian Wienand
535a8148cc Install EPEL for rhel6 if not detected
Simple check to see if EPEL repo is enabled for RHEL6 and, if not,
automated install of the repo RPM.

Also adds an additional sanity check which checking for pip.  In the
prior case of EPEL being disabled, a RHEL6 host may not have access to
python-pip.  Although this shouldn't happen, its a good sanity check.

Change-Id: I4e8a4dda9475b75d071534d4eef469198502a048
2013-05-30 16:33:30 +10:00
Ian Wienand
2bda6cfabf Install nodejs for RHEL/Fedora
nodejs is required for Horizon (ships a copy of lessc internally).  I
couldn't find nodejs in the rpm list, despite it being installed in
lib/horizon.  This adds to the rpm list as NOPRIME and retains the old
install point.

RHEL6 has nodejs in EPEL now, so we remove the old hack that installed
an upstream version and add it to the install mentioned previously

Change-Id: Ib3ee2f7d77e22666c9055c8528288c01b46a95d3
2013-05-28 23:04:14 +00:00
Jenkins
c29c392d26 Merge "Ensure Open vSwitch can be installed on RHEL6." 2013-05-28 21:47:25 +00:00
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
Jiajun Liu
f02be85cc8 specify session name on perform rejoin stack
rejoin-stack.sh would not specify screen session name which will lead
unstack.sh unable to kill the screen session started by rejoin-stack.sh
after hypervisor rebooted. So specify the session name if
rejoin-stack.sh need to start a new sreen session.

fixes bug 1182806

Change-Id: I68635887aa82fa63f3667e0f090ea2836eec7b68
2013-05-28 09:42:10 +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
Mate Lakat
f652e0fb6d xenapi - quantum: L2 agents for dom0 and domU
This patch makes it easier to support the all-in-one installation of
XenServer with Quantum:
- separate agents for domU and dom0 openvswitches. The domU agent's name
  is "q-domua", and the dom0 agent is called "q-agt"
- create a physnet1 physical network to connect those openvswitches

Note: This patch depends on the quantum patch:

    https://review.openstack.org/15022

For a diagram, see:
    http://goo.gl/BuAdg

Change-Id: Iff851438553528b9051edd380ecbb2c0415cbf78
2013-05-24 18:23:53 +01: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
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