Re: [ovirt-devel] [ovirt-users] cloud-init not working on master/4.2?
On Wed, 3 Jan 2018 at 08:41 Roy Golanwrote: > On Wed, 3 Jan 2018 at 07:54 Barak Korren wrote: > >> On 2 January 2018 at 22:17, Roy Golan wrote: >> > >> > >> > On Tue, 2 Jan 2018 at 14:10 Eitan Raviv wrote: >> >> >> >> Roy, >> >> What do you mean 'ignored my password changes'? >> > >> > >> > I set the root pwd of my VM using cloud-init but I wasn't able to login. >> >> Try to see if you can catch cloud-init doing its thing in the VM >> console, you might see an error message there. >> >> It is the engine fault, it doesn't send the cloudinit details to vdsm. > Still I'd be happy if someone could try it out on 4.2 or master. > WORKS on master. > > I suppose you'll need a serial console for that, as scrolling up in >> SPICE/VNC is impossible. >> >> >> -- >> Barak Korren >> RHV DevOps team , RHCE, RHCi >> Red Hat EMEA >> redhat.com | TRIED. TESTED. TRUSTED. | redhat.com/trusted >> > ___ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
Re: [ovirt-devel] [ovirt-users] cloud-init not working on master/4.2?
On Wed, 3 Jan 2018 at 07:54 Barak Korrenwrote: > On 2 January 2018 at 22:17, Roy Golan wrote: > > > > > > On Tue, 2 Jan 2018 at 14:10 Eitan Raviv wrote: > >> > >> Roy, > >> What do you mean 'ignored my password changes'? > > > > > > I set the root pwd of my VM using cloud-init but I wasn't able to login. > > Try to see if you can catch cloud-init doing its thing in the VM > console, you might see an error message there. > > It is the engine fault, it doesn't send the cloudinit details to vdsm. Still I'd be happy if someone could try it out on 4.2 or master. I suppose you'll need a serial console for that, as scrolling up in > SPICE/VNC is impossible. > > > -- > Barak Korren > RHV DevOps team , RHCE, RHCi > Red Hat EMEA > redhat.com | TRIED. TESTED. TRUSTED. | redhat.com/trusted > ___ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
Re: [ovirt-devel] [ovirt-users] cloud-init not working on master/4.2?
On 2 January 2018 at 22:17, Roy Golanwrote: > > > On Tue, 2 Jan 2018 at 14:10 Eitan Raviv wrote: >> >> Roy, >> What do you mean 'ignored my password changes'? > > > I set the root pwd of my VM using cloud-init but I wasn't able to login. Try to see if you can catch cloud-init doing its thing in the VM console, you might see an error message there. I suppose you'll need a serial console for that, as scrolling up in SPICE/VNC is impossible. -- Barak Korren RHV DevOps team , RHCE, RHCi Red Hat EMEA redhat.com | TRIED. TESTED. TRUSTED. | redhat.com/trusted ___ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
Re: [ovirt-devel] [ovirt-users] cloud-init not working on master/4.2?
On Tue, 2 Jan 2018 at 14:10 Eitan Ravivwrote: > Roy, > What do you mean 'ignored my password changes'? > I set the root pwd of my VM using cloud-init but I wasn't able to login. what is a flow that reproduces your problem? > > - Import Centos 7 base image from ovirt-glance as a template and create a VM from it. - Run-Once the VM, set root user/pass using cloud-init in the dialog. - Try to login with your new user/pass Even before the VM OS boots you can `virsh -r dumpxml ID | grep -i payload` > On Tue, Jan 2, 2018 at 1:59 PM, Roy Golan wrote: > >> I had problems bootstrapping my glance images, cloud init seems to ignore >> my password changes and then I realized I'm missing the cdrom in the domxml. >> >> To solve it I disabled the DomainXML feature(engine preparing the domxml, >> not vdsm) and it started working. >> >> Before I open a bug can anyone try to reproduce on 4.2? >> >> The workaround with engine-config: >> >> echo DomainXML | engine-config -s DomainXML=false --cver=4.2 -p /dev/stdin >> >> ___ >> Devel mailing list >> Devel@ovirt.org >> http://lists.ovirt.org/mailman/listinfo/devel >> > > > > -- > Eitan Raviv > IRC: erav (#ovirt #vdsm #devel #rhev-dev) > ___ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
Re: [ovirt-devel] [ovirt-users] cloud-init not working on master/4.2?
Roy, What do you mean 'ignored my password changes'? what is a flow that reproduces your problem? On Tue, Jan 2, 2018 at 1:59 PM, Roy Golanwrote: > I had problems bootstrapping my glance images, cloud init seems to ignore > my password changes and then I realized I'm missing the cdrom in the domxml. > > To solve it I disabled the DomainXML feature(engine preparing the domxml, > not vdsm) and it started working. > > Before I open a bug can anyone try to reproduce on 4.2? > > The workaround with engine-config: > > echo DomainXML | engine-config -s DomainXML=false --cver=4.2 -p /dev/stdin > > ___ > Devel mailing list > Devel@ovirt.org > http://lists.ovirt.org/mailman/listinfo/devel > -- Eitan Raviv IRC: erav (#ovirt #vdsm #devel #rhev-dev) ___ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel