neutronclient requires prettytable >=0.6

Bug #1292661 reported by Nobuto Murata
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Cloud Archive
Fix Released
Low
Unassigned
python-neutronclient (Ubuntu)
Fix Released
Low
Corey Bryant
Trusty
Confirmed
Low
Corey Bryant

Bug Description

neutronclient complains about dependency.

ubuntu@keystone01:~$ neutron agent-list
(prettytable 0.5 (/usr/lib/python2.7/dist-packages), Requirement.parse('PrettyTable>=0.6,<0.8'))
(prettytable 0.5 (/usr/lib/python2.7/dist-packages), Requirement.parse('PrettyTable>=0.6,<0.8'))
list index out of range

[WORKAROUND]
ubuntu@keystone01:~$ sudo pip install --upgrade prettytable
Downloading/unpacking prettytable
  Downloading prettytable-0.7.2.tar.bz2
  Running setup.py egg_info for package prettytable

Installing collected packages: prettytable
  Found existing installation: prettytable 0.5
    Uninstalling prettytable:
      Successfully uninstalled prettytable
  Running setup.py install for prettytable

Successfully installed prettytable
Cleaning up...
ubuntu@keystone01:~$ neutron agent-list
+--------------------------------------+----------------+-----------+-------+----------------+
| id | agent_type | host | alive | admin_state_up |
+--------------------------------------+----------------+-----------+-------+----------------+
| 1884118b-6be9-41ac-b6bb-ee209ede695c | DHCP agent | neutron01 | :-) | True |
| 922b129b-e67c-4a7c-a6a2-b45cae60ade3 | Metadata agent | neutron01 | :-) | True |
| a4c8271f-6795-477d-835d-54e0b76a2bac | L3 agent | neutron01 | :-) | True |
+--------------------------------------+----------------+-----------+-------+----------------+

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: python-neutronclient 1:2.3.3-0ubuntu1~cloud0 [origin: Canonical]
ProcVersionSignature: User Name 3.2.0-54.82-generic 3.2.50
Uname: Linux 3.2.0-54-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
CrashDB: cloud_archive
Date: Fri Mar 14 18:25:09 2014
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: python-neutronclient
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Nobuto Murata (nobuto) wrote :
Nobuto Murata (nobuto)
description: updated
Revision history for this message
James Page (james-page) wrote :

Both the Havana and Icehouse Cloud archives have a sufficiently high version of prettytable - however neutronclient lacks a versioned dependency which is probably the issue here.

Changed in cloud-archive:
status: New → Triaged
importance: Undecided → Wishlist
summary: - prettytable 0.5 (/usr/lib/python2.7/dist-packages),
- Requirement.parse('PrettyTable>=0.6,<0.8')
+ neutronclient requires prettytable >=0.6
Changed in python-neutronclient (Ubuntu Trusty):
status: New → Triaged
importance: Undecided → Wishlist
importance: Wishlist → Low
Changed in cloud-archive:
importance: Wishlist → Low
Changed in python-neutronclient (Ubuntu Trusty):
assignee: nobody → Corey Bryant (corey.bryant)
James Page (james-page)
Changed in python-neutronclient (Ubuntu Trusty):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-neutronclient - 1:2.3.5-0ubuntu1

---------------
python-neutronclient (1:2.3.5-0ubuntu1) utopic; urgency=medium

  [ Corey Bryant ]
  * debian/control: Set minimum version for python-prettytable dependency
    (LP: #1292661).

  [ Chuck Short ]
  * debian/control: Open up juno release
  * debian/control:
    - Dropped python-d2to1, python-httplib2, python-prettytable,
      python-nose, and python-pyparsing dependencies.
    - Added python-requests, python-netaddr dependencies
    - Added python-keystoneclient.
    - Add python-mox3.
    - Add python-hacking

  [ Liam Young ]
  * debian/control:
    - Merged in deps from requirements.txt
    - Added httplib2 & python-mox back as src dep as 2.3.5 unit tests depend on it
  * New upstream release.
 -- Chuck Short <email address hidden> Thu, 24 Jul 2014 13:07:16 -0400

Changed in python-neutronclient (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Mathew Hodson (mhodson) wrote :

This hasn't been SRUed to trusty-proposed.

Changed in python-neutronclient (Ubuntu Trusty):
status: Fix Committed → Confirmed
James Page (james-page)
Changed in cloud-archive:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.