Comment 1 for bug 1603533

Revision history for this message
Ryan Harper (raharper) wrote :

That fixes the package deps, but runtime still complains?

bash-4.2# yum install -v python-argparse
Loading "fastestmirror" plugin
Config time: 0.006
Yum version: 3.4.3
rpmdb time: 0.000
Setting up Package Sacks
Loading mirror speeds from cached hostfile
 * base: anorien.csc.warwick.ac.uk
 * epel: epel.mirror.far.fi
 * extras: anorien.csc.warwick.ac.uk
 * updates: anorien.csc.warwick.ac.uk
pkgsack time: 12.062
Checking for virtual provide or file-provide for python-argparse
Obs Init time: 0.150
Package python-2.7.5-48.el7.x86_64 already installed and latest version
Nothing to do

bash-4.2# cat /etc/centos-release
CentOS Linux release 7.3.1611 (Core)

bash-4.2# rpm -qa | grep cloud-init
cloud-init-0.7.9+114.g2796dab-1.el7.centos.noarch

bash-4.2# cloud-init --help
Traceback (most recent call last):
  File "/usr/bin/cloud-init", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3007, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 728, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: argparse