Re: [Users] Static IP for VMs

2012-05-10 Thread Itamar Heim

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)

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Static IP for VMs

2012-05-10 Thread Gary Kotton

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-dle454.html.

Thanks
Gary
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Static IP for VMs

2012-05-10 Thread Yaniv Kaul

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-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.

Y.


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Static IP for VMs

2012-05-10 Thread Itamar Heim

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-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


Re: [Users] Static IP for VMs

2012-05-10 Thread Yaniv Kaul

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-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)


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.

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Static IP for VMs

2012-05-10 Thread Ohad Levy

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-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)


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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Static IP for VMs

2012-05-09 Thread Rahul Upadhyaya
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
===
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Static IP for VMs

2012-05-09 Thread Itamar Heim

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


Re: [Users] Static IP for VMs

2012-05-09 Thread Shu Ming



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 Mingshum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Static IP for VMs

2012-05-09 Thread Itamar Heim

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.


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Static IP for VMs

2012-05-09 Thread Shu Ming

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 Mingshum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users