Comment 0 for bug 1292661

Revision history for this message
Nobuto Murata (nobuto) wrote : prettytable 0.5 (/usr/lib/python2.7/dist-packages), Requirement.parse('PrettyTable>=0.6,<0.8')

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
ubuntu@keystone01:~$ keystone endpoint-list
__init__() got an unexpected keyword argument 'print_empty'
ubuntu@keystone01:~$ keystone endpoint-list
__init__() got an unexpected keyword argument 'print_empty'
ubuntu@keystone01:~$ LANG=C keystone endpoint-list
__init__() got an unexpected keyword argument 'print_empty'

[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)