Bug 1390361

Summary: Missing python-cmd2 dependency for which
Product: [Community] RDO Reporter: Mike Burns <mburns>
Component: python-cmd2Assignee: hguemar
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: trunkCC: apevec, apevec, calba, extras-qa, infra-sig, jschluet, mburns, mmagr, ochalups, rhos-maint, srevivo
Target Milestone: ---   
Target Release: trunk   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-cmd2-0.6.8-8.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1390360 Environment:
Last Closed: 2017-03-14 10:07: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: 1390360    
Bug Blocks: 1386634, 1446155    

Description Mike Burns 2016-10-31 19:53:37 UTC
+++ This bug was initially created as a clone of Bug #1390360 +++

+++ This bug was initially created as a clone of Bug #1386634 +++

Description of problem:
Customer deployed a RHEL VM on Red Hat Openstack (already installed and working). Now inside the RHEL guest, customer is willing to install the Openstack **client** tool (cmdline neutron, nova) to interact with OSP APIs.

The issue is that after installing the cmdline tools (via yum install python-openstackclient inside a container) in that RHEL guest, the tools fail to work due a missing dependecy (package "which").

The goal is to include which as a dependency for python-cmd2.

line 20:
https://github.com/openstack/cliff/blob/master/cliff/interactive.py

$ rpm -qf /usr/lib/python2.7/site-packages/openstackclient/shell.py
python-openstackclient-1.0.3-3.el7ost.noarch
$ rpm -qf /usr/lib/python2.7/site-packages/cmd2.py
python-cmd2-0.6.7-5.el7ost.noarch

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


How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Mike Burns on 2016-10-31 15:51:50 EDT ---

This issue is very low priority since the workaround is extremely simple (yum install which) and the chances of hitting this are remote (grub2 requires which, so almost *any* system would have the package).

Our version of python-cmd2 is a repackage of the version in the RDO community (which is in turn a repackage of the fedora version) so cloning this around for tracking in those systems.

Comment 1 Mike Burns 2016-10-31 20:01:40 UTC
Haikel -- patch is available on the Fedora bug, but I don't have provenpackager access to build it.