[openstack-dev] [Neutron]LBaaS] - Questions on IP Allocation Logic for VIP

2013-10-24 Thread Pattabi Ayyasami
Hi,



We encounter the following error in our lab when we auto allocate the VIP IP 
Address for create_vip API.



==

ERROR: quantumclient.shell Unable to complete operation for network 
f51735cc-c62e-438d-bc9f-26792c2486b9.

The IP address 172.21.72.8 is in use.

==


We basically have the following questions.



1. How does neutron/quantum checks if IP address is already used or not?

   (Engineer data with NULL ID on ipallocation table, so he wonders if data 
with NULL ID has something to do with IP address allocation)

2. Will Data with NULL ID on ipallocations be removed sometime after? If so 
what would be the timing ?

3. Value of first_ip in ipavailabilityranges seems to be increasing rapidly, 
but when this value will be reset ?


Regards,
Pattabi
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Nove] Launch an instance with IDE disk type instead of virtio disk type

2013-09-20 Thread Pattabi Ayyasami
Hi,

We have a KVM qcow2 image to be launched on a KVM host. From Dashboard, I don't 
find a way to specify the disk type for a new instance as IDE. The instance was 
launched with a virtio disk type.

virsh dumpxml kvm_vm_name
shows the following.


disk type='file' device='disk'
  driver name='qemu' type='qcow2' cache='none'/
  source 
file='/opt/stack/data/nova/instances/2f317b2e-f3b8-40cd-ba79-402231ccee51/disk'/
  target dev='vda' bus='virtio'/
  address type='pci' domain='0x' bus='0x00' slot='0x08' 
function='0x0'/
/disk

I want it to be
  target dev='vda' bus='ide'/

  address type='drive' controller='0' bus='0' unit='0'/


The libvirt.xml under data/nova/instances/image_id

disk type=file device=disk
  driver name=qemu type=qcow2 cache=none/
  source 
file=/opt/stack/data/nova/instances/2f317b2e-f3b8-40cd-ba79-402231ccee51/disk/
  target bus=virtio dev=vda/
/disk


I want it to be
  target bus=ide dev=vda/

I could manually change libvirt.xml and  virsh edit kvm_vm_name as mentioned 
above. But I want to be able to do it either from Dashboard GUI or commands 
such as glance or nova.

Does anyone have any pointers on workarounds / solution on this?

Thanks
Pattabi
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [nova] Launch an instance with e1000 as the first network interface and virtio net as the second network interface

2013-09-20 Thread Pattabi Ayyasami
HI,

I have Nova with version 2.14.1.17 and glance with version 0.10.0.10.

I found that the default network interface port is virtio after I launch a new 
instance from Horizon. Is there any way to create two network interface ports, 
the first one as e1000 and the second one as virtio ? I want to be able to mix 
more than one types of network ports.

I do not know where to specify to create network ports with different types 
under Networks tab of the Horizon. If Horizon is not the right place to create 
them, which tool and how I can create them ?

Does anyone know how to do the above? Any hint or pointer would help.

Thanks

Pattabi
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev