[Bug 1129735] [NEW] nova --debug fails with "ERROR: hasattr(): attribute name must be string"

Haw Loeung 1129735 at bugs.launchpad.net
Tue Feb 19 03:28:05 UTC 2013


Public bug reported:

$ nova --debug list
DEBUG (shell:732) hasattr(): attribute name must be string
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 729, in main
    OpenStackComputeShell().main(sys.argv[1:])
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 620, in main
    cacert=cacert, timeout=timeout)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 441, in Client
    return client_class(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/client.py", line 146, in __init__
    cacert=cacert)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 103, in __init__
    if hasattr(requests, logging):
TypeError: hasattr(): attribute name must be string
ERROR: hasattr(): attribute name must be string


$ nova --debug flavor-list
DEBUG (shell:732) hasattr(): attribute name must be string
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 729, in main
    OpenStackComputeShell().main(sys.argv[1:])
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 620, in main
    cacert=cacert, timeout=timeout)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 441, in Client
    return client_class(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/client.py", line 146, in __init__
    cacert=cacert)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 103, in __init__
    if hasattr(requests, logging):
TypeError: hasattr(): attribute name must be string
ERROR: hasattr(): attribute name must be string

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: python-novaclient 1:2.11.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-6.13-generic 3.8.0-rc7
Uname: Linux 3.8.0-6-generic x86_64
ApportVersion: 2.8-0ubuntu4
Architecture: amd64
Date: Tue Feb 19 14:24:07 2013
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: python-novaclient
UpgradeStatus: Upgraded to raring on 2012-12-06 (74 days ago)

** Affects: python-novaclient (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug raring running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-novaclient in Ubuntu.
https://bugs.launchpad.net/bugs/1129735

Title:
  nova --debug fails with "ERROR: hasattr(): attribute name must be
  string"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-novaclient/+bug/1129735/+subscriptions



More information about the Ubuntu-server-bugs mailing list