9546 Commits

Author SHA1 Message Date
Zuul
fdbe849d95 Merge "Deprecate swift3, use s3api in Swift repo" 2019-05-20 07:46:19 +00:00
Zuul
172f02f1e0 Merge "Configure console proxy ports in nova_cellN.conf" 2019-05-19 13:41:50 +00:00
Zuul
ed43ca9856 Merge "Remove pkg/elasticsearch.sh" 2019-05-15 12:26:16 +00:00
Rodolfo Alonso Hernandez
8b8158ed8f "raw_input()" deprecated in Python3
Built-in function "raw_input()" is deprecated in favor of "input()" [1].

[1] https://www.python.org/dev/peps/pep-3111/

Change-Id: I31c4c59373a2ad04987da3daffb3eed50916a6db
Closes-Bug: #1823321
2019-05-14 16:25:48 +00:00
Zuul
46b442ca46 Merge "Add nova-status upgrade check call post-deploy" 2019-05-10 08:40:22 +00:00
Zuul
0cb721b790 Merge "Fix is_neutron_legacy_enabled function" 2019-05-04 22:38:45 +00:00
Zuul
15b098d470 Merge "Remove n-obj from zuul and docs" 2019-05-03 22:12:00 +00:00
Zuul
2b4196f89a Merge "Add region_name to ironic compute configuration" 2019-05-03 22:11:59 +00:00
Kota Tsuyuzaki
070e4ee65e Deprecate swift3, use s3api in Swift repo
swift3 is no longer actively maintained in the upstream.
That has been moved to Swift repository as s3api so we should
use s3api middleware instead. As well as swift3, s3token is
also maintained in Swift upstream.

Change-Id: I4582d81da066ab53e6f11ad1df7af91425f2b0ca
2019-05-01 18:07:58 +00:00
Matt Riedemann
9e3b3bf524 Add nova-status upgrade check call post-deploy
Once nova is setup and n-cpu on the host is reporting
a service record and discovered (the host is mapping in
the API DB), we should run the nova-status upgrade check
to verify the deployment.

Change-Id: I9683bf94233ebacb3057ce159cb3dc53aa55a2f4
Related-Bug: #1790721
2019-04-30 18:28:36 -04:00
Zuul
58de715453 Merge "Explicitly set scheduler_available_filters" 2019-04-29 12:23:17 +00:00
Matt Riedemann
62e27d3b1c Remove n-obj from zuul and docs
n-obj hasn't been around for many years and devstack
doesn't use it anymore anyway so this just cleans up
some vestigial use of the old service.

Change-Id: I04b2d2dc2b4e49fab90f5ef94f4e087e969aa24b
2019-04-23 13:44:37 -04:00
Artom Lifshitz
4705861dd0 Explicitly set scheduler_available_filters
Tempest's scheduler_available_filters has a special 'all' value that
is understood to mean 'all filters are enabled' by various tempest
tests. However, what it really means is 'the default nova filters are
enabled.' In an effort to help clean that up, this patch explicitly
sets scheduler_available_filters to nova's $FILTERS. Because $FILTERS
is now used in both lib/nova and lib/tempest, it is renamed
$NOVA_FILTERS.

Change-Id: I6ffc1e9989cd61d666f9c1db9c94fbabd7151918
Related-bug: 1628443
2019-04-23 10:15:23 -05:00
Monty Taylor
dc9ba8b8ae Add opendev to repo search list
glean is in opendev and is used by nodepool devstack jobs.

Change-Id: I38dfd7cc531b20b26862193be14f4ebb53352efa
2019-04-23 13:02:54 +00:00
Dean Troyer
e7f3d91a7d Update repo namespace search list
With the new namespaces we have to look around a bit more to find
repos top copy into the DevStack working directory. Add:

* starlingx/
* x/
* zuul/

Depends-On: https://review.opendev.org/653988
Change-Id: I8a55522a5fee46f415f0c0ce580ded3476133460
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2019-04-20 09:58:34 -05:00
OpenDev Sysadmins
666f5491b6 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:43:10 +00:00
Erik Olof Gunnar Andersson
a13474fd78 Add region_name to ironic compute configuration
We should always pass on a region when talking to
ironic. This will also help detect and test issues
specific to regions.

Change-Id: Iaab3c1bcedc5aaa2106c0758cbb43bade3de2cf5
2019-04-18 21:14:40 -07:00
Slawek Kaplonski
a9a51ca638 Fix is_neutron_legacy_enabled function
This function will now first filter out all "neutron-" strings from
DISABLED_SERVICES list before looking for "neutron" string in it.

Change-Id: I5cab6a3be553713e1257599fb72042c6001f2672
Close-Bug: #1824884
2019-04-18 07:54:34 +00:00
Colleen Murphy
10f4409882 Add hack to fix ply installation on opensuse
The python3-ply package is indirectly a dependency of dhcp-client, which
is not exactly an optional package. Pip >=10 refuses to install ply from
global-requirements with this distro package is installed, so our only
option is to remove it manually.

Change-Id: I377fdd4a581eb4b6275584d92cafc0b783fe3b84
2019-04-15 19:03:57 +00:00
OpenStack Proposal Bot
7fbc70e2cb Updated from generate-devstack-plugins-list
Change-Id: I2798fe053669be212c47ee9c579ca4f6262af5a1
2019-04-15 06:24:44 +00:00
Zuul
53ee5230c6 Merge "stack.sh: Clear OpenStack related envvars" 2019-04-12 21:14:28 +00:00
Zuul
1d05008d71 Merge "Updated from generate-devstack-plugins-list" 2019-04-12 17:50:00 +00:00
Zuul
7b04151810 Merge "Add openstacksdk functional job to devstack pipelines" 2019-04-12 17:49:59 +00:00
Monty Taylor
28a6224284 Add openstacksdk functional job to devstack pipelines
openstacksdk gates on the new-style devstack functional base jobs. It
serves as a good test case to make sure the functional base jobs don't
break.

Change-Id: I817639ed30cda8ea51d156872a14bbcf10a4e63d
2019-04-12 12:26:38 +00:00
OpenStack Proposal Bot
70f5d91a61 Updated from generate-devstack-plugins-list
Change-Id: Id100f77027445edf849cc295ecebb31c79601b40
2019-04-12 06:14:57 +00:00
Trinh Nguyen
56af9229a0 Remove pkg/elasticsearch.sh
The pkg/elasticsearch.sh is only used by Panko but Panko has
moved the script to its own repository [1].

[1] https://review.openstack.org/#/c/643262/

Change-Id: I0ce40f4299246b68624abd2072c2abce06f1e70b
Signed-off-by: Trinh Nguyen <dangtrinhnt@gmail.com>
2019-04-12 13:40:52 +09:00
Zuul
b5db83f2cc Merge "Update DEVSTACK_SERIES to train" 2019-04-11 08:16:12 +00:00
Akihiro Motoki
1348ac990d stack.sh: Clear OpenStack related envvars
stack.sh usually fails when it is started in a shell session
where OpenStack related environment variables OS_* are set.
Most common failure scenarios are failures in keystone operations.

This commits clears OpenStack related environment variables
at the begining of stack.sh.

Change-Id: I3a924a0586dc9bb28f3bf3e151e100c24015efe5
2019-04-06 11:57:55 +00:00
Clark Boylan
cc072fd32f Run devstack CA and cert setup early
Previously apache was configured and restarted before we configured
the CA and certs. In most cases this is fine because those specific
vhosts didn't use tls. However, if you had previously run devstack
and had leftover vhosts and an unconfigured CA or certs devstack would
fail.

This is a small corner case, but its simple to address by moving CA and
cert setup up in stack.sh to before we do anything related to web
servers.

Change-Id: I31dbaf9471088b9faff26c7b790da6f6feebb2d5
2019-04-05 17:34:01 -07:00
Zuul
a6e4e42fb3 Merge "Fix double quoting issue when writing localconf" 2019-04-05 12:13:30 +00:00
Zuul
b11fa00fe4 Merge "Remove crusty old python 3 package version logic" 2019-04-05 01:01:26 +00:00
Zuul
683454f319 Merge "Update docs index page" 2019-04-03 06:39:52 +00:00
melanie witt
d5a68a6b70 Configure console proxy ports in nova_cellN.conf
We're able to run multiple cells in devstack by setting the variable
NOVA_NUM_CELLS in the devstack local.conf. Since we run console
proxies per cell, we will start two console proxies if
NOVA_NUM_CELLS=2. However, we've not been configuring the console
proxy ports in the nova_cellN.conf files, so an attempt to start
more than one will result in a port conflict and failure to start
the subsequent console proxy services with error:

  ERROR nova error: [Errno 98] Address already in use

This adds configuration of the console proxy ports based on an offset
while looping across NOVA_NUM_CELLS. The base port values are taken
from the config option defaults in the nova code: nova/conf/vnc.py,
nova/conf/spice.py, and nova/conf/serial_console.py.

Closes-Bug: #1822873

Change-Id: I8934d0b9392f2976347391c8a650ad260f337762
2019-04-03 04:19:30 +00:00
Matt Riedemann
e03bcb2c8b Remove crusty old python 3 package version logic
If we are running with python3, just assume that any
package that is not blacklisted is available for py3
and just attempt to install it and let pip sort it out
whether it gets installed from a local or remote package.

Change-Id: Ic05d183e489320f6dfc721575d47e7e4d661f87c
Closes-Bug: #1820892
2019-04-02 10:13:13 +00:00
Zuul
13e260ea2c Merge "Don't install numpy packages" 2019-04-01 14:50:54 +00:00
Zuul
2b51c29121 Merge "Workaround pip10 uninstall of packages" 2019-04-01 14:50:52 +00:00
Jens Harbott
7f0b4f3001 Fix double quoting issue when writing localconf
When [0] introduced quoting all arguments, it broke existing consumers
that already quote their value themselves. Fix this by avoiding to add
additional quotes to the value when it already starts with a double
quote.

[0] https://review.openstack.org/636078

Change-Id: I92146e04731efc6dcc632ae6c3a7c374e783cdba
Closes-Bug: 1822453
2019-04-01 11:43:28 +00:00
Jens Harbott
7224a6b54d Update docs index page
- Switch from proposing Ubuntu 16.04 to 18.04 as the most tested
  platform.
- Make it clearer that creating an additional "stack" user is
  optional when running on a cloud image, as this step often leads
  to errors for new users.
- Fix some minor nits along the way.

Change-Id: I39aef1a230b668b932b1681fcd0deeb423b411f1
2019-04-01 11:16:53 +00:00
Zuul
03f7c4c2cb Merge "Handle pcp-dstat transition" 2019-03-31 06:09:23 +00:00
Zuul
378d0d5808 Merge "Add ISCSI_DEBUG option" 2019-03-31 06:09:21 +00:00
Zuul
358cc122c3 Merge "Add service to tcpdump during run" 2019-03-31 06:03:32 +00:00
Zuul
97a320d18b Merge "Export all journal logs" 2019-03-31 06:03:30 +00:00
Zuul
8ca63acff8 Merge "Fixed support python 2 on Fedora 27" 2019-03-30 00:45:27 +00:00
Zuul
b359b960d2 Merge "Have lib/tempest to create shared network" 2019-03-30 00:06:19 +00:00
Ian Wienand
1124a05571 Handle pcp-dstat transition
dstat is Python 2, never going to be updated and effectively
abandonded.  The replacement is pcp-dstat [1] which is mostly
compatible, with a few differences.  As distro start transitioning
(Fedora has), just drop the unsupported args for now.

[1] https://pcp.io/man/man1/pcp-dstat.1.html

Change-Id: Ibec8a37cb18a14656d97e2096c66bc8b21406068
2019-03-29 11:20:19 -07:00
Ian Wienand
8213d7c039 Add ISCSI_DEBUG option
This option adds a systemd override to start the iscsi daemon with
debugging enabled.

Change-Id: Ie27991776aa07a695026036e47513221220332a0
2019-03-29 11:20:19 -07:00
Ian Wienand
2bbc9bbbb8 Add service to tcpdump during run
This adds a service to run a tcpdump during the run.  This can be
useful to capture various network traffic for post analysis.

There didn't seem to quite be an appropriate place to document it, so
a new debugging file is started, with some terse explaination of our
various system-wide debugging services.

Change-Id: I09aaa57611c5047d09a9bce7932d34e9d50b30e6
2019-03-29 11:20:19 -07:00
Ian Wienand
59ce1d902e Export all journal logs
Currently we only export the devstack@ services, and then separately
export the kernel & sudo logs to syslog.txt.

This leaves a lot of logs potentially behind in the journal for
various daemons.  Just export the whole lot.

Using this output is currently very opaque and makes use of systemd
export tools that are very un-discoverable.  Add a README that will
appear alongside the journal explaining how to actually use it.  This
is a template as it would be nice to put into things like the list of
services that are in the journal, or maybe other magic.

Also make sure we export the logs since the start timestamp; currently
during a full run we drop the initial logs.

Change-Id: Id2626f9113d82c6d524039acda8a8ec74afb2081
2019-03-29 11:20:19 -07:00
Ian Wienand
e769348882 Quote devstack_localrc arguments
If you have

 devstack_localrc:
   ARGUMENT: "argument with spaces"

The quotes get lost during YAML processing and the resulting file has

  ARGUMENT=argument with spaces

which is a shell error.

Quote all arguments to avoid this sort of thing.

Change-Id: Ia63a53d745dfea7262bcdb5d46425f431c3ccfe5
2019-03-29 11:20:14 -07:00
ghanshyam
315bc13595 Update DEVSTACK_SERIES to train
stable/stein branch has been created now and
current master is for train.

Change-Id: I119f0388891db44c9753e49cedfeb32c74f2a40d
2019-03-26 18:47:06 +00:00