9431 Commits

Author SHA1 Message Date
Zuul
12467ec408 Merge "Change "Options pimp your stack" heading in multinode docs" 2019-02-05 13:51:40 +00:00
Zuul
f7be08f788 Merge "Always start iscsid for nova-compute" 2019-02-05 10:47:37 +00:00
Matt Riedemann
ec8285271e Change "Options pimp your stack" heading in multinode docs
Uses a less offensive and arguably better understood section
header in the multinode docs.

Change-Id: Ie6fd58e9abd5c1ce88d88ac55419807790f61851
Closes-Bug: #1810317
2019-01-30 20:48:18 -05:00
Sean Mooney
ee4b6a0128 set owner and group to no for fetch-devstack-log-dir
As the user on the node under test may not exist on
the zuul executor node we do not copy the log owner
or group to avoid the rsync task failing when it
tries to chown the files.

Change-Id: I500cf3692a4d27b0c2a0a4f5586580d180a8778e
2019-01-29 18:21:44 +00:00
Zuul
7a52311d80 Merge "Add option to place etcd data dir on RAM disk" 2019-01-29 03:49:08 +00:00
Adam Spiers
bbb6b0c240 Fix version comparison for SUSE Linux Enterprise 12
The version comparison introduced in
I5152f2585c3d4d18853988d6290039d6b1713b99 was broken, because it tried
to use bash's -lt operator for floating point comparison, but bash
only supports integer arithmetic.

So instead use devstack's vercmp() function.

Change-Id: I8aac71c5bb6c2e82479d62831ea0672ba6a9a534
2019-01-25 01:05:58 +00:00
Michael Johnson
8b9864d7bf Update the devstack LBaaS guide for Octavia
The existing devstack guide for load balancing is out of date.
This patch updates the guide to reflect the current way to install
devstack with the Octavia plugin(s).

Change-Id: Id48b70b50e44ec7b965d969b2d93f77543d7364c
2019-01-24 10:51:17 -08:00
Michał Dulko
6757a9c5de Add option to place etcd data dir on RAM disk
Seems like for etcd-heavy services like Kubernetes, the fsync
performance of gate VM's are too low [1]. This commit implements an
option to put etcd data directory on RAM disk (tmpfs) to work this
around.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-January/001849.html

Change-Id: I5a17099cb9d6941b1a009dc82daefd2c7946d892
2019-01-24 13:43:47 +01:00
Zuul
a5176e6f92 Merge "Configure nova's use of placement more correctly" 2019-01-24 01:54:52 +00:00
Luigi Toscano
29ab9b8e30 Always start iscsid for nova-compute
Recently iscsid was disabled by default on Ubuntu 18.04 (bionic),
and it may be on Xenial too, see:

https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1755858

On a local Bionic deployment with Python 3, the lack of iscsid makes
nova-compute fail with an exception when trying to attach a volume:

Invalid input received: Connector doesn't have required information: initiator

Asking for the service to be started even if it is already running should not
hurt, so remove the check for the distribution.

This does not seem to be an issue on CentOS 7 (but Python 2) where
the socket activation of iscsid seems to work, so maybe there is
another way to make this working. Also, the service could be
enabled, not just started.

Change-Id: Ifa995dcf8eb930e959f54e96af6f5fce3eac28ae
2019-01-22 16:23:42 +01:00
Zuul
7adc401bba Merge "Restrict database access to nova-compute in singleconductor mode" 2019-01-21 16:50:07 +00:00
Zuul
62c832b090 Merge "Update default cirros version" 2019-01-20 15:20:35 +00:00
Matt Riedemann
8253787137 Restrict database access to nova-compute in singleconductor mode
Change I4820abe57a023050dd8d067c77e26028801ff288 removed access
to the database for the nova-compute process but only in
superconductor mode. Grenade runs in singleconductor mode though
so we are getting tracebacks in nova-compute logs during grenade
runs because nova-compute is running with nova.conf which is
configured with access to the nova API database.

This change handles removing database access for nova-compute
generically to cover both the singleconductor and superconductor
cases.

Change-Id: I81301eeecc7669a169deeb1e2c5d298a595aab94
Closes-Bug: #1812398
2019-01-18 10:42:13 -05:00
Zuul
85e6aaf541 Merge "Fix an issue in iniset function" 2019-01-17 04:35:27 +00:00
Zuul
cc391e49d9 Merge "setup-devstack-source-dirs: also copy github libraries" 2019-01-16 10:35:23 +00:00
Zuul
a5aa242dc0 Merge "Set non-0 disk sizes for tempest flavors" 2019-01-16 01:42:15 +00:00
Zuul
69af5757da Merge "Rename ironic job name to match zuulv3" 2019-01-14 23:48:53 +00:00
Chris Dent
16a10d7435 Configure nova's use of placement more correctly
This change addresses a few inconsistencies in how nova processes
are configured to speak to the placement service.

The initial inspiration was that region_name was not being set in the
[placement] section, despite $REGION_NAME being used when setting
the endpoint in the catalog. That's fixed.

While fixing that two other issues became clear:

* Configuring nova process to use placement should happen in lib/nova
  not lib/placement so the function has been moved.
* auth_strategy is not relevant in the [placement] section of a
  nova process

The name of the function is maintained, in case there are plugins which
call it, but a comment is added to indicate that other services besides
nova compute (such as the cell conductor) may use the function.

Change-Id: I4a46b6460596e9a445bd90de2d52dbb71fb963df
2019-01-14 17:16:01 +00:00
Yi Wang
698796f1ae Fix an issue in iniset function
Given the file to be configured, if user "stack" even doesn't have
read access, the result of configuration is not expected. iniset with
"-sudo" option will always create the section and the option which we
want to configure for each calling, no matter whether this section and
this option exist in the file or not. The root cause is the calling of
grep and ini_has_option in iniset don't use the "sudo" option.

Change-Id: I9d21322046b7be411c4c7c28fefc24894fa2e131
Signed-off-by: Yi Wang <yi.c.wang@intel.com>
2019-01-12 08:53:26 +08:00
OpenStack Proposal Bot
772ade5368 Updated from generate-devstack-plugins-list
Change-Id: I3b4c7e73b0f84f0604fa5e06e612a5bd775d7b02
2019-01-11 06:04:41 +00:00
Zuul
a03b28df39 Merge "Ignore local.conf in root of repo" 2019-01-10 23:43:48 +00:00
Zuul
113e9ad8dd Merge "Allow plugin names to contain non-letter characters" 2019-01-10 16:26:41 +00:00
Zuul
88f8c7f02d Merge "Correcting typo in plugins section" 2019-01-10 12:54:41 +00:00
Zuul
6e1d1217f4 Merge "Fix testing for the write-devstack-local-conf role" 2019-01-09 19:40:47 +00:00
Zuul
011b2a51ae Merge "install under python3 by default when enabled" 2019-01-09 19:31:36 +00:00
Iury Gregory Melo Ferreira
bab27cbff1 Rename ironic job name to match zuulv3
Depends-On: https://review.openstack.org/#/c/629173/
Change-Id: Ifa8d075729c6347ecda41c79e4de09c71483b4c6
2019-01-09 15:57:23 +01:00
Doug Hellmann
36377f63e3 install under python3 by default when enabled
Remove the requirement that services explicitly enable python3 support
in order to be tested under python3 when running with python3
enabled. Keep the enable_python3_package() function for backwards
compatibility, for now, since it is called in some devstack plugins.

Explicitly add swift to the set of packages that should not be installed
using python3 by default until full support is available.

Change-Id: I8ab0a7c242bbf5bf3f091f5a85a98e2f4543f856
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2019-01-09 09:05:36 -05:00
Jens Harbott
0b855007f8 Allow plugin names to contain non-letter characters
There are already devstack plugins that contain a hyphen in the name,
like `networking-baremetal`. In order to allow ordering for these to
work properly, amend the regexes we are using to match any
non-whitespace characters instead of only alphanumerics.

Amend the test to cover this use case.

Change-Id: I91093a424f8d5e8007f140083e1ea36a81fe849f
Closes-Bug: 1809016
2019-01-09 14:02:13 +00:00
Jens Harbott
6d103a7ff8 Fix testing for the write-devstack-local-conf role
The test_plugin_deps function in the test code for the
write-devstack-local-conf role was missing the import part of actually
executing the code under test and asserting the expected result.

Change-Id: I125870b13d2581cdec0dede11157b19b702565cd
2019-01-09 14:01:56 +00:00
Monty Taylor
5690582073
Add devstack-system-admin for system scoped actions
Keystone is moving more things to require a system scoped token to
work. Getting one of those requires that domain and project information
are not set.

Change-Id: I2e1640e9f9ef6cdf56bef49d1ae8f0591570c3e6
2019-01-08 23:25:57 +00:00
Zuul
a88a22969c Merge "typo fixed" 2019-01-06 13:38:06 +00:00
Zuul
8904a4aa38 Merge "Update supported Fedora releases" 2019-01-06 13:38:05 +00:00
Zuul
2810e95f9e Merge "Cleanup LDAP integration guide" 2019-01-05 17:31:13 +00:00
Lee Yarwood
77866259e4 Update supported Fedora releases
Fedora 27 has now hit EOL [1] while Fedora 29 has been released [2].

[1] https://fedoramagazine.org/fedora-27-end-of-life/
[2] https://fedoramagazine.org/announcing-fedora-29/

Change-Id: I12e287e36f01581f1c7145545ab05be527ed15c6
2019-01-04 20:53:44 +00:00
Lee Yarwood
5d7d891380 Drop the deprecated and now removed barrier XFS mount options
Both barrier and nobarrier were deprecated with the 4.10 kernel [1] and
then removed [2] with the 4.19 kernel as now used by Fedora >= 28. Both
should be safe to drop at this point.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4cf4573
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1c02d50

Change-Id: I6871a7765e3e04122d8d546f43d36bb8415383fc
2019-01-04 20:53:29 +00:00
Lance Bragstad
8e802da406 Cleanup LDAP integration guide
This commit fixes a grammar issue in the LDAP integration guide
and it adds prompts to the command-line examples to be more
explicit about where or how commands are being run.

Change-Id: Ic6a5adfbcf2841656929e6c3875889a31d314089
2019-01-04 17:37:09 +00:00
Zuul
9689083d74 Merge "Log debug on etcd if $ENABLE_DEBUG_LOG_LEVEL is on" 2018-12-21 11:52:16 +00:00
Zuul
d0264bdcf4 Merge "Use volume v3 API in clouds.yaml by default" 2018-12-21 10:50:28 +00:00
Michał Dulko
119ee66cde Log debug on etcd if $ENABLE_DEBUG_LOG_LEVEL is on
Change-Id: I452a2e4882377d165e3c28fcec18e237e45db8a4
2018-12-20 18:55:29 +01:00
npraveen35
6a7e3ec647 typo fixed
Change-Id: Id777576d8876d7ba257f0243f3b4ce5756dd9b58
2018-12-20 18:26:31 +05:30
Jens Harbott
15b6ac98cb Update default cirros version
Cirros has a new release 0.4.0, which fixes a couple of issues.

Change-Id: I419348f1784600e3989c8e86a99c04b24f3610c4
2018-12-19 12:42:14 +00:00
Ian Wienand
7bb5fff85c setup-devstack-source-dirs: also copy github libraries
This will help us use standard mechanisms to install libraries that
Zuul has cloned from github

Change-Id: I8ecfeeba9133ce175fb72fc59be696879013d927
2018-12-19 18:44:47 +11:00
ghanshyam
dc33485ff2 Use renamed template 'integrated-gate-py3'
'integrated-gate-py35' template is going to be
renamed to 'integrated-gate-py3' in https://review.openstack.org/#/c/626078/

Integrated jobs are running on Bionic now where python 3.6 is available.
Which means gate jobs in 'integrated-gate-py35' template are
running on python 3.6 not on 3.5 which makes this template name confusing.

depends on commit rename the 'integrated-gate-py35' to 'integrated-gate-py3'
so that it can convey that template will use available python 3 version
in used distro. For example: 3.5 in xenial and 3.6 in bionic and so on.

This commit starts using the new template name so that old
template name can be removed.

Depends-On: https://review.openstack.org/#/c/626078/
Change-Id: I07048817eb826337dd5bd89a97711bb9d43495cf
2018-12-19 04:23:30 +00:00
Riccardo Pittau
b3ee6f4615 Correcting typo in plugins section
Fixing the example of the plugin's name as the last component
of the git repo path should be foo.

Change-Id: I2f12d4d26993ec192517de7f5541c4219ee59ed9
2018-12-18 17:06:27 +01:00
Pavlo Shchelokovskyy
16fe964648 Ignore local.conf in root of repo
gitignore is not parsing regex, only shell globs,
so '^' has no meaning, and local.conf is being thus tracked.

This patch properly ignores only local.conf in root of repo but still
tracks samples/local.conf and others.

Change-Id: I93ef778f1f3ee8101ce21cce377f7b527b7153f3
2018-12-18 09:04:49 +00:00
Zuul
8c93374cdd Merge "docs: cleanup install docs" 2018-12-17 06:46:48 +00:00
Zuul
e812d284b8 Merge "Enable direct-io on LVM loop devices" 2018-12-17 02:15:14 +00:00
Dan Smith
93a94f503b Enable direct-io on LVM loop devices
This enables direct-io on the loop devices that we create for LVM backing
stores. The goal here is to reduce the buffer cache overhead involved with
loop mounting a very large file on a filesystem, as well as potentially
providing a little more block-device-like behavior for things that expect
them. We are hoping this will address some of the very long LVM calls that
cinder does, which randomly take a very long time, causing timeouts.

The loop direct-io support was added in kernel 4.4.0, which was xenial,
but the losetup binary does not have the required flag. Thus, this patch
checks the "losetup -h" output for the flag before deciding to enable it.

Change-Id: Idc69cf3598d6ed6646c0145733c90ad0b1b60883
2018-12-17 09:34:35 +11:00
Zuul
86011b700a Merge "Update cirros version" 2018-12-15 10:24:47 +00:00
Akihiro Motoki
e0b375c8ce Use volume v3 API in clouds.yaml by default
Volume API v2 has been deprecated for a long time.
There is no reason to use volume v2 in clouds.yaml by default.

This commit also drops "--os-identity-api-version 3" from
write_clouds_yaml in functions -common as "3" is the default value
of tools/update_clouds_yaml.py. They are hardcoded in DevStack
so there is no reason to pass it.

Change-Id: Ie84026a3d19f7711fc781b7012355096c7ff6b5a
2018-12-14 17:29:27 +09:00