<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:10pt"><div><span>Hi Moti,</span></div><div style="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="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', times, serif; font-style: normal; background-color: transparent;"><span>Few more thoughts..</span></div><div style="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="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 only
within it and not going to OpenStack - as to avoid port already exists error?</span></div><div style="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="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', times, serif; font-style: normal; background-color: transparent;"><span style="background-color: transparent;">2) Delete the port created by OpenStack, in my driver code and recreate same via oVirt by allow it to be created through oVirt?</span><br></div><div style="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="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', times, serif; font-style: normal; background-color:
transparent;"><span style="background-color: transparent;">Please suggest your inputs.</span><br></div><div style="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="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="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="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', times, serif; font-style: normal; background-color: transparent;"><span>Regards,</span></div><div style="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="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 10pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Tuesday, 17 June 2014 4:55 PM, Moti Asayag <masayag@redhat.com> wrote:<br> </font> </div> <br><br> <div class="y_msg_container"><br clear="none"><br clear="none">----- Original Message -----<br clear="none">> From: "Udaya Kiran P" <<a shape="rect" ymailto="mailto:ukiran770@yahoo.in" href="mailto:ukiran770@yahoo.in">ukiran770@yahoo.in</a>><br clear="none">> To: "Moti Asayag" <<a shape="rect" ymailto="mailto:masayag@redhat.com" href="mailto:masayag@redhat.com">masayag@redhat.com</a>><br clear="none">> Cc: "users" <<a shape="rect"
ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a>><br clear="none">> Sent: Tuesday, June 17, 2014 12:37:23 PM<br clear="none">> Subject: Re: [ovirt-users] Nova- oVirt Driver : Adding NIC to VM<br clear="none">> <br clear="none">> Hi Moti,<br clear="none">> <br clear="none">> ThankYou for your inputs.<br clear="none">> <br clear="none">> I want a VM to be launched in oVirt, through Nova. i.e., When I say,launch<br clear="none">> new instance in OpenStack, internally VM should get created in oVirt Host,<br clear="none">> with the same mac address as assigned by OpenStack, get added to the same<br clear="none">> Network as selected in OpenStack.<br clear="none">> <br clear="none">> I am able to spawn a VM and run through the complete the full lifecycle<br clear="none">> (spawn, pause, reboot, terminate etc).<br clear="none">> <br clear="none">> Now, I am looking at
how can I add NIC with the same mac address. I see port<br clear="none">> is already been created at the OpenStack end.<br clear="none">> <br clear="none">> Should I Hot plug it?<br clear="none">> <br clear="none">> or<br clear="none">> <br clear="none">> Prevent Neutron from creating port initially and later use the port created<br clear="none">> by the oVirt to Neutron?<br clear="none"><br clear="none">This seems like the right approach.<div class="yqt2232438027" id="yqtfd28813"><br clear="none"><br clear="none">> <br clear="none">> Please suggest your thoughts on this.<br clear="none">> <br clear="none">> <br clear="none">> Regards,<br clear="none">> Udaya Kiran<br clear="none">> <br clear="none">> <br clear="none">> On Tuesday, 17 June 2014 2:33 PM, Moti Asayag <<a shape="rect" ymailto="mailto:masayag@redhat.com" href="mailto:masayag@redhat.com">masayag@redhat.com</a>> wrote:<br
clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> ----- Original Message -----<br clear="none">> > From: "Udaya Kiran P" <<a shape="rect" ymailto="mailto:ukiran770@yahoo.in" href="mailto:ukiran770@yahoo.in">ukiran770@yahoo.in</a>><br clear="none">> > To: "Moti Asayag" <<a shape="rect" ymailto="mailto:masayag@redhat.com" href="mailto:masayag@redhat.com">masayag@redhat.com</a>><br clear="none">> > Cc: "users" <<a shape="rect" ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a>><br clear="none">> > Sent: Tuesday, June 17, 2014 8:46:19 AM<br clear="none">> > Subject: Re: [ovirt-users] Nova- oVirt Driver : Adding NIC to VM<br clear="none">> > <br clear="none">> > Hi Moti,<br clear="none">> > <br clear="none">> > Sorry for the delayed response.<br clear="none">> > <br
clear="none">> > The command neutron agent-list on the neutron server gives the alive status<br clear="none">> > as xxx, for the neutron-ovs-agent that is installed on the oVirt Host.<br clear="none">> > However, I am able to import the network from OpenStack into oVirt.<br clear="none">> > <br clear="none">> > The port for the mac_address assigned is already created in the neutron<br clear="none">> > server. Therefore, when I try to add it again, it gives error, port already<br clear="none">> > exists.<br clear="none">> > <br clear="none">> > How do I attach this port to the VM in oVirt.<br clear="none">> <br clear="none">> In the ovirt-neutron integration the ports are allocated for the vm by ovirt.<br clear="none">> The ovirt-engine creates the port on the neutron server and bind it to the<br clear="none">> vm nic:<br clear="none">> 1. Click on the specific vm<br
clear="none">> 2. Select the 'Vm Interfaces' sub tab<br clear="none">> 3. Add a vm interface, and select the profile/network of Net1 (the imported<br clear="none">> neutron<br clear="none">> network).<br clear="none">> <br clear="none">> At this point, you should see on your neutron server the created port (by<br clear="none">> 'neutron port-list').<br clear="none">> The mac address for that port will be the one selected by the engine.<br clear="none">> You can provide your own custom mac address (as long it is unique).<br clear="none">> <br clear="none">> Once the vm is started or if the nic was added while the vm is running<br clear="none">> (hotplug),<br clear="none">> the vdsm-hook-openstacknet will wire the port to the integration bridge and<br clear="none">> the neutron-ovs-agent will become aware of it.<br clear="none">> <br clear="none">> Could you elaborate about your use-cases and what would you
like to achieve<br clear="none">> with ovirt-neutron ?<br clear="none">> <br clear="none">> You can also ping me (masayag) on #ovirt (oftc.net)<br clear="none">> <br clear="none">> Regards,<br clear="none">> <br clear="none">> Moti<br clear="none">> <br clear="none">> > <br clear="none">> > How do I interact with the neutron-ovs-agent to get the port and assign to<br clear="none">> > oVirt VM.<br clear="none">> > <br clear="none">> > Please suggest your inputs.<br clear="none">> > <br clear="none">> > Thank You.<br clear="none">> > <br clear="none">> > Regards,<br clear="none">> > Udaya Kiran<br clear="none">> > <br clear="none">> > <br clear="none">> > On Wednesday, 28 May 2014 5:54 PM, Moti Asayag <<a shape="rect" ymailto="mailto:masayag@redhat.com" href="mailto:masayag@redhat.com">masayag@redhat.com</a>> wrote:<br clear="none">> >
<br clear="none">> > <br clear="none">> > <br clear="none">> > <br clear="none">> > <br clear="none">> > ----- Original Message -----<br clear="none">> > > From: "Udaya Kiran P" <<a shape="rect" ymailto="mailto:ukiran770@yahoo.in" href="mailto:ukiran770@yahoo.in">ukiran770@yahoo.in</a>><br clear="none">> > > To: "users" <<a shape="rect" ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a>><br clear="none">> > > Sent: Wednesday, May 28, 2014 2:46:00 PM<br clear="none">> > > Subject: [ovirt-users] Nova- oVirt Driver : Adding NIC to VM<br clear="none">> > > <br clear="none">> > > Hi All,<br clear="none">> > > <br clear="none">> > > I am working on Nova - oVirt driver. I was able to test the VM life cycle<br clear="none">> > > successfully - spawn, suspend, resume, shuttof, start and terminate.<br
clear="none">> > > <br clear="none">> > > I am now exploring the Neutron integration in oVirt. I have imported the<br clear="none">> > > Network (Net1) form Openstack to oVirt.<br clear="none">> > > <br clear="none">> > > I get the below error when I try to add a NIC (for imported Net1) to the<br clear="none">> > > VM<br clear="none">> > > (created by Nova-oVirt driver), having the same MAC address which is<br clear="none">> > > assigned in Openstack (Port Details page).<br clear="none">> > > <br clear="none">> > > "Error while executing action Add NIC to VM: Failed to communicate with<br clear="none">> > > the<br clear="none">> > > external provider."<br clear="none">> > > <br clear="none">> > > However, I am able to add a NIC with different MAC address.<br clear="none">> > > <br clear="none">> > > What changes
needs to be done to add a NIC with MAC address as assigned<br clear="none">> > > by<br clear="none">> > > Neutron? Please suggest.<br clear="none">> > > <br clear="none">> > <br clear="none">> > Could you attach the neutron server log (/etc/neutron/server.log) from the<br clear="none">> > external network provider ?<br clear="none">> > <br clear="none">> > <br clear="none">> > > I am using oVirt 3.4.0-1.fc19.<br clear="none">> > > <br clear="none">> > > Thank you.<br clear="none">> > > <br clear="none">> > > Regards,<br clear="none">> > > Udaya Kiran<br clear="none">> > > <br clear="none">> > > _______________________________________________<br clear="none">> > > Users mailing list<br clear="none">> > > <a shape="rect" ymailto="mailto:Users@ovirt.org" href="mailto:Users@ovirt.org">Users@ovirt.org</a><br
clear="none">> > > <a shape="rect" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br clear="none">> > ></div><br><br></div> </div> </div> </div> </div></body></html>