yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #15315
[Bug 1327005] [NEW] Need change host to host_name in host resources
Public bug reported:
step to reproduce:
In python Terminal ,
>>> from novaclient.v1_1 import client
>>> ct = client.Client("admin","password","admin","http://192.168.1.100:5000/v2.0")
>>> ct.hosts.get("hostname")
error:
File "<stdin>", line 1, in <module>
File "/opt/stack/python-novaclient/novaclient/v1_1/hosts.py", line 24, in __repr__
return "<Host: %s>" % self.host_name
File "/opt/stack/python-novaclient/novaclient/openstack/common/apiclient/base.py", line 464, in __getattr__
raise AttributeError(k)
AttributeError: host_name
** Affects: nova
Importance: Undecided
Assignee: tinytmy (tangmeiyan77)
Status: New
** Changed in: nova
Assignee: (unassigned) => tinytmy (tangmeiyan77)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1327005
Title:
Need change host to host_name in host resources
Status in OpenStack Compute (Nova):
New
Bug description:
step to reproduce:
In python Terminal ,
>>> from novaclient.v1_1 import client
>>> ct = client.Client("admin","password","admin","http://192.168.1.100:5000/v2.0")
>>> ct.hosts.get("hostname")
error:
File "<stdin>", line 1, in <module>
File "/opt/stack/python-novaclient/novaclient/v1_1/hosts.py", line 24, in __repr__
return "<Host: %s>" % self.host_name
File "/opt/stack/python-novaclient/novaclient/openstack/common/apiclient/base.py", line 464, in __getattr__
raise AttributeError(k)
AttributeError: host_name
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1327005/+subscriptions
Follow ups
References