[Users] Openstack Quantum , Cinder and Glance integration with oVirt.

Mike Kolesnik mkolesni at redhat.com
Tue Jun 4 13:08:36 UTC 2013


> Today I setup an ovirt-engine 3.3 and tried to add the openstack network and
> its added successfully but I was not able to find any discover tab that I
> saw in the demo video.

Hi, 

The current released version, is 3.2. 
The Quantum integration patches are planned for 3.3 and are currently still being worked on. 

They will be merged to the master branch soon but currently the only thing that is merged is the ability to add the provider (not use it, yet). 

Regards, 
Mike 

> http://www.ovirt.org/Features/Detailed_Quantum_Integration#Proof_of_Concept

> http://www.ovirt.org/Features/Detailed_Quantum_Integration
> I have also attached the snapshot of my ovirt setup.

> Can anyone help me out. Thanks in advance.

> On Mon, May 20, 2013 at 3:54 PM, Romil Gupta < romilgupta19 at gmail.com >
> wrote:

> > Thanks Oved,
> 

> > I am using the grizzly-3 code, and I will implement the remaining methods.
> 

> > On Mon, May 20, 2013 at 3:50 PM, Oved Ourfalli < ovedo at redhat.com > wrote:
> 

> > > ----- Original Message -----
> > 
> 
> > > > From: "Romil Gupta" < romilgupta19 at gmail.com >
> > 
> 
> > > > To: "Oved Ourfalli" < ovedo at redhat.com >
> > 
> 
> > > > Cc: "users" < users at ovirt.org >
> > 
> 
> > > > Sent: Monday, May 20, 2013 1:15:04 PM
> > 
> 
> > > > Subject: Re: [Users] Openstack Quantum , Cinder and Glance integration
> > > > with
> > > > oVirt.
> > 
> 
> > > >
> > 
> 
> > > > Hi ,
> > 
> 
> > > >
> > 
> 
> > > > Thanks for the help, I am able to load the ovirt-cinder driver. But ,
> > > > got
> > 
> 
> > > > stuck in creating the volumes.
> > 
> 
> > > >
> > 
> 
> > > > cinder/volume.log:
> > 
> 
> > > >
> > 
> 
> > > > 2013-05-20 14:36:48.161 6699 INFO cinder.service [-] Caught SIGTERM,
> > > > stopping
> > 
> 
> > > > children
> > 
> 
> > > > 2013-05-20 14:36:48.162 6699 INFO cinder.service [-] Waiting on 1
> > > > children
> > > > to
> > 
> 
> > > > exit
> > 
> 
> > > > 2013-05-20 14:36:48.162 6720 INFO cinder.service [-] Caught SIGTERM,
> > > > exiting
> > 
> 
> > > > 2013-05-20 14:36:48.175 6699 INFO cinder.service [-] Child 6720 exited
> > > > with
> > 
> 
> > > > status 1
> > 
> 
> > > > 2013-05-20 14:36:50.572 7116 INFO cinder.volume.manager [-]
> > > > volume_driver
> > 
> 
> > > > ==>> cinder.volume.drivers.ovirt.OVirtDriver
> > 
> 
> > > > 2013-05-20 14:36:50.573 7116 INFO cinder.service [-] Starting 1 workers
> > 
> 
> > > > 2013-05-20 14:36:50.576 7116 INFO cinder.service [-] Started child 7151
> > 
> 
> > > > 2013-05-20 14:36:50.585 7151 AUDIT cinder.service [-] Starting
> > > > cinder-volume
> > 
> 
> > > > node (version 2013.1)
> > 
> 
> > > > 2013-05-20 14:36:51.679 INFO cinder.volume.drivers.rhevm
> > 
> 
> > > > [req-0dc7b534-0a06-4073-8769-651549730b65 None None] ====Connected to
> > > > oVirt
> > 
> 
> > > > Successful====
> > 
> 
> > > > 2013-05-20 14:36:52.178 INFO cinder.volume.manager
> > 
> 
> > > > [req-0dc7b534-0a06-4073-8769-651549730b65 None None] Updating volume
> > > > status
> > 
> 
> > > > 2013-05-20 14:36:52.331 7151 INFO cinder.openstack.common.rpc.common
> > > > [-]
> > 
> 
> > > > Connected to AMQP server on localhost:5672
> > 
> 
> > > > 2013-05-20 14:37:37.351 INFO cinder.volume.manager
> > 
> 
> > > > [req-3f3f037e-71aa-4bfa-b40f-1245aa52811d None None] Updating volume
> > > > status
> > 
> 
> > > >
> > 
> 
> > > >
> > 
> 
> > > > After , I tried " cinder create --display-name disk1 5 "
> > 
> 
> > > >
> > 
> 
> > > > and got the following in scheduler log :
> > 
> 
> > > >
> > 
> 
> > > > 2013-05-20 14:56:49.499 7094 AUDIT cinder.service [-] SIGTERM received
> > 
> 
> > > > 2013-05-20 14:56:51.485 7460 AUDIT cinder.service [-] Starting
> > 
> 
> > > > cinder-scheduler node (version 2013.1)
> > 
> 
> > > > 2013-05-20 14:56:51.548 7460 INFO cinder.openstack.common.rpc.common
> > > > [-]
> > 
> 
> > > > Connected to AMQP server on localhost:5672
> > 
> 
> > > > 2013-05-20 14:56:51.860 7460 INFO cinder.openstack.common.rpc.common
> > > > [-]
> > 
> 
> > > > Connected to AMQP server on localhost:5672
> > 
> 
> > > > 2013-05-20 14:58:11.888 WARNING cinder.scheduler.host_manager
> > 
> 
> > > > [req-644215b3-7e4d-4761-a533-b76db6cfbcaf
> > > > 724c0c1ff7774234a01d87968a7eb4bc
> > 
> 
> > > > 768105b3d64748ca8776bf8f13e8f3c9] service is down or disabled.
> > 
> 
> > > > 2013-05-20 14:58:11.890 WARNING
> > > > cinder.scheduler.filters.capacity_filter
> > 
> 
> > > > [req-644215b3-7e4d-4761-a533-b76db6cfbcaf
> > > > 724c0c1ff7774234a01d87968a7eb4bc
> > 
> 
> > > > 768105b3d64748ca8776bf8f13e8f3c9] Free capacity not set;volume node
> > > > info
> > 
> 
> > > > collection broken.
> > 
> 
> > > > 2013-05-20 14:58:11.891 WARNING cinder.scheduler.manager
> > 
> 
> > > > [req-644215b3-7e4d-4761-a533-b76db6cfbcaf
> > > > 724c0c1ff7774234a01d87968a7eb4bc
> > 
> 
> > > > 768105b3d64748ca8776bf8f13e8f3c9] Failed to schedule_create_volume: No
> > > > valid
> > 
> 
> > > > host was found.
> > 
> 
> > > >
> > 
> 
> > > > 1. Do we need to implement more methods in OVirtDriver for cinder?
> > 
> 
> > > > 2. Why the request is not going to 'create_volume' method in
> > > > cinder.volume.
> > 
> 
> > > > ovirt.OVirtDriver ?
> > 
> 
> > > >
> > 
> 
> > > I'm sure that you may need more methods, as this was POC code, so we only
> > > put
> > > the minimum required.
> > 
> 
> > > It was based on FOLSOM, so if you're working with a more updated version
> > > then
> > > the interfaces might have changed.
> > 
> 
> > > I did that a few months ago, so I currently don't have an environment in
> > > which I can test that. However, from the errors it looks like it is an
> > > environmental issue, as it didn't even get to the driver (it says it
> > > failed
> > > to schedule the cinder command).
> > 
> 

> > > Oved
> > 
> 
> > > > It would be great if you answer the above questions.
> > 
> 
> > > >
> > 
> 
> > > > Thanks,
> > 
> 
> > > > Romil
> > 
> 
> > > >
> > 
> 
> > > >
> > 
> 
> > > > On Sun, May 19, 2013 at 10:44 AM, Oved Ourfalli < ovedo at redhat.com >
> > > > wrote:
> > 
> 
> > > >
> > 
> 
> > > >
> > 
> 
> > > > 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 at 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" < romilgupta19 at gmail.com >
> > 
> 
> > > > > To: "Oved Ourfalli" < ovedo at redhat.com >
> > 
> 
> > > > > Cc: "users" < users at ovirt.org >
> > 
> 
> > > > > 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 at 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 < romilgupta19 at 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 < ovedo at redhat.com >
> > > > > wrote:
> > 
> 
> > > > >
> > 
> 
> > > > >
> > 
> 
> > > > >
> > 
> 
> > > > >
> > 
> 
> > > > >
> > 
> 
> > > > > ----- Original Message -----
> > 
> 
> > > > > > From: "Romil Gupta" < romilgupta19 at gmail.com >
> > 
> 
> > > > > > To: "Oved Ourfalli" < ovedo at redhat.com >
> > 
> 
> > > > > > Cc: "users" < users at 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 < ovedo at redhat.com >
> > > > > > wrote:
> > 
> 
> > > > > >
> > 
> 
> > > > > >
> > 
> 
> > > > > >
> > 
> 
> > > > > >
> > 
> 
> > > > > >
> > 
> 
> > > > > > ----- Original Message -----
> > 
> 
> > > > > > > From: "Itamar Heim" < iheim at redhat.com >
> > 
> 
> > > > > > > To: "Romil Gupta" < romilgupta19 at gmail.com >, "Oved Ourfalli" <
> > 
> 
> > > > > > > oourfali at redhat.com >
> > 
> 
> > > > > > > Cc: "Mike Kolesnik" < mkolesni at redhat.com >, "users" <
> > > > > > > users at 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 <
> > > > > > > > mkolesni at redhat.com
> > 
> 
> > > > > > > > <mailto: mkolesni at redhat.com >> wrote:
> > 
> 
> > > > > > > >
> > 
> 
> > > > > > > > ------------------------------------------------------------------------
> > 
> 
> > > > > > > >
> > 
> 
> > > > > > > >
> > 
> 
> > > > > > > > Hi ,
> > 
> 
> > > > > > > >
> > 
> 
> > > > > > > > Hi Romil,
> > 
> 
> > > > > > > >
> > 
> 
> > > > > > > >
> > 
> 
> > > > > > > > It would be great to know about the Quantum integration with
> > 
> 
> > > > > > > > oVirt and eagerly waiting for its release date.
> > 
> 
> > > > > > > >
> > 
> 
> > > > > > > > Quantum integration is moving along nicely, we already have a
> > 
> 
> > > > > > > > working POC with the Quantum Linux Bridge plugin.
> > 
> 
> > > > > > > > We are currently working on stabilizing the POC and making it a
> > > > > > > > tech
> > 
> 
> > > > > > > > preview for the 3.3 release.
> > 
> 
> > > > > > > > You can see the relevant details here:
> > 
> 
> > > > > > > > www.ovirt.org/Features/Detailed_Quantum_Integration
> > 
> 
> > > > > > > > < http://www.ovirt.org/Features/Detailed_Quantum_Integration >
> > 
> 
> > > > > > > >
> > 
> 
> > > > > > > > Also if you're interested in the POC, you can see details (and
> > 
> 
> > > > > > > > videso) here:
> > 
> 
> > > > > > > > http://www.ovirt.org/Features/Detailed_Quantum_Integration#Proof_of_Concept
> > 
> 
> > > > > > > >
> > 
> 
> > > > > > > > Regards,
> > 
> 
> > > > > > > > Mike
> > 
> 
> > > > > > > >
> > 
> 
> > > > > > > >
> > 
> 
> > > > > > > > If possible, Can anyone please share the references( demo video
> > 
> 
> > > > > > > > , ppt ,link or git ) for Cinder and Glance integration.
> > 
> 
> > > > > > > >
> > 
> 
> > > > > > > > *
> > 
> 
> > > > > > > > *
> > 
> 
> > > > > > > > *Regards,*
> > 
> 
> > > > > > > > *Romil Gupta
> > 
> 
> > > > > > > > *
> > 
> 
> > > > > > > >
> > 
> 
> > > > > > > > _______________________________________________
> > 
> 
> > > > > > > > Users mailing list
> > 
> 
> > > > > > > > Users at ovirt.org <mailto: Users at ovirt.org >
> > 
> 
> > > > > > > > http://lists.ovirt.org/mailman/listinfo/users
> > 
> 
> > > > > > > >
> > 
> 
> > > > > > > >
> > 
> 
> > > > > > > >
> > 
> 
> > > > > > > >
> > 
> 
> > > > > > > >
> > 
> 
> > > > > > > > --
> > 
> 
> > > > > > > > *Thanks & Regards,*
> > 
> 
> > > > > > > > *Romil Gupta
> > 
> 
> > > > > > > > *
> > 
> 
> > > > > > > >
> > 
> 
> > > > > > > >
> > 
> 
> > > > > > > > _______________________________________________
> > 
> 
> > > > > > > > Users mailing list
> > 
> 
> > > > > > > > Users at ovirt.org
> > 
> 
> > > > > > > > http://lists.ovirt.org/mailman/listinfo/users
> > 
> 
> > > > > > > >
> > 
> 
> > > > > > >
> > 
> 
> > > > > > >
> > 
> 
> > > > > >
> > 
> 
> > > > > >
> > 
> 
> > > > > >
> > 
> 
> > > > > > --
> > 
> 
> > > > > > Thanks & Regards,
> > 
> 
> > > > > > Romil Gupta
> > 
> 
> > > > > >
> > 
> 
> > > > > >
> > 
> 
> > > > > > _______________________________________________
> > 
> 
> > > > > > Users mailing list
> > 
> 
> > > > > > Users at ovirt.org
> > 
> 
> > > > > > http://lists.ovirt.org/mailman/listinfo/users
> > 
> 
> > > > > >
> > 
> 
> > > > >
> > 
> 
> > > > >
> > 
> 
> > > > >
> > 
> 
> > > > > --
> > 
> 
> > > > > Thanks & Regards,
> > 
> 
> > > > > Romil Gupta
> > 
> 
> > > > >
> > 
> 
> > > > >
> > 
> 
> > > > >
> > 
> 
> > > > >
> > 
> 
> > > > > --
> > 
> 
> > > > > Regards,
> > 
> 
> > > > > Romil
> > 
> 
> > > > >
> > 
> 
> > > > >
> > 
> 
> > > > > _______________________________________________
> > 
> 
> > > > > Users mailing list
> > 
> 
> > > > > Users at ovirt.org
> > 
> 
> > > > > http://lists.ovirt.org/mailman/listinfo/users
> > 
> 
> > > > >
> > 
> 
> > > >
> > 
> 
> > > >
> > 
> 
> > > >
> > 
> 
> > > > --
> > 
> 
> > > > Regards,
> > 
> 
> > > > Romil
> > 
> 
> > > >
> > 
> 
> > > >
> > 
> 
> > > > _______________________________________________
> > 
> 
> > > > Users mailing list
> > 
> 
> > > > Users at ovirt.org
> > 
> 
> > > > http://lists.ovirt.org/mailman/listinfo/users
> > 
> 
> > > >
> > 
> 

> > --
> 
> > Regards,
> 
> > Romil
> 

> --
> Regards,
> Romil

> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20130604/f4473101/attachment-0001.html>


More information about the Users mailing list