FS#51753 - [cloud-init] missing dependency: argparse

Attached to Project: Community Packages
Opened by Johannes Ernst (jernst) - Tuesday, 08 November 2016, 22:21 GMT
Last edited by Jonathan Steel (jsteel) - Wednesday, 09 November 2016, 20:07 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jonathan Steel (jsteel)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

It appears there have been some major packaging changes for cloud-init upstream in recent versions, and this is what I'm getting with 0.7.8 (0.7.6 did not have that problem):

> cloud-init
Traceback (most recent call last):
File "/usr/bin/cloud-init", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2995, in <module>
@_call_aside
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2981, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3008, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 658, in _build_master
ws.require(__requires__)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 967, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 852, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'argparse' distribution was not found and is required by cloud-init
This task depends upon

Closed by  Jonathan Steel (jsteel)
Wednesday, 09 November 2016, 20:07 GMT
Reason for closing:  Fixed
Additional comments about closing:  python2-argparse moved to community and added as a dep in 0.7.8-3
Comment by Jonathan Steel (jsteel) - Wednesday, 09 November 2016, 18:35 GMT
Does installing python2-argh or python2-configargparse fix the issue?

Loading...