← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1224479] Re: [vmware] InvalidURL nonnumeric port in read_write_ util with ipv6 host

 

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

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

Title:
  [vmware] InvalidURL nonnumeric port in read_write_ util with ipv6 host

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Trying to use Nova VMware community driver in a pure ipv6 environment,
  running into this issue

  2013-09-12 09:19:09.608 13034 ERROR nova.compute.manager [req-b1c13f77-09cf-4ac0-8d89-033b40189a54 2417695e037948d19ba56d81e97093dc 8ff56438ffa644a4b5fb7b5133bf7b5d] [instance: 2
  49bd3e6-87fd-4168-9027-7d2edb7d4c37] Instance failed to spawn
  2013-09-12 09:19:09.608 13034 TRACE nova.compute.manager [instance: 249bd3e6-87fd-4168-9027-7d2edb7d4c37] Traceback (most recent call last):
  2013-09-12 09:19:09.608 13034 TRACE nova.compute.manager [instance: 249bd3e6-87fd-4168-9027-7d2edb7d4c37]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line
  1439, in _spawn
  2013-09-12 09:19:09.608 13034 TRACE nova.compute.manager [instance: 249bd3e6-87fd-4168-9027-7d2edb7d4c37]     block_device_info)
  2013-09-12 09:19:09.608 13034 TRACE nova.compute.manager [instance: 249bd3e6-87fd-4168-9027-7d2edb7d4c37]   File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/driver.py",
   line 604, in spawn
  2013-09-12 09:19:09.608 13034 TRACE nova.compute.manager [instance: 249bd3e6-87fd-4168-9027-7d2edb7d4c37]     admin_password, network_info, block_device_info)
  2013-09-12 09:19:09.608 13034 TRACE nova.compute.manager [instance: 249bd3e6-87fd-4168-9027-7d2edb7d4c37]   File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/vmops.py",
  line 406, in spawn
  2013-09-12 09:19:09.608 13034 TRACE nova.compute.manager [instance: 249bd3e6-87fd-4168-9027-7d2edb7d4c37]     _fetch_image_on_esx_datastore()
  2013-09-12 09:19:09.608 13034 TRACE nova.compute.manager [instance: 249bd3e6-87fd-4168-9027-7d2edb7d4c37]   File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/vmops.py",
  line 317, in _fetch_image_on_esx_datastore
  2013-09-12 09:19:09.608 13034 TRACE nova.compute.manager [instance: 249bd3e6-87fd-4168-9027-7d2edb7d4c37]     file_path=upload_vmdk_name)
  2013-09-12 09:19:09.608 13034 TRACE nova.compute.manager [instance: 249bd3e6-87fd-4168-9027-7d2edb7d4c37]   File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/vmware_imag
  es.py", line 133, in fetch_image
  2013-09-12 09:19:09.608 13034 TRACE nova.compute.manager [instance: 249bd3e6-87fd-4168-9027-7d2edb7d4c37]     file_size)
  2013-09-12 09:19:09.608 13034 TRACE nova.compute.manager [instance: 249bd3e6-87fd-4168-9027-7d2edb7d4c37]   File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/read_write_
  util.py", line 128, in __init__
  2013-09-12 09:19:09.608 13034 TRACE nova.compute.manager [instance: 249bd3e6-87fd-4168-9027-7d2edb7d4c37]     conn = httplib.HTTPSConnection(netloc)
  2013-09-12 09:19:09.608 13034 TRACE nova.compute.manager [instance: 249bd3e6-87fd-4168-9027-7d2edb7d4c37]   File "/usr/lib64/python2.6/httplib.py", line 1105, in __init__
  2013-09-12 09:19:09.608 13034 TRACE nova.compute.manager [instance: 249bd3e6-87fd-4168-9027-7d2edb7d4c37]     HTTPConnection.__init__(self, host, port, strict, timeout)
  2013-09-12 09:19:09.608 13034 TRACE nova.compute.manager [instance: 249bd3e6-87fd-4168-9027-7d2edb7d4c37]   File "/usr/lib64/python2.6/httplib.py", line 661, in __init__
  2013-09-12 09:19:09.608 13034 TRACE nova.compute.manager [instance: 249bd3e6-87fd-4168-9027-7d2edb7d4c37]     self._set_hostport(host, port)
  2013-09-12 09:19:09.608 13034 TRACE nova.compute.manager [instance: 249bd3e6-87fd-4168-9027-7d2edb7d4c37]   File "/usr/lib64/python2.6/httplib.py", line 686, in _set_hostport
  2013-09-12 09:19:09.608 13034 TRACE nova.compute.manager [instance: 249bd3e6-87fd-4168-9027-7d2edb7d4c37]     raise InvalidURL("nonnumeric port: '%s'" % host[i+1:])
  2013-09-12 09:19:09.608 13034 TRACE nova.compute.manager [instance: 249bd3e6-87fd-4168-9027-7d2edb7d4c37] InvalidURL: nonnumeric port: 'cd47'
  2013-09-12 09:19:09.608 13034 TRACE nova.compute.manager [instance: 249bd3e6-87fd-4168-9027-7d2edb7d4c37]

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