8871 Commits

Author SHA1 Message Date
Clark Boylan
56131eb11f Move glance auth cache creation to configure_glance
We install the glance api on all nodes in multinode testing. This has
been failing because we don't configure the glance auth cache dirs if
we only install the glance api service. This was done as part of
init_glance which is only run when installing g-reg.

Fix this by moving the auth cache dir creation step into
configure_glance which is run for the glance api.

Change-Id: Ie669827507df0f524e6e53fe4ab3dff848dd4bd7
2017-10-04 16:06:27 -07:00
Jenkins
301d4d1678 Merge "Use "pip list" in check_libs_from_git" 2017-10-04 07:22:59 +00:00
Jenkins
3286198f0e Merge "Switch DEVSTACK_SERIES to queens" 2017-10-04 07:20:35 +00:00
Jenkins
855df2bd40 Merge "Revert "Remove cache dirs from the services"" 2017-10-04 04:47:12 +00:00
Jenkins
7e8f21dad1 Merge "Don't check_libs_from_git for now" 2017-10-04 00:21:56 +00:00
Ian Wienand
1f82f43016 Revert "Remove cache dirs from the services"
This reverts commit ef5ebed6c9ca3d9d47fd2a732a1542555a0f65ba.

The problem here is a backwards-incompatible change to
configure_auth_token_middleware.  Plugins are still passing a
"signing_dir" which is interpreted now as the "section" argument
... this leads to an interesting red-herring issue; because "v" is a
gnu sed command for checking the version, a signing_dir of "/var/..."
(as done in most plugins) gives the weird error:

 sed: -e expression #1, char 32: expected newer version of sed

I think we'll either need a new function, or dummy arguments to get
this back in.

Change-Id: I2098d4eb2747282622cf486fa7dbf216f932f58b
2017-10-04 09:54:43 +11:00
Zuul
8880334838 Merge "Delete the default guest user from rabbitmq" 2017-10-03 07:07:56 +00:00
Zuul
5631321a85 Merge "Remove cache dirs from the services" 2017-10-03 07:07:53 +00:00
Zuul
3f97e71063 Merge "Update default etcd version" 2017-10-03 07:07:52 +00:00
Zuul
b3b6c102d9 Merge "Update to using pike cloud-archive" 2017-10-02 09:41:47 +00:00
Ian Wienand
ae9c6ab759 Use "pip list" in check_libs_from_git
As described in the change, "pip freeze" has issues with the way
zuulv3 clones repos without a remote.  This is an attempt to use "pip
list" to check for local install

Change-Id: I33d25f86b6afcadb4b190a0f6c53311111c64521
2017-09-29 12:55:45 +10:00
Ian Wienand
5b419ffb1f Don't check_libs_from_git for now
"pip freeze" reports an error when checking because the repos don't
have a remote under zuulv3

---
Error when trying to get requirement for VCS system Command "git
config --get-regexp remote\..*\.url" failed with error code 1 in
/opt/stack/new/keystone, falling back to uneditable format

Could not determine repository location of /opt/stack/new/keystone
Complete output from command git config --get-regexp remote\..*\.url:

---

This means this check fails.  I think we can fix this by looking at
"pip list" which I will propose in a follow-on, but this fixes the
immediate breaking issue.

Depends-On: Ib12ddf768ee20fd7614622179f6842f5d57864ff
Change-Id: I21ff749ab3e7911fa074e6d53056768f42f8aa57
2017-09-29 12:55:36 +10:00
Jenkins
7c9542eb02 Merge "Install minimal lsb-release package on openSUSE" 2017-09-28 12:16:50 +00:00
Jenkins
d8548008e6 Merge "Fix dstat dependencies for memory_tracker on SUSE" 2017-09-28 12:16:42 +00:00
Jenkins
b0a08c1b04 Merge "Make etcd3 setup work with IPv6 addresses" 2017-09-28 05:28:36 +00:00
Jenkins
b0bd5822ad Merge "doc: add journalctl example for grepping the logs" 2017-09-28 05:20:17 +00:00
Matt Riedemann
ba4830b84e Download default image when using VIRT_DRIVER=fake
Change f119121d21fa0446197b26378091677daac1606a removed
the default image to download which meant if you were using
the fake virt driver, no image would get downloaded and
tempest setup would fail.

This adds it back in but doesn't use a wildcard.

The default image is the same as before, but uses the
variables that are also used for the default libvirt image
case.

Change-Id: I80eddd0d3a99572ed494b5cd36fed8ceb4d05d77
Closes-Bug: #1720003
2017-09-27 16:45:25 -04:00
Dirk Mueller
602a057fe0 Fix dstat dependencies for memory_tracker on SUSE
Memory_tracker imports psutil, but does not run inside a pip/virtualenv
so the system provided psutil library needs to be provided. This
is matching what is done for other non-SUSE distributions

Change-Id: I96f944730dc8644333d906d71339351b29b03e08
2017-09-26 10:15:28 +02:00
Jamie Lennox
ef5ebed6c9 Remove cache dirs from the services
PKI tokens have been actively deprecated from keystone and there are
deprecations being emitted from keystonemiddleware. Because of this we
no longer need an auth cache directory in the services where the PKI
certifcates used to be stored.

Remove the creation and use of all these AUTH_CACHE directories.

Change-Id: I5680376e70e74882e9fdb87ee1b95d5f40570ad7
2017-09-26 10:10:11 +10:00
Jenkins
e8190c414e Merge "Remove deprecated forbid_global_implied_dsr" 2017-09-25 21:46:23 +00:00
Jenkins
7ffb517392 Merge "Drop MySQL-python installation from packages" 2017-09-25 20:42:05 +00:00
Matt Riedemann
5085dc0fa5 doc: add journalctl example for grepping the logs
I had to dig around for awhile to figure this out, so
this adds an example on how to grep journalctl nova logs
for a server instance UUID.

Change-Id: I6a5c47fbcba3af1822e2f9efc2ac20ebe0387f3f
2017-09-25 19:17:31 +00:00
Jenkins
58288fb591 Merge "Change Cinder api_class setting to backend" 2017-09-25 17:15:27 +00:00
Jenkins
0f143e2c6b Merge "doc: prefix journalctl examples with sudo" 2017-09-25 13:52:58 +00:00
Jenkins
8060186584 Merge "Fix partial download problem" 2017-09-25 13:52:51 +00:00
Sean McGinnis
3271271778 Change Cinder api_class setting to backend
Castellan switched the `api_class` config option to `backend` in commit
8980bf7da55dd084ad84c84534fe937f0d43b9c0. The old setting will still be
recognized for now, but we should switch to using the new, correct config
option.

Change-Id: I5e46c738531d5d56777e91a00f4cee9531356f2e
2017-09-25 08:46:00 -05:00
Jenkins
4a50053c74 Merge "Make is_ipv4_address a bit more robust" 2017-09-25 13:37:32 +00:00
Jenkins
2ede133ed7 Merge "Fix memcached_servers setting" 2017-09-25 13:37:24 +00:00
Jenkins
5f348dace5 Merge "Change deprecated nova settings" 2017-09-25 13:37:20 +00:00
Jenkins
a419a6d270 Merge "Disable the v2.0 identity API by default" 2017-09-25 13:29:44 +00:00
Dirk Mueller
062829c3f6 Drop MySQL-python installation from packages
We want that one to be installed via pip, if we still use it
(by default PyMySQL is used, which is already installed via
pip as well).

Change-Id: I76454aa7f84379aa387b144686bcfaa327b141ed
2017-09-25 15:19:07 +02:00
Dirk Mueller
721f7c2cd0 Switch DEVSTACK_SERIES to queens
pike is handled in stable/pike branch for some time
already.

Change-Id: I47dc5bf661c50b3b05c19ad665c2671f807233ae
2017-09-25 13:53:45 +02:00
Jens Harbott
07a8823d4f Update default etcd version
There have been a couple of new stable releases in the meantime, update
to using v3.1.10 which is the currently latest stable version.

Change-Id: Ifa1421c9f12af9753052f992929deb7ebd45e804
2017-09-25 11:36:20 +00:00
Dirk Mueller
5ef8a125cc Install minimal lsb-release package on openSUSE
lsb-release is a dependency of "lsb", so it used to work
before just fine as well, but it was installing about 300MB
of "stuff" that we don't actually need..

Change-Id: I25c7c750cbaeb40bf4f2e8695608c4b1003289ea
2017-09-25 13:09:43 +02:00
Jenkins
0a97e56186 Merge "Fix comment wording nit" 2017-09-24 10:32:15 +00:00
Jenkins
7b66a11624 Merge "Check that generate-subunit exists before using it" 2017-09-23 15:26:40 +00:00
Dirk Mueller
3a59c9d7e3 Remove deprecated forbid_global_implied_dsr
This setting was only useful for Mitaka and older, however Mitaka
is now EOL.

Change-Id: Ia1eb87d68a6265d8541cb87a88523246885e5a8a
2017-09-23 14:39:03 +02:00
Jenkins
a08503ab4c Merge "Configure bridge_mappings for ovs and linuxbridge agents" 2017-09-23 01:10:30 +00:00
Matt Riedemann
66a14df49e doc: prefix journalctl examples with sudo
In a devstack environment you likely need to use sudo
to run the journalctl command, so this adds that to
the examples.

Change-Id: Ibe6b71285a3014e80e06a50130f18bfbdb4ff3ab
2017-09-22 20:51:38 -04:00
Monty Taylor
03ae3c485e
Fix comment wording nit
Change-Id: I558522121099f14d380c163a2c397b34335b03df
2017-09-22 16:25:38 -05:00
Matthew Treinish
c4b0059c6b
Disable the v2.0 identity API by default
The v2.0 identity API is being removed in the Queens release, but in
order to do so we need to stop some v2.0 tempests tests from being
run. This commit switches the default to disable the keystone v2 api.
In a future commit after the removal of the api from keystone the bits
to deploy the v2 api will be removed.

Change-Id: I5afcba6321f496b8170be27789bee7c9ad8eacce
2017-09-22 15:07:36 -04:00
yuanke wei
c652a498fb Fix partial download problem
(1) when checksum fails, better delete the broken files and try the second time;
(2) amazon s3 is not good in mainland China, better try one more time with wget

Change-Id: I24ee73f216b78bd80564863cd335e5d5a9b56360
2017-09-22 19:44:43 +08:00
Jenkins
672ac22ab3 Merge "lib/neutron: configure root_helper for agents" 2017-09-21 23:31:53 +00:00
Jenkins
5aff50b09d Merge "Display unaccounted time in "DevStack Component Timing"" 2017-09-21 19:42:27 +00:00
Ihar Hrachyshka
e3915938f3 Configure bridge_mappings for ovs and linuxbridge agents
Otherwise neutron will fail to bind external ports because of missing
entries for external physical network in the mapping.

Configure it only when l3 agent is also installed on the node (otherwise
the l2 agent is not exposed to external network and hence doesn't have
the bridge).

Change-Id: I561b74538acb0dc39f1af3e832108ce6a99441b0
2017-09-20 11:00:15 -07:00
Matt Riedemann
917ad0998b Update to using pike cloud-archive
This reverts commit ee22ca8373abd3b5a4c44a9c5c4da39c511195c8

Depends-On: Iae2962bb86100f03fd3ad9aac3767da876291e74

Change-Id: I4d5fa052bdc5eef1795f6507589e2eaf4e093e23
Related-Bug: #1718295
2017-09-20 14:46:48 +00:00
Jens Harbott
146332e349 Make etcd3 setup work with IPv6 addresses
The client are told to connect to SERVICE_HOST instead of HOST_IP, so
we need to start etcd3 with matching listening parameters.

Change-Id: I96389090180d21d25d72df8f9e8905b850bcaee9
Partial-Bug: 1656329
2017-09-20 08:56:51 +00:00
Jens Harbott
7617ac2085 Make is_ipv4_address a bit more robust
Still not ideal, but at least should avoid matching IPv6 addresses.

Change-Id: Ibb64263fdb0308f56c18518289501dd4642dcbad
2017-09-20 08:56:10 +00:00
Jenkins
548198769f Merge "Revert "Update to using pike cloud-archive"" 2017-09-20 08:37:36 +00:00
Matt Riedemann
ee22ca8373 Revert "Update to using pike cloud-archive"
This reverts commit a7e9a5d447b3eeacfb52d7ddc94445058a8d6fd1.

The jobs that run live migration tests are failing at about
a rate of 50% since this merged. There are no recent changes
to nova in the last 24 hours that are related to live
migration, and this is failing on the master branch only,
so I suspect the failures are due to new qemu packages
getting pulled in from this change.

Change-Id: Ic8481539c6a0cc7af08a736a625b672979435908
Closes-Bug: #1718295
2017-09-20 00:29:36 +00:00