2013-05-22 10:04:56 |
Wang Bo |
bug |
|
|
added bug |
2013-05-22 10:11:15 |
Wang Bo |
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/glance.py ,
function: get_api_servers():
o = urlparse.urlparse(api_server)
port = o.port or 80
host = o.netloc.split(":", 1)[0]
It reported an ERROR if the argument "api_server" is a ipv6 address( for example: [])
In /nova/openstack/common/network_utils.py, there is a function parse_host_port() which could pares the ipv6 address correctly.
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/common/http/py
Class HTTPClient()
_init_(self, endpoint, **kwargs)
the endpoint is "http://2001:db8::22:9292" without '[]'
Anyway, The current code could not parse ipv6 address correctly. There were also similar problems in other places of the code. |
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/glance.py ,
function: get_api_servers():
o = urlparse.urlparse(api_server)
port = o.port or 80
host = o.netloc.split(":", 1)[0]
It reported an ERROR if the argument "api_server" is a ipv6 address( for example: [])
In /nova/openstack/common/network_utils.py, there is a function parse_host_port() which could pares the ipv6 address correctly.
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/common/http/py
Class HTTPClient()
_init_(self, endpoint, **kwargs)
the endpoint is "http://2001:db8::22:9292" without '[]'
Anyway, The current code could not parse ipv6 address correctly. There were also similar problems in other places of the code. |
|
2013-05-22 10:13:03 |
Wang Bo |
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/glance.py ,
function: get_api_servers():
o = urlparse.urlparse(api_server)
port = o.port or 80
host = o.netloc.split(":", 1)[0]
It reported an ERROR if the argument "api_server" is a ipv6 address( for example: [])
In /nova/openstack/common/network_utils.py, there is a function parse_host_port() which could pares the ipv6 address correctly.
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/common/http/py
Class HTTPClient()
_init_(self, endpoint, **kwargs)
the endpoint is "http://2001:db8::22:9292" without '[]'
Anyway, The current code could not parse ipv6 address correctly. There were also similar problems in other places of the code. |
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/glance.py ,
function: get_api_servers():
o = urlparse.urlparse(api_server)
port = o.port or 80
host = o.netloc.split(":", 1)[0]
It reported an ERROR if the argument "api_server" is a ipv6 address( for example: [2001:db8::22])
In /nova/openstack/common/network_utils.py, there is a function parse_host_port() which could pares the ipv6 address correctly.
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/common/http/py
Class HTTPClient()
_init_(self, endpoint, **kwargs)
the endpoint is "http://2001:db8::22:9292" without '[]'
Anyway, The current code could not parse ipv6 address correctly. There were also similar problems in other places of the code. |
|
2013-05-22 12:32:03 |
Kanthi Pavuluri |
nova: assignee |
|
Kanthi Pavu (pavuluri-kanthi-w) |
|
2013-05-22 12:32:13 |
Kanthi Pavuluri |
nova: status |
New |
In Progress |
|
2013-06-01 09:03:37 |
Kanthi Pavuluri |
bug |
|
|
added subscriber Kanthi Pavuluri |
2013-06-01 12:18:25 |
Dirk Mueller |
summary |
"/nova/image/glance.py" could not parse ipv6 address correclty |
"/nova/image/glance.py" could not parse ipv6 address correctly |
|
2013-08-15 01:47:21 |
Dazhao Yu |
nova: assignee |
Kanthi Pavuluri (pavuluri-kanthi-w) |
Dazhao Yu (dzyu) |
|
2013-09-23 02:26:12 |
OpenStack Infra |
nova: status |
In Progress |
Fix Committed |
|
2013-09-24 18:15:22 |
Russell Bryant |
nova: milestone |
|
havana-rc1 |
|
2013-10-03 07:58:57 |
Thierry Carrez |
nova: status |
Fix Committed |
Fix Released |
|
2013-10-17 12:13:16 |
Thierry Carrez |
nova: milestone |
havana-rc1 |
2013.2 |
|