IPv6 data missing from latest/metadata info
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
When querying the latest/metadata API, IPv4 data ( local-ipv4 and public-ipv4 ) are available but ipv6 data is not.
3 lines to be added:
/usr/lib/
fixed_ips = self.ip_
fixed_ip = fixed_ips and fixed_ips[0] or ''
# JvB added
fixed_ip6s = self.ip_
fixed_ip6 = fixed_ip6s and fixed_ip6s[0] or ''
fmt_sgroups = [x['name'] for x in self.security_
meta_data = {
It would be useful to have the subnet mask info available as well, but this would involve more changes and perhaps some discussion about naming conventions
tags: | added: metadata |
Changed in nova: | |
status: | In Progress → Confirmed |
assignee: | Jeroen van Bemmel (jvb127) → nobody |
Somewhat related to https:/ /bugs.launchpad .net/nova/ +bug/1679641 ( same theme )