"/nova/image/glance.py" could not parse ipv6 address correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Dazhao Yu |
Bug Description
Version of Nova: Grizzly.
I tried to configure controller node and compute node work together using pure IPv6.
Edit nova.conf file and quantum.conf file,
Set the host-address( for example: qpid_hostname, glance_api_servers ...) to [2001:db8::22](the ip-address of the controller node)
When to boot an instance then the compute node to get images, there was an ERROR in
file: nova/image/
function: get_api_servers():
It reported an ERROR if the argument "api_server" is a ipv6 address( for example: [2001:db8::22])
In /nova/openstack
So I tried to use this function instead of the current bug code.
But after that the variable "host" is "2001:db8::22" without '[]' that caused other problems, for example in
file: /glanceclient/
Class HTTPClient()
_init_(self, endpoint, **kwargs)
the endpoint is "http://
Anyway, The current code could not parse ipv6 address correctly. There were also similar problems in other places of the code.
description: | updated |
description: | updated |
Changed in nova: | |
assignee: | nobody → Kanthi Pavu (pavuluri-kanthi-w) |
status: | New → In Progress |
summary: |
- "/nova/image/glance.py" could not parse ipv6 address correclty + "/nova/image/glance.py" could not parse ipv6 address correctly |
Changed in nova: | |
milestone: | none → havana-rc1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-rc1 → 2013.2 |
In my env, I also found this issue, this issue blocked our test on IPv6, pls help us to resolve this issue.