8026 Commits

Author SHA1 Message Date
Jenkins
e18d6fae72 Merge "Switch keystone to dogpile.cache.memcached backend" 2016-09-26 16:54:00 +00:00
Jenkins
590e21f9a4 Merge "Keystone uwsgi set lazy-apps=true" 2016-09-26 16:53:52 +00:00
Jenkins
fdd6dfa519 Merge "Remove the same configurations as the default" 2016-09-26 16:53:43 +00:00
Jenkins
de0b611032 Merge "Run n-cpu using LXD_GROUP when LXD virt driver" 2016-09-26 15:01:26 +00:00
Jenkins
69700227a9 Merge "Make the Neutron l3 plugin use the subnetpools" 2016-09-26 15:01:16 +00:00
Jamie Lennox
04e69de6c5 Mount identity admin script at /identity_admin
The /identity_admin endpoint is the port 80/443 equivalent of the
service that typically runs on port 35357. In v2 some operations must be
performed on the admin endpoint whereas on v3 the services on 5000 and
35357 are exactly the same. This would be why the service was mounted at
/identity_v2_admin however that is misleading because both the v2 and v3
services are present on that endpoint.

This is particularly confusing because we set this as the OS_AUTH_URL
endpoint and it makes it seem like we are doing v2 authentication when
we are not.

Change-Id: If73735026079fb19ca5bd44b3a4dc1f507b5c99d
2016-09-26 14:44:40 +00:00
Jenkins
7957489003 Merge "Neutron: enable setting debug as True or False" 2016-09-26 13:57:51 +00:00
Jenkins
bf10c86664 Merge "Neutron L3: account for all default routes" 2016-09-26 13:30:26 +00:00
Jens Rosenboom
890342ed87 Work around issue in glance_store swift driver
With [1] glance_store introduced default settings for user_domain_id and
project_domain_id. Sadly since these are always passed to the keystone
client, they override any settings to user_domain_name and
project_domain_name that are made in the config, leading to authentication
failures.

So as a workaround until [2] is fixed, we explicitly place the corresponding
domain_ids into the config.

[1] https://review.openstack.org/297665
[2] https://bugs.launchpad.net/tempest/+bug/1620999

Change-Id: Ica81a1a176614392291f2db4cc6398ed30663aed
2016-09-26 15:16:04 +02:00
Jenkins
7febf95e5c Merge "Update doc to reflect neutron became devstack default" 2016-09-26 13:14:37 +00:00
Clark Boylan
323b726783 Don't make root CA if it exists
To support multinode testing where we just copy the CA to all the
instances don't remake the CA if it already exists.

The end result is that you can trusty a single chain and all your
clients will be happy regardless of which host they are talking to.

Change-Id: I90892e6828a59fa37af717361a2f1eed15a87ae4
2016-09-26 11:37:18 +00:00
John Hua
499a9e39c1 XenAPI: Remove legacy tty image
UPLOAD_LEGACY_TTY was for console access, but it's no longer used.

Change-Id: I294c8716be2e6ee9f53108d4eb41faf99e975538
2016-09-26 12:06:02 +08:00
Ian Wienand
a4705403aa yum_install: fix awk return code
TIL:

  Similarly, all the END rules are merged, and executed when all the
  input is exhausted (or when an exit statement is executed).

i.e. matching YUM_FAILED calls "exit", which falls through to the END
rules which calls "exit result" ... which is zero.  i.e. if the return
code is 1 then we actually hide that and return with zero.

This is rather annoying because errors that should halt to alert us of
a package install failure pass through, only for you to have to debug
much later on seemingly unrelated problems.

This always sets "result" and thus should be returning the right
thing.  I've updated the documentation to hopefully make it clearer
what's going on.

Change-Id: Ia15b7dc55efb8d3e3e945241b67a468b8a914672
2016-09-23 15:44:57 +10:00
Kevin Zhao
a80d4097a9 Modify the default Qemu packages name for AArch64.
In Debian jessie and later release,there is no packages
called "qemu-kvm" for AArch64. Also modify the libguestfs0
packages for AArch64

Closes-bug: #1612182

Change-Id: I5eb6bd137896eb9abfc4f8dbb41b41105e4820cd
Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org>
2016-09-22 07:44:43 +00:00
Patrick East
a5d965a3d7 Use userrc_early for all nodes
Instead of only using the userrc_early when keystone
is an enabled service we will do it on all runs of
stack.sh. This way services can be split up more
across devstack nodes, and you can do configuration
requiring credentials on nodes that don't install
keystone.

Change-Id: I74574ae9f45a74bcbcc8e3149228ecb795ab4fb7
2016-09-21 12:45:04 -07:00
Jenkins
a2d1848419 Merge "Use apache for tls-proxy ssl termination" 2016-09-21 18:19:40 +00:00
Luigi Toscano
4c813ac0fb Fix the logic of if used with is_service_enabled
The value to be evaluated is the returned value, not the output of the
command.

Change-Id: I22d7c967e911bcfee6b1910f666dbbc647c00085
2016-09-21 19:39:36 +02:00
Gregory Haynes
4b49e409f8 Use apache for tls-proxy ssl termination
Stud is now abandonware (see https://github.com/bumptech/stud) and is
not packaged in xenial. Lets use Apache for SSL termination since its
there already.

Change-Id: Ifcba410f5969521e8b3d30f02795541c1661f83a
2016-09-20 08:14:11 -07:00
Gary Kotton
d2ef615d8f Neutron: enable setting debug as True or False
The flag ENABLE_DEBUG_LOG_LEVEL indicates if this should be
set or not.

This will now be supported in Neutron.

Change-Id: I3afe0546b379873247fee1ef9f4cc2708a7b5713
2016-09-20 04:12:11 -07:00
Henry Gessau
734f144f5d Neutron L3: account for all default routes
Some systems may have more than one default route.
Set up iptables NAT rules on all v4 default route devices.
Accept RAs on all v6 default route devices.

Closes-Bug: #1624773

Change-Id: If58509297497ea33c6c156f083a4394000bd0561
2016-09-19 14:18:53 -04:00
OpenStack Proposal Bot
81d89cf358 Updated from generate-devstack-plugins-list
Change-Id: I20039918452f6aa430037ae986f7cd88bd220d76
2016-09-16 06:52:00 +00:00
Jenkins
466dc74e67 Merge "Updated from generate-devstack-plugins-list" 2016-09-16 03:28:12 +00:00
Jenkins
72fe79d7af Merge "tempest: toggle allow_port_security_disabled=True" 2016-09-15 18:19:15 +00:00
OpenStack Proposal Bot
cb3a216c23 Updated from generate-devstack-plugins-list
Change-Id: Ib75ecf5c822f3778978177c793399afbd802bf70
2016-09-15 06:52:36 +00:00
OpenStack Proposal Bot
57d390c5d7 Updated from generate-devstack-plugins-list
Change-Id: I21fd2b3866efe66dd1f7173003c2521688aa7fd6
2016-09-14 06:59:40 +00:00
Jenkins
dec121114c Merge "Don't add deb-* packaging repos to plugin list" 2016-09-14 00:39:21 +00:00
Matt Riedemann
14cb490d1e nova: stop setting deprecated use_usb_tablet option
The use_usb_tablet option is replaced by the pointer_model
option.

Depends-On: Id18b5503799922e4096bde296a9e7bb4f2a994aa

Change-Id: Ic2a49f88df988c6404c1c72e9ee28a487e4f7908
2016-09-13 15:51:23 -04:00
Matt Riedemann
6390d5ef82 libvirt: install python-guestfs when ENABLE_FILE_INJECTION=True
There is a bit of a weird history here, but the net is we're not
installing python-guestfs when ENABLE_FILE_INJECTION is set, which
it is in the gate-tempest-dsvm-neutron-full-ssh job, which makes
file injection (personality) tests fail.

The history:

Commit 0ae942b41c6dcd0fe7353e7d68574194fb72a66d moved installing
python-guestfs to the hypervisor-libvirt file and it was conditional
on a flag to enable file injection and the backing distro.

Commit a3c94468baa159840a47c34cf94d97d816208313 removed the ability
to configure nova for file injection, which never made any Tempest
tests fail because we didn't have a job that tested file injection
with ssh, which is what gate-tempest-dsvm-neutron-full-ssh does.

Commit 6d3670a65280d71529f8aad8ca5a0422abffebd0 added the ability
back to enable file injection and the gate-tempest-dsvm-neutron-full-ssh
job uses it, but missed added the condition back in from 0ae942b41
which installed the python-guestfs package. This change adds that
back in.

Change-Id: I1c1ef093b70007100646c086dc5724cd64751d00
Closes-Bug: #1622649
2016-09-12 11:35:22 -04:00
Jenkins
8a770cb050 Merge "Add thin-provisioning-tools for Cinder" 2016-09-12 05:53:49 +00:00
Ian Wienand
9c69eacaba Don't add deb-* packaging repos to plugin list
A couple of hundred of these were added with
Ia02f4e1819ac47b12b4ce4381e04253eb26e9f70 and you can see in some of
the proposals at I21fd2b3866efe66dd1f7173003c2521688aa7fd6 they're
starting to match.  Just ignore packaging repos as they're not really
relevant for the purposes of plugin list.

Change-Id: Iaf9e0c0fb672a70c3aee1bbcf587bb0d387e5945
2016-09-12 14:58:20 +10:00
Clark Boylan
9546903265 Set sensible default for LB_PHYSICAL_INT
Configure the linux bridge physical interface to use the interface for
the default route on the current host. In the future we should consider
using a dangling interface so that we aren't affecting the host
instances networking but this roughly matches what testing has been
using in the past.

Change-Id: I7859437f97e6cab929e90208fe56f7efd62dfe01
2016-09-08 17:09:45 -07:00
Jenkins
628098e0de Merge "Adding vfio to cgroup_device_acl during libvirt configuration" 2016-09-08 16:59:59 +00:00
Jenkins
b74fc6886f Merge "Keystone re-enable catalog caching" 2016-09-08 00:59:33 +00:00
scottda
f3daa9548e Add thin-provisioning-tools for Cinder
Ubuntu's LVM packaging does not support thin provisioning by
default:
 /usr/sbin/thin_check: execvp failed: No such file or directory
This is fixed with install of thin-provisioning-tools.

Change-Id: I31f572934ea94cae6e2aea27a2c731ee5bca68d3
Closes-Bug: #1615134
2016-09-06 16:21:57 -06:00
Jenkins
fac8adbe1b Merge "Enable neutron to work in a multi node setup" 2016-09-06 14:02:07 +00:00
Jenkins
1735f39128 Merge "Make PIP_GET_PIP_URL configurable via local.conf" 2016-09-06 07:23:34 +00:00
Andreas Scheuring
0063495b00 Make PIP_GET_PIP_URL configurable via local.conf
The default get_pip url regulary times out when starting devstack
from behind company firewalls. Making this a configureable variable,
user can make use of internal git-pip.py mirrors without modifying
any code.

Change-Id: I66a5534d51ab23a4d8586c27d37b4b6b8a6892c9
2016-09-06 14:48:32 +10:00
Lenny Verkhovsky
0a40710b9f Adding vfio to cgroup_device_acl during libvirt configuration
vfio should be added to cgroups on some of the Distributions like
Ubuntu 16-04

Change-Id: I7239858b6307e37bf1237b92d69a0520ab5ad304
2016-09-04 12:52:01 +00:00
Ken'ichi Ohmichi
085f2fb0e2 Remove the same configurations as the default
The default value of force_dhcp_release is True on Nova side:
https://github.com/openstack/nova/blob/master/nova/conf/network.py#L306
The default value of vnc.enabled is True on Nova side:
https://github.com/openstack/nova/blob/master/nova/conf/vnc.py#L27
The default value of spice.enabled is False on Nova side:
https://github.com/openstack/nova/blob/master/nova/conf/spice.py#L30

So it is not necessary to set them on Devstack.

Change-Id: I67cc103269d2d612ad443c72f2a77d7ae2ca09e3
2016-09-02 14:19:52 -07:00
Jenkins
6affe6db29 Merge "Change quota_injected_file_path_bytes to quota_injected_file_path_length" 2016-09-02 17:27:37 +00:00
Jenkins
e89723dcd8 Merge "LVM: Handle missing loop device at cleanup" 2016-09-02 17:12:07 +00:00
Jenkins
5897550146 Merge "Allow setup of credential encryption using fernet" 2016-09-01 19:55:06 +00:00
Dan Smith
71119b47a0 Setup cellsv2 for Nova
This patch setup cellsv2 for Nova after plugin initialization phase.
Since this requires compute hosts to be started, we need to do it
after we have initialized all other plugins. Things like ironic
aren't setup when we were running this as part of nova setup, and
thus this command can fail.

When cellsv1 is used (n-cell is enabled) skip calling
cells_v2 simple_cell_setup, which will never have hosts
at the top level and which will always fail.

Change-Id: Ic7d0115da51d6ea17ee49071af259a7789c62ab9
Depends-On: I9bbaa4c92503222c9fd015fe075926b50f3dcc8c
2016-09-01 15:36:50 +00:00
Monty Taylor
6930ba312f Specify a cloud for openstack complete
there is a bug in openstackclient that is causing a password prompt

Related-Bug: 1619274
here.

Change-Id: I3aee25845ece846ed2b35aa242dc684b55ac2381
2016-09-01 08:36:15 -04:00
Jenkins
08b1475c2a Merge "Create the nova_api_cell0 database" 2016-09-01 09:41:17 +00:00
Clay Gerrard
40b433fb07 Make unstack.sh more independently deterministic
In some initialization conditions (having never ran stack.sh) the
result of unstack.sh is dependent on if the user had previously
installed lvm2 or disabled the cinder service.

This change makes all results the same with a bit of LBYL.

There's also a drive-by to put a comment back where it belongs after
being accidentally moved in the related change.

Related-Change: I09b1a7bee0785e5e1bb7dc96158a654bd3f15c83

Change-Id: I9a7e052677d60cbbbdd582877f3c6c48c387f668
Closes-Bug: #1619195
2016-09-01 02:17:54 -07:00
Jenkins
d7c9d2e27e Merge "Revert "Allow properly overriding DEST"" 2016-09-01 04:46:54 +00:00
Brant Knudson
eb77eef8a5 Keystone re-enable catalog caching
Catalog caching was disabled due to bug 1537617, but this has been
fixed for some time. Re-enabling to get some performance back.

Change-Id: Ic0edf5c70a5040edf3393dbd1e110ab5fb56c110
Related-Bug: 1537617
2016-08-31 16:26:30 -05:00
Jenkins
fb1e1cc7e3 Merge "Move RABBIT_USERID to lib/rpc_backend" 2016-08-31 21:22:48 +00:00
Brant Knudson
542abbab3b Keystone uwsgi set lazy-apps=true
Keystone had a problem where there was a memcached socket
opened very early on startup which then got shared between
worker processes when running under uwsgi. This can be
prevented by setting lazy-apps so this is the recommended
setting.

See http://uwsgi-docs.readthedocs.io/en/latest/ThingsToKnow.html

"""uWSGI tries to (ab)use the Copy On Write semantics of the
fork() call whenever possible. By default it will fork after
having loaded your applications to share as much of their
memory as possible. If this behavior is undesirable for some
reason, use the lazy-apps option. This will instruct uWSGI to
load the applications after each worker’s fork(). Beware as
there is an older options named lazy that is way more invasive
and highly discouraged (it is still here only for backward
compatibility) """

Change-Id: I6f271dc906528f0c86060452deaf15df81b267d2
Related-Bug: 1600394
2016-08-31 15:47:56 -05:00