← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1327005] Re: Need change host to host_name in host resources

 

This is a python-novaclient bug, not a nova bug

** Also affects: python-novaclient
   Importance: Undecided
       Status: New

** Changed in: nova
       Status: New => Invalid

-- 
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):
  Invalid
Status in Python client library for 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


References