Problem using xenial cloud images with ovirt

------=_=-_OpenGroupware_org_NGMime-4367-1464365638.750478-0------ content-type: text/plain; charset=utf-8 content-length: 413 content-transfer-encoding: quoted-printable Hi. I'm trying to run a Ubuntu cloud image on oVirt 3.6. It works fine with= the 14.04 image or Centos 7 image but I have trouble with the 16.04 im= age : I have no network and cloud-init dont receive any data from oVirt= . Also, the VM takes about 5 minutes to boot (then I cant login as clou= d-init dont seem to work). I've validated the 16.04 image : I can boot it fine on my workstation r= unning kvm. ------=_=-_OpenGroupware_org_NGMime-4367-1464365638.750478-0------ content-type: text/html; charset=utf-8 content-length: 446 content-transfer-encoding: quoted-printable <html>Hi.<br />I'm trying to run a Ubuntu cloud image on oVirt 3.6.= It works fine with the 14.04 image or Centos 7 image but I have troubl= e with the 16.04 image : I have no network and cloud-init dont receive = any data from oVirt. Also, the VM takes about 5 minutes to boot (then I= cant login as cloud-init dont seem to work).<br />I've validated t= he 16.04 image : I can boot it fine on my workstation running kvm.</htm= l> ------=_=-_OpenGroupware_org_NGMime-4367-1464365638.750478-0--------

------=_=-_OpenGroupware_org_NGMime-5666-1464632047.265338-31------ content-type: text/plain; charset=utf-8 content-length: 1028 content-transfer-encoding: quoted-printable I will reply to myself here. Ubuntu 16.04 uses a different naming rules for it's network cards (no m= ore ethXX). In the cloud image, they have a nic named ens3 wich default= s to DHCP (this is coded in file /etc/cloud/cloud.cfg.d/50-cloud-init.c= fg). The long delay in booting was in part due to the fact I had no DHCP ser= ver and I was trying to push a fixed IP address to eth0. So I ended up = adding a DHCP server and using ens3 instead of eth0. Hope this helps so= meone. Le Vendredi, Mai 27, 2016 12:13 EDT, "Claude Durocher" <claude.durocher= @cptaq.gouv.qc.ca> a =C3=A9crit: =C2=A0=C2=A0Hi. I'm trying to run a Ubuntu cloud image on oVirt 3.6. It works fine with= the 14.04 image or Centos 7 image but I have trouble with the 16.04 im= age : I have no network and cloud-init dont receive any data from oVirt= . Also, the VM takes about 5 minutes to boot (then I cant login as clou= d-init dont seem to work). I've validated the 16.04 image : I can boot it fine on my workstation r= unning kvm. =C2=A0 ------=_=-_OpenGroupware_org_NGMime-5666-1464632047.265338-31------ content-type: text/html; charset=utf-8 content-length: 1159 content-transfer-encoding: quoted-printable <html>I will reply to myself here.<br /><br />Ubuntu 16.04 uses a diffe= rent naming rules for it's network cards (no more ethXX). In the cl= oud image, they have a nic named ens3 wich defaults to DHCP (this is co= ded in file /etc/cloud/cloud.cfg.d/50-cloud-init.cfg).<br /><br />The l= ong delay in booting was in part due to the fact I had no DHCP server a= nd I was trying to push a fixed IP address to eth0. So I ended up addin= g a DHCP server and using ens3 instead of eth0. Hope this helps someone= .<br /><br />Le Vendredi, Mai 27, 2016 12:13 EDT, "Claude Durocher= " <claude.durocher@cptaq.gouv.qc.ca> a écrit:<br />&n= bsp;<blockquote> </blockquote>Hi.<br />I'm trying to run a Ubu= ntu cloud image on oVirt 3.6. It works fine with the 14.04 image or Cen= tos 7 image but I have trouble with the 16.04 image : I have no network= and cloud-init dont receive any data from oVirt. Also, the VM takes ab= out 5 minutes to boot (then I cant login as cloud-init dont seem to wor= k).<br />I've validated the 16.04 image : I can boot it fine on my = workstation running kvm.<br /><br /> </html> ------=_=-_OpenGroupware_org_NGMime-5666-1464632047.265338-31--------
participants (1)
-
Claude Durocher