8640 Commits

Author SHA1 Message Date
Sean McGinnis
daf1274409 Run cinder-api with uWSGI
Per the Pike goal, switching the Cinder API control plane to
use WSGI in Apache.

Co-Authored-By: Ivan Kolodyazhny <e0ne@e0ne.info>
Depends-On: Ie8a0eeab1bf31887d6f37cf155b2d161ddfb172d
Depends-On: I14b68f36e7fcc5341bbdbcf165274d9d50f7dd04
Change-Id: I8cef6c98f9242cc38d66de0ac499490e2a237887
2017-06-29 15:13:49 +03:00
Jenkins
66109302ab Merge "Switch to lioadm for centos cinder" 2017-06-28 23:22:30 +00:00
Jenkins
51a4c28b02 Merge "Add devstack-version script" 2017-06-28 23:19:25 +00:00
Jenkins
9c39cb68df Merge "Stop setting osapi_volume_base_URL" 2017-06-28 21:33:24 +00:00
Sean Dague
2c0faca038 Add devstack-version script
This will help in collecting information about the devstack version
being used.

Change-Id: I23a8ca023bda6d097051cd57ae45401806451ad5
2017-06-28 13:53:37 -04:00
Jenkins
87362e5722 Merge "Revert "Revert "Use uwsgi for glance-api""" 2017-06-26 23:27:14 +00:00
Jenkins
2967ca3dfd Merge "Actually check if roles are set" 2017-06-26 23:26:27 +00:00
Jenkins
cb62ef8336 Merge "Revert "Fleetify nova conductor for N cells"" 2017-06-26 15:49:03 +00:00
Matt Riedemann
20eeff813d Revert "Fleetify nova conductor for N cells"
This reverts commit f63aa021cf996b500b6a570c0114c490bb57461a.

Change-Id: I541abe7311e5721d79e300fcb2a0b8ffdcd3c015
Related-Bug: #1700364
2017-06-26 07:53:08 +00:00
Jenkins
2b06b1a072 Merge "Change restart Always to always" 2017-06-26 06:43:04 +00:00
OpenStack Proposal Bot
580a506f25 Updated from generate-devstack-plugins-list
Change-Id: I6e040449252aae43f330d545d979b3bdba6f855a
2017-06-25 08:01:06 +00:00
Jenkins
3c9032fd52 Merge "Download etcd3 only zip file not exists" 2017-06-24 10:53:43 +00:00
Jenkins
3ed001821b Merge "Revert "systemd: Always create the systemd unit files"" 2017-06-23 23:41:16 +00:00
Matthew Treinish
1fa6536357 Revert "Revert "Use uwsgi for glance-api""
This reverts commit 3410e3e01bdbdbfd360d9baebeac081c33ee0821.

Change-Id: Ic58711311eb8534cb3c4b25c333197c412ffdce5
2017-06-23 22:32:37 +00:00
YAMAMOTO Takashi
c087c71834 Revert "systemd: Always create the systemd unit files"
This reverts commit 15b0a5f1eb849a30bcea9a1e437e9a88ae2c6f92.

The change had an assumption that a service
is properly configured even when it isn't enabled.
The assumption is not true.

Change-Id: Ib5a8ffe63eaec15bc29bfdd133db7169507bab82
Closes-Bug: #1698129
2017-06-23 15:08:38 +00:00
Jenkins
a02b9ba1b1 Merge "Fleetify nova conductor for N cells" 2017-06-23 11:36:35 +00:00
Jenkins
13d376d672 Merge "Ignore etcd files downloaded to files/ dir" 2017-06-23 11:28:12 +00:00
Jenkins
44ff39538c Merge "Fedora mariadb: disable cracklib" 2017-06-23 11:28:05 +00:00
Jenkins
fb24c26278 Merge "Add python-barbicanclient to LIBS_FROM_GIT" 2017-06-23 11:12:44 +00:00
Yuval Brik
13e81ad1cf Fedora mariadb: disable cracklib
In Fedora mariadb, cracklib has been enabled [0] in order to verify the
password strength.
Disable cracklib in Fedora devstack in order to allow simple passwords
in dev environments.

[0] https://src.fedoraproject.org/cgit/rpms/mariadb.git/
    commit: 9442da192282aa74f43e86c96202109a173bbaba

Change-Id: I2d5e965f0f19f86992794eec78134e862899c931
2017-06-23 10:32:16 +03:00
Jenkins
41f61ad99e Merge "Revert "Use uwsgi for glance-api"" 2017-06-22 18:46:22 +00:00
Jenkins
62f800b196 Merge "cleanup comments" 2017-06-22 15:19:09 +00:00
Jenkins
a1f45c6117 Merge "remove lib/os_brick" 2017-06-22 15:07:30 +00:00
Jenkins
b9ffb5abcc Merge "mv lib/oslo to lib/libraries" 2017-06-22 15:01:21 +00:00
Kaitlin Farr
ed7dbe5754 Add python-barbicanclient to LIBS_FROM_GIT
Allow python-barbicanclient to be installed from git instead of pip.

Change-Id: I99cd72724e11bab362bcaaeb773f33b2abfe815c
2017-06-22 09:45:28 -04:00
TommyLike
599ecfbd4c Download etcd3 only zip file not exists
Give a change to manually prepare the zip file
for etcd.

Change-Id: I54283cf2ed62bb716af34df21e8c168014264c8c
2017-06-22 08:43:27 +00:00
Ian Wienand
3410e3e01b Revert "Use uwsgi for glance-api"
This reverts commit e6217a9719b88b550ccbbce7c9bc064cb746c1a3.

Unfortunately it seems to break glance; for examples see some of the
nodepool dib jobs which have all failed to upload images into glance.

Note this has a revert for 43304849cfde41fa86a6fdd334ab6e703598ef8d as
well, since that uses GLANCE_URL defined here.

[1] http://logs.openstack.org/51/475051/2/gate/gate-dsvm-nodepool-redhat-src/e1bdb34/
[2] http://logs.openstack.org/51/475051/2/gate/gate-dsvm-nodepool-ubuntu-src/6a7665b/
[3] http://logs.openstack.org/51/475051/2/gate/gate-dsvm-nodepool-opensuse-src/b357de1/

Change-Id: I2aea120e733b05e806801121ec994f4e31a337d9
2017-06-22 13:48:06 +10:00
Monty Taylor
43304849cf
Set public_endpoint to GLANCE_URL for glance-api
We run glance behind uwsgi. This means that the URL glance knows about
itself is wrong, and version discovery fails. Set the public endpoint to
the value of GLANCE_URL which should always be correct.

Change-Id: Ia7c69024a0ef6cc0fdc284ffcd06eee5678a1007
2017-06-21 21:45:14 +01:00
Sean Dague
7e41c6ce66 cleanup comments
Change-Id: I685f726178722e58ccfd008bad16a671cc8b8e2a
2017-06-21 10:55:16 -04:00
Sean Dague
99a6477c49 remove lib/os_brick
Fold this back into lib/libraries

Change-Id: I2c4e3ebf1a1cc65841e4470d5cfe073f9b505d5f
2017-06-21 10:46:12 -04:00
Pavlo Shchelokovskyy
d064acce4c Ignore etcd files downloaded to files/ dir
Change-Id: Ic1458a612ccdefdcc34880529a259513135fa7a1
2017-06-21 09:18:46 +00:00
Jenkins
7fef90aff9 Merge "Use uwsgi for glance-api" 2017-06-21 08:34:52 +00:00
Sean Dague
3ed99c0b27 mv lib/oslo to lib/libraries
There is confusion about where installation of new libraries should
end up, to prevent lots of little files being added make a
lib/libraries which is the old lib/oslo. Put compat functions and
includes in place to help with transition.

Change-Id: Ieeab605d187ef6aec571211ab235ea67fa95a607
2017-06-20 14:09:30 -04:00
Jenkins
3603bf59c3 Merge "rework etcd3 install to be like other devstack services" 2017-06-20 16:14:43 +00:00
Sean Dague
62b56601a9 rework etcd3 install to be like other devstack services
This separates out the install phase early from the start phase to
make this mirror other services in devstack.

Depends-On: I4124dc7e3fd3b4d973979da85209ec991c0f8c4b

Change-Id: I76f8740448b25a48869ee80006e826baa6cafc2b
2017-06-20 10:24:01 +00:00
Jenkins
805304f2ce Merge "Add a function to get an available random port" 2017-06-20 09:11:25 +00:00
Jenkins
d9d10df6cd Merge "etcd3: Allow for multi-host deployments" 2017-06-19 13:38:21 +00:00
Jenkins
b9f00f4539 Merge "docs: add "kvm on s390x" specific configuration in local.conf" 2017-06-19 13:25:03 +00:00
OpenStack Proposal Bot
41da1a9feb Updated from generate-devstack-plugins-list
Change-Id: Ida1d6d012e1e05f35ba45670436acd6f920c9575
2017-06-19 08:55:47 +00:00
Antoni Segura Puimedon
19279b0f87
etcd3: Allow for multi-host deployments
In Multi host deployments, it is possible to run ETCD in a different
host than the SERVICE_HOST (where all the controllers run). This patch
brings that distinction.

Change-Id: I15fe6f25eedf1efebaab81cce26b080577b856cc
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
2017-06-16 16:04:59 +02:00
Jenkins
418bbddc81 Merge "Provide timings for OSC during devstack run" 2017-06-15 19:36:32 +00:00
Jenkins
b24bfac43d Merge "Track db sync command time useage" 2017-06-15 19:36:25 +00:00
Sean Dague
85cf2933cc Provide timings for OSC during devstack run
The OSC number remain high, and it's useful to understand how much
time we spend making OSC calls, especially to surface it relative to
other items. The way we embed this in our code makes it hard to
instrument.

This patch creates a wrapper function for OSC which collects the timings
then aliases `openstack` to that function. This means any invocations of
the openstack utility goes through our function while devstack is
running. Because this is an alias it only affects the stack.sh shell and
any subshells.

This also moves the time tracking infrastructure to count in ms,
instead of s, because some of these operations are close enough to a
second that rounding early is losing way to many significant
digits. We divide by 1000 before reporting to the user.

Change-Id: Ic5f1844ce732d447ee980b3c9fdc417f72482609
2017-06-14 16:43:49 -07:00
Clark Boylan
3e9b562d0b Actually check if roles are set
In the helper functions to check if roles are set and if not add the
role and return the id we weren't actually checking if the role was set.
The reason for this was we grepped for name values while outputing only
uuid values with OSC. Fix for this is straightforward, we just add the
--role argument to OSC which will filter for us then we don't have to
use a grep on the wrong value type.

Change-Id: I2691b347d2a6273100deb4a1750ab353a8e49673
2017-06-14 15:35:29 -07:00
Clark Boylan
633dbc3d8e Track db sync command time useage
We are trying to keep better track of what pieces of devstack consume
the most time. Add the db sync commands to the time tracking as they run
the database migrations which can take more time than expected.

Change-Id: Ib92f2b8304ccf703712d45fd7207444de3599e2d
2017-06-14 12:09:21 -07:00
Jenkins
a4c21ff9b2 Merge "Support unicode via en_US.utf8" 2017-06-14 18:35:31 +00:00
Jenkins
7b3968b382 Merge "Increase KEYSTONE_LOCKOUT_DURATION to 10" 2017-06-14 16:10:35 +00:00
Jenkins
2b76a75ff4 Merge "Improve OpenStack performance by redcuing bcrypt hasing rounds number" 2017-06-14 16:10:29 +00:00
Jenkins
3350542a44 Merge "Set swift functest config when using tls" 2017-06-14 16:09:11 +00:00
Clark Boylan
d095e97624 Support unicode via en_US.utf8
Because C.utf8 is not everywhere and is sometimes called C.UTF-8 (just
to confuse people) use en_US.utf8 which is in most places. This isn't
language/region agnostic but gives a consistent unicode aware locale to
devstack.

Change-Id: I67a8c77a5041e9cee740adf0e02fdc9b183c5bc4
fixes-bug: 1697733
2017-06-14 10:13:14 -04:00