9414 Commits

Author SHA1 Message Date
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
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
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
Matt Riedemann
584979ce2e docs: cleanup install docs
This does a few things to the home page and all-in-one single
machine install guide:

* Uses code blocks for formatting
* Adds the customary "$" to the console blocks in the
  all-in-one single machine install guide
* Instructs to use "sudo su stack" and adds a note about
  "sudo visudo" in the all-in-one single machine doc
* Creates a symbolic link to the sample local.conf and links to
  it from the install guide (note that local.conf might be old
  by now)
* Fixes the .gitignore file to only ignore local.conf in the root
  of the repository, otherwise it would ignore local.conf everywhere
  including the samples and doc/source/assets directories.

Change-Id: I50ae7bd32c4c1caa2ac8551fc54b31dd2dfae568
2018-12-13 08:31:03 -05:00
Jens Harbott
0ce6ae8137 Update cirros version
This is the next release in the 0.3.x stable series, containing a fix
for getting out of disk errors when cirros reads metadata from a
config-drive[0].

[0] https://bugs.launchpad.net/cirros/+bug/1808119

Change-Id: Id2f20ebafdd78c2dadf81b8f80f22e7bd6db7755
2018-12-13 11:09:54 +00:00
Zuul
8fc227f63f Merge "Update comment about nova-cells-v1 job" 2018-12-12 23:29:07 +00:00
Zuul
2697e431d2 Merge "Migration logic for neutron policy-in-code" 2018-12-12 14:16:55 +00:00
Zuul
5b5cf9dd31 Merge "Switch devstack jobs to run on Bionic" 2018-12-11 22:20:14 +00:00
OpenStack Proposal Bot
2dad33b4ba Updated from generate-devstack-plugins-list
Change-Id: Ia5998eaec8f470ec584079f4639a84b2bf1430e1
2018-12-11 06:11:25 +00:00
Zuul
19ad608ba7 Merge "Set apache proxy-initial-not-pooled env var" 2018-12-09 17:29:05 +00:00
Clark Boylan
e344c97c0e Set apache proxy-initial-not-pooled env var
We've run into what appears to be a race with apache trying to reuse a
pooled connection to a backend when that pool connection is closing.
This leads to errors like:

  [Fri Dec 07 21:44:10.752362 2018] [proxy_http:error] [pid 19073:tid 139654393218816] (20014)Internal error (specific information not available): [client 104.130.127.213:45408] AH01102: error reading status line from remote server 127.0.0.1:60999
  [Fri Dec 07 21:44:10.752405 2018] [proxy:error] [pid 19073:tid 139654393218816] [client 104.130.127.213:45408] AH00898: Error reading from remote server returned by /image/v2/images/ec31a4fd-e22b-4e97-8c6c-1ef330823fc1/file

According to the internets this can be addressed (at the cost of some
performance) by setting the proxy-initial-not-pooled env var for mod
proxy. From the mod_proxy docs:

  If this variable is set, no pooled connection will be reused if the client
  request is the initial request on the frontend connection. This avoids the
  "proxy: error reading status line from remote server" error message caused
  by the race condition that the backend server closed the pooled connection
  after the connection check by the proxy and before data sent by the proxy
  reached the backend. It has to be kept in mind that setting this variable
  downgrades performance, especially with HTTP/1.0 clients.

Closes-Bug: #1807518

Change-Id: I374deddefaa033de858b7bc15f893bf731ad7ff2
2018-12-08 18:24:26 +00:00
Zuul
07a59da59f Merge "Update ETCD_DOWNLOAD_URL" 2018-12-08 10:05:18 +00:00
Zuul
14764152c2 Merge "Enable the SCL repository for CentOS" 2018-12-08 05:15:46 +00:00
Matt Riedemann
5a9e32afeb Update comment about nova-cells-v1 job
Nova is moving nova-cells-v1 to its experimental
queue set of jobs so the comment in devstack should
be updated.

Depends-On: https://review.openstack.org/623538

Change-Id: Iefbaa9b809d1426640cbd47a42213f28c9ec5ff3
Related-Bug: #1807407
2018-12-07 10:42:56 -05:00
Zuul
2f11f66666 Merge "Updated from generate-devstack-plugins-list" 2018-12-07 13:39:42 +00:00
Zuul
d2397e7fc2 Merge "Remove is_in_projects_txt" 2018-12-07 13:39:41 +00:00
Zuul
f714d72a63 Merge "Fix README for rolevar name 'devstack_sources_branch'" 2018-12-07 13:37:43 +00:00
Zuul
e9de494cd0 Merge "Address nits on lib/placement for extracted placement" 2018-12-07 13:25:02 +00:00
Zuul
7cc83a01ca Merge "Setup branch in setup-devstack-source-dirs" 2018-12-07 00:35:19 +00:00
ghanshyam
14a22dff34 Fix README for rolevar name 'devstack_sources_branch'
This commit fixes the name of role in README file
- https://review.openstack.org/#/c/549517

Change-Id: I0b7ada56339e5e3ff461c2b62e27f226720bb52f
2018-12-06 10:23:51 +00:00