
=0A> > Sent: Wednesday, May 28, 2014 2:46:00 PM=0A> > Subject: [ovirt-user= s] Nova- oVirt Driver : Adding NIC to VM=0A> > =0A> > Hi All,=0A> > =0A> > = I am working on Nova - oVirt driver. I was able to test the VM life cycle= =0A> > successfully - spawn, suspend, resume, shuttof, start and terminate.= =0A> > =0A> > I am now exploring the Neutron integration in oVirt. I have i= mported the=0A> > Network (Net1) form Openstack to oVirt.=0A> > =0A> > I ge= t the below error when I try to add a NIC (for imported Net1) to the VM=0A>= (created by Nova-oVirt driver), having the same MAC address which is=0A>= assigned in Openstack (Port Details page).=0A> > =0A> > "Error while exe= cuting action Add NIC to VM: Failed to communicate with the=0A> > external =
---2097401939-678094741-1402997843=:46839 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi Moti,=0A=0AThankYou for your inputs.=0A=0AI want a VM to be launched in = oVirt, through Nova. i.e., When I say,launch new instance in OpenStack, int= ernally VM should get created in oVirt Host, with the same mac address as a= ssigned by OpenStack, get added to the same Network as selected in OpenStac= k.=A0=0A=0AI am able to spawn a VM =A0and run through the complete the full= lifecycle (spawn, pause, reboot, terminate etc).=A0=0A=0ANow, I am looking= at how can I add NIC with the same mac address. I see port is already been= created at the OpenStack end.=0A=0AShould I Hot plug it?=0A=0Aor=0A=0APrev= ent Neutron from creating port initially and later use the port created by = the oVirt to Neutron?=A0=0A=0APlease suggest your thoughts on this.=0A=0A= =0ARegards,=0AUdaya Kiran=0A=0A=0AOn Tuesday, 17 June 2014 2:33 PM, Moti As= ayag <masayag@redhat.com> wrote:=0A =0A=0A=0A=0A=0A----- Original Message -= ----=0A> From: "Udaya Kiran P" <ukiran770@yahoo.in>=0A> To: "Moti Asayag" <= masayag@redhat.com>=0A> Cc: "users" <users@ovirt.org>=0A> Sent: Tuesday, Ju= ne 17, 2014 8:46:19 AM=0A> Subject: Re: [ovirt-users] Nova- oVirt Driver : = Adding NIC to VM=0A> =0A> Hi Moti,=0A> =0A> Sorry for the delayed response.= =0A> =0A> The command neutron agent-list on the neutron server gives the al= ive status=0A> as xxx, for the neutron-ovs-agent that is installed on the o= Virt Host.=0A> =A0However, I am able to import the network from OpenStack i= nto oVirt.=0A> =0A> The port for the mac_address assigned is already create= d in the neutron=0A> server. Therefore, when I try to add it again, it give= s error, port already=0A> exists.=0A> =0A> How do I attach this port to the= VM in oVirt.=0A=0AIn the ovirt-neutron integration the ports are allocated= for the vm by ovirt.=0AThe ovirt-engine creates the port on the neutron se= rver and bind it to the=0Avm nic:=0A1. Click on the specific vm=0A2. Select= the 'Vm Interfaces' sub tab=0A3. Add a vm interface, and select the profil= e/network of Net1 (the imported neutron=0Anetwork).=0A=0AAt this point, you= should see on your neutron server the created port (by 'neutron port-list'= ).=0AThe mac address for that port will be the one selected by the engine.= =0AYou can provide your own custom mac address (as long it is unique).=0A= =0AOnce the vm is started or if the nic was added while the vm is running (= hotplug),=0Athe vdsm-hook-openstacknet will wire the port to the integratio= n bridge and=0Athe neutron-ovs-agent will become aware of it.=0A=0ACould yo= u elaborate about your use-cases and what would you like to achieve=0Awith = ovirt-neutron ? =0A=0AYou can also ping me (masayag) on #ovirt (oftc.net)= =0A=0ARegards,=0A=0AMoti=0A=0A> =0A> How do I interact with the neutron-ovs= -agent to get the port and assign to=0A> oVirt VM.=0A> =0A> Please suggest = your inputs.=0A> =0A> Thank You.=0A> =0A> Regards,=0A> Udaya Kiran=0A> =0A>= =0A> On Wednesday, 28 May 2014 5:54 PM, Moti Asayag <masayag@redhat.com> w= rote:=0A>=A0 =0A> =0A> =0A> =0A> =0A> ----- Original Message -----=0A> > Fr= om: "Udaya Kiran P" <ukiran770@yahoo.in>=0A> > To: "users" <users@ovirt.org= provider."=0A> > =0A> > However, I am able to add a NIC with different MAC = address.=0A> > =0A> > What changes needs to be done to add a NIC with MAC a= ddress as assigned by=0A> > Neutron? Please suggest.=0A> > =0A> =0A> Could = you attach the neutron server log (/etc/neutron/server.log) from the=0A> ex= ternal network provider ?=0A> =0A> =0A> > I am using oVirt 3.4.0-1.fc19.=0A=
=0A> > Thank you.=0A> > =0A> > Regards,=0A> > Udaya Kiran=0A> > =0A> > = _______________________________________________=0A> > Users mailing list=0A= Users@ovirt.org=0A> > http://lists.ovirt.org/mailman/listinfo/users=0A>=
><br clear=3D"none">> To: "Moti Asayag" <<a shape=3D"rect" ymailt= o=3D"mailto:masayag@redhat.com" href=3D"mailto:masayag@redhat.com">masayag@= redhat.com</a>><br clear=3D"none">> Cc: "users" <<a shape=3D"rect"= ymailto=3D"mailto:users@ovirt.org" href=3D"mailto:users@ovirt.org">users@o= virt.org</a>><br clear=3D"none">> Sent: Tuesday, June 17, 2014 8:46:1= 9 AM<br clear=3D"none">> Subject: Re: [ovirt-users] Nova- oVirt Driver := Adding NIC to VM<br clear=3D"none">> <br clear=3D"none">> Hi Moti,<b= r clear=3D"none">> <br clear=3D"none">> Sorry for the delayed respons= e.<br clear=3D"none">> <br clear=3D"none">> The command neutron agent= -list on the neutron server gives the alive status<br clear=3D"none">> a= s xxx, for the neutron-ovs-agent that is installed on the oVirt Host.<br clear=3D"none">> However, I am= able to import the network from OpenStack into oVirt.<br clear=3D"none">&g= t; <br clear=3D"none">> The port for the mac_address assigned is already= created in the neutron<br clear=3D"none">> server. Therefore, when I tr= y to add it again, it gives error, port already<br clear=3D"none">> exis= ts.<br clear=3D"none">> <br clear=3D"none">> How do I attach this por= t to the VM in oVirt.<br clear=3D"none"><br clear=3D"none">In the ovirt-neu=
3. Add a vm interface, and select the profile/network of Net1 (the importe= d neutron<br clear=3D"none">network).<br clear=3D"none"><br clear=3D"none">= At this point, you should see on your neutron server the created port (by 'neutron port-list').<br c= lear=3D"none">The mac address for that port will be the one selected by the= engine.<br clear=3D"none">You can provide your own custom mac address (as = long it is unique).<br clear=3D"none"><br clear=3D"none">Once the vm is sta= rted or if the nic was added while the vm is running (hotplug),<br clear=3D= "none">the vdsm-hook-openstacknet will wire the port to the integration bri= dge and<br clear=3D"none">the neutron-ovs-agent will become aware of it.<br= clear=3D"none"><br clear=3D"none">Could you elaborate about your use-cases= and what would you like to achieve<br clear=3D"none">with ovirt-neutron ? = <br clear=3D"none"><br clear=3D"none">You can also ping me (masayag) on #ov= irt (oftc.net)<br clear=3D"none"><br clear=3D"none">Regards,<div class=3D"y= qt3554842181" id=3D"yqtfd20341"><br clear=3D"none">Moti<br clear=3D"none"><= br clear=3D"none">> <br clear=3D"none">> How do I interact with the n= eutron-ovs-agent to get the
---2097401939-678094741-1402997843=:46839 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"color:#000; background-color:#fff; font-family:ti= mes new roman, new york, times, serif;font-size:10pt"><div><span>Hi Moti,</= span></div><div style=3D"color: rgb(0, 0, 0); font-size: 13px; font-family:= 'times new roman', 'new york', times, serif; font-style: normal; backgroun= d-color: transparent;"><span><br></span></div><div style=3D"color: rgb(0, 0= , 0); font-size: 13px; font-family: 'times new roman', 'new york', times, s= erif; font-style: normal; background-color: transparent;"><span>ThankYou fo= r your inputs.</span></div><div style=3D"color: rgb(0, 0, 0); font-size: 13= px; font-family: 'times new roman', 'new york', times, serif; font-style: n= ormal; background-color: transparent;"><span><br></span></div><div style=3D= "color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new= york', times, serif; font-style: normal; background-color: transparent;"><= span>I want a VM to be launched in oVirt, through Nova. i.e., When I say,launch new instance in OpenStack, internally VM should get created in = oVirt Host, with the same mac address as assigned by OpenStack, get added t= o the same Network as selected in OpenStack. </span></div><div style= =3D"color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', '= new york', times, serif; font-style: normal; background-color: transparent;= "><span><br></span></div><div style=3D"color: rgb(0, 0, 0); font-size: 13px= ; font-family: 'times new roman', 'new york', times, serif; font-style: nor= mal; background-color: transparent;"><span>I am able to spawn a VM an= d run through the complete the full lifecycle (spawn, pause, reboot, termin= ate etc). </span></div><div style=3D"color: rgb(0, 0, 0); font-size: 1= 3px; font-family: 'times new roman', 'new york', times, serif; font-style: = normal; background-color: transparent;"><span><br></span></div><div style= =3D"color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', '= new york', times, serif; font-style: normal; background-color: transparent;"><= span>Now, I am looking at how can I add NIC with the same mac address. I se= e port is already been created at the OpenStack end.</span></div><div style= =3D"color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', '= new york', times, serif; font-style: normal; background-color: transparent;= "><span><br></span></div><div style=3D"color: rgb(0, 0, 0); font-size: 13px= ; font-family: 'times new roman', 'new york', times, serif; font-style: nor= mal; background-color: transparent;"><span>Should I Hot plug it?</span></di= v><div style=3D"color: rgb(0, 0, 0); font-size: 13px; font-family: 'times n= ew roman', 'new york', times, serif; font-style: normal; background-color: = transparent;"><span><br></span></div><div style=3D"color: rgb(0, 0, 0); fon= t-size: 13px; font-family: 'times new roman', 'new york', times, serif; fon= t-style: normal; background-color: transparent;"><span>or</span></div><div style=3D"color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new rom= an', 'new york', times, serif; font-style: normal; background-color: transp= arent;"><span><br></span></div><div style=3D"color: rgb(0, 0, 0); font-size= : 13px; font-family: 'times new roman', 'new york', times, serif; font-styl= e: normal; background-color: transparent;"><span>Prevent Neutron from creat= ing port initially and later use the port created by the oVirt to Neutron?&= nbsp;</span></div><div style=3D"color: rgb(0, 0, 0); font-size: 13px; font-= family: 'times new roman', 'new york', times, serif; font-style: normal; ba= ckground-color: transparent;"><span><br></span></div><div style=3D"color: r= gb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', t= imes, serif; font-style: normal; background-color: transparent;"><span styl= e=3D"background-color: transparent;">Please suggest your thoughts on this.<= /span><br></div><div style=3D"color: rgb(0, 0, 0); font-size: 13px; font-fa= mily: 'times new roman', 'new york', times, serif; font-style: normal; backgroun= d-color: transparent;"><span><br></span></div><div style=3D"color: rgb(0, 0= , 0); font-size: 13px; font-family: 'times new roman', 'new york', times, s= erif; font-style: normal; background-color: transparent;"><span>Regards,</s= pan></div><div style=3D"color: rgb(0, 0, 0); font-size: 13px; font-family: = 'times new roman', 'new york', times, serif; font-style: normal; background= -color: transparent;"><span>Udaya Kiran</span></div> <div class=3D"qtdSepar= ateBR"><br><br></div><div class=3D"yahoo_quoted" style=3D"display: block;">= <div style=3D"font-family: 'times new roman', 'new york', times, serif; fo= nt-size: 10pt;"> <div style=3D"font-family: 'times new roman', 'new york', = times, serif; font-size: 12pt;"> <div dir=3D"ltr"> <font size=3D"2" face=3D= "Arial"> On Tuesday, 17 June 2014 2:33 PM, Moti Asayag <masayag@redhat.c= om> wrote:<br> </font> </div> <br><br> <div class=3D"y_msg_container"><= br clear=3D"none"><br clear=3D"none">----- Original Message -----<br clear=3D= "none">> From: "Udaya Kiran P" <<a shape=3D"rect" ymailto=3D"mailto:u= kiran770@yahoo.in" href=3D"mailto:ukiran770@yahoo.in">ukiran770@yahoo.in</a= tron integration the ports are allocated for the vm by ovirt.<br clear=3D"n= one">The ovirt-engine creates the port on the neutron server and bind it to= the<br clear=3D"none">vm nic:<br clear=3D"none">1. Click on the specific v= m<br clear=3D"none">2. Select the 'Vm Interfaces' sub tab<br clear=3D"none"= port and assign to<br clear=3D"none">> oVirt VM.<br clear=3D"none">>= <br clear=3D"none">> Please suggest your inputs.<br clear=3D"none">>= <br clear=3D"none">> Thank You.<br clear=3D"none">> <br clear=3D"non= e">> Regards,<br clear=3D"none">> Udaya Kiran<br clear=3D"none">> = <br clear=3D"none">> <br clear=3D"none">> On Wednesday, 28 May 2014 5= :54 PM, Moti Asayag <<a shape=3D"rect" ymailto=3D"mailto:masayag@redhat.= com" href=3D"mailto:masayag@redhat.com">masayag@redhat.com</a>> wrote:<b= r clear=3D"none">> <br clear=3D"none">> <br clear=3D"none">>= <br clear=3D"none">> <br clear=3D"none">> <br clear=3D"none">> --= --- Original Message -----<br clear=3D"none">> > From: "Udaya Kiran P= " <<a shape=3D"rect" ymailto=3D"mailto:ukiran770@yahoo.in" href=3D"mailt= o:ukiran770@yahoo.in">ukiran770@yahoo.in</a>><br clear=3D"none">> >= ; To: "users" <<a shape=3D"rect" ymailto=3D"mailto:users@ovirt.org" href=3D"mailto:users@ovirt.org">users@ovirt.org</a>><br clear=3D"none">= > > Sent: Wednesday, May 28, 2014 2:46:00 PM<br clear=3D"none">> &= gt; Subject: [ovirt-users] Nova- oVirt Driver : Adding NIC to VM<br clear= =3D"none">> > <br clear=3D"none">> > Hi All,<br clear=3D"none">= > > <br clear=3D"none">> > I am working on Nova - oVirt driver.= I was able to test the VM life cycle<br clear=3D"none">> > successfu= lly - spawn, suspend, resume, shuttof, start and terminate.<br clear=3D"non= e">> > <br clear=3D"none">> > I am now exploring the Neutron in= tegration in oVirt. I have imported the<br clear=3D"none">> > Network= (Net1) form Openstack to oVirt.<br clear=3D"none">> > <br clear=3D"n= one">> > I get the below error when I try to add a NIC (for imported = Net1) to the VM<br clear=3D"none">> > (created by Nova-oVirt driver),= having the same MAC address which is<br clear=3D"none">> > assigned = in Openstack (Port Details page).<br clear=3D"none">> > <br clear=3D"none">> > "E= rror while executing action Add NIC to VM: Failed to communicate with the<b= r clear=3D"none">> > external provider."<br clear=3D"none">> > = <br clear=3D"none">> > However, I am able to add a NIC with different= MAC address.<br clear=3D"none">> > <br clear=3D"none">> > What= changes needs to be done to add a NIC with MAC address as assigned by<br c= lear=3D"none">> > Neutron? Please suggest.<br clear=3D"none">> >= ; <br clear=3D"none">> <br clear=3D"none">> Could you attach the neut= ron server log (/etc/neutron/server.log) from the<br clear=3D"none">> ex= ternal network provider ?<br clear=3D"none">> <br clear=3D"none">> <b= r clear=3D"none">> > I am using oVirt 3.4.0-1.fc19.<br clear=3D"none"=
> > <br clear=3D"none">> > Thank you.<br clear=3D"none">> &= gt; <br clear=3D"none">> > Regards,<br clear=3D"none">> > Udaya= Kiran<br clear=3D"none">> > <br clear=3D"none">> > _____________________________________________= __<br clear=3D"none">> > Users mailing list<br clear=3D"none">> &g= t; <a shape=3D"rect" ymailto=3D"mailto:Users@ovirt.org" href=3D"mailto:User= s@ovirt.org">Users@ovirt.org</a><br clear=3D"none">> > <a shape=3D"re= ct" href=3D"http://lists.ovirt.org/mailman/listinfo/users" target=3D"_blank= ">http://lists.ovirt.org/mailman/listinfo/users</a><br clear=3D"none">> = ></div><br><br></div> </div> </div> </div> </div></body></html> ---2097401939-678094741-1402997843=:46839--