Bug 1330217 - [RFE] Enable configuring IPv6 in VM cloud-init
Summary: [RFE] Enable configuring IPv6 in VM cloud-init
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.2.1
: ---
Assignee: eraviv
QA Contact: Vladimir
URL:
Whiteboard:
Depends On: 1497954 1519271
Blocks: RHEV_IPv6 1424786
TreeView+ depends on / blocked
 
Reported: 2016-04-25 16:18 UTC by Yevgeny Zaspitsky
Modified: 2018-03-29 10:46 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-03-29 10:46:36 UTC
oVirt Team: Network
Embargoed:
rule-engine: ovirt-4.2+
mavital: testing_plan_complete+
ylavi: planning_ack+
danken: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 72221 0 master ABANDONED engine: add ipv4 prefix to existing VmInitNetwork fields 2020-12-04 15:20:20 UTC
oVirt gerrit 72222 0 master MERGED engine: add ipv6 properties to VmInitNetwork 2020-12-04 15:20:20 UTC
oVirt gerrit 72223 0 master MERGED engine: store ipv6 properties in CloudInitHandler 2020-12-04 15:20:20 UTC
oVirt gerrit 72287 0 master MERGED Add IPv6 details to NicConfiguration 2020-12-04 15:20:20 UTC
oVirt gerrit 72288 0 master ABANDONED engine: extract VmInitNetworkIpInfoFetcher into utils module 2020-12-04 15:20:20 UTC
oVirt gerrit 72289 0 master MERGED restapi: support cloud-init IPv6 properties in REST-API 2020-12-04 15:20:20 UTC
oVirt gerrit 72466 0 master MERGED webadmin: Add IPv6 properties to cloud init widget 2020-12-04 15:20:20 UTC
oVirt gerrit 72872 0 master MERGED restapi: Update to model 4.2.5 and metamodel 1.2.1 2020-12-04 15:20:20 UTC
oVirt gerrit 81463 0 master MERGED engine: revert configuring IPv6 in VM cloud-init 2020-12-04 15:20:21 UTC
oVirt gerrit 81760 0 master MERGED engine: cloud init network configuration - support Openstack Metadata Protocol 2020-12-04 15:20:21 UTC
oVirt gerrit 82323 0 master MERGED engine: cloud init network configuration - validate user input 2020-12-04 15:20:47 UTC
oVirt gerrit 85514 0 master MERGED engine: cloud init network configuration - support Openstack Metadata Protocol 2020-12-04 15:20:21 UTC

Description Yevgeny Zaspitsky 2016-04-25 16:18:18 UTC
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 07:45:41 UTC
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 12:40:10 UTC
doc change for this featurelet: https://github.com/oVirt/ovirt-site/pull/820

Comment 3 Israel Pinto 2017-06-19 10:10:38 UTC
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 10:54:45 UTC
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 10:54:50 UTC
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 07:02:51 UTC
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 06:56:52 UTC
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 08:34:04 UTC
aligned with ipvX_dhcp notation of openstack.
added blocker: 1519271

Comment 11 eraviv 2017-12-20 12:22:19 UTC
return to status 'modified' because there is not d/s for this for now.

Comment 12 Vladimir 2018-03-05 14:00:07 UTC
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 10:46:36 UTC
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.