4341 Commits

Author SHA1 Message Date
Matt Riedemann
5e832d3061 Modernize VIRT_DRIVER=fake usage
This makes three changes:

1. The quota options set when using the fake
   virt driver have been renamed so we're getting
   deprecation warnings on using the old names.
   Rather than set each quota limit value individually,
   we can just use the noop quota driver for the same
   effect.

2. The enabled_filters list for the scheduler was last
   updated when using the fake virt driver back in Juno
   via Ic7ec87e4d497d9db58eec93f2b304fe9770a2bbc - with
   the Placement service, we don't need the CoreFilter,
   RamFilter or DiskFilter. Also, in general, we just
   don't need to hard-code a list of scheduler filters
   when using the fake virt driver. If one needs to set
   their own scheduler filter list, they can do so using
   the $FILTERS variable (or post-config for nova.conf).

3. The largeops job, which ran the Tempest scenario tests,
   has been gone for a few years now, as have the Tempest
   scenario tests, so the API_WORKERS modification when
   using the fake virt driver should be removed. If we had
   a CI job like the largeops job today, we would set the
   worker config via the job rather than in devstack.

Change-Id: I8d2bb2af40b5db8a555482a0852b1604aec29f15
2018-06-02 12:40:58 -04:00
Zuul
0d1bee1768 Merge "swift expects an internal client config to start" 2018-05-31 14:36:31 +00:00
Zuul
36b69c0b02 Merge "Add variable to set volume service version on tempest" 2018-05-31 12:25:10 +00:00
Sumit Jamgade
1fccf0b339 swift expects an internal client config to start
using the sample form the source

Change-Id: I01874b650cd5d662ca2feabe58cc880155c9421e
2018-05-29 12:07:13 +02:00
Zuul
270a8e65e2 Merge "Configure nova to auto-calculate compute RPC upgrade levels" 2018-05-21 20:00:37 +00:00
Zuul
4bf4e1884c Merge "Remove IRONIC_USE_RESOURCE_CLASSES check" 2018-05-21 19:55:14 +00:00
melanie witt
65ad794095 Configure console proxy settings for nova-cpu.conf
Change 12579c3db7b28381c8ec97945aa23ee02d54d22b moved console-related
settings from the global nova.conf to the per cell nova_cellN.conf
because of a recent change in nova that moved console token
authorizations from the nova-consoleauth service backend to the
database backend and thus changed the deployment layout requirements
from global console proxies to per cell console proxies.

The change erroneously also removed console configuration settings from
the nova-compute config file nova-cpu.conf because the nova-cpu.conf
begins as a copy of the global nova.conf.

This adds configuration of console proxies to the nova-cpu.conf in the
start_nova_compute routine. The settings have also been split up to
clarify which settings are used by the console proxy and which settings
are used by nova-compute.

Closes-Bug: #1770143

Change-Id: I2a98795674183e2c05c29e15a3a3bad1a22c0891
2018-05-11 04:30:54 +00:00
melanie witt
12579c3db7 Set console proxy configuration according to cells v2 setup
Change 969239029d4a13956747e6e0b850d6c6ab4035f0 completed the
conversion of console token authorization storage from the
nova-consoleauth service to the database backend. With this change,
console proxies need to be configured on a per cell basis instead
of globally.

There was a devstack change 6645cf7a26428f3af1e4739ac29c6a90b67f99dc
following it that re-enabled the novnc tempest tests, but the nova-next
job that runs the console proxies with TLS is *not* part of the normal
set of jobs that run on devstack changes (it's in the experimental
queue), so it was able to merge without the nova-next job passing.

This configures the nova console proxies in the per cell configuration
file if cells v2 is configured for multiple cells in order to pass the
nova-next job.

Closes-Bug: #1769286

Change-Id: Ic4fff4c59eda43dd1bc6e7b645b513b46b57c235
2018-05-07 15:16:22 +00:00
Zuul
3051d3ceff Merge "Re-enable novnc tempest tests" 2018-05-04 22:34:21 +00:00
Zuul
8cdf31e232 Merge "Run console proxies per cell instead of globally" 2018-05-04 16:16:10 +00:00
Matt Riedemann
59e6ff10ce Remove IRONIC_USE_RESOURCE_CLASSES check
Nova has dropped support for non-resource class
baremetal scheduling, so the IRONIC_USE_RESOURCE_CLASSES
flag is no longer useful and has been removed.

Depends-On: https://review.openstack.org/565805/
Change-Id: Ib2e6c96409c98877f6a43b76f176c1420d2d415e
2018-05-02 11:45:09 -04:00
Zuul
200f8dd0fe Merge "Remove [placement]/os_region_name usage" 2018-05-02 11:01:26 +00:00
Monty Taylor
69057d4655
Register versioned endpoint for block-storage service
cinder does not yet support operations without project_id in the url.
The unversioned endpoint is not a usable endpoint for a user that
requests the block-storage service. Although it would be lovely to have
the block-storage service have the unversioned endpoint in the catalog,
we need to get project-id out of the urls first.

Change-Id: I4246708b6ea31496ba4d565ab422abc76f730ee7
Needed-By: https://review.openstack.org/564494
2018-05-01 05:57:21 -05:00
melanie witt
6645cf7a26 Re-enable novnc tempest tests
Once the nova patch series that converts from the nova-consoleauth
backend -> cell database backend lands, we can re-enable the novnc
tests in tempest.

Depends-On: If1b6e5f20d2ea82d94f5f0550f13189fc9bc16c4

Change-Id: I2939191a1c3ce49fa2104b4ffdf795fc416a1c33
2018-05-01 00:07:38 +00:00
melanie witt
ed2d491960 Run console proxies per cell instead of globally
Along with converting to the database backend for console token auth,
the console proxies need to run per cell instead of globally. This way,
the instance UUID isn't needed in the access url as users will be
handed an access url local to the cell their instances is in. With
console proxies sharded across cells, a large cloud will no longer have
a bottleneck of one console proxy for the entire deployment.

This also disables the novnc tempest tests with a TODO to re-enable
them once the nova patch series that converts from the nova-consoleauth
backend -> cell database backend lands.

Change-Id: I67894a31b887a93de26f3d2d8a1fa84be5b9ea89
2018-05-01 00:07:27 +00:00
Zuul
24fa317234 Merge "Clean up Glance config files" 2018-04-24 15:13:37 +00:00
Zuul
928a463d61 Merge "Enable tempest tests for application credentials" 2018-04-23 22:21:42 +00:00
Lance Bragstad
fe628b9fb2 Remove the sample configuration file for keystone
This commit just makes sure that the configuration file for keystone
exists on the system. We use iniset to actually populate the values
we want before we run keystone anyway.

This results in a cleaner configuration file that isn't bloated with
comments and help text.

Change-Id: I7a1f879e9e242a11e2c4663ec116e33da28db7f5
2018-04-20 02:13:14 +00:00
Zuul
d10c0bbed1 Merge "Apply contraints to tempest plugins" 2018-04-13 11:50:34 +00:00
Daniel Mellado
dc5d88bc0b Apply contraints to tempest plugins
This commit applies the constraints for the tempest plugin installation
so they won't go over the upper reqs.

Closes-Bug: 1763436
Change-Id: I5cf91157bbdae79dec01d5b3db32efea21f1b2b7
2018-04-12 17:54:07 +02:00
Dirk Mueller
c114449bdb Switch to mkisofs for openSUSE distributions
In Tumbleweed genisoimage was dropped in favor of cdrtools,
so installing that no longer works. We can however install
mkisofs directly and switch to that as that is also available
in Leap 42.3 and Leap 15.0+ family distros.

Also drop dependency on libmysqlclient-devel which appears
unnecessary (and is no longer available with mariadb 10.2+)

Change-Id: Ie8402204b6cdf94c21865caba116d3fd1298c5ad
2018-04-11 23:44:48 +02:00
Dirk Mueller
486057f339 Start OVS as root on Tumblweed to workaround bsc#1085971
There is currently a OVS 2.9.0 update in Tumbleweed that
fails to start as it is having a race with systemd on creating
the home directory. Workaround is to run it as root for now.

Change-Id: Ief610c6473834b02a1d644d8f50d11138a48e6e6
2018-04-11 21:31:53 +02:00
Colleen Murphy
931f82dc29 Enable tempest tests for application credentials
In Queens and later, the application credentials feature is available on
keystone and enabled by default. It should be tested in devstack.

Depends-on: https://review.openstack.org/545627
Change-Id: I4b0dc823487e79df16e1e603012ba4a7dc438389
2018-04-09 00:11:48 +00:00
Matt Riedemann
295610c89e Remove [placement]/os_region_name usage
The [placement]/os_region_name config option is deprecated
and no longer required to be set (the default is fine for
devstack) with the dependent nova change.

Depends-On: I973180d6a384b32838ab61d4e6aaf73c255fd116

Change-Id: I6379acf179ed511f1cdadbd7fb09e2454182a5d3
2018-04-05 12:10:30 -04:00
Paul Belanger
a62ede7d50
Use NOVA_BIN_DIR / SWIFT_BIN_DIR for binaries
Fix a few path issues where we didn't properly use NOVA_BIN_DIR /
SWIFT_BIN_DIR.

This is part of the effort to start using a virtualenv for openstack
services.

Change-Id: I6eb383db65cc902c67c43e5cb1a16a9716a914b2
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-03-31 19:20:24 -04:00
Dean Troyer
aab248bc89 Another openstacksdk rename fix
Missed one, this is blocking OSc's functional-tips tests

Change-Id: Iecf848c1791b1f204b0867e9da3e2ed994f02da3
2018-03-28 13:51:31 -05:00
Monty Taylor
236250f1c3
Rename python-openstacksdk to openstacksdk
Change-Id: Ia77163f330f674146b369dfebea56bd97820057e
Depends-On: https://review.openstack.org/554662
2018-03-23 08:27:57 -05:00
Zuul
f68884ae62 Merge "Allow public router external net to use a non-flat provider network." 2018-03-20 08:31:58 +00:00
Zuul
61e0b16c66 Merge "Add project_tags identity feature flag" 2018-03-19 09:11:03 +00:00
Zuul
07241f8b8a Merge "neutron: Do no longer set "url" in nova.conf" 2018-03-18 17:24:30 +00:00
Zuul
37a72cf89a Merge "Add DVR support to lib/neutron" 2018-03-16 12:00:31 +00:00
Zuul
bd857b928e Merge "Set [scheduler]workers=$API_WORKERS" 2018-03-16 08:14:22 +00:00
Felipe Monteiro
1ab9a2d144 Add project_tags identity feature flag
This PS adds the project_tags identity feature flag which allows
identity v3 project tags API functionality to be enabled for
releases after Pike. Once Pike is no longer supported in Tempest
this feature flag can be removed.

Depends-On: Ibaec1df79c9ac69c65cf5075c3519092bc609546
Change-Id: Iec6b34c10ea1bd7103720c773b48ce130643115d
2018-03-16 02:09:53 +00:00
Zuul
a534913572 Merge "Remove default value for Cinder Auth Strategy" 2018-03-13 16:35:13 +00:00
Zuul
8d2f2644d4 Merge "Add an openSUSE Tumbleweed devstack non-voting check job" 2018-03-13 02:07:02 +00:00
Ivan Kolodyazhny
165199eebd Remove default value for Cinder Auth Strategy
Cinder supports both noauth and keystone auth mode. So now we can
configure this value via local.conf:

[[post-config|$CINDER_CONF]]
[DEFAULT]
auth_strategy = noauth

Change-Id: I1e434362117ab30dae71a8f3a80bc139e78f51bc
2018-03-12 22:26:17 +02:00
Sam Betts
db5a5b3c20 Remove use of git -C option from tempest venv creation
The -C option is not available in git versions older than "1.8.5" which
are still shipped by several distributions including centos 7.

Due to this incompatibility the patch has broken third party CI for
Cisco on Ironic.

Change-Id: I09a6f83f8b2fee870e6e1c50cbfdf2da4d70dfb2
2018-03-12 10:42:51 +00:00
Zuul
9f13030f53 Merge "use master upper-constraints when building tempest venv" 2018-03-11 13:19:42 +00:00
Dirk Mueller
4404f680f2 Add an openSUSE Tumbleweed devstack non-voting check job
This adds the necessary fixes to pass a devstack run
on openSUSE Tumbleweed. Also removes opensuse 42.2 as it
is EOL for some time already and no longer actively tested
in the OpenStack infra.

Depends-On: I1b68c08c07cf6653ea58506f738cbe0054b38f3a
Change-Id: I2894482deef063fd02b0818c695a2ddbf6767039
2018-03-11 14:04:36 +01:00
Zuul
a6a36d11d8 Merge "Allow overrides for ETCD ports" 2018-03-11 05:43:44 +00:00
Matt Riedemann
21221d1ad1 Configure nova to auto-calculate compute RPC upgrade levels
The openstack-ansible team found a regression in Queens when setting
the compute RPC upgrade_levels to 'auto' on a fresh install before any
computes had started up. The dependent change fixes the issue in nova
but for future proofing against this sort of issue again, we can set
the compute RPC upgrade levels in devstack to 'auto' for fresh installs
as well. Note that grenade already sets 'auto' for compute upgrade
levels, which is why we didn't catch this in grenade testing with the
compute RPC 5.0 version bump that caused the issue.

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

Change-Id: I07f34dbc09b6108ba8f5b2a83a28c75eb42be495
Related-Bug: #1753443
2018-03-06 23:50:36 +00:00
Zuul
4b41c304aa Merge "Change lib/neutron-legacy to use openstackclient" 2018-03-05 16:40:06 +00:00
Zuul
fb288abb2c Merge "Restore NEUTRON_CREATE_INITIAL_NETWORKS flag" 2018-03-05 14:25:46 +00:00
Zuul
6d1bc15cdc Merge "Replace depricated iscsi_helper with target_helper" 2018-03-05 12:53:40 +00:00
Zuul
458543694d Merge "Update nova api_class setting to backend" 2018-03-05 12:48:01 +00:00
Zuul
96abf696f5 Merge "Increse api_max_retries and api_retry_interval for ironic" 2018-03-05 12:48:00 +00:00
Zuul
d3faa7ce99 Merge "Run swift-container-sync under run_process" 2018-03-05 12:47:57 +00:00
Lenny Verkhovsky
f63ddd609f Replace depricated iscsi_helper with target_helper
Cinder change I5231f8fe3399deb9c57e6efb121d0d008dc9c7f4
replaces iscsi_helper with more general one.



Change-Id: I49fe0365b170e5a5b0449d80003bcf970e4c191d
2018-03-01 07:38:28 +00:00
Thomas Bechtold
ca61966f47 neutron: Do no longer set "url" in nova.conf
Since[1], "url" in the [neutron] section in nova.conf should no
longer be set.

[1]
6cde77ebba

Depends-On: https://review.openstack.org/548572
Related-Bug: #1752289
Change-Id: Ied6c155da9d51a25ba7a524e69d018d39ed3442c
2018-02-28 16:40:38 +01:00
Jens Harbott
730ce45466 Create NOVA_READY_TIMEOUT in is_nova_ready function
The function was introduced in [0] using a hardcoded timeout of 60
seconds which turns out to be too small on slow machines. Create a new
global variable NOVA_READY_TIMEOUT instead so that users can
override the timeout if necessary.

[0] I32eb59b9d6c225a3e93992be3a3b9f4b251d7189

Co-Authored-By: Mohammed Naser <mnaser@vexxhost.com>
Change-Id: I0cd7f193589a1a0776ae76dc30cecefe7ba9e5db
2018-02-23 16:52:23 -05:00