← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1206595] Re: Allow ipv6 based host_ip for ESX/vSphere driver

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-3

-- 
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/1206595

Title:
  Allow ipv6 based host_ip for ESX/vSphere driver

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  We need to fix the __init__ constructor for Vim to add '[' and ']'
  around ipv6 addresses otherwise it breaks

  >>> v = Vim("https","::1")
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/opt/stack/nova/nova/virt/vmwareapi/vim.py", line 93, in __init__
      plugins=[VIMMessagePlugin()])
    File "/usr/lib/python2.7/dist-packages/suds/client.py", line 112, in __init__
      self.wsdl = reader.open(url)
    File "/usr/lib/python2.7/dist-packages/suds/reader.py", line 152, in open
      d = self.fn(url, self.options)
    File "/usr/lib/python2.7/dist-packages/suds/wsdl.py", line 136, in __init__
      d = reader.open(url)
    File "/usr/lib/python2.7/dist-packages/suds/reader.py", line 79, in open
      d = self.download(url)
    File "/usr/lib/python2.7/dist-packages/suds/reader.py", line 95, in download
      fp = self.options.transport.open(Request(url))
    File "/usr/lib/python2.7/dist-packages/suds/transport/https.py", line 60, in open
      return  HttpTransport.open(self, request)
    File "/usr/lib/python2.7/dist-packages/suds/transport/http.py", line 62, in open
      return self.u2open(u2request)
    File "/usr/lib/python2.7/dist-packages/suds/transport/http.py", line 118, in u2open
      return url.open(u2request, timeout=tm)
    File "/usr/lib/python2.7/urllib2.py", line 401, in open
      response = self._open(req, data)
    File "/usr/lib/python2.7/urllib2.py", line 419, in _open
      '_open', req)
    File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
      result = func(*args)
    File "/usr/lib/python2.7/urllib2.py", line 1219, in https_open
      return self.do_open(httplib.HTTPSConnection, req)
    File "/usr/lib/python2.7/urllib2.py", line 1181, in do_open
      raise URLError(err)
  urllib2.URLError: <urlopen error [Errno -2] Name or service not known>

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1206595/+subscriptions