Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1542458

Summary: Could not load EntryPoint.parse('claim_create = zaqarclient.queues.v2.cli:OldCreateClaim')
Product: Red Hat OpenStack Reporter: Edu Alcaniz <ealcaniz>
Component: python-zaqarclientAssignee: Thomas Hervé <therve>
Status: CLOSED CURRENTRELEASE QA Contact: nlevinki <nlevinki>
Severity: low Docs Contact:
Priority: medium    
Version: 12.0 (Pike)CC: apevec, ealcaniz, jjoyce, jpichon, jschluet, lhh, rhos-maint, rrasouli, slinaber, therve, tvignaud
Target Milestone: z2Keywords: Triaged, ZStream
Target Release: 12.0 (Pike)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-09 11:45:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1547614, 1547625    
Bug Blocks:    
Attachments:
Description Flags
openstack --debug --help none

Description Edu Alcaniz 2018-02-06 11:52:41 UTC
Description of problem:
Issue running openstack --help from overcloud nodes

Version-Release number of selected component (if applicable):
RHOSP12

How reproducible:
Customer upgrade from RHOSP11 to RHOSP12

[ealcaniz@ealcaniz 2018-02-06_101611]$ grep zaqarclient server00/var/log/yum.log 
Jan 24 17:11:14 Updated: python-zaqarclient-1.7.0-1.el7ost.noarch
[ealcaniz@ealcaniz 2018-02-06_101611]$ grep zaqarclient server01/var/log/yum.log 
Jan 24 17:11:08 Updated: python-zaqarclient-1.7.0-1.el7ost.noarch
[ealcaniz@ealcaniz 2018-02-06_101611]$ grep zaqarclient server02/var/log/yum.log 
Jan 24 17:11:10 Updated: python-zaqarclient-1.7.0-1.el7ost.noarch




Steps to Reproduce:
1.
2.
3.

Actual results:

Could not load EntryPoint.parse('message_list = zaqarclient.queues.v2.cli:OldListMessages')
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cliff/help.py", line 35, in __call__
    factory = ep.load()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2259, in load
    if require: self.require(env, installer)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2272, in require
    working_set.resolve(self.dist.requires(self.extras),env,installer)))
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 630, in resolve
    raise VersionConflict(dist,req) # XXX put more info here
VersionConflict: (requests 2.11.1 (/usr/lib/python2.7/site-packages), Requirement.parse('requests>=2.14.2'))
Could not load EntryPoint.parse('message_post = zaqarclient.queues.v2.cli:OldPostMessages')
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cliff/help.py", line 35, in __call__
    factory = ep.load()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2259, in load
    if require: self.require(env, installer)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2272, in require
    working_set.resolve(self.dist.requires(self.extras),env,installer)))
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 630, in resolve
    raise VersionConflict(dist,req) # XXX put more info here
VersionConflict: (requests 2.11.1 (/usr/lib/python2.7/site-packages), Requirement.parse('requests>=2.14.2'))
Could not load EntryPoint.parse('messaging_claim_create = zaqarclient.queues.v2.cli:CreateClaim')



Expected results:


Additional info:

Comment 1 Edu Alcaniz 2018-02-06 11:54:53 UTC
Created attachment 1392040 [details]
openstack --debug --help

Comment 3 Edu Alcaniz 2018-02-13 15:02:37 UTC
Hi, could we get an update please.

Comment 6 Thomas Hervé 2018-02-15 10:09:07 UTC
I confirmed the issue in a pristine OSP12 deployment. There is a requirement conflict with zaqarclient which needs python-requests 2.14.2, but only 2.11 is available for now.

The good news is that it "just" affects the top level help command. openstack queue --help works fine, as well as all the queue commands in general.

python-requests ought to be update in z2, let's make sure it happens.

Comment 7 Thierry Vignaud 2018-02-15 21:26:10 UTC
Updating python-requests-2.14.2 would mean python-urllib3 to 1.21.1 according to setup.py though only 1.16 is packaged in RDO (I guess b/c requests bundle urllib3 1.21.1)

Comment 8 Thierry Vignaud 2018-02-15 21:29:17 UTC
But then why rdo spec file for zaquarclient only list the following:

Requires:       python-requests >= 2.10.0

It should have been bumped when requirements.txt was updated in sources

Comment 9 Edu Alcaniz 2018-03-12 13:34:23 UTC
could we have an update please.

Comment 10 Thomas Hervé 2018-03-12 13:38:25 UTC
It's in the puddle, should be in z2.

Comment 11 Edu Alcaniz 2018-03-31 08:12:34 UTC
Hi there, it seems that all dependencies are resolved, could you update us about this bugzilla.

Comment 12 Thomas Hervé 2018-04-09 11:45:19 UTC
It's fixed.