Support for metadata over IPv6

Bug #1906849 reported by Slawek Kaplonski
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
cloud-init
Fix Released
Wishlist
Unassigned

Bug Description

OpenStack Neutron recently added support to Metadata over IPv6. See spec https://specs.openstack.org/openstack/neutron-specs/specs/ussuri/metadata-add-ipv6-support.html

It would be great if cloud-init would add support for that too. I'm not cloud-init expert at all and I have no idea how it could be implemented but I think it's good to at least propose that here so maybe someone will want to work on that.

Revision history for this message
Lucas Albuquerque Medeiros de Moura (lamoura) wrote :

Thanks for filling this feature request

Changed in cloud-init:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Maximilian Stinsky (mstinsky) wrote :

Greetings,

I just stumbled upon this feature request, as we upgraded our openstack setup to a version which supports metadata over ipv6. While testing it we found that cloud-init does not support this without manually setting the metadata_url over user-data.

Maybe I am too naive, but this does not look to be the hardest implementation if it would be done like in ec2 with a metadata url list which is just tested one by one [1].

Could this be done the same way in openstack where we change [2] to be a list of possible metadata addresses?

Any opinions on this?

[1] https://github.com/canonical/cloud-init/blob/8776a661a9189cbc0c4437562bcd3b6c27f81854/cloudinit/sources/DataSourceEc2.py#L66

[2] https://github.com/canonical/cloud-init/blob/919e22dc1d779f58f03dfd1cfde5ad9dc33a60d1/cloudinit/sources/DataSourceOpenStack.py#L21

Revision history for this message
James Falcon (falcojr) wrote :

Yes, given that we recently completed our first dual-stack implementation, it should not be hard to add another.

Revision history for this message
Slawek Kaplonski (slaweq) wrote :

It seems to be fixed with https://github.com/canonical/cloud-init/pull/1805 now. Thx a lot

Changed in cloud-init:
status: Triaged → Fix Committed
Revision history for this message
Alberto Contreras (aciba) wrote : Fixed in cloud-init version 23.1.

This bug is believed to be fixed in cloud-init in version 23.1. If this is still a problem for you, please make a comment and set the state back to New

Thank you.

Changed in cloud-init:
status: Fix Committed → Fix Released
Revision history for this message
James Falcon (falcojr) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.