sqlalchemy could not parse sql_connection urls containning ipv6 address
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Won't Fix
|
Low
|
Unassigned | ||
oslo-incubator |
Invalid
|
Undecided
|
Davanum Srinivas (DIMS) |
Bug Description
Version of Nova: Grizzly.
I tried to configure openstack in pure IPv6 enviroment.
Edit nova.conf file in controller node.
Set the sql_connection = msyql:/
When started the service nova-conductor (or any other project connected to database), It reported ERROR.
In File: /usr/lib64/
Function : def _parse_
Add breakpoint in above code and debug to get the components. Result of components is following:
{ 'username': 'nova', 'name': 'mysql', 'database'
Obviously, the current code could not parse sql_connection urls that contain ipv6 address correctly.
description: | updated |
tags: | added: db |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
importance: | Medium → Low |
Which version of sqlalchemy do you have installed?
This might be unrelated, but I see you're running on python 2.6 and wanted to point out that the built in url parsing support for IPv6 didn't show up until python 2.7:
http:// docs.python. org/2.7/ library/ urlparse. html