nova-manage cell_v2 discover_hosts fails for IPv6 - ValueError: invalid literal for int() with base 10 - db connection URI gets its brackets eaten
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Confirmed
|
Wishlist
|
Unassigned | ||
tripleo |
Fix Released
|
High
|
Harald Jensås |
Bug Description
file: undercloud.conf
[DEFAULT]
enable_
overcloud_
undercloud_
undercloud_hostname = undercloud.rdocloud
local_interface = eth1
local_mtu = 1450
local_ip = fd12:3456:
undercloud_
undercloud_
undercloud_
local_subnet = ctlplane-subnet
subnets = ctlplane-subnet
[ctlplane-subnet]
cidr = fd12:3456:
dhcp_start = fd12:3456:
dhcp_end = fd12:3456:
gateway = fd12:3456:789a:1::1
inspection_iprange = fd12:3456:
masquerade = false
Deploying the undercloud fails. Nova API log errors:
ERROR nova.context Traceback (most recent call last):
ERROR nova.context File "/usr/lib/
ERROR nova.context result = fn(*args, **kwargs)
ERROR nova.context File "/usr/lib/
ERROR nova.context result = fn(cls, context, *args, **kwargs)
ERROR nova.context File "/usr/lib/
ERROR nova.context db_services = db.service_
ERROR nova.context File "/usr/lib/
20 ERROR nova.context return IMPL.service_
ERROR nova.context File "/usr/lib/
ERROR nova.context with ctxt_mgr.
ERROR nova.context File "/usr/lib64/
nova.context return self.gen.next()
ERROR nova.context File "/usr/lib/
ERROR nova.context context=context) as resource:
nova.context File "/usr/lib64/
nova.context return self.gen.next()
ERROR nova.context File "/usr/lib/
ERROR nova.context bind=self.
ERROR nova.context File "/usr/lib/
ERROR nova.context self._start()
ERROR nova.context File "/usr/lib/
ERROR nova.context engine_args, maker_args)
nova.context File "/usr/lib/
ERROR nova.context sql_connection=
ERROR nova.context File "/usr/lib/
ERROR nova.context return wrapped(*args, **kwargs)
ERROR nova.context File "/usr/lib/
ERROR nova.context url = sqlalchemy.
ERROR nova.context File "/usr/lib64/
ERROR nova.context return _parse_
ERROR nova.context File "/usr/lib64/
ERROR nova.context return URL(name, **components)
ERROR nova.context File "/usr/lib64/
ERROR nova.context self.port = int(port)
ERROR nova.context ValueError: invalid literal for int() with base 10: '3456:789a:1::3'
nova.conf:
[DEFAULT]
rootwrap_
compute_
allow_resize_
vif_plugging_
vif_plugging_
force_raw_
reserved_
ram_allocation_
sync_power_
heal_instance_
instance_
force_config_
my_ip=fd12:
host=undercloud
ssl_only=False
state_path=
report_interval=10
service_
osapi_compute_
osapi_compute_
osapi_compute_
debug=True
log_dir=
transport_
ovsdb_connection=
dhcp_domain=
[api]
auth_strategy=
use_forwarded_
[api_database]
connection=
[barbican]
[cache]
backend=
enabled=True
memcache_
[cells]
[cinder]
catalog_
project_
project_
username=cinder
user_domain_
[compute]
[conductor]
workers=3
[console]
[consoleauth]
[cors]
[database]
connection=
max_retries=-1
db_max_retries=-1
[devices]
[ephemeral_
[filter_scheduler]
host_subset_size=1
max_io_
max_instances_
available_
enabled_
weight_
[glance]
api_servers=http://[fd12:3456:
[guestfs]
[healthcheck]
[hyperv]
[ironic]
auth_url=http://[fd12:3456:
project_
project_
username=ironic
user_domain_
password=
auth_plugin=
api_endpoint=http://[fd12:3456:
[key_manager]
backend=
[keystone]
[keystone_
www_authenticat
auth_uri=http://[fd12:3456:
memcached_
auth_type=password
auth_url=http://[fd12:3456:
username=nova
password=
user_domain_
project_
project_
[libvirt]
[metrics]
[mks]
[neutron]
url=http://[fd12:3456:
ovs_bridge=br-int
default_
extension_
timeout=30
auth_type=
auth_url=http://[fd12:3456:
project_
project_
username=neutron
user_domain_
password=
region_
[notifications]
notify_
notification_
[osapi_v21]
[oslo_concurrency]
lock_path=
[oslo_messaging
[oslo_messaging
[oslo_messaging
driver=messagingv2
transport_
[oslo_messaging
ssl=False
heartbeat_
[oslo_middleware]
[oslo_policy]
policy_
[pci]
[placement]
auth_type=password
auth_url=http://[fd12:3456:
project_
project_
username=placement
user_domain_
password=
valid_interface
region_
[powervm]
[privsep]
[profiler]
[quota]
[rdp]
[remote_debug]
[scheduler]
driver=
max_attempts=2
discover_
workers=3
[serial_console]
[service_user]
[spice]
enabled=False
[upgrade_levels]
[vault]
[vendordata_
project_
user_domain_
[vmware]
[vnc]
enabled=False
[workarounds]
enable_
[wsgi]
api_paste_
[xenserver]
[xvp]
[zvm]
tags: | added: edge queens-backport-potential |
summary: |
Udercloud IPv6 - ValueError: invalid literal for int() with base 10: - '3456:789a:1::3' + '3456:789a:1::3' - db connection URI gets its brackets eaten |
no longer affects: | oslo.db |
Changed in oslo.config: | |
status: | New → Confirmed |
Changed in nova: | |
status: | New → Confirmed |
Changed in tripleo: | |
status: | Triaged → Won't Fix |
summary: |
- Udercloud IPv6 - ValueError: invalid literal for int() with base 10: - '3456:789a:1::3' - db connection URI gets its brackets eaten + nova-manage cell_v2 discover_hosts fails for IPv6 - ValueError: invalid + literal for int() with base 10: '3456:789a:1::3' - db connection URI + gets its brackets eaten |
summary: |
nova-manage cell_v2 discover_hosts fails for IPv6 - ValueError: invalid - literal for int() with base 10: '3456:789a:1::3' - db connection URI - gets its brackets eaten + literal for int() with base 10 - db connection URI gets its brackets + eaten |
no longer affects: | oslo.config |
Changed in nova: | |
status: | In Progress → New |
The given traceback points out an oslo.db issue with parsing IPv6-based connection URI it seems?