6038 Commits

Author SHA1 Message Date
Kashyap Chamarthy
ae7b4f9b9e functions-libvirt: Enable 'qemu_monitor' logging filter for libvirt
A lot of libvirt interactions with QEMU are via the QEMU monitor
console, which allows you to either query or modify the state of a
virtual machine. Spefici examples include: querying the status of live
block operations, live snapshot operations, live migration, etc.

Enabling the 'qemu_monitor' log filter allows us to capture precisely
what commands libvirt is sending to QEMU.

Note that the log level was intentionally set to '1' (i.e. debug) for
this specific filter, because (a) it's not extremely verbose, (b) when
something breaks, it's helpful to have the exact sequence of
interactions between libvirt and QEMU.

Change-Id: Iba95b6bd7c9f197c8d48c7d978f538e50d4e31fa
2015-03-31 21:35:05 +02:00
Dean Troyer
f3d52335e7 Add basic Makefile
There are a couple of targets in here that some might find useful in
doing DevStack testing in multiple remote VMs.

There are some of the usual boring targets too, like stack and unstack,
that do exactly what you would expect.

Change-Id: I7974cac4cc527bacf6f183ac1f344428b05f2fdc
2015-03-31 11:16:36 -05:00
Adam Gandelman
84ee55b3ee Set fixed_network_name in Tempest config
This previously defatuled to 'private' and aligned with devstack's
defaults but it has since been updated to 'None'.  This sets the config
value according to devstack's.

Change-Id: I3f480d5480521a93992bedfe602eb20a4999263d
Closes-bug: #1438415
2015-03-30 14:25:27 -07:00
Sean Dague
206c596d69 add back python-guestfs
This is needed otherwise we fall back to the nbd code path which is
super hacky. This shouldn't have been deleted for the venv path.

Change-Id: If5cb6cb4944bd0ed3548d53c98443b76725d1c0c
2015-03-30 13:56:11 -04:00
Jenkins
f46945495d Merge "Remove symlink for lib/neutron compat" 2015-03-30 17:40:06 +00:00
Jordan Pittier
0c04c12b3f Swift PyEClib build requires 'make'
PyEClib was introduced recently to swift-master. It tries
to build liberasurecode which requires the `make` binary.

Change-Id: I8acfed4f7b46a29eac36f6acbe1d66e7fff800db
2015-03-30 18:15:25 +02:00
Jenkins
d7c874bca6 Merge "Move back isset to the functions-common" 2015-03-30 15:05:59 +00:00
James Polley
5f2eb6dade Add a target for, and link to, minimal config docs
Reading through the docs for the first time, the reader encounters an
instruction to provide a minimal configuration, with a link that they'd
expect to tell them how to do this.

At present the link actually takes them to the top of
configuration.html, where they read some history about how devstack's
configuration has changed over time.

This is interesting and important and should be in the docs - but in my
opinion a link about setting up a minimal configuration would be more
useful if it takes me to a place that tells them about a minimal
configuration.

To get this, I've had to an an explicit link target into
configuration.rst. I'm not hugely keen on this approach, as I don't
think it scales well. I'd be open to suggestions about other
approaches. The only idea I've had so far though is to simply move the
minimal configuration section right to the top of the page, so that a
link to the doc is a link to the minimal config - the historical
information could be moved to its own topic somewhere further down the doc.

Change-Id: I231ca1b7f17b55f09a4e058dab8ee433893f737e
2015-03-30 17:41:25 +11:00
Jamie Lennox
e929fdd47e Remove keystone public/admin_endpoint options
The public_endpoint and admin_endpoint options are used to set the base
hostname when listing versions. If they are not provided then the
response will use the same hostname as the request was made with - which
is almost always what you actually want.

This means devstack will respond correctly to a version list when behind
a floating IP for example.

Change-Id: Idc48b9d7bee9751deb24d730fdc560b163f39dfe
2015-03-30 15:11:11 +11:00
Dean Troyer
32d6bc6ad1 Add inc/rootwrap
Rootwrap shouldn't be a unique snowflake.  Plus the binaries tend
to be called assuming PATH will find them.  Not so with venvs
so we need to work around that brokenness.

Configure Cinder and Nova to use configure_rootwrap().

Change-Id: I8ee1f66014875caf20a2d14ff6ef3672673ba85a
2015-03-29 22:29:28 -05:00
Jenkins
43479db910 Merge "Mostly docs cleanups" 2015-03-29 23:23:51 +00:00
Dean Troyer
dc97cb71e8 Mostly docs cleanups
Fix documentation build errors and RST formatting

Change-Id: Id93153400c5b069dd9d772381558c7085f64c207
2015-03-28 14:35:12 -05:00
Dean Troyer
3bb5a6f445 Remove symlink for lib/neutron compat
Depends-On: I146910403879c9a85d644bd07a53830ea17ca77d
Change-Id: Ia25331fc74fd26df347024a8314bc4c6ed54428e
2015-03-28 13:46:49 -05:00
Dean Troyer
bba4742e8c Add parent id to worlddump output
Helpful in tracking down some process-doesn't-die problems.

Change-Id: I146910403879c9a85d644bd07a53830ea17ca77d
2015-03-28 13:37:41 -05:00
Jenkins
2914118d69 Merge "Always set the Heat deferred auth method" 2015-03-27 20:35:22 +00:00
Jenkins
0471e588df Merge "Add lioadm cinder iscsi helper support" 2015-03-27 20:35:10 +00:00
Jenkins
c443459f50 Merge "Remove the compute-admin section from tempest config" 2015-03-27 20:21:15 +00:00
Jenkins
9720239618 Merge "Install Nova into its own venv" 2015-03-27 17:34:10 +00:00
Jenkins
9513b31fa2 Merge "Clean up additional INSTALL_TESTONLY_PACKAGES bits" 2015-03-27 17:34:05 +00:00
Ian Wienand
9e98f9435e Install packaged pyOpenSSL
pyOpenSSL has done a rewrite of itself in Python.  This may be good
for many reasons, but memory usage is not one of them.  It just about
doubles the size of at least swift, which usually consumes about 6% of
a CI testing vm's 8gb RAM.  This is enough to push centos hosts into
OOM conditions and then everything falls apart.

The distro packages of pyOpenSSL are the older C-based versions, which
doesn't bring in the kitchen sink of cffi & pycparser.

Change-Id: Icd4100da1d5cbdb82017da046b00b9397813c2f2
2015-03-27 14:43:14 +11:00
YAMAMOTO Takashi
909fa8f49e Fix Q_USE_PUBLIC_VETH regression
A recently merged change Ie35cb537bb670c4773598b8db29877fb8a12ff50
and I71e2594288bae1a71dc2c8c3fb350b913dbd5e2c broke Q_USE_PUBLIC_VETH.
This commit fixes the regression.

Closes-Bug: #1436637
Change-Id: I1447bf98607143ba4954ce5ec3ed94010320baa5
2015-03-27 10:56:16 +09:00
Jenkins
e57a1e04d5 Merge "Install Cinder into its own venv" 2015-03-27 00:25:38 +00:00
Jenkins
932340bd7a Merge "lib/ironic: Do not check for database or message queue" 2015-03-26 23:53:39 +00:00
Jenkins
a5c058da0e Merge "Add a note on default values of globals" 2015-03-26 22:54:11 +00:00
Jenkins
0e348aaeec Merge "Install Glance into its own venv" 2015-03-26 20:36:49 +00:00
Dean Troyer
41d6f858be Clean up additional INSTALL_TESTONLY_PACKAGES bits
The original removal is in https://review.openstack.org/#/c/167669/

Change-Id: I3c59f040523d2cd1453465e80280955218880634
2015-03-26 15:36:23 -05:00
Jenkins
a33e804aa0 Merge "Install Keystone into its own venv" 2015-03-26 20:35:02 +00:00
Jenkins
c392fd3b5f Merge "Add global venv enable/disable knob" 2015-03-26 20:32:31 +00:00
Steve Baker
11cf7b64a7 iptables rule for heat pip mirror
This is required for guest VMs to reach http://$HOST_IP:8899

Change-Id: I814c682fb02974ae05dfbe5e212409cdd11d16ac
2015-03-27 09:10:15 +13:00
Adam Gandelman
fab7880bcd lib/ironic: Do not check for database or message queue
Only check for OpenStack services, not specific database or
messaging backends.

Change-Id: I7960718defa3f521d1c2128d8523e8ee9328da64
2015-03-26 13:03:49 -07:00
Dean Troyer
4533eeec1f Install Nova into its own venv
Install a couple of optional feature prereqs in hypervisor plugins.

rootwrap is horribly called indirectly via PATH.  The choice, other than fixing
such nonsense, is to force the path in sudo.

TODO:
* python guestfs isn't in pypi, need to specifically install it to not
  use the distro package

Change-Id: Iad9a66d8a937fd0b0d1874005588c702e3d75e04
2015-03-26 14:54:00 -05:00
Jenkins
3cfc03156c Merge "Support for single interface Neutron networking with OVS" 2015-03-26 19:44:04 +00:00
Attila Fazekas
c70605d101 Add lioadm cinder iscsi helper support
The Linux-IO is a modern way of handling targets.
Per the IRC discussions lioadm as default
seams like a better default for everyone, for now it will be
optional, but the tgtadm admin support expected to be removed when
lioadm works well with all CI (including third party).

Change-Id: Ia54c59914c1d3ff2ef5f00ecf819426bc448d0a9
2015-03-26 20:41:18 +01:00
Jenkins
2a5f1addf2 Merge "Provide an option to force pip --upgrade" 2015-03-26 19:35:05 +00:00
Jenkins
c9b24ffdf5 Merge "provide an override-defaults phase" 2015-03-26 19:17:03 +00:00
Jenkins
8c03e20725 Merge "Add support running sahara in distributed mode" 2015-03-26 17:56:56 +00:00
Jenkins
5061048ede Merge "Add variable to indicated if Tempest should have admin" 2015-03-26 17:14:56 +00:00
Jenkins
a22942ba52 Merge "Recreate tox venv for tempest on stack.sh run" 2015-03-26 17:14:47 +00:00
Jenkins
c8944720ef Merge "Make ironic's service check flexible" 2015-03-26 17:13:41 +00:00
Sean Dague
6e275e170c provide an override-defaults phase
during the glusterfs integration it was seen that plugins might need
to set new defaults on projects before the project files load. Create
a new override-defaults phase for that.

Intentionally not adding to the documentation yet until we're sure
this works right in the glusterfs case.

Reported-By: Deepak C Shetty <deepakcs@redhat.com>
Change-Id: I13c961b19bdcc1a99e9a7068fe91bbaac787e948
2015-03-26 20:50:11 +05:30
Chris Dent
ebdd9ac5b4 Provide an option to force pip --upgrade
Make it possible for someone to config

  PIP_UPGRADE=True

in local.conf and thus force pip_install calls to upgrade. In
automated testing this is probably a bad idea, but in manual testing
or situations where devstack is being used to spin up proof of
concepts having the option to use the latest and greatest Python
modules is a useful way of exploring the health of the ecosystem.

To help with visibility of the setting, and section has been added
in configuration.rst near other similar settings.

Change-Id: I484c954f1e1f05ed02c0b08e8e4a9c18558c05ef
2015-03-26 14:27:54 +00:00
Jenkins
e59d2c6783 Merge "Print kernel version" 2015-03-26 14:17:40 +00:00
Sean M. Collins
00e16a9d53 Support for single interface Neutron networking with OVS
When running Neutron on a single node that only has a single interface,
the following operations are required:

    * Remove the IP address from the physical interface
    * Add the interface to the OVS physical bridge
    * Add the IP address from the physical interface to the OVS bridge
    * Update the routing table

The reverse is done on cleanup.

In order run Neutron on a single interface, the $PUBLIC_INTERFACE and
$OVS_PHYSICAL_BRIDGE variables must be set.

Co-Authored-By: Brian Haley <brian.haley@hp.com>
Change-Id: I71e2594288bae1a71dc2c8c3fb350b913dbd5e2c
2015-03-26 10:00:33 -04:00
Matthew Treinish
0fc946ddc8 Remove the compute-admin section from tempest config
This commit removes the compute-admin section from the tempest config
file that devstack generates. These options have been removed from
the tempest config and aren't being used, so there is no reason to
keep them around.

Change-Id: I7500fe3b329b913c60fa505a5230db4a5d35d7f1
2015-03-26 13:45:13 +00:00
Attila Fazekas
1bd79596c3 Move back isset to the functions-common
isset function was moved to config file related functions by accident,
this change also simplfies the isset in a bash >=4.2 way.

All supported distro has at least bash 4.2. (RHEL6 used 4.1)

Change-Id: Id644b46ff9cdbe18cde46e96aa72764e1c8653ac
2015-03-26 14:00:02 +01:00
Jenkins
4cc060e77c Merge "Increase Swift disk size up to 2GB if Glance is enabled" 2015-03-26 12:51:03 +00:00
Matthew Treinish
7ced150f8c Add variable to indicated if Tempest should have admin
This commit adds a new flag, TEMPEST_HAS_ADMIN, to enable or disable
setting admin credentials in the tempest config file. This allows for
devstack / tempest configurations where tempest doesn't have admin to
ensure it would work in public cloud scenarios.

Change-Id: Id983417801e4b276334fb9e700f2c8e6ab78f9ba
2015-03-26 08:17:52 -04:00
Jenkins
1840f70d0b Merge "Stop using deprecated rabbit related config options" 2015-03-26 11:59:52 +00:00
Attila Fazekas
d9de1199bd Print kernel version
Adding `uname -a` to stack.sh to make easy to see from the devstack logs
what was the actually running kernel version.

Change-Id: I0068504bf055a588b155b0a60215440d365bf53e
2015-03-26 09:25:02 +01:00
Jenkins
27ee05bb2c Merge "Always defines tempest_roles as Member" 2015-03-26 04:23:37 +00:00