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
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
Ceilometer currently supports only libvirt when installed
using devstack. Have extended this support to Vmware Vsphere in this changelist.
Change-Id: I98c64204973bca5e6a7f859a5431adb2b661277f
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
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
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
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
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
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
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
only turn on the libvirt debugging if we really need it, which
we could control in the gate via devstack-gate.
Change-Id: I5e6d41d5333357608ab6a614610c060400f70a10
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
mongodb packages are missing on some platforms, so we switch to a
manual install. Also gate the mongo call in cleanup
Change-Id: I1755e461c66be30da3db2a0994f908503c4c38ea