← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1287292] [NEW] VMware: vim.get_soap_url improper IPv6 address

 

Public bug reported:

The vim.get_soap_url function incorrectly builds an IPv6 using
hostname/IP address and port.

https://github.com/openstack/nova/blob/master/nova/virt/vmwareapi/vim.py#L151

The result of this line would create an address as follows:
https://[2001:db8:85a3:8d3:1319:8a2e:370:7348:443]/sdk

Ports should be outside the square brackets, not inside, as follows:

https://[2001:db8:85a3:8d3:1319:8a2e:370:7348]:443/sdk

For reference see: http://en.wikipedia.org/wiki/IPv6_address section
Literal IPv6 addresses in network resource identifiers

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: vmware

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

Title:
  VMware: vim.get_soap_url improper IPv6 address

Status in OpenStack Compute (Nova):
  New

Bug description:
  The vim.get_soap_url function incorrectly builds an IPv6 using
  hostname/IP address and port.

  https://github.com/openstack/nova/blob/master/nova/virt/vmwareapi/vim.py#L151

  The result of this line would create an address as follows:
  https://[2001:db8:85a3:8d3:1319:8a2e:370:7348:443]/sdk

  Ports should be outside the square brackets, not inside, as follows:

  https://[2001:db8:85a3:8d3:1319:8a2e:370:7348]:443/sdk

  For reference see: http://en.wikipedia.org/wiki/IPv6_address section
  Literal IPv6 addresses in network resource identifiers

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


Follow ups

References