[Users] Static IP for VMs

Hi folks, Is there a way to assign a static IP while provisioning a new VM? I do not want to individually go to the console to specify the Static IP address. Is there any means for specifying that from the management UI/ovirt-python-binding to do the same ? -- Regards, Rahul =======================================================

On 05/09/2012 12:03 PM, Rahul Upadhyaya wrote:
Hi folks,
Is there a way to assign a static IP while provisioning a new VM? I do not want to individually go to the console to specify the Static IP address. Is there any means for specifying that from the management UI/ovirt-python-binding to do the same ? --
not yet. ovirt still doesn't handle ip assignments.

On 2012-5-9 18:03, Itamar Heim wrote:
On 05/09/2012 12:03 PM, Rahul Upadhyaya wrote:
Hi folks,
Is there a way to assign a static IP while provisioning a new VM? I do not want to individually go to the console to specify the Static IP address. Is there any means for specifying that from the management UI/ovirt-python-binding to do the same ? --
not yet. ovirt still doesn't handle ip assignments.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Can we create a IP pool in engine and make VDSM to request the IP. Then VDSM assign the IP to guest agent to do the network setup. -- Shu Ming<shuming@linux.vnet.ibm.com> IBM China Systems and Technology Laboratory

On 05/09/2012 04:43 PM, Shu Ming wrote:
On 2012-5-9 18:03, Itamar Heim wrote:
On 05/09/2012 12:03 PM, Rahul Upadhyaya wrote:
Hi folks,
Is there a way to assign a static IP while provisioning a new VM? I do not want to individually go to the console to specify the Static IP address. Is there any means for specifying that from the management UI/ovirt-python-binding to do the same ? --
not yet. ovirt still doesn't handle ip assignments.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Can we create a IP pool in engine and make VDSM to request the IP. Then VDSM assign the IP to guest agent to do the network setup.
not yet. engine only deals today with mac address pools, which you can use dhcp to assign.

On 2012-5-10 2:08, Itamar Heim wrote:
On 05/09/2012 04:43 PM, Shu Ming wrote:
On 2012-5-9 18:03, Itamar Heim wrote:
On 05/09/2012 12:03 PM, Rahul Upadhyaya wrote:
Hi folks,
Is there a way to assign a static IP while provisioning a new VM? I do not want to individually go to the console to specify the Static IP address. Is there any means for specifying that from the management UI/ovirt-python-binding to do the same ? --
not yet. ovirt still doesn't handle ip assignments.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Can we create a IP pool in engine and make VDSM to request the IP. Then VDSM assign the IP to guest agent to do the network setup.
not yet. engine only deals today with mac address pools, which you can use dhcp to assign.
If we don't have such features today, I would like to initiate a new project page about this. The basic idea is: I) Engine should have a pool of IPs. Engine also can assign a specific IP to the VM or assign a random IP in the pool to the VM II) ovirt agent in guest should request the IP from VDSM. And VDSM proxy its request to engine. III)After ovirt agent get the IP, it can configure the system in one time. -- Shu Ming<shuming@linux.vnet.ibm.com> IBM China Systems and Technology Laboratory

On 05/10/2012 04:26 AM, Shu Ming wrote:
On 2012-5-10 2:08, Itamar Heim wrote:
On 05/09/2012 04:43 PM, Shu Ming wrote:
On 2012-5-9 18:03, Itamar Heim wrote:
On 05/09/2012 12:03 PM, Rahul Upadhyaya wrote:
Hi folks,
Is there a way to assign a static IP while provisioning a new VM? I do not want to individually go to the console to specify the Static IP address. Is there any means for specifying that from the management UI/ovirt-python-binding to do the same ? --
not yet. ovirt still doesn't handle ip assignments.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Can we create a IP pool in engine and make VDSM to request the IP. Then VDSM assign the IP to guest agent to do the network setup.
not yet. engine only deals today with mac address pools, which you can use dhcp to assign.
If we don't have such features today, I would like to initiate a new project page about this. The basic idea is: I) Engine should have a pool of IPs. Engine also can assign a specific IP to the VM or assign a random IP in the pool to the VM II) ovirt agent in guest should request the IP from VDSM. And VDSM proxy its request to engine. III)After ovirt agent get the IP, it can configure the system in one time.
I'm not sure ovirt-agent should take care of that. i think it should be fine if the guest uses dhcp, but get the allocated IP. Gary - can you please share how quantum solves this? (since guest interface in ec2 is ip based, i assume the guest already got the ip address via dhcp, so ip allocation is not one of the things i expect the guest agent to own)

On 05/10/2012 09:07 AM, Itamar Heim wrote:
Gary - can you please share how quantum solves this? Hi, At the moment there is work in progress of integrating Melange (http://wiki.openstack.org/Melange) into Quantum. This module takes care of the IP address management. Addition information can be seen at http://docs.openstack.org/trunk/openstack-network/admin/content/Melange-dle4.... Thanks Gary

On 05/10/2012 09:40 AM, Gary Kotton wrote:
On 05/10/2012 09:07 AM, Itamar Heim wrote:
Gary - can you please share how quantum solves this? Hi, At the moment there is work in progress of integrating Melange (http://wiki.openstack.org/Melange) into Quantum. This module takes care of the IP address management. Addition information can be seen at http://docs.openstack.org/trunk/openstack-network/admin/content/Melange-dle4.... Thanks Gary
I personally think Melange is a short-sighted project, as the next item would be to configure the firewall policy, then the SSH keys, etc., etc. Something like Foreman (http://theforeman.org/ ) integration makes a lot more sense to me. Y.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 05/10/2012 10:55 AM, Yaniv Kaul wrote:
On 05/10/2012 09:40 AM, Gary Kotton wrote:
On 05/10/2012 09:07 AM, Itamar Heim wrote:
Gary - can you please share how quantum solves this? Hi, At the moment there is work in progress of integrating Melange (http://wiki.openstack.org/Melange) into Quantum. This module takes care of the IP address management. Addition information can be seen at http://docs.openstack.org/trunk/openstack-network/admin/content/Melange-dle4....
Thanks Gary
I personally think Melange is a short-sighted project, as the next item would be to configure the firewall policy, then the SSH keys, etc., etc. Something like Foreman (http://theforeman.org/ ) integration makes a lot more sense to me.
firewall is supposed to be covered by quantum afaiu. ssh keys is covered via the metadata service ("ec2 guest api") and cloud-init in fedora loads the relevant configuration from it (using http://169.254.169.254 to get it)

On 05/10/2012 10:56 AM, Itamar Heim wrote:
On 05/10/2012 10:55 AM, Yaniv Kaul wrote:
On 05/10/2012 09:40 AM, Gary Kotton wrote:
On 05/10/2012 09:07 AM, Itamar Heim wrote:
Gary - can you please share how quantum solves this? Hi, At the moment there is work in progress of integrating Melange (http://wiki.openstack.org/Melange) into Quantum. This module takes care of the IP address management. Addition information can be seen at http://docs.openstack.org/trunk/openstack-network/admin/content/Melange-dle4....
Thanks Gary
I personally think Melange is a short-sighted project, as the next item would be to configure the firewall policy, then the SSH keys, etc., etc. Something like Foreman (http://theforeman.org/ ) integration makes a lot more sense to me.
firewall is supposed to be covered by quantum afaiu.
I think Quantum's assumption is that there is a centrally managed firewall server (Firewall-as-a-service?), I was talking about the VM's firewall.
ssh keys is covered via the metadata service ("ec2 guest api") and cloud-init in fedora loads the relevant configuration from it (using http://169.254.169.254 to get it)
Which is even worse, because: 1. Now you are splitting the configuration of a virtual machine to different components 2. You are not doing the complete lifecycle mgmt, just the provisioning. Y.

On 05/10/2012 10:56 AM, Itamar Heim wrote:
On 05/10/2012 10:55 AM, Yaniv Kaul wrote:
On 05/10/2012 09:40 AM, Gary Kotton wrote:
On 05/10/2012 09:07 AM, Itamar Heim wrote:
Gary - can you please share how quantum solves this? Hi, At the moment there is work in progress of integrating Melange (http://wiki.openstack.org/Melange) into Quantum. This module takes care of the IP address management. Addition information can be seen at http://docs.openstack.org/trunk/openstack-network/admin/content/Melange-dle4....
Thanks Gary
I personally think Melange is a short-sighted project, as the next item would be to configure the firewall policy, then the SSH keys, etc., etc. Something like Foreman (http://theforeman.org/ ) integration makes a lot more sense to me.
firewall is supposed to be covered by quantum afaiu. ssh keys is covered via the metadata service ("ec2 guest api") and cloud-init in fedora loads the relevant configuration from it (using http://169.254.169.254 to get it)
from the very quick reading I've had, I would think that melange might reuse a lot of foreman proxy web service[1], anyone internally working on that? Ohad [1] - http://theforeman.org/projects/smart-proxy/wiki

Hi guys, Do you know when will the quantum integrated into oVirt? BR, Kris On Thu, May 10, 2012 at 3:56 PM, Itamar Heim <iheim@redhat.com> wrote:
On 05/10/2012 10:55 AM, Yaniv Kaul wrote:
On 05/10/2012 09:40 AM, Gary Kotton wrote:
On 05/10/2012 09:07 AM, Itamar Heim wrote:
Gary - can you please share how quantum solves this?
Hi, At the moment there is work in progress of integrating Melange (http://wiki.openstack.org/**Melange <http://wiki.openstack.org/Melange>) into Quantum. This module takes care of the IP address management. Addition information can be seen at http://docs.openstack.org/**trunk/openstack-network/admin/** content/Melange-dle454.html<http://docs.openstack.org/trunk/openstack-network/admin/content/Melange-dle454.html> .
Thanks Gary
I personally think Melange is a short-sighted project, as the next item would be to configure the firewall policy, then the SSH keys, etc., etc. Something like Foreman (http://theforeman.org/ ) integration makes a lot more sense to me.
firewall is supposed to be covered by quantum afaiu. ssh keys is covered via the metadata service ("ec2 guest api") and cloud-init in fedora loads the relevant configuration from it (using http://169.254.169.254 to get it)
______________________________**_________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/**mailman/listinfo/users<http://lists.ovirt.org/mailman/listinfo/users>

This is a multi-part message in MIME format. --------------040808000400070404050802 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 05/10/2012 11:04 AM, Kris zhang wrote:
Hi guys,
Do you know when will the quantum integrated into oVirt? At the moment there are a number onf integration ideas. Can you please look at http://www.ovirt.org/wiki/Quantum_and_oVirt. Any comments would be great. Thanks Gary
BR, Kris
On Thu, May 10, 2012 at 3:56 PM, Itamar Heim <iheim@redhat.com <mailto:iheim@redhat.com>> wrote:
On 05/10/2012 10:55 AM, Yaniv Kaul wrote:
On 05/10/2012 09:40 AM, Gary Kotton wrote:
On 05/10/2012 09:07 AM, Itamar Heim wrote:
Gary - can you please share how quantum solves this?
Hi, At the moment there is work in progress of integrating Melange (http://wiki.openstack.org/Melange) into Quantum. This module takes care of the IP address management. Addition information can be seen at http://docs.openstack.org/trunk/openstack-network/admin/content/Melange-dle4....
Thanks Gary
I personally think Melange is a short-sighted project, as the next item would be to configure the firewall policy, then the SSH keys, etc., etc. Something like Foreman (http://theforeman.org/ ) integration makes a lot more sense to me.
firewall is supposed to be covered by quantum afaiu. ssh keys is covered via the metadata service ("ec2 guest api") and cloud-init in fedora loads the relevant configuration from it (using http://169.254.169.254 to get it)
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--------------040808000400070404050802 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> On 05/10/2012 11:04 AM, Kris zhang wrote: <blockquote cite="mid:CAAskrmF329ETx3QiM3AYafjqtxQM-4Hd4uqm84HX_JJCbn_thg@mail.gmail.com" type="cite">Hi guys, <div><br> </div> <div>Do you know when will the quantum integrated into oVirt?</div> </blockquote> At the moment there are a number onf integration ideas. Can you please look at <a class="moz-txt-link-freetext" href="http://www.ovirt.org/wiki/Quantum_and_oVirt">http://www.ovirt.org/wiki/Quantum_and_oVirt</a>. Any comments would be great.<br> Thanks<br> Gary<br> <br> <blockquote cite="mid:CAAskrmF329ETx3QiM3AYafjqtxQM-4Hd4uqm84HX_JJCbn_thg@mail.gmail.com" type="cite"> <div><br> </div> <div>BR,</div> <div>Kris<br> <br> <div class="gmail_quote">On Thu, May 10, 2012 at 3:56 PM, Itamar Heim <span dir="ltr"><<a moz-do-not-send="true" href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> <div class="im">On 05/10/2012 10:55 AM, Yaniv Kaul wrote:<br> <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> On 05/10/2012 09:40 AM, Gary Kotton wrote:<br> <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> On 05/10/2012 09:07 AM, Itamar Heim wrote:<br> <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> Gary - can you please share how quantum solves this?<br> </blockquote> Hi,<br> At the moment there is work in progress of integrating Melange<br> (<a moz-do-not-send="true" href="http://wiki.openstack.org/Melange" target="_blank">http://wiki.openstack.org/Melange</a>) into Quantum. This module takes<br> care of the IP address management. Addition information can be seen at<br> <a moz-do-not-send="true" href="http://docs.openstack.org/trunk/openstack-network/admin/content/Melange-dle4..." target="_blank">http://docs.openstack.org/trunk/openstack-network/admin/content/Melange-dle454.html</a>.<br> <br> Thanks<br> Gary<br> </blockquote> <br> I personally think Melange is a short-sighted project, as the next item<br> would be to configure the firewall policy, then the SSH keys, etc., etc.<br> Something like Foreman (<a moz-do-not-send="true" href="http://theforeman.org/" target="_blank">http://theforeman.org/</a> ) integration makes a lot<br> more sense to me.<br> </blockquote> <br> </div> firewall is supposed to be covered by quantum afaiu.<br> ssh keys is covered via the metadata service ("ec2 guest api") and cloud-init in fedora loads the relevant configuration from it (using <a moz-do-not-send="true" href="http://169.254.169.254" target="_blank">http://169.254.169.254</a> to get it) <div class="HOEnZb"> <div class="h5"><br> <br> <br> _______________________________________________<br> Users mailing list<br> <a moz-do-not-send="true" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br> <a moz-do-not-send="true" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br> </div> </div> </blockquote> </div> <br> </div> <pre wrap=""> <fieldset class="mimeAttachmentHeader"></fieldset> _______________________________________________ Users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> </body> </html> --------------040808000400070404050802--

On 10/05/12 10:56, Itamar Heim wrote:
On 05/10/2012 10:55 AM, Yaniv Kaul wrote:
On 05/10/2012 09:40 AM, Gary Kotton wrote:
On 05/10/2012 09:07 AM, Itamar Heim wrote:
Gary - can you please share how quantum solves this? Hi, At the moment there is work in progress of integrating Melange (http://wiki.openstack.org/Melange) into Quantum. This module takes care of the IP address management. Addition information can be seen at http://docs.openstack.org/trunk/openstack-network/admin/content/Melange-dle4....
Thanks Gary
I personally think Melange is a short-sighted project, as the next item would be to configure the firewall policy, then the SSH keys, etc., etc. Something like Foreman (http://theforeman.org/ ) integration makes a lot more sense to me.
firewall is supposed to be covered by quantum afaiu. ssh keys is covered via the metadata service ("ec2 guest api") and cloud-init in fedora loads the relevant configuration from it (using http://169.254.169.254 to get it)
Technically this issue may be resolved via MAC-addresses; you may specify your own MAC range in ovirt engine's DB, and in your DHCP server, assign a pool o this mac range. For specific VM addresses, assign the ip to the specific MAC in the DHCP server. I know it's not a perfect solution, but may work around issues until ovirt has such support. -- /d "This message is made with 100% recycled electrons. No new atoms were destroyed in the making of this message."

On 05/10/2012 11:13 AM, Doron Fediuck wrote:
On 10/05/12 10:56, Itamar Heim wrote:
On 05/10/2012 10:55 AM, Yaniv Kaul wrote:
On 05/10/2012 09:40 AM, Gary Kotton wrote:
On 05/10/2012 09:07 AM, Itamar Heim wrote:
Gary - can you please share how quantum solves this? Hi, At the moment there is work in progress of integrating Melange (http://wiki.openstack.org/Melange) into Quantum. This module takes care of the IP address management. Addition information can be seen at http://docs.openstack.org/trunk/openstack-network/admin/content/Melange-dle4....
Thanks Gary I personally think Melange is a short-sighted project, as the next item would be to configure the firewall policy, then the SSH keys, etc., etc. Something like Foreman (http://theforeman.org/ ) integration makes a lot more sense to me. firewall is supposed to be covered by quantum afaiu. ssh keys is covered via the metadata service ("ec2 guest api") and cloud-init in fedora loads the relevant configuration from it (using http://169.254.169.254 to get it)
Technically this issue may be resolved via MAC-addresses; you may specify your own MAC range in ovirt engine's DB, and in your DHCP server, assign a pool o this mac range. For specific VM addresses, assign the ip to the specific MAC in the DHCP server. I know it's not a perfect solution, but may work around issues until ovirt has such support.
Yes, that works well. And is what we've been doing in the last 5 years or so. Y.
participants (8)
-
Doron Fediuck
-
Gary Kotton
-
Itamar Heim
-
Kris zhang
-
Ohad Levy
-
Rahul Upadhyaya
-
Shu Ming
-
Yaniv Kaul