Bug 1124899
| Summary: | openstack-glance should depend on python-oslo-vmware | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Jaroslav Henner <jhenner> | |
| Component: | openstack-glance | Assignee: | Flavio Percoco <fpercoco> | |
| Status: | CLOSED ERRATA | QA Contact: | Jaroslav Henner <jhenner> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 5.0 (RHEL 7) | CC: | apevec, eglynn, fpercoco, mlopes, scohen, yeylon | |
| Target Milestone: | rc | Flags: | scohen:
needinfo+
|
|
| Target Release: | 5.0 (RHEL 7) | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | openstack-glance-2014.1.1-2.el7ost.src.rpm | Doc Type: | Bug Fix | |
| Doc Text: |
With this update, Image Service (glance) is now dependent on oslo.vmware in order to support the optional VMware store. This hard dependency was created due to the likelihood that the dependencies are already installed and due to the diminutive size of the package.
As a result, the user experience is improved by no longer requiring a manual oslo.vmware install.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1125876 (view as bug list) | Environment: | ||
| Last Closed: | 2014-09-02 18:21:26 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: | 1114623 | |||
| Bug Blocks: | 1125876, 1248434 | |||
|
Description
Jaroslav Henner
2014-07-30 15:06:23 UTC
I'm hesitant to make python-oslo-vmware a hard dependency because it's not enabled by default. I'm open to suggestions here. @apevec we've had this kind of dilemmas with other packages, what do you recommend? Indeed, RPM is missing Suggests for optional dependencies, so they're left to the deployer or installer to take care of. But strictly speaking, we should have Requires: python-FOO if we ship code which has "imports FOO" even if not loaded in the default configuration. In this specific case, python-oslo-vmware runtime deps are nothing fancy, so it's fine to add it as a hard dep to openstack-glance. [root@jhenner-node-glance ~(keystone_admin)]# yum remove python-oslo-vmware Loaded plugins: priorities Resolving Dependencies --> Running transaction check ---> Package python-oslo-vmware.noarch 0:0.3-3.el7ost will be erased --> Processing Dependency: python-oslo-vmware for package: openstack-glance-2014.1.2-1.el7ost.noarch --> Running transaction check ---> Package openstack-glance.noarch 0:2014.1.2-1.el7ost will be erased --> Finished Dependency Resolution Dependencies Resolved ================================================================================================ Package Arch Version Repository Size ================================================================================================ Removing: python-oslo-vmware noarch 0.3-3.el7ost @puddle 172 k Removing for dependencies: openstack-glance noarch 2014.1.2-1.el7ost @puddle 64 k Transaction Summary ================================================================================================ Remove 1 Package (+1 Dependent package) Installed size: 236 k 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. http://rhn.redhat.com/errata/RHBA-2014-1131.html |