Hello,

thanks for the report. This is indeed supported by oVirt, but it's not
supported by ovirt_vm Ansible module, I've opened an issue[1]. Thanks.

[1] https://github.com/ansible/ansible/issues/58054

On 17/06/2019 15:18, Vrgotic, Marko wrote:
Dear oVirt

Would you be so kind to help out clarifying if and how is IPv6 supported with

-ansible / ovirt_vm / cloud-init boot protocol.

I have created a VM template which by default uses cloud-init with following:

When I boot the VM from UI, each VM gets IPv4 DHCP and IPv6 DHCP6 address, default cloud-init setup and we have infrastructure for both IPv4 and IPv6.

However, when calling same template via Ansible ovirt_vm, using following:

cloud_init_nics:   |~

         - nic_name: eth0 |~

           nic_boot_protocol: dhcp |~

            nic_on_boot: true

each VM receives only IPv4 DHCP and only IPv6 RA, but not DHCP IPv6.

Looking at booted VM, following options are not set:

  * /etc/sysconfig/network => NETWORKING_IPV6=yes
  * Or /etc/sysconfig/network-scripts/ifcfg-eth0 => DHCPV6C=yes and
    IPV6INIT=yes

We need IPv6 DHCP6 address , especially for registering it host with DNS AAAA record.

Is this supported? Am I doing it wrong way?

If its supported please let me know, how can I make sure that VMs created using Ansible also initialize DHCPV6.

Please assist.

Marko Vrgotic

ActiveVideo


_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/MLM7X2UDVV7ACJSNTGIJ433XRTN432VT/

_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/RPY2MP6DPTJVQEWEREEF7UUKY2IVMU3Z/

Reply via email to