[stable][grenade][qa][nova][swift] s-proxy unable to start due to missing runtime deps

Ghanshyam Mann gmann at ghanshyammann.com
Tue Dec 22 22:09:56 UTC 2020


 ---- On Tue, 22 Dec 2020 12:40:07 -0600 Ghanshyam Mann <gmann at ghanshyammann.com> wrote ----
 >  ---- On Tue, 22 Dec 2020 11:06:02 -0600 Lee Yarwood <lyarwood at redhat.com> wrote ----
 >  > Hello all,
 >  > 
 >  > I wanted to raise awareness of the following issue and to seek some
 >  > feedback on my approach to workaround it:
 >  > 
 >  > ImportError: No module named keystonemiddleware.auth_token
 >  > https://bugs.launchpad.net/swift/+bug/1909018
 >  > 
 >  > This was introduced after I landed the following devstack backport
 >  > stopping projects from installing their test-requirements.txt deps:
 >  > 
 >  > Stop installing test-requirements with projects
 >  > https://review.opendev.org/q/I8f24b839bf42e2fb9803dc7df3a30ae20cf264eb
 >  > 
 >  > For the time being to workaround this in various other gates I've
 >  > suggested that we disable Swift in Grenade on stable/train:
 >  > 
 >  > zuul: Disable swift services until bug #1909018 is resolved
 >  > https://review.opendev.org/c/openstack/grenade/+/768224
 >  > 
 >  > This finally allowed openstack/nova to pass on stable/train with the
 >  > following changes to lower-constraints.txt and test-requirements.txt:
 >  > 
 >  > [stable-only] Cap bandit to 1.6.2 and raise hacking, flake8 and stestr
 >  > https://review.opendev.org/c/openstack/nova/+/766171/
 >  > 
 >  > Are there any objections to disabling Swift in Grenade for the time
 >  > being on stable/train?
 >  > 
 >  > Would anyone have any objections to also disabling it on stable/stein
 >  > via devstack-gate?
 > 
 > Thanks, Lee for reporting this.
 > 
 > keystonemiddleware is listed as an extras requirement in swift
 > - https://github.com/openstack/swift/blob/e0d46d77fa740768f1dd5b989a63be85ff1fec20/setup.cfg#L79
 > 
 > But devstack does not install any extras requirement for swift.  I am trying to install
 > the swift's keystone extras and see if it work fine.
 > 
 > - https://review.opendev.org/q/I02c692e95d70017eea03d82d75ae6c5e87bde8b1

This fix working fine tested in  https://review.opendev.org/c/openstack/swift/+/766214

grenade job will be working once we merge the devstack fixes in stable branches

-gmann

 > 
 > NOTE, this is an issue for swift running on py2 env which is what <=stable/train is. That is why we
 > can see swift-dsvm-functional  job failing and swift-dsvm-functional-py3 passing on ussuri gate.
 > 
 > From Victoria onwards, swift-dsvm-functional-py3 and swift-dsvm-functional both running on py3 env
 > so not causing any issue on victoria onwards gate.
 > 
 > One more thing I observed, swift-dsvm-functional-py3 is removed from swift side
 > which leads that swift-dsvm-functional-py3 is being skipped in devstack gate even though it is present
 > in the check pipeline. I am removing this confusing job from devstak gate
 > -  https://review.opendev.org/c/openstack/devstack/+/768244
 > 
 > -gmann
 >   
 >  > 
 >  > Many thanks in advance,
 >  > 
 >  > -- 
 >  > Lee Yarwood                 A5D1 9385 88CB 7E5F BE64  6618 BCA6 6E33 F672 2D76
 >  > 
 > 
 > 



More information about the openstack-discuss mailing list