3934 Commits

Author SHA1 Message Date
Adam Gandelman
ea861741d8 Reuse existing libvirt setup functions for Ironic
When deploying Ironic, make use of the existing libvirt installation
and configuration used by the Nova libvirt driver. Ensures a functional
libvirt setup across distributions.

Change-Id: I904ae2bdd4e8299827270c351eb60b833f90ae75
2014-03-17 16:27:00 -07:00
Jenkins
9f59782a36 Merge "Devstack changes to ceilometer to support vsphere" 2014-03-17 22:01:22 +00:00
Jenkins
ad3ac5876b Merge "Move libvirt install + setup to functions-libvirt" 2014-03-16 13:35:51 +00:00
Sean Dague
7afffa6447 change the order of the print/flush
It seems that we get a different behavior whether stdout is closed
in the parent process or not when it comes to buffering. If it's
closed we don't get the last line flushed out to the file, if it's
not closed we do. This was seen in the trove pg fail.

A complete shot in the dark, but I'd like to see if this is fixed
with being explicit with printing to the log before stdout.

Change-Id: Ie37299dbc88d549d34d85731e571a5b7ef181311
2014-03-15 13:50:36 -04:00
Jenkins
f10d8feca0 Merge "Clarify deprecation of EXTRA_xxx_OPTS" 2014-03-15 12:37:17 +00:00
Jenkins
0e160ec1fc Merge "as is_heat_enabled" 2014-03-15 12:30:58 +00:00
Jenkins
abfa32700d Merge "Integration testing preparation for Ironic" 2014-03-15 11:43:08 +00:00
Jenkins
594991f770 Merge "Rollback workaround for Marconi" 2014-03-14 21:40:32 +00:00
Alexander Gordeev
06fb29c661 Integration testing preparation for Ironic
Add ability to create/register qemu vms for Ironic testing purposes

Implements bp:deprecate-baremetal-driver

Change-Id: If452438fcc0ff562531b33a36cd189b235654b48
2014-03-14 13:44:00 -07:00
Jenkins
ea140c2c3e Merge "fix failing wget statements under -o errexit in vmdk upload routine" 2014-03-14 20:34:10 +00:00
Sean Dague
29870cce32 as is_heat_enabled
this is missing, and the code assumes "heat" to be in the
enabled services list otherwise.

Change-Id: Ib0a7db04d8e38b58aca48261308e7c4d1fd43972
2014-03-14 14:32:01 -04:00
Malini Kamalambal
380587bde6 Rollback workaround for Marconi
This patch rollsback the stderr redirection in Marconi.

Change-Id: Iaa2d897295cf2bc2e4a8c370d3e0592def337c78
2014-03-14 12:25:25 -04:00
Jenkins
1fef36e526 Merge "test for adding crazy branches" 2014-03-14 14:33:24 +00:00
Jenkins
bcc885d88d Merge "Additional attempts to flosh stdout/stderr" 2014-03-14 14:33:22 +00:00
Jenkins
509140e25c Merge "remove docker from devstack" 2014-03-14 14:33:19 +00:00
Piyush Masrani
846609b627 Devstack changes to ceilometer to support vsphere
Ceilometer currently supports only libvirt when installed
using devstack. Have extended this support to Vmware Vsphere in this changelist.

Change-Id: I98c64204973bca5e6a7f859a5431adb2b661277f
2014-03-14 19:59:00 +05:30
Jenkins
3e57ac64e7 Merge "Only stop n-cpu in stop_nova_compute" 2014-03-14 13:10:05 +00:00
Jenkins
78de586217 Merge "Supporting Nuage Networks' Plugin through devstack" 2014-03-14 06:36:43 +00:00
Jenkins
92b400fd63 Merge "change the vmdk to the one used in VMWare ci" 2014-03-14 02:56:20 +00:00
Joe Gordon
bbf759e9ed Only stop n-cpu in stop_nova_compute
Move screen_stop n-cpu from stop_nova_rest to stop_nova_compute.

Change-Id: I672673a55869d3f68e12c476924fc742e8260f39
2014-03-13 18:09:17 -07:00
Jenkins
db43b78ec5 Merge "make git_clone safer" 2014-03-14 00:10:34 +00:00
Adam Gandelman
0f73ff2c51 Move libvirt install + setup to functions-libvirt
Moves installation and setup of libvirt to a common functions-libvirt,
which can be used by other drivers in the future that may require
cross-distro libvirt installation and config but are not using
VIRT_DRIVER=libvirt (ie, Ironic).

Change-Id: I4a9255c8b4bacd5acfde9b8061c9e537aeea592c
2014-03-13 15:03:55 -07:00
Jenkins
f8afb8bee1 Merge "remove additional f18 references" 2014-03-13 19:12:47 +00:00
Sean Dague
26c5a2252e change the vmdk to the one used in VMWare ci
The debian image that defaults to being using with vmware is huge,
and it turns out it's not actually used in VMWare ci so we don't
really know if it's working. Instead use the vmdk that is used
in VMWare ci, which we know will boot, as we get results everyday.

Change-Id: I014746af293852525e2bd128c4d19f5889ecd55d
2014-03-13 09:57:08 -04:00
Jenkins
ce33a78563 Merge "Rename all Savanna usages to Sahara" 2014-03-13 05:07:03 +00:00
Jenkins
dd1b5bb465 Merge "Split up stop_nova to match start_nova" 2014-03-13 02:15:03 +00:00
Dean Troyer
1a0c090057 Additional attempts to flosh stdout/stderr
The logfile output is piped through awk to apply a timestamp
and filter out all of the xtrace commands in the xtrace output.

A while back we added fflush("") which is supposed to flush all
open output files and pipes. It appears that gawk in precise
is old enough that it may only flush stdout, so explicitly
flush the logfile handle.

Change-Id: If5198c2da2a3278eed8ae3d50c7ca5c15eac6d94
2014-03-12 14:59:53 -05:00
Sergey Lukjanov
7ff8443e46 Rename all Savanna usages to Sahara
There are several backward compatibility nits.

Change-Id: I93cac543375896602d158860cc557f86e41bcb63
2014-03-12 22:25:20 +04:00
Sreeram Yerrapragada
9c6d2840fd fix failing wget statements under -o errexit in vmdk upload routine
Fix the case when uploaded image has no descriptor.
Refactored the code a bit

Tested:
1. monithic Sparse
2. monolithic flat
    2.1 flat file name mentioned in descriptor file
    2.1 flat file name not mentioned in descriptor file
3. descriptor header not found in the file
    3.1 image file name is *-flat, download descriptor
    3.2 image file name does not end with *-flat
4. file name contains all image properties

Change-Id: I0df9be5c2a1b9ed53cdb22d5cd40b94e56c48f37
Closes-bug: #1289664
2014-03-12 10:35:19 -07:00
Joe Gordon
767b5a45b7 Split up stop_nova to match start_nova
Split stop_nova into: stop_nova_compute and stop_nova_rest. This is
needed to support the partial-ncpu grenade test where we want to stop
everything but nova_compute.

Change-Id: I6a21821277e56897d705ca5746806e2211632d12
2014-03-12 10:34:09 -07:00
Jenkins
c0dea9789b Merge "Do not restart libvirt if n-cpu is disabled" 2014-03-12 17:08:31 +00:00
Sean Dague
64bd01652e make git_clone safer
the ensures that if the function returns early, we return to a
sane directory, and not hang out somewhere that a future git
call might modify a directory in a weird way. This is especially
important in the case of stable branches where were are hopping
between stable for servers and master for clients.

Change-Id: Ib8ebbc23b1813bc1bfb31d0a079f1b882135bd39
2014-03-12 13:04:22 -04:00
Jenkins
63d06bcad9 Merge "Make mongo install for ceilometer NOPRIME" 2014-03-12 16:59:22 +00:00
Sean Dague
7d4c7e09b4 remove docker from devstack
with I1c9bea2fdeebc4199c4f7d8fca4580a6fb7fed5b nova removed
docker from it's driver tree.

We shouldn't have driver support inside of devstack that's not
part of upstream projects (this has been a line we've been
pretty clear on with Neutron drivers in the past).

Remove docker driver accordingly.

Change-Id: Ib91d415ea1616d99a5c5e7bc3b9015392fda5847
2014-03-12 08:05:08 -04:00
Jenkins
3c78e08086 Merge "Install script for One Convergence Neutron plugin." 2014-03-12 05:36:10 +00:00
Jenkins
96a10ea6a6 Merge "remove distros that are out of support by their upstream" 2014-03-12 05:33:17 +00:00
Jenkins
7b83410947 Merge "Stop running setup_devel for Ryu" 2014-03-12 05:33:05 +00:00
Jenkins
5600870fe6 Merge "put libvirt debug behind a flag" 2014-03-12 02:58:43 +00:00
Hemanth Ravi
d78c4057d4 Install script for One Convergence Neutron plugin.
Change-Id: I1dcc625a7c986e7533820b01af9eee5b8addcffe
Implements: install for blueprint oc-nvsd-neutron-plugin
2014-03-11 14:29:04 -07:00
Sean Dague
dd304603e0 put libvirt debug behind a flag
only turn on the libvirt debugging if we really need it, which
we could control in the gate via devstack-gate.

Change-Id: I5e6d41d5333357608ab6a614610c060400f70a10
2014-03-11 16:38:57 -04:00
Jenkins
9ea10307b7 Merge "Fix inverted conditionals in setup_develop" 2014-03-11 20:01:35 +00:00
Jenkins
efad7911a4 Merge "Use the python-pyOpenSSL package openSUSE" 2014-03-11 15:43:50 +00:00
Jenkins
3b06c40707 Merge "Add n-obj to stop_nova" 2014-03-11 15:16:59 +00:00
YAMAMOTO Takashi
3b1f2e4e88 Fix inverted conditionals in setup_develop
This fixes regressions introduced by:
    Change-Id: Ic97e68348f46245b271567893b447fcedbd7bd6e
    ("Handle non-zero exit code from git diff")

Change-Id: I053a292c287f3035eef37db2264eda06a170f9bc
Closes-Bug: 1287513
2014-03-11 07:34:17 -04:00
Ralf Haferkamp
c20bab89c4 Use the python-pyOpenSSL package openSUSE
Recent pyOpenSSL releases when installed from pip depend on
cryptography>=0.2.1, which itself depends on cffi>=0.8. That is conflicting
with the python-cffi (0.7.2) package on openSUSE-13.1 which is required by the
installed python-xattr.

Change-Id: I721ce5288d150a3b01fb2558f7ca86028d734138
2014-03-11 12:11:56 +01:00
Jenkins
349394b0cf Merge "Update required packages for ryu" 2014-03-11 08:46:19 +00:00
Jenkins
46be1ea2ff Merge "Configuration needed for neutron nova callback" 2014-03-11 02:14:59 +00:00
Ian Wienand
936284b02a Make mongo install for ceilometer NOPRIME
mongodb packages are missing on some platforms, so we switch to a
manual install.  Also gate the mongo call in cleanup

Change-Id: I1755e461c66be30da3db2a0994f908503c4c38ea
2014-03-11 10:32:01 +11:00
Jenkins
a508d1a001 Merge "put libvirt debug in the right place" 2014-03-10 21:27:40 +00:00
Jenkins
a35bd8b70f Merge "Enable marconi-server to run when USE_SCREEN=false" 2014-03-10 19:31:46 +00:00