Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1365899 - Missing dependency of python-oslo-log and python-oslo-policy in openstack-cinder
Missing dependency of python-oslo-log and python-oslo-policy in openstack-cinder
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder (Show other bugs)
7.0 (Kilo)
x86_64 Linux
medium Severity medium
: async
: 7.0 (Kilo)
Assigned To: Eric Harney
lkuchlan
: ZStream
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-08-10 08:49 EDT by Ondrej
Modified: 2018-02-08 06:25 EST (History)
5 users (show)

See Also:
Fixed In Version: openstack-cinder-2015.1.3-9.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-02-15 17:56:29 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:0282 normal SHIPPED_LIVE Moderate: openstack-cinder, openstack-glance, and openstack-nova security update 2017-02-15 22:52:44 EST

  None (edit)
Description Ondrej 2016-08-10 08:49:06 EDT
Description of problem:
Hi,
oslo_log is being used by a lot of parts in openstack-cinder:

# grep -R oslo_log /usr/lib/python2.7/site-packages/cinder | grep -v Binary | wc -l
256

python-oslo-log is not a dependency in the spec file:
# grep Requires openstack-cinder.spec  |grep oslo
BuildRequires:    python-oslo-sphinx
Requires:         python-oslo-config >= 1:1.2.0
Requires:         python-oslo-db >= 1.0.0
Requires:         python-oslo-rootwrap
Requires:         python-oslo-utils
Requires:         python-oslo-serialization
Requires:         python-oslo-db
Requires:         python-oslo-context
Requires:         python-oslo-concurrency
Requires:         python-oslo-middleware
Requires:         python-oslo-messaging >= 1.8.0


Also it seems, python-oslo-policy is necessary to run cinder-manage:

su -s /bin/sh -c "cinder-manage db sync"

with the next error message:

ImportError: No module named oslo_policy

The cinder-manage command has these dependencies and belongs to openstack-cinder-2015.1.3-5.el7ost.noarch package:

[compute@cvs1pci01 ~]$ rpm -qf `which cinder-manage`
openstack-cinder-2015.1.3-5.el7ost.noarch

However, we were not able to prove python-oslo-policy:
* oslo_policy gets not imported from python-cinder:
# grep -R oslo /usr/lib/python2.7/site-packages/cinder* | grep oslo_policy

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 4 lkuchlan 2016-12-05 08:44:08 EST
Tested using: 
openstack-cinder-2015.1.3-11.el7ost.noarch

Verification flow:

[root@dhcp88-142 ~(keystone_admin)]# rpm -qa | grep oslo-policy
python-oslo-policy-0.3.1-1.el7ost.noarch
Comment 5 Edu Alcaniz 2016-12-23 04:26:52 EST
Do we have date of deliver the Errata?
Comment 6 lkuchlan 2017-01-17 08:56:06 EST
(In reply to Edu Alcaniz from comment #5)
> Do we have date of deliver the Errata?

As far as I know the release date is on 2017-Jan-18 (custom)
Comment 8 errata-xmlrpc 2017-02-15 17:56:29 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2017-0282.html

Note You need to log in before you can comment on or make changes to this bug.