[ovirt-users] Issues in IP Assigning using API

Shahar Havivi shaharh at redhat.com
Wed Jul 2 09:11:13 UTC 2014


On 02.07.14 14:27, Shanil S wrote:
> Hi Shahar,
> 
> I have attached the screen shot of the content of the 0000 file. Please
> check it and i found that the IP which trying to assign from the API using
> cloud init is saving into the 0000 file but its not updating the conf file.
> Please check it...
> 
> Thanks for your replies..
Thank you,
I see the problem - its the null for the interface name.
I will post a patch and let you know
> 
> 
> 
> -- 
> Regards
> Shanil
> 
> 
> On Wed, Jul 2, 2014 at 1:24 PM, Shahar Havivi <shaharh at redhat.com> wrote:
> 
> > On 02.07.14 13:06, Shanil S wrote:
> > > Hi Seven,
> > >
> > >
> > > I checked that ovirt can mount the iso to the VM...that means ovirt can
> > > push the cloud-init data. I have attached the screenshots, please check
> > it.
> > Yes,
> > Please send the content of the file 0000 that is under the "content/"
> > directory.
> > I think I found a bug in the REST API to configure network address - I just
> > want to confirm.
> > This is not effect the UI and I will post a patch shortly...
> > Shahar.
> > >
> > > --
> > > Regards
> > > Shanil
> > >
> > >
> > > On Wed, Jul 2, 2014 at 12:45 PM, Sven Kieske <S.Kieske at mittwald.de>
> > wrote:
> > >
> > > > No, this is no "option" to activate.
> > > >
> > > > The data you submit to cloud-init, gets merged into an iso file
> > > > by ovirt, which is than attached as an cd-rom into the vm.
> > > >
> > > > usually this is /dev/sr1
> > > >
> > > > try to mount it this way in your vm:
> > > >
> > > > mount -t iso9660 /dev/sr1 /mnt/
> > > > then you should be able to see the folder:
> > > > /mnt/openstack/
> > > >
> > > > inside this folder all cloud-init data should
> > > > be available in human readable form (most of it is json)
> > > >
> > > > if you do not got this cd-rom inside your vm, this means
> > > > ovirt was not able to push the cloud-init data inside
> > > > the vm.
> > > >
> > > > in this case, there should be some errors in vdsm.log and engine.log
> > > > as well.
> > > >
> > > > HTH
> > > >
> > > > Am 02.07.2014 06:04, schrieb Shanil S:
> > > > > We are using the cloud-init 0.7.2.2, in this version there is no
> > option
> > > > to
> > > > > set the cd rom. I am attaching the screenshot of the cloud init page,
> > > > > please have a look at this.
> > > >
> > > > --
> > > > Mit freundlichen Grüßen / Regards
> > > >
> > > > Sven Kieske
> > > >
> > > > Systemadministrator
> > > > Mittwald CM Service GmbH & Co. KG
> > > > Königsberger Straße 6
> > > > 32339 Espelkamp
> > > > T: +49-5772-293-100
> > > > F: +49-5772-293-333
> > > > https://www.mittwald.de
> > > > Geschäftsführer: Robert Meyer
> > > > St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad
> > Oeynhausen
> > > > Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad
> > Oeynhausen
> > > >
> >
> >
> >





More information about the Users mailing list