--1733456068-2106443944-1403005886=:95039
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Hi Moti,=0A=0AFew more thoughts..=0A=0A1) Can I bypass the ovirt-neutron dr=
iver, =A0to make ovirt to add NIC only within it and not going to OpenStack=
- as to avoid port already exists error?=0A=0A2) Delete the port created =
=A0by OpenStack, in my driver code and recreate same via oVirt by allow it =
to be created through oVirt?=0A=0A=0APlease suggest your inputs.=0A=0A=0ATh=
anks much.=0A=0ARegards,=0AUdaya Kiran=0A=0A=0AOn Tuesday, 17 June 2014 4:5=
5 PM, Moti Asayag <masayag(a)redhat.com> wrote:=0A =0A=0A=0A=0A=0A----- Origi=
nal Message -----=0A> From: "Udaya Kiran P" <ukiran770(a)yahoo.in>=0A>
To: "M=
oti Asayag" <masayag(a)redhat.com>=0A> Cc: "users"
<users(a)ovirt.org>=0A> Sent=
: Tuesday, June 17, 2014 12:37:23 PM=0A> Subject: Re: [ovirt-users] Nova- o=
Virt Driver : Adding NIC to VM=0A> =0A> Hi Moti,=0A> =0A> ThankYou for your=
inputs.=0A> =0A> I want a VM to be launched in oVirt, through Nova. i.e., =
When I say,launch=0A> new instance in OpenStack, internally VM should get c=
reated in oVirt Host,=0A> with the same mac address as assigned by OpenStac=
k, get added to the same=0A> Network as selected in OpenStack.=0A> =0A> I a=
m able to spawn a VM =A0and run through the complete the full lifecycle=0A>=
(spawn, pause, reboot, terminate etc).=0A> =0A> Now, I am looking at how c=
an I add NIC with the same mac address. I see port=0A> is already been crea=
ted at the OpenStack end.=0A> =0A> Should I Hot plug it?=0A> =0A> or=0A> =
=0A> Prevent Neutron from creating port initially and later use the port cr=
eated=0A> by the oVirt to Neutron?=0A=0AThis seems like the right approach.=
=0A=0A=0A> =0A> Please suggest your thoughts on this.=0A> =0A> =0A>
Regards=
,=0A> Udaya Kiran=0A> =0A> =0A> On Tuesday, 17 June 2014 2:33 PM, Moti Asay=
ag <masayag(a)redhat.com> wrote:=0A>=A0 =0A> =0A> =0A> =0A> =0A>
----- Origin=
al Message -----=0A> > From: "Udaya Kiran P"
<ukiran770(a)yahoo.in>=0A> > To:=
"Moti Asayag" <masayag(a)redhat.com>=0A> > Cc: "users"
<users(a)ovirt.org>=0A>=
Sent: Tuesday, June 17, 2014 8:46:19 AM=0A> > Subject: Re:
[ovirt-users]=
Nova- oVirt Driver : Adding NIC to VM=0A> > =0A> > Hi
Moti,=0A> > =0A> > S=
orry for the delayed response.=0A> > =0A> > The command neutron agent-list =
on the neutron server gives the alive status=0A> > as xxx, for the neutron-=
ovs-agent that is installed on the oVirt Host.=0A> > =A0However, I am able =
to import the network from OpenStack into oVirt.=0A> > =0A> > The port for =
the mac_address assigned is already created in the neutron=0A> > server. Th=
erefore, when I try to add it again, it gives error, port already=0A> > exi=
sts.=0A> > =0A> > How do I attach this port to the VM in oVirt.=0A> =0A>
In=
the ovirt-neutron integration the ports are allocated for the vm by ovirt.=
=0A> The ovirt-engine creates the port on the neutron server and bind it to=
the=0A> vm nic:=0A> 1. Click on the specific vm=0A> 2. Select the 'Vm Inte=
rfaces' sub tab=0A> 3. Add a vm interface, and select the profile/network o=
f Net1 (the imported=0A> neutron=0A> network).=0A> =0A> At this point, you =
should see on your neutron server the created port (by=0A> 'neutron port-li=
st').=0A> The mac address for that port will be the one selected by the eng=
ine.=0A> You can provide your own custom mac address (as long it is unique)=
.=0A> =0A> Once the vm is started or if the nic was added while the vm is r=
unning=0A> (hotplug),=0A> the vdsm-hook-openstacknet will wire the port to =
the integration bridge and=0A> the neutron-ovs-agent will become aware of i=
t.=0A> =0A> Could you elaborate about your use-cases and what would you lik=
e to achieve=0A> with ovirt-neutron ?=0A> =0A> You can also ping me (masaya=
g) on #ovirt (oftc.net)=0A> =0A> Regards,=0A> =0A> Moti=0A> =0A> >
=0A> > H=
ow 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> > Than=
k You.=0A> > =0A> > Regards,=0A> > Udaya Kiran=0A> > =0A> >
=0A> > On Wedne=
sday, 28 May 2014 5:54 PM, Moti Asayag <masayag(a)redhat.com> wrote:=0A> >=A0=
=0A> > =0A> > =0A> > =0A> > =0A> > ----- Original Message
-----=0A> > > Fr=
om: "Udaya Kiran P" <ukiran770(a)yahoo.in>=0A> > > To:
"users" <users(a)ovirt.o=
rg>=0A> > > Sent: Wednesday, May 28, 2014 2:46:00 PM=0A> > > Subject:
[ovir=
t-users] 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 V=
M life cycle=0A> > > successfully - spawn, suspend,
resume, shuttof, start =
and terminate.=0A> > > =0A> > > I am now exploring the Neutron
integration =
in oVirt. I have imported the=0A> > > Network (Net1) form Openstack to oVir=
t.=0A> > > =0A> > > I get the below error when I try to add a NIC (for
impo=
rted Net1) to the=0A> > > 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 executing action Add NIC to
VM: Failed=
to communicate with=0A> > > the=0A> > > external 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 address as assigne=
d=0A> > > by=0A> > > Neutron? Please suggest.=0A> > >
=0A> > =0A> > Could y=
ou attach the neutron server log (/etc/neutron/server.log) from the=0A> > e=
xternal network provider ?=0A> > =0A> > =0A> > > I am using oVirt
3.4.0-1.f=
c19.=0A> > > =0A> > > Thank you.=0A> > > =0A> > >
Regards,=0A> > > Udaya Ki=
ran=0A> > > =0A> > >
_______________________________________________=0A> > =
Users mailing list=0A> > > Users(a)ovirt.org=0A> > >
http://lists.ovirt.org= /mailman/listinfo/users=0A> > >
--1733456068-2106443944-1403005886=:95039
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>Few more
th=
oughts..</span></div><div style=3D"color: rgb(0, 0, 0); font-size:
13px; fo=
nt-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>1=
) Can I bypass the ovirt-neutron driver, to make ovirt to add NIC onl=
y
within it and not going to OpenStack - as to avoid port already exists err=
or?</span></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;
back=
ground-color: transparent;"><span><br></span></div><div
style=3D"color: rgb=
(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york',
tim=
es, serif; font-style: normal; background-color: transparent;"><span style=
=3D"background-color: transparent;">2) Delete the port created by
Ope=
nStack, in my driver code and recreate same via oVirt by allow it to be cre=
ated through oVirt?</span><br></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 rom=
an', 'new york', times, serif; font-style: normal; background-color:
transparent;"><span style=3D"background-color:
transparent;">Please sugges=
t your inputs.</span><br></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><br></span></div><div styl=
e=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>Thanks much.</span></div><div style=3D"color:
rgb(0, 0, 0); font-s=
ize: 13px; font-family: 'times new roman', 'new york', times, serif;
font-s=
tyle: normal; background-color:
transparent;"><span><br></span></div><div s=
tyle=3D"color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman=
', 'new york', times, serif; font-style: normal; background-color: transpar=
ent;"><span>Regards,</span></div><div style=3D"color:
rgb(0, 0, 0); font-si=
ze: 13px; font-family: 'times new roman', 'new york', times, serif;
font-st=
yle:
normal; background-color: transparent;"><span>Udaya
Kiran</span></div> <di=
v class=3D"qtdSeparateBR"><br><br></div><div
class=3D"yahoo_quoted" style=
=3D"display: block;"> <div style=3D"font-family: 'times new
roman', 'new yo=
rk', times, serif; font-size: 10pt;"> <div style=3D"font-family:
'times new=
roman', 'new york', times, serif; font-size: 12pt;"> <div
dir=3D"ltr"> <fo=
nt size=3D"2" face=3D"Arial"> On Tuesday, 17 June 2014 4:55 PM,
Moti Asayag=
&lt;masayag(a)redhat.com&gt; wrote:<br> </font> </div>
<br><br> <div class=
=3D"y_msg_container"><br clear=3D"none"><br
clear=3D"none">----- Original M=
essage -----<br clear=3D"none">> From: "Udaya Kiran P"
<<a shape=3D"r=
ect" ymailto=3D"mailto:ukiran770@yahoo.in"
href=3D"mailto:ukiran770@yahoo.i=
n">ukiran770(a)yahoo.in</a>&gt;<br clear=3D"none">>
To: "Moti Asayag" <=
<a shape=3D"rect" ymailto=3D"mailto:masayag@redhat.com"
href=3D"mailto:masa=
yag@redhat.com">masayag(a)redhat.com</a>&gt;<br
clear=3D"none">> Cc: "user=
s" <<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 12:37:=
23 PM<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,<=
br clear=3D"none">> <br clear=3D"none">>
ThankYou for your inputs.<br=
clear=3D"none">> <br clear=3D"none">> I want a
VM to be launched in =
oVirt, through Nova. i.e., When I say,launch<br clear=3D"none">>
new ins=
tance in OpenStack, internally VM should get created in oVirt Host,<br clea=
r=3D"none">> with the same mac address as assigned by OpenStack, get
add=
ed to the same<br clear=3D"none">> Network as selected in
OpenStack.<br =
clear=3D"none">> <br clear=3D"none">> I am able
to spawn a VM a=
nd run through the complete the full lifecycle<br clear=3D"none">>
(spaw=
n, pause, reboot, terminate etc).<br clear=3D"none">> <br
clear=3D"none"=
> Now, I am looking at
how can I add NIC with the same
mac address. I see port<br clear=3D"none">=
> is already been created at the OpenStack end.<br
clear=3D"none">> <=
br clear=3D"none">> Should I Hot plug it?<br
clear=3D"none">> <br cle=
ar=3D"none">> or<br clear=3D"none">> <br
clear=3D"none">> Prevent =
Neutron from creating port initially and later use the port created<br clea=
r=3D"none">> by the oVirt to Neutron?<br
clear=3D"none"><br clear=3D"non=
e">This seems like the right approach.<div class=3D"yqt2232438027"
id=3D"yq=
tfd28813"><br clear=3D"none"><br
clear=3D"none">> <br clear=3D"none">>=
; Please suggest your thoughts on this.<br clear=3D"none">> <br
clear=3D=
"none">> <br clear=3D"none">> Regards,<br
clear=3D"none">> Udaya K=
iran<br clear=3D"none">> <br
clear=3D"none">> <br clear=3D"none">>=
On Tuesday, 17 June 2014 2:33 PM, Moti Asayag <<a shape=3D"rect"
ymailt=
o=3D"mailto:masayag@redhat.com"
href=3D"mailto:masayag@redhat.com">masayag@=
redhat.com</a>> wrote:<br
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"mailto=
:ukiran770@yahoo.in">ukiran770@yahoo.in</a>><br
clear=3D"none">> >=
To: "Moti Asayag" <<a shape=3D"rect"
ymailto=3D"mailto:masayag@redhat.c=
om"
href=3D"mailto:masayag@redhat.com">masayag@redhat.com</a>><br
clear=
=3D"none">> > Cc: "users" <<a
shape=3D"rect" ymailto=3D"mailto:use=
rs(a)ovirt.org"
href=3D"mailto:users@ovirt.org">users@ovirt.org</a>><br cl=
ear=3D"none">> > Sent: Tuesday, June 17, 2014 8:46:19 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,<br =
clear=3D"none">> > <br clear=3D"none">>
> Sorry for the delayed=
response.<br clear=3D"none">> > <br
clear=3D"none">> > The command neutron agent-list on the
neutron ser=
ver gives the alive status<br clear=3D"none">> > as xxx, for
the neut=
ron-ovs-agent that is installed on the oVirt Host.<br
clear=3D"none">> &=
gt; However, I am able to import the network from OpenStack into oVir=
t.<br clear=3D"none">> > <br
clear=3D"none">> > The port for th=
e mac_address assigned is already created in the neutron<br
clear=3D"none">=
> > server. Therefore, when I try to add it again, it gives error, po=
rt already<br clear=3D"none">> > exists.<br
clear=3D"none">> > =
<br clear=3D"none">> > How do I attach this port to the VM
in oVirt.<=
br clear=3D"none">> <br clear=3D"none">> In the
ovirt-neutron integra=
tion the ports are allocated for the vm by ovirt.<br
clear=3D"none">> Th=
e 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 specifi=
c vm<br
clear=3D"none">> 2. Select the 'Vm Interfaces' sub tab<br
clear=3D"none=
">> 3. Add a vm interface, and select the profile/network of Net1 (the i=
mported<br clear=3D"none">> neutron<br
clear=3D"none">> network).<br =
clear=3D"none">> <br clear=3D"none">> At this
point, you should see o=
n your neutron server the created port (by<br clear=3D"none">>
'neutron =
port-list').<br clear=3D"none">> The mac address for that port
will be t=
he 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 c=
lear=3D"none">> Once the vm is started or if the nic was added while
the=
vm is running<br clear=3D"none">> (hotplug),<br
clear=3D"none">> the=
vdsm-hook-openstacknet will wire the port to the integration bridge and<br=
clear=3D"none">> the neutron-ovs-agent will become aware of it.<br
clea=
r=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"no=
ne">> <br clear=3D"none">> You can also ping me
(masayag) on #ovirt (=
oftc.net)<br clear=3D"none">> <br
clear=3D"none">> Regards,<br clear=
=3D"none">> <br clear=3D"none">> Moti<br
clear=3D"none">> <br clea=
r=3D"none">> > <br clear=3D"none">>
> How do I interact with th=
e neutron-ovs-agent to get the port and assign to<br
clear=3D"none">> &g=
t; oVirt VM.<br clear=3D"none">> > <br
clear=3D"none">> > Pleas=
e suggest your inputs.<br clear=3D"none">> > <br
clear=3D"none">> =
> Thank You.<br clear=3D"none">> > <br
clear=3D"none">> > Re=
gards,<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:masay=
ag(a)redhat.com"
href=3D"mailto:masayag@redhat.com">masayag@redhat.com</a>>=
; wrote:<br clear=3D"none">> >
<br clear=3D"none">> > <br
clear=3D"none">> > <br clear=3D"non=
e">> > <br clear=3D"none">> > <br
clear=3D"none">> > ----=
- Original Message -----<br clear=3D"none">> > >
From: "Udaya Kira=
n P" <<a shape=3D"rect"
ymailto=3D"mailto:ukiran770@yahoo.in" href=3D"ma=
ilto:ukiran770@yahoo.in">ukiran770@yahoo.in</a>><br
clear=3D"none">> =
> > To: "users" <<a shape=3D"rect"
ymailto=3D"mailto:users@ovirt.o=
rg"
href=3D"mailto:users@ovirt.org">users@ovirt.org</a>><br
clear=3D"non=
e">> > > Sent: Wednesday, May 28, 2014 2:46:00 PM<br
clear=3D"none=
">> > > Subject: [ovirt-users] Nova- oVirt Driver : Adding
NIC to =
VM<br clear=3D"none">> > > <br
clear=3D"none">> > > Hi Al=
l,<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 cle=
ar=3D"none">> > > successfully - spawn, suspend, resume,
shuttof, =
start and terminate.<br
clear=3D"none">> > > <br
clear=3D"none">> > > I am now e=
xploring the Neutron integration in oVirt. I have imported the<br clear=3D"=
none">> > > Network (Net1) form Openstack to oVirt.<br
clear=3D"no=
ne">> > > <br clear=3D"none">>
> > I get the below error =
when I try to add a NIC (for imported Net1) to the<br
clear=3D"none">> &=
gt; > VM<br clear=3D"none">> > > (created by
Nova-oVirt driver)=
, having the same MAC address which is<br clear=3D"none">> >
> ass=
igned in Openstack (Port Details page).<br clear=3D"none">>
> > <b=
r clear=3D"none">> > > "Error while executing
action Add NIC to VM=
: Failed to communicate with<br clear=3D"none">> > >
the<br clear=
=3D"none">> > > external provider."<br
clear=3D"none">> > &g=
t; <br clear=3D"none">> > > However, I am able to add
a NIC with d=
ifferent MAC address.<br clear=3D"none">> > > <br
clear=3D"none">&=
gt; > > What changes
needs to be done to add a NIC with MAC address as assigned<br clear=3D"non=
e">> > > by<br clear=3D"none">>
> > Neutron? Please sugge=
st.<br clear=3D"none">> > > <br
clear=3D"none">> > <br clear=
=3D"none">> > Could you attach the neutron server log
(/etc/neutron/s=
erver.log) from the<br clear=3D"none">> > external network
provider ?=
<br clear=3D"none">> > <br
clear=3D"none">> > <br 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">&=
gt; > > _______________________________________________<br
clear=3D"n=
one">> > > Users mailing list<br
clear=3D"none">> > > <a =
shape=3D"rect" ymailto=3D"mailto:Users@ovirt.org"
href=3D"mailto:Users@ovir=
t.org">Users(a)ovirt.org</a><br
clear=3D"none">> > > <a shape=3D"rect"
href=3D"http://lists.ovirt=
.org/mailman/listinfo/users"
target=3D"_blank">http://lists.ovirt.org/mailm=
an/listinfo/users</a><br clear=3D"none">> >
></div><br><br></div> =
</div> </div> </div> </div></body></html>
--1733456068-2106443944-1403005886=:95039--