From 04b0b61557f7dad6c32b566255c21a36e4b0aefa Mon Sep 17 00:00:00 2001 From: Ghanshyam Mann Date: Tue, 22 Dec 2020 12:23:56 -0600 Subject: [PATCH] Install swift keystone extras requirements Since the introduction of I8f24b839bf42e2fb9803dc7df3a30ae20cf264 s-proxy is no longer able to launch as keystonemiddleware (listed under test-requirements.txt) has not been installed. keystonemiddleware is listed as extras requirements in swift - https://github.com/openstack/swift/blob/e0d46d77fa740768f1dd5b989a63be85ff1fec20/setup.cfg#L79 Let's install swift keystone extra requirements also. Closes-Bug: #1909018 Change-Id: I02c692e95d70017eea03d82d75ae6c5e87bde8b1 --- lib/swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/swift b/lib/swift index a981dfc10a..790fb99442 100644 --- a/lib/swift +++ b/lib/swift @@ -741,7 +741,9 @@ function init_swift { function install_swift { git_clone $SWIFT_REPO $SWIFT_DIR $SWIFT_BRANCH - setup_develop $SWIFT_DIR + # keystonemiddleware needs to be installed via keystone extras as defined + # in setup.cfg, see bug #1909018 for more details. + setup_develop $SWIFT_DIR keystone if [ "$SWIFT_USE_MOD_WSGI" == "True" ]; then install_apache_wsgi fi