Hi Romil.
Sorry for the late response.
In order to use the cinder driver you need to set the following configuration
items in /etc/cinder/cinder.conf
volume_driver=cinder.volume.ovirt.OVirtDriver
ovirt_engine_url="http://10.35.1.202:8080/api";
ovirt_engine_username="user@domain"
ovirt_engine_password="password"
ovirt_engine_storagedomain="nfs-data1"
What did you fail on? Can you attach the cinder log for us to see?
Also cc-ing Federico, who worked with me on the driver.
Thank you,
Oved
- Original Message -
> From: "Romil Gupta"
> To: "Oved Ourfalli"
> Cc: "users"
> Sent: Wednesday, May 15, 2013 5:41:42 PM
> Subject: Re: [Users] Openstack Quantum , Cinder and Glance integration
> with oVirt.
>
> Hi Oved ,
>
> I have gone through the code , it would be great if you let me know what are
> the flags we need to set in the cinder.conf to load the oVirt-cinder driver.
>
> Is this the correct flag volume_driver=cinder.volume.drivers.ovirt.
> OVirtDriver ?
>
> If yes , still I am not able to load it. I have also change the following
> flags based on my setup:
>
> volume_opts = [
> cfg . StrOpt ( 'ovirt_engine_url' ,
> default = ' http://localhost:8700/api ' ,
> help = '' ),
> cfg . StrOpt ( 'ovirt_engine_username' ,
> default = 'admin@internal' ,
> help = '' ),
> cfg . StrOpt ( 'ovirt_engine_password' ,
> default = 'letmein!' ,
> help = '' ),
> cfg . StrOpt ( 'ovirt_engine_storagedomain' ,
> default = 'OpenStackDomain' ,
> help = '' ),
> cfg . StrOpt ( 'ovirt_engine_sparse' ,
> default = True ,
> help = '' ),
>
> Help me out regarding the same.
>
>
>
>
> On Thu, May 9, 2013 at 7:23 PM, Romil Gupta < romilgupt...@gmail.com > wrote:
>
>
>
> Thanks for sharing the code and yes I had missed the mail from you earlier.
> I am just going through the code and would let you know if I need some help
> from you.
>
>
>
>
> On Thu, May 9, 2013 at 7:19 PM, Oved Ourfalli < ov...@redhat.com > wrote:
>
>
>
>
>
> - Original Message -
> > From: "Romil Gupta" < romilgupt...@gmail.com >
> > To: "Oved Ourfalli" < ov...@redhat.com >
> > Cc: "users" < users@ovirt.org >
> > Sent: Thursday, May 9, 2013 4:31:23 PM
> > Subject: Re: [Users] Openstack Quantum , Cinder and Glance integration with
> > oVirt.
> >
> > Thanks Itamar, Yes , the intent is to consume oVirt from the Openstack
> > side.
> >
> > Oved: thanks, I would be great if you could share the code.
> >
> Code was shared earlier on the thread before you got a chance to send your
> response, but in case you missed it, the code is in:
> https://github.com/oourfali/openstack-ovirt-driver
>
> Also, Itamar added an important note about that:
> "
> Romil - the POC above expects the glance image to pre-exist as a
> template (by same name). I think your glance driver for ovirt to
> directly show the ovirt template from ovirt is a better approach.
> "
>
> Let me know if you need more details,
> Oved
> >
> > On Thu, May 9, 2013 at 6:09 PM, Oved Ourfalli < ov...@redhat.com > wrote:
> >
> >
> >
> >
> >
> > - Original Message -
> > > From: "Itamar Heim" < ih...@redhat.com >
> > > To: "Romil Gupta" < romilgupt...@gmail.com >, "Oved Ourfalli" <
> > > oourf...@redhat.com >
> > > Cc: "Mike Kolesnik" < mkole...@redhat.com >, "users" < users@ovirt.org >
> > > Sent: Thursday, May 9, 2013 3:22:45 PM
> > > Subject: Re: [Users] Openstack Quantum , Cinder and Glance integration
> > > with
> > > oVirt.
> > >
> > > On 05/09/2013 09:34 AM, Romil Gupta wrote:
> > > > Thanks Mike , I have already gone through the links you suggested
> > > > above.
> > > > As of now I am more interested to know about Cinder and glance
> > > > integration with oVirt. It would be a great help if you share some
> > > > references over this.
> > >
> > > Hi Romil,
> > >
> > > please note the quantum, glance and cinder integration allow ovirt to
> > > consume these services.
> > > from what i understood from the blueprint approach you took, you want
> > > openstack to consume ovirt.
> > >
> > >
> > > for glance, ovirt will allow to import glance images as templates, but
> > > to easily launch openstack instances on ovirt, your glance-ovirt-driver
> > > seems a better solution.
> > >
> > > for cinder, will take more time for ovirt to support a cinder storage
> > > domain, but if you want to use openstack with cinder-ovirt-driver, so a
> > > nova-ovirt-driver will be able to use the 'cinder' volumes from ovirt, i
> > > think oved can share his POC code for this.
> > >
> >
> > Romil, if you indeed need that one, let me know.
> > It has been a while since I touched it so need to track it down, and do
> > some
> > cleanups and stuff there before I send it to you,
> >
> > Oved
> >
> > > HTH,
> > > Itamar
> > >
> > > >
> > > >
> > > > On Thu, May 9, 2013 at 11:58 AM, Mike Kolesnik < mkole...@redhat.com
> > > > > wrote:
> > > >
> > > >
> > > >
> > > >
> > > > Hi ,
> > > >
> > > > H