Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1770819

Summary: python3-aodhclient fails to install in Fedora rawhide
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python-aodhclientAssignee: Alfredo Moralejo <amoralej>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: apevec, jpena, pkilambi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-11 18:08:47 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:    
Bug Blocks: 1750909    

Description Miro Hrončok 2019-11-11 11:59:04 UTC
python3-aodhclient-1.3.0-1.fc32.noarch fails to install in Fedora rawhide:

  nothing provides python3-osprofiler >= 1.4.0 needed by python3-aodhclient-1.3.0-1.fc32.noarch

Comment 1 Javier Peña 2019-11-11 12:23:23 UTC
It looks like aodhclient 1.3.0 added support for osprofiler, which had been removed from Fedora because it was no longer needed by any package.

Alfredo, what do you think we should do about it?

Comment 2 Alfredo Moralejo 2019-11-11 13:00:01 UTC
(In reply to Javier Peña from comment #1)
> It looks like aodhclient 1.3.0 added support for osprofiler, which had been
> removed from Fedora because it was no longer needed by any package.
> 
> Alfredo, what do you think we should do about it?

I'm checking how to proceed. osprofiler was retired in a previous release because it pulled some deps and was just optional dep.

import in aodhclient is unconditional in code so the only solutions i can think are:


1. adding osprofiler and its requirements back.
2. reverting https://github.com/openstack/python-aodhclient/commit/fb22e9826256ef090b8ae043583fee0a4cb481fc in distgit and removing osprofiler as requires

I'd go with 2.

Comment 3 Miro Hrončok 2019-11-11 13:06:14 UTC
3. making the import optional with try-except

Comment 4 Alfredo Moralejo 2019-11-11 13:24:14 UTC
(In reply to Miro Hrončok from comment #3)
> 3. making the import optional with try-except

Yes, that'd also be an option

Comment 5 Alfredo Moralejo 2019-11-11 18:08:47 UTC
Fixed in https://koji.fedoraproject.org/koji/buildinfo?buildID=1411250