8268 Commits

Author SHA1 Message Date
Evgeny Antyshev
008aa3e095 Fix install_libvirt for other RHEL-based distros
Since https://review.openstack.org/#/c/438325 landed
it only works for Centos 7, but not for other
RHEL-based distributions: Virtuozzo and, probably, RHEV.

Both of above have own version for qemu-kvm package: qemu-kvm-vz and qemu-kvm-rhev,
accordingly. These packages provide "qemu-kvm", like qemu-kvm-ev,
and, when you call "yum install qemu-kvm", they replace the default OS package.

Change-Id: I46da627c0da8925064862fdc283db81591979285
2017-03-02 11:14:25 +00:00
Jenkins
23d03b697f Merge "install OSC with py3 by default" 2017-03-02 05:39:08 +00:00
Jenkins
93715a93df Merge "clean up virt drivers that we do image logic for" 2017-03-02 05:39:00 +00:00
Dan Smith
b1d8519b40 Move rpc backend start/configure to earlier
Because things like nova may need to create vhosts in the rpc backend,
we need to have started and created credentials before we configure
the service.

Change-Id: I01c9c5288e197fc50a8a4a032e3a32cd166eb180
2017-03-01 10:10:52 -08:00
Jenkins
24b58a9a1a Merge "nova: call map_cell0 much earlier in the setup" 2017-03-01 18:08:11 +00:00
Sean Dague
f119121d21
clean up virt drivers that we do image logic for
openvz is not in the nova tree, and is referencing a crazy old image,
we're going to assume that if anyone is using this they can build a
devstack plugin.

drop doing anything by default because this actually requires that we
special case things like ironic in tree to *not* do anything by
default.

Change-Id: I9d33b98263c3d52a95b9983e90eb0b341fa1d363
2017-03-01 11:23:49 -05:00
Jenkins
8a82a9da2c Merge "nova: Fix comments for _config_nova_apache_wsgi" 2017-03-01 09:29:55 +00:00
Jenkins
7d6e77baff Merge "lib/neutron: Fix an extra comma in service_plugins" 2017-03-01 09:29:48 +00:00
Jenkins
2977d9aef5 Merge "lib/neutron: Fix conf handling" 2017-03-01 09:29:41 +00:00
Doug Hellmann
0b1ea080a2 install OSC with py3 by default
Add python-openstackclient to the list of packages installed under
Python 3 by default, so that jobs running with Python 3 exercise the
client that way.

Change-Id: I9778a6810bb3e4850132cfc19e583d50fed23ef5
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-02-28 16:39:48 -05:00
Jenkins
192046e4ab Merge "Use qemu-kvm-ev package on centos" 2017-02-28 21:28:52 +00:00
Jenkins
0e1e78117e Merge "install LIBS_FROM_GIT using python 2 and 3 where appropriate" 2017-02-28 16:37:49 +00:00
Jenkins
259c5e19a7 Merge "allow config to manage python3 use explicitly" 2017-02-28 16:37:20 +00:00
Jenkins
d81e422722 Merge "Added support for fake drivers as Cinder backend" 2017-02-28 13:53:27 +00:00
Eli Qiao
e624e48ddf nova: Fix comments for _config_nova_apache_wsgi
Comments cleanup.

Change-Id: I02748b906f7bb75240bc4e5259005cd72ef49f6b
2017-02-28 15:18:20 +08:00
Ian Wienand
52bb64105f Use qemu-kvm-ev package on centos
For the latest qemu-kvm, you have to use the qemu-kvm-ev package,
which is based off the qemu-kvm-rhev package, which is explained in
[1] but you probably can't read it.  The gist is, that qemu-kvm-rhev
is a later build of kvm that is incompatible with the base version
provided.  qemu-kvm-rhev is only provided with the RHV (ovirt) and
RHOS (openstack) products.  CentOS rebuilds this package as
qemu-kvm-ev as part of it's virtualisation SIG.

I9a972e3fde2e4e552f6fc98350820c07873c3de3 has bumped up the minimum
qemu version to 2.1.0.  It seems there is a an issue (bug #1668164)
where having the qemu-system package installed gets picked up if
installed, and reports the incorrect version to nova, causing failure.

This removes the installs from files/rpms/nova as it is all being done
in function-libvirt.  We only install the qemu-kvm-ev package on
centos and remove the old work-around.

[1] https://access.redhat.com/solutions/629513
[2] https://wiki.centos.org/SpecialInterestGroup/Virtualization

Change-Id: Ide91b261f35fb19d8bd7155ca016fa3b76a45ea1
2017-02-27 18:59:49 +11:00
Ian Wienand
1e7f738f28 Ensure we install setuptools from requirements
Use pip_install_gr so we get the version pinned by requirements.  The
depends-on is an example of where we're trying to pin to workaround
issues.

Depends-On: I9c57c08a150571c5bb62235d502839394d53a4c1
Change-Id: I780cca681b12a3e9d228dbf2fd9fa6e8ab1a82e1
2017-02-27 11:35:43 +11:00
Jenkins
6f23555c95 Merge "Fix error in 'ip netns' parsing" 2017-02-26 21:43:54 +00:00
Jenkins
f697274eee Merge "Fix file permissions for lib/neutron_plugins/linuxbridge_agent" 2017-02-26 06:26:01 +00:00
Jenkins
9a21fe65a7 Merge "Xen: support Ubuntu Xenial for xen DevStack" 2017-02-26 03:41:50 +00:00
Jenkins
47e3e1d88e Merge "XenAPI: enable root_helper_daemon for XenServer" 2017-02-25 19:15:31 +00:00
Jenkins
0e9ee86bde Merge "Using sudo in the Quick start section" 2017-02-25 16:02:57 +00:00
Jenkins
71640bfe39 Merge "Remove distro support based on new libvirt minimum" 2017-02-25 16:02:50 +00:00
Jenkins
0072abbf11 Merge "Refactor rpc backend vhost creation" 2017-02-24 22:51:38 +00:00
Jenkins
50aa32014c Merge "Enable placement section on controller in multinode setup" 2017-02-24 16:55:54 +00:00
Gary Kotton
79b55f51e4 Fix file permissions for lib/neutron_plugins/linuxbridge_agent
The permissions changed with commit
40aae6adbfce1bd896d5f7b0e281e798b56d1ca8

TrivialFix

Change-Id: I100cb9589309f9289b4581265a5e4206464ddc0e
2017-02-24 13:40:19 +00:00
Jenkins
10e1e387ce Merge "Don't set external_network_bridge by default" 2017-02-24 12:00:44 +00:00
Jenkins
cffe4fea06 Merge "worlddump: Use __future__ print_function" 2017-02-24 12:00:27 +00:00
Jenkins
947af3ac61 Merge "Removed neutron_plugin_configure_debug_command functions" 2017-02-24 10:21:59 +00:00
Jenkins
a97d32fac2 Merge "Do not run cinder API V1 tests anymore by default" 2017-02-24 10:14:12 +00:00
Jenkins
5c332b09ab Merge "Corrected router gateway set command" 2017-02-24 06:32:13 +00:00
Jenkins
cdf79c9620 Merge "mysql: set default sql_mode to TRADITIONAL" 2017-02-24 00:59:06 +00:00
Dan Smith
6f0205b036 Refactor rpc backend vhost creation
The creation of the cellsv1 rpc vhost was buried in the restart function,
which makes it hard to extend. This breaks it out into a helper method
and moves the conditional logic into the nova module itself.

Change-Id: Ib0e377aabe45c27bb6ce59ca275ce73085e8b9d2
2017-02-23 08:16:48 -08:00
Prashant Shetty
f58b373563 Enable placement section on controller in multinode setup
Currently placement api section will be configured on controller
only if service n-cpu is running. It breaks multi node setup.
Closes-Bug: #1667219

Change-Id: I8b0f60f253859f704bb9831d7dac8f55df353ac7
2017-02-23 13:49:37 +00:00
Jenkins
0fddb35cd8 Merge "lib/tempest: Liberty EOL: remove the volume_services feature flag" 2017-02-23 04:09:00 +00:00
Jenkins
354e7d0997 Merge "Setup service user configuration in nova.conf" 2017-02-22 22:17:46 +00:00
YAMAMOTO Takashi
84e45c9143 lib/neutron: Fix an extra comma in service_plugins
Closes-Bug: #1667077
Change-Id: Ib63a94a931c38a7b2a5fc91a8339a9cd657f7927
2017-02-22 14:25:31 -05:00
YAMAMOTO Takashi
ed887d8b9f lib/neutron: Fix conf handling
- Remove extra spaces
- Fix a missing space in the generated option string
- Fix a fatal typo

Change-Id: Ieca1c3e3c7e2ff59089ef45435e126ce7ff4f9b5
Closes-Bug: #1667073
2017-02-22 14:23:35 -05:00
Ivan Kolodyazhny
447f141d4f Added support for fake drivers as Cinder backend
FakeLoggingVolumeDriver  will be used for functional Cinder tests to
prevent dependencies on any storage.

FakeGateDriver is based on LVM and will be used to run Tempest tests for
such features like CG's, replication, etc.

Depends-On: I383bcdb531c7d52c0fdbb6875de73f1274a92854
Change-Id: I2dc8ea416f5eb3fcc9d2e959533497e464220ff5
2017-02-22 09:14:54 -05:00
Jianghua Wang
6e49cab091 Xen: support Ubuntu Xenial for xen DevStack
Upgrade xen tool to install Ubuntu Xenial; change the upstart
task to systemd task to finish the OpenStack installation
by using devstack.

Change-Id: I8129923be3c41e7f60e9d32348a5ea8e07d4845b
2017-02-22 19:59:36 +08:00
Jenkins
7a30c7fcab Merge "pass role by name not id" 2017-02-21 23:04:49 +00:00
Jenkins
42a914cadf Merge "Revert "tls proxy: immediately close a connection to the backend"" 2017-02-21 21:02:03 +00:00
Sean Dague
0b259c3abd only set nova catalog if it's not the default
This ensures we only set the nova catalog when it's not the default,
instead of also putting defaults in devstack.

Change-Id: Ibb0dcb8bae2e9223db302d7b19e8fbee4ebbf0e3
2017-02-17 11:51:36 -05:00
Jenkins
29152c7dd6 Merge "remove keystone internal uri" 2017-02-16 19:21:06 +00:00
Jenkins
55dab95237 Merge "simplify endpoints used in devstack" 2017-02-16 19:20:14 +00:00
Jenkins
fe86b35982 Merge "Use the latest 0.3.5 version of CirrOS" 2017-02-15 17:38:24 +00:00
Jordan Pittier
88312fa61f Do not run cinder API V1 tests anymore by default
I think now is a good time to stop running Cinder V1 tests. It should
save quite some Infra resources and jobs should run faster too.

Also, remove some useless variables in lib/tempest.

Change-Id: I0edf1d88c136c3b910a5773690a603eeacb50266
2017-02-15 16:49:42 +01:00
Jenkins
9b15fd26d7 Merge "Switch devstack to use qcow cirros img" 2017-02-15 15:28:23 +00:00
Jenkins
5ed1e34802 Merge "Add top memory consuming process to dstat output" 2017-02-15 02:02:49 +00:00
Jenkins
289c600646 Merge "Down PUBLIC_BRIDGE before trying to delete it" 2017-02-15 01:48:48 +00:00