Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1330217 - [RFE] Enable configuring IPv6 in VM cloud-init
[RFE] Enable configuring IPv6 in VM cloud-init
Status: CLOSED CURRENTRELEASE
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt (Show other bugs)
4.0.0
Unspecified Unspecified
medium Severity medium (vote)
: ovirt-4.2.1
: ---
Assigned To: eraviv
Vladimir
: FutureFeature
Depends On: 1497954 1519271
Blocks: RHEV_IPv6 1424786
  Show dependency treegraph
 
Reported: 2016-04-25 12:18 EDT by Yevgeny Zaspitsky
Modified: 2018-03-29 06:46 EDT (History)
10 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Cloud-Init supports IPv6 properties for initializing a virtual machine's network interfaces.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-03-29 06:46:36 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Network
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
rule-engine: ovirt‑4.2+
mavital: testing_plan_complete+
ylavi: planning_ack+
danken: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 72221 master ABANDONED engine: add ipv4 prefix to existing VmInitNetwork fields 2017-02-21 08:56 EST
oVirt gerrit 72222 master MERGED engine: add ipv6 properties to VmInitNetwork 2017-02-28 09:45 EST
oVirt gerrit 72223 master MERGED engine: store ipv6 properties in CloudInitHandler 2017-02-28 09:45 EST
oVirt gerrit 72287 master MERGED Add IPv6 details to NicConfiguration 2017-02-15 07:23 EST
oVirt gerrit 72288 master ABANDONED engine: extract VmInitNetworkIpInfoFetcher into utils module 2017-02-21 08:57 EST
oVirt gerrit 72289 master MERGED restapi: support cloud-init IPv6 properties in REST-API 2017-03-01 12:11 EST
oVirt gerrit 72466 master MERGED webadmin: Add IPv6 properties to cloud init widget 2017-02-28 13:16 EST
oVirt gerrit 72872 master MERGED restapi: Update to model 4.2.5 and metamodel 1.2.1 2017-02-22 09:36 EST
oVirt gerrit 81463 master POST engine: 2017-09-05 09:05 EDT
oVirt gerrit 81760 master MERGED engine: cloud init network configuration - support Openstack Metadata Protocol 2017-11-09 02:56 EST
oVirt gerrit 82323 master MERGED engine: cloud init network configuration - validate user input 2017-11-09 02:56 EST
oVirt gerrit 85514 master MERGED engine: cloud init network configuration - support Openstack Metadata Protocol 2017-12-19 04:19 EST

  None (edit)
Description Yevgeny Zaspitsky 2016-04-25 12:18:18 EDT
Enable configuring IPv6 properties for VM cloud-init in the similar way that is done in host setup network flow.
Here are the fields to be added:
* IPv6 address
* IPv6 prefix (0-128)
* IPv6 gateway
* IPv6 boot protocol (all IPv4 values + autoconf)
Comment 1 Michal Skrivanek 2016-05-24 03:45:41 EDT
as discussed offline, moving to networking.
Note: we don't want to reimplement a full cloud-init provisioning tool, rather we want to provide the most common things to configure. Your call which they are in context of network provisioning.
Detailed/obscure/uncommon things are handled by a passthrough of custom configuration file
Comment 2 Dan Kenigsberg 2017-02-26 07:40:10 EST
doc change for this featurelet: https://github.com/oVirt/ovirt-site/pull/820
Comment 3 Israel Pinto 2017-06-19 06:10:38 EDT
Check with:
oVirt Engine Version: 4.2.0-0.0.master.20170609091031.gitc86d08a.el7.centos
cloud-init: cloud-init-0.7.2-3.el7.noarch

found problem with Static IPv6 address with subnet prefix and gateway
Fill BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1462654
Comment 4 Dan Kenigsberg 2017-09-05 06:54:45 EDT
Apparently, Fedora and CentOS's cloud-init does not handle our meta_data.json properly. We need to render it differently so it works well.
Comment 5 Red Hat Bugzilla Rules Engine 2017-09-05 06:54:50 EDT
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.
Comment 8 eraviv 2017-11-12 02:02:51 EST
the existing documentation for network interfaces is very limited.

https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.1/html-single/virtual_machine_management_guide/#sect-Using_Cloud-Init_to_Automate_the_Configuration_of_Virtual_Machines
"""
11. Select the Network check box and use the + and - buttons to add or remove network interfaces to or from the virtual machine. 
"""
is all we have.

Before documenting IPv6 support, we need to document how in-guest networking is configured at all.

Most important bit to add is that when selecting "+" the user must specify the in-guest name of the network interface card he or she would like to configure (e.g. eth0). Then, it may be worthwhile adding that IPv4 and IPv6 boot protocol and addresses for the guest may be specified.
Comment 9 eraviv 2017-12-03 01:56:52 EST
moving this back to development as cloud-init team requests that we align with openstack protocol on the dhcp names in network_data.json (should be ipv4_dhcp and ipv6_dhcp). see notes in BZ1519271.
Comment 10 eraviv 2017-12-20 03:34:04 EST
aligned with ipvX_dhcp notation of openstack.
added blocker: 1519271
Comment 11 eraviv 2017-12-20 07:22:19 EST
return to status 'modified' because there is not d/s for this for now.
Comment 12 Vladimir 2018-03-05 09:00:07 EST
Verified on 
RHEV 4.2.2.1-0.1.el7
using cloud-init 0.7.9-23
Run full test plan
Comment 14 Sandro Bonazzola 2018-03-29 06:46:36 EDT
This bugzilla is included in oVirt 4.2.1 release, published on Feb 12th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.1 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.

Note You need to log in before you can comment on or make changes to this bug.