Re: [Openstack] using Glusterfs for instance storage

2013-04-11 Thread Vishvananda Ishaya
You should check your syslog for app armor denied messages. It is possible app armor is getting in the way here. Vish On Apr 11, 2013, at 8:35 AM, John Paul Walters jwalt...@isi.edu wrote: Hi Sylvain, I agree, though I've confirmed that the UID and GID are consistent across both the

Re: [Openstack] Forcing a VM to a specific node in grizzly

2013-03-30 Thread Vishvananda Ishaya
I wasn't aware that force_hosts actually works. Someone should probably verify. The availability zone method still works in grizzly. Vish On Mar 30, 2013, at 6:42 PM, Lorin Hochstein lo...@nimbisservices.com wrote: I see that in grizzly an admin can use a scheduler hint to force a VM to

Re: [Openstack] [nova-network] add-network-to-project

2013-03-28 Thread Vishvananda Ishaya
I just looked at the code and it appears this is not possible through the os_networks extension. This appears to be an oversight. It should probably allow a project to be passed in. Bug report here: https://bugs.launchpad.net/nova/+bug/1161441 That said, the first time a user boots an

Re: [Openstack] DHCP lease not accepted when libvirt_use_virtio_for_bridges=true

2013-03-21 Thread Vishvananda Ishaya
Well phooey: 987 if network_ref['multi_host']: 988 _add_dhcp_mangle_rule(dev) The mangle rule is only added my nova-network in multihost mode. Can you verify whether or not adding the rule on the compute or network node fixes it? That way we can either remove the check on

Re: [Openstack] [openstack-dev] Compute endpoint auth problem.

2013-03-21 Thread Vishvananda Ishaya
refused' I know it's a generic error, but do you have any clue? Thanks again, Gabriel. -Original Message- From: Vishvananda Ishaya [mailto:vishvana...@gmail.com] Sent: quinta-feira, 21 de março de 2013 12:55 To: OpenStack Development Mailing List Subject: Re: [openstack-dev

Re: [Openstack] Libvirt iSCSI client: duplicit connection_info data

2013-03-20 Thread Vishvananda Ishaya
On Mar 20, 2013, at 3:39 AM, Brano Zarnovican zarnovi...@gmail.com wrote: Hi devs, we are using backend iSCSI provider (Netapp) which is mapping Openstack volumes to iSCSI LUNs. This mapping is not static and changes over time. For example when the volume is detached then his LUN id

Re: [Openstack] Libvirt iSCSI client: duplicit connection_info data

2013-03-20 Thread Vishvananda Ishaya
On Mar 20, 2013, at 11:20 AM, Brano Zarnovican zarnovi...@gmail.com wrote: On Wed, Mar 20, 2013 at 5:06 PM, Vishvananda Ishaya vishvana...@gmail.com wrote: 2) Wipeout connection_info after disconnect. At least for Netapp provider it makes no sense to retain the info which is no longer valid

[Openstack] TC candidacy

2013-03-15 Thread Vishvananda Ishaya
Hello all, I would like to run for a seat on The Technical Comittee. I have been working on Nova since it was a project as Nasa and I have been heavily involved in openstack since it was founded. I was elected to the precursor to TC (the Project Oversight Committee, later named the Project

Re: [Openstack] Cinder volume as root in Grizzly?

2013-03-11 Thread Vishvananda Ishaya
Not exactly, although you can do something similar in both folsom and grizzly. If you have a volume snapshot you can pass it in the block_device_mapping when you boot an instance and nova will automatically create a volume from the snapshot and boot from it. If you also set delete_on_terminate

Re: [Openstack] swift multinode test

2013-03-01 Thread Vishvananda Ishaya
On Mar 1, 2013, at 8:05 AM, Paras pradhan pradhanpa...@gmail.com wrote: Can somebody check if my endpoints are correct. 192.168.122.25 is my proxy node in which port is on with self signed certs. -- public: http://192.168.122.25:/v1/AUTH_%(tenant_id)s internal:

Re: [Openstack] spice in devstack no working

2013-02-28 Thread Vishvananda Ishaya
The default build of kvm-qemu does not have spice support on ubuntu-precise. If you are running on ubuntu you might have to do: sudo apt-get install qemu-kvm-spice Devstack should probably be modified to install that package if n-spice is enabled. Vish On Feb 28, 2013, at 10:33 AM, Shake

Re: [Openstack] Nova network problem on rhel6.4 and folsom

2013-02-26 Thread Vishvananda Ishaya
On Feb 26, 2013, at 10:11 AM, mohammad kashif kashif.a...@gmail.com wrote: Hi I am installing openstack folsom on rhel6.4 with multi_host nova network. I have a working setup with ubuntu 12.04 and Essex and I am using almost same network setup with rhel with folsom. I don't understand

Re: [Openstack] [swift] some code understanding

2013-02-26 Thread Vishvananda Ishaya
This topic might be better posted on openstack-dev Vish On Feb 26, 2013, at 11:24 AM, Kun Huang aragongar...@gmail.com wrote: Hi swift developer, I'm confused about implementation of ring structure. in the RingBuilder, line 671 ~ 681 for part, replace_replicas in

Re: [Openstack] Nova network problem on rhel6.4 and folsom

2013-02-26 Thread Vishvananda Ishaya
:19 PM, Vishvananda Ishaya vishvana...@gmail.com wrote: On Feb 26, 2013, at 10:11 AM, mohammad kashif kashif.a...@gmail.com wrote: Hi I am installing openstack folsom on rhel6.4 with multi_host nova network. I have a working setup with ubuntu 12.04 and Essex and I am using almost same

Re: [Openstack] Comparing OpenStack to OpenNebula

2013-02-25 Thread Vishvananda Ishaya
If you set: enable_new_services=False in your nova.conf, all new services will be disabled by default and the scheduler won't start scheduling instances until you explicitly enable them. Vish On Feb 25, 2013, at 2:46 PM, Shawn Starr shawn.st...@rogers.com wrote: On Monday, February 25, 2013

Re: [Openstack] LXC on Folsom

2013-02-21 Thread Vishvananda Ishaya
I'm pretty sure a whole disk image will fail with lxc. You need just the root filesystem. You might have more luck with the unpacked version of: http://uec-images.ubuntu.com/releases/precise/release/ubuntu-12.04-server-cloudimg-amd64.tar.gz Vish On Feb 21, 2013, at 8:34 AM, Chuan-Heng Hsiao

Re: [Openstack] LXC on Folsom

2013-02-21 Thread Vishvananda Ishaya
On Fri, Feb 22, 2013 at 12:57 AM, Vishvananda Ishaya vishvana...@gmail.com wrote: I'm pretty sure a whole disk image will fail with lxc. You need just the root filesystem. You might have more luck with the unpacked version of: http://uec-images.ubuntu.com/releases/precise/release/ubuntu

Re: [Openstack] How to use the novaclient python API

2013-02-21 Thread Vishvananda Ishaya
Looks like those docs are pretty outdated. I have a github repository where I have been putting together some examples of doing common commands with a) cli b) python-*client c) curl It is incomplete but this should help get you started: # helper method to create the client

Re: [Openstack] Help with VMs

2013-02-19 Thread Vishvananda Ishaya
You definitely need the libvirt modules. Nova has no way to detect whether the modules are installed so it will try to attach via virtio. Note that with grizzly you can use custom glance properties to override the default vif type and disk bus. See https://review.openstack.org/#/c/21527/ and

Re: [Openstack] external dhcp server instead of dnsmasq

2013-02-19 Thread Vishvananda Ishaya
You cannot have an external dhcp server with openstack. Openstack needs a way to know the ip address assigned to a vm to do its listing properly. If you don't care about the api returning valid ips there is a possibility of using FlatNetworking (not FlatDHCP) to make nova stick the network into

Re: [Openstack] external dhcp server instead of dnsmasq

2013-02-19 Thread Vishvananda Ishaya
reasons for dnsmasq instead of ISC-DHCP managed with OMAPI, for example. Cheers Diego -- Diego Parrilla CEO www.stackops.com | diego.parri...@stackops.com | +34 649 94 43 29 | skype:diegoparrilla On Tue, Feb 19, 2013 at 8:37 PM, Vishvananda Ishaya vishvana...@gmail.com wrote

Re: [Openstack] external dhcp server instead of dnsmasq

2013-02-19 Thread Vishvananda Ishaya
...@gmail.com wrote: Thanks vish, Can you tell me the location of the external host file we provide to dnsmasq , so that i can try putting the directive there. On Wed, Feb 20, 2013 at 1:07 AM, Vishvananda Ishaya vishvana...@gmail.com wrote: You cannot have an external dhcp server

Re: [Openstack] external dhcp server instead of dnsmasq

2013-02-19 Thread Vishvananda Ishaya
project running to provide DNSaas in openstack that supports bind 9 at present would there be any future change in nova dhcp and dns architecture to the currently it has. On Wed, Feb 20, 2013 at 1:30 AM, Vishvananda Ishaya vishvana...@gmail.com wrote: No particular reason except that is what

Re: [Openstack] [Folsom] CPU mode host-model generated in libvirt.xml gives error when booting

2013-02-15 Thread Vishvananda Ishaya
I seem to recall something similar happening when I built from source. One option is to update your /etc/nova/nova.conf to: libvirt_cpu_mode=host-passthrough Vish On Feb 15, 2013, at 9:07 AM, Sylvain Bauza sylvain.ba...@digimind.com wrote: Hi, Nova is generating libvirt.xml for each

[Openstack] Python-novaclient version 2.11.1

2013-02-15 Thread Vishvananda Ishaya
Hi Everyone, I pushed another version of python novaclient (2.11.1) to pypi[1]. There was a bug[2] with using the gnome keyring that was affecting some users, so the only change from 2.11.0 is the inclusion of a fix for the bug. [1] http://pypi.python.org/pypi/python-novaclient/ [2]

[Openstack] [nova] python-novaclient 2.11.0 release

2013-02-12 Thread Vishvananda Ishaya
Hello Everyone, I just pushed version 2.11.0 of python-novaclient to Pypi. There are a lot of fixes and features in this release. Here is a brief overview: Bug Fixes - private key files now created with 400 permissions nova quota-show now uses current tenant by default nova

Re: [Openstack] Nova issue

2013-02-08 Thread Vishvananda Ishaya
You are likely doing the associate too early. You should wait until the vm is showing a fixed ip address before associating a floating ip. Vish On Feb 6, 2013, at 7:50 AM, Nivrutti Kale n...@connectem.net wrote: Hi All, I am trying to associate IP to the instance. I am getting following

Re: [Openstack] nova-base.xml

2013-02-04 Thread Vishvananda Ishaya
On Feb 4, 2013, at 2:29 AM, Joe Warren-Meeks joe.warren.me...@gmail.com wrote: Hi guys, I need to have arp and mac spoofing work on my virts so that HA works as I need it. I've used virsh nwfilter-edit nova-base to edit and remove the bits I need, however it looks like that change was

Re: [Openstack] Single IP Pool and Multiple Tenant

2013-02-02 Thread Vishvananda Ishaya
On Feb 1, 2013, at 8:24 PM, Umar Draz unix...@gmail.com wrote: So this is not possible that create a dedicated floating ip pools that share all tenant. I have 128 ip pools and different tenant, I don't want a tenant hold the ip even if its not needed. I want a central pool every tenant

Re: [Openstack] Single IP Pool and Multiple Tenant

2013-02-02 Thread Vishvananda Ishaya
dashboard/horizon? Br. Umar On Sat, Feb 2, 2013 at 9:33 PM, Vishvananda Ishaya vishvana...@gmail.com wrote: On Feb 1, 2013, at 8:24 PM, Umar Draz unix...@gmail.com wrote: So this is not possible that create a dedicated floating ip pools that share all tenant. I have 128 ip pools

Re: [Openstack] Single IP Pool and Multiple Tenant

2013-02-01 Thread Vishvananda Ishaya
What do you mean it isn't visible? you should be able to do: nova floating-ip-create mypool as any user. Vish On Feb 1, 2013, at 10:29 AM, Umar Draz unix...@gmail.com wrote: Hi All, I have 3 Tenant (admin, rebel, penguin). Also have 3 different users for these Tenants I have /25

Re: [Openstack] Cant start nova vm's - iptables-restore error

2013-02-01 Thread Vishvananda Ishaya
I suspect you are suffering from this recently fixed bug: https://bugs.launchpad.net/nova/+bug/1103436 If you update your nova code and and run everything you should be ok. Vish On Feb 1, 2013, at 10:20 AM, Wojciech Dec wdec.i...@gmail.com wrote: Hi All, while testing the latest code

Re: [Openstack] Single IP Pool and Multiple Tenant

2013-02-01 Thread Vishvananda Ishaya
nova commands for other users? 2) I don't want to run this floating-ip-create 50 times for my 50 tenant 3) Is there possible I just run this one time and it should be available for all projects? Br. Umar On Sat, Feb 2, 2013 at 6:27 AM, Vishvananda Ishaya vishvana...@gmail.comwrote: What

Re: [Openstack] [keystone] Why are we returing such a big payload in validate token?

2013-01-31 Thread Vishvananda Ishaya
On Jan 31, 2013, at 6:37 PM, Ali, Haneef haneef@hp.com wrote: Isn’t signed token an optional feature? If so validateToken is going to be a high frequency call. Also “Service Catalog” is a constant, the services can cache it. It doesn’t need to be part of validateToken. Service

Re: [Openstack] multiple public ip

2013-01-30 Thread Vishvananda Ishaya
On Jan 30, 2013, at 11:35 AM, Umar Draz unix...@gmail.com wrote: Hi Caitlin, I need multiple ip address for my Haproxy server. Here is my senario I have already running Haproxy Server virtual machine for web load balancing on vSphare with 45 public ip address. We are running 45

Re: [Openstack] nova client support for restore from soft delete ?

2013-01-29 Thread Vishvananda Ishaya
On Jan 29, 2013, at 8:55 AM, Day, Phil philip@hp.com wrote: Hi Folks, Does the nova client provide support to restore a soft deleted instance (and if not, what is the process for pulling an instance back from the brink) ? If you have reclaim_instance_interval set then you can

Re: [Openstack] Reinstating Trey Morris for Nova Core

2013-01-24 Thread Vishvananda Ishaya
In the future these should probably be done on the dev list. But for now I'm adding him back. Congrats trey. Vish On Jan 24, 2013, at 5:23 AM, Gary Kotton gkot...@redhat.com wrote: +1 On 01/23/2013 05:51 PM, Joe Gordon wrote: +1 On Wed, Jan 23, 2013 at 7:58 AM, Chris Behrens

Re: [Openstack] Tenant Isolation - Virtualbox

2013-01-23 Thread Vishvananda Ishaya
There is nothing wrong with your setup. L3 routing is done by the network node. L3 is already blocked by security groups. The vlans provide L2 isolation. Essentially we handle this with convention, as in tell your tenants not to open up their firewalls if they don't want to be accessed by other

Re: [Openstack] Folsom: boot from volume snapshot using nova.conf and not cinder?

2013-01-22 Thread Vishvananda Ishaya
On Jan 22, 2013, at 12:32 PM, Blair Zajac bl...@orcaware.com wrote: /usr/bin/nova-volume The wrong bin is running. You should be running /usr/bin/cinder-volume if you are using cinder. It doesn't look like you have configured cinder properly. ___

Re: [Openstack] Reinstating Trey Morris for Nova Core

2013-01-22 Thread Vishvananda Ishaya
+1 We mentioned previously that we would fast-track former core members back in. I gess we can wait a couple of days to see if anyone objects and then add him back. Vish On Jan 22, 2013, at 3:38 PM, Matt Dietz matt.di...@rackspace.com wrote: All, I think Trey Morris has been doing

Re: [Openstack] Error while creating cinder volume

2013-01-16 Thread Vishvananda Ishaya
in folsom, cinder didn't automatically convert images to raw when creating a volume. This is necessary because a qcow written directly to a volume will not boot properly. This means you need to create a volume that is the size of the virtual disk. Vish On Jan 16, 2013, at 8:39 PM, Bontala,

Re: [Openstack] Total Network Confusion

2013-01-15 Thread Vishvananda Ishaya
On Jan 15, 2013, at 8:43 AM, Joe Warren-Meeks joe.warren.me...@gmail.com wrote: So, now you should be done. However, Openstack will try to add in a SNAT rule to SNAT some outbound traffic. Vish suggested leaving --routing_source_ip= in nova.conf set to nothing, but that doesn't work, it

Re: [Openstack] Glance, boto and image id

2013-01-14 Thread Vishvananda Ishaya
On Jan 14, 2013, at 7:49 AM, Jay Pipes jaypi...@gmail.com wrote: There is an integer key in the s3_images table that stores the map between the UUID and the AMI image id: https://github.com/openstack/nova/blob/master/nova/db/sqlalchemy/models.py#L964 Not sure this is available via

Re: [Openstack] Add NIC to running instance?

2013-01-14 Thread Vishvananda Ishaya
This doesn't exist yet, but I thought at one point it was being worked on. Hot-adding nics would be a great feature for the quantum integration especially. Blueprint here: https://blueprints.launchpad.net/nova/+spec/network-adapter-hotplug There was work done here:

Re: [Openstack] Glance, boto and image id

2013-01-14 Thread Vishvananda Ishaya
On Jan 14, 2013, at 9:28 AM, Antonio Messina antonio.s.mess...@gmail.com wrote: On Mon, Jan 14, 2013 at 6:18 PM, Vishvananda Ishaya vishvana...@gmail.com wrote: On Jan 14, 2013, at 7:49 AM, Jay Pipes jaypi...@gmail.com wrote: There is an integer key in the s3_images table

Re: [Openstack] Glance, boto and image id

2013-01-14 Thread Vishvananda Ishaya
On Jan 14, 2013, at 10:15 AM, Antonio Messina antonio.s.mess...@gmail.com wrote: On Mon, Jan 14, 2013 at 7:07 PM, Vishvananda Ishaya vishvana...@gmail.com wrote: On Jan 14, 2013, at 9:28 AM, Antonio Messina antonio.s.mess...@gmail.com wrote: On Mon, Jan 14, 2013 at 6:18 PM

Re: [Openstack] No routing between OpenStack networks

2013-01-11 Thread Vishvananda Ishaya
Hi Markus, It kind of depends on exactly how you are routing on the gateway host, but it might be libvirt-enabled ebtables filtering that is causing your problem here. By default we block traffic from a machine that is not coming from the same source ip and mac that is assigned to the

Re: [Openstack] Key injection failure on boot

2013-01-11 Thread Vishvananda Ishaya
Key name is the recommended method, but injecting it into the guest is not. The key should be downloaded from the metadata server using a guest process like cloud-init. Vish On Jan 11, 2013, at 10:20 AM, David Kranz david.kr...@qrclab.com wrote: Sometimes when I boot a bunch of vms seconds

Re: [Openstack] Key injection failure on boot

2013-01-11 Thread Vishvananda Ishaya
advice? -David On 1/11/2013 1:32 PM, Vishvananda Ishaya wrote: Key name is the recommended method, but injecting it into the guest is not. The key should be downloaded from the metadata server using a guest process like cloud-init. Vish On Jan 11, 2013, at 10:20 AM, David Kranz

Re: [Openstack] Instances RedHat / Centos / Fedora vs /dev/vdx

2013-01-10 Thread Vishvananda Ishaya
On Jan 10, 2013, at 5:50 AM, Alex Vitola alex.vit...@gmail.com wrote: I'm creating the Dashboard / Horizon. Using m1.small flavor. Strange that using the same process works with Ubuntu. Using command line, same problem ~# nova boot --flavor=6

Re: [Openstack] Can't ping self public IP address

2013-01-09 Thread Vishvananda Ishaya
I believe that this bug only happens if: a) you have your floating ips on a different interface from your flat ips b) you are using an external gateway for the fixed ips (a custom dnsmasq config file) I've noticed that self-ping also breaks if you have dmz_cidr set to your fixed_range (this

Re: [Openstack] Disabling NAT

2013-01-09 Thread Vishvananda Ishaya
If you are attempting to stop nova-network from snatting for instances you can very easily do it with conf: routing_source_ip= (set routing_source_ip to none) This will stop the snat for instances. Please note that you will need to provide a gateway through dnsmasq for your instances to reach

Re: [Openstack] Nova - Switch Network mode

2013-01-04 Thread Vishvananda Ishaya
the VMs if that helps. Bruno Enviado do meu iPad No dia 03/01/2013, às 21:18, Vishvananda Ishaya vishvana...@gmail.com escreveu: This will be extremely difficult. I wouldn't recommend it. It would probably be easier to make a manual cloudpipe instance instead of having nova

Re: [Openstack] network problem

2013-01-03 Thread Vishvananda Ishaya
Need a little more info: a) what does your nova.config look like? Specifically what is the setting for flat_interface? b) what command did you use to create your network? c) what is the output of brctl show? d) what is the output of ip addr show? Vish On Jan 2, 2013, at 11:11 PM, Umar Draz

Re: [Openstack] Potential filter scheduler enhancement

2013-01-03 Thread Vishvananda Ishaya
I think this seems reasonable, although FYI, openstack-dev seems like a better place for emails like this. Vish On Jan 3, 2013, at 6:40 AM, Day, Phil philip@hp.com wrote: Hi Folks, and Happy New Year. In working with the Filter Scheduler I’m considering an enhancement to make the

Re: [Openstack] network problem

2013-01-03 Thread Vishvananda Ishaya
at 10:13 PM, Vishvananda Ishaya vishvana...@gmail.com wrote: Need a little more info: a) what does your nova.config look like? Specifically what is the setting for flat_interface? b) what command did you use to create your network? c) what is the output of brctl show? d) what

Re: [Openstack] network problem

2013-01-03 Thread Vishvananda Ishaya
carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Best Regards, Umar On Thu, Jan 3, 2013 at 10:57 PM, Vishvananda Ishaya vishvana...@gmail.com wrote: Based on the below it could be : a) eth1 is not plugged in or b) eth1 is plugged

Re: [Openstack] network problem

2013-01-03 Thread Vishvananda Ishaya
10.10.10.2 from compute 2 node. But I can ping 10.10.10.3 and 10.10.10.5 from each compute nodes. Above is the output of ifconfig of both nodes. Best Regards, Umar On Thu, Jan 3, 2013 at 11:57 PM, Vishvananda Ishaya vishvana...@gmail.com wrote: You won't be able to ping the nodes from

Re: [Openstack] Nova - Switch Network mode

2013-01-03 Thread Vishvananda Ishaya
This will be extremely difficult. I wouldn't recommend it. It would probably be easier to make a manual cloudpipe instance instead of having nova manage it. You will just have to do some tweaking of the nwfilter rules of the vm. An even easier solution would be to just make a bastion vm that

Re: [Openstack] [nova] python-novaclient 2.10.0 released

2012-12-31 Thread Vishvananda Ishaya
Lorin, that one might have been missed. Vish On Dec 31, 2012, at 1:52 PM, Lorin Hochstein lo...@nimbisservices.com wrote: Vish: On Thu, Nov 29, 2012 at 2:47 PM, Vishvananda Ishaya vishvana...@gmail.com wrote: Hello Everyone, I just pushed out a new version of python-novaclient[1

Re: [Openstack] Why don't nova provide the command of listing fixed ip like nova-manage fixed list?

2012-12-27 Thread Vishvananda Ishaya
We didn't implement list as the operation is very expensive. You can get the cidr for a network using nova network-list and check each one clientside via nova fixed-ip-get Vish On Dec 26, 2012, at 4:47 PM, zhoudshu zhoudshu zhoud...@gmail.com wrote: I can't find the same one in nova api

Re: [Openstack] How to do when the compute-node is failed.

2012-12-27 Thread Vishvananda Ishaya
On Dec 27, 2012, at 9:09 AM, heut2008 heut2...@gmail.com wrote: note that the flag --start_guests_on_host_boot=true has been removed in the latest trunk code.so instances which are running willn't be restarted even the nova-compute is restarted . Correct. The proper way to get instances

Re: [Openstack] How to create vm instance to specific compute node?

2012-12-22 Thread Vishvananda Ishaya
On Dec 22, 2012, at 7:50 AM, yuezhouli lyz_...@163.com wrote: On 2012年12月22日 09:59, 이창만 wrote: Hello. Could anyone tell me how to create vm instance to specific compute node? I've tried blow command, but I couldn't place vm instance to wanted compute node. $ nova boot --image

Re: [Openstack] [OpenStack] Support attach CD-ROM to instance

2012-12-21 Thread Vishvananda Ishaya
On Dec 20, 2012, at 9:18 PM, Jian Hua Geng gen...@cn.ibm.com wrote: According to the comments in https://review.openstack.org/#/c/18469/, I summary the following work items need to be done, pls give me your suggestion: 1. I prefer to provide a new attribute when run new instance, for

Re: [Openstack] Vlanned networking setup

2012-12-20 Thread Vishvananda Ishaya
There is no need for nova to create the vlans, you could use flatdhcp and manually create the vlans and specify the vlans when you create your networks: nova-manage network-create --bridge br0101 --bridge_interface eth0.101 nova-manage network-create --bridge br1101 --bridge_interface eth1.101

Re: [Openstack] Vlanned networking setup

2012-12-20 Thread Vishvananda Ishaya
On Dec 20, 2012, at 2:24 PM, Andrew Holway a.hol...@syseleven.de wrote: Hi Vish, Manually creating vlans would be quite tiresome if you are using a vlan per project and I'm not sure flatdhcp is good for serious use in multi tenanted production environments. (thoughts?) Personally I

Re: [Openstack] Instances can't reach metadata server in network HA mode

2012-12-19 Thread Vishvananda Ishaya
There should be a redirect in iptables from 169.254.169.254:80 to $my_ip:8775 (where nova-api-metadata is running) So: a) can you curl $my_ip:8775 (should 404) b) if you do sudo iptables -t nat -L -n v do you see the forward rule? Is it getting hit properly? Vish On Dec 19, 2012, at

Re: [Openstack] Instances can't reach metadata server in network HA mode

2012-12-19 Thread Vishvananda Ishaya
, Vishvananda Ishaya vishvana...@gmail.com wrote: There should be a redirect in iptables from 169.254.169.254:80 to $my_ip:8775 (where nova-api-metadata is running) So: a) can you curl $my_ip:8775 (should 404) CloudController and Nodes awnser in the same way: 1.0 2007-01-19 2007

Re: [Openstack] Windows 2012 Server

2012-12-18 Thread Vishvananda Ishaya
A number of things could be going wrong, but I did notice this bug recently: https://bugs.launchpad.net/nova/+bug/1086352 I think this only affects installs on old versions of xp. Perhaps there is some incompatibility between the virtio drivers and windows server 2012? Vish On Dec 18, 2012,

Re: [Openstack] [OpenStack] Remove unsed network on host with nova-network

2012-12-14 Thread Vishvananda Ishaya
/ On Mon, Dec 3, 2012 at 11:50 PM, Vishvananda Ishaya vishvana...@gmail.com wrote: FYI, this patch is probably something bigger than we can merge. Nova-network is supposed to just be in maintenance mode and not getting big new features. Small features are ok, but this one changes a lot

Re: [Openstack] instance is stopped automatically

2012-12-14 Thread Vishvananda Ishaya
3141 elif vm_state == vm_states.ACTIVE: 3142 # The only rational power state should be RUNNING 3143 if vm_power_state in (power_state.NOSTATE, 3144power_state.SHUTDOWN, 3145

Re: [Openstack] Nova Compute Showing XXX on Compute Node

2012-12-14 Thread Vishvananda Ishaya
I don't see why you would need to put in the --network_host flag, especially since you seem to be running two nova-networks. It appears that nova-compute is not checking in to the database which means it isn't running or it is hung somehow. Check nova-compute.log on host1. Vish On Dec 13,

Re: [Openstack] [ERROR] refresh_instance_security_rules

2012-12-14 Thread Vishvananda Ishaya
Was there more to the error? The underlying exception isn't listed. Vish On Dec 14, 2012, at 7:24 AM, Sébastien Han han.sebast...@gmail.com wrote: Hi Stackers, I run Folsom on Ubuntu 12.04. Every time I run a new instance I get this ERROR in the compute logs. Dec 12 23:46:29

Re: [Openstack] instance launched in a wrong compute node

2012-12-11 Thread Vishvananda Ishaya
It failed all nodes: Previously tried hosts: [u'node1', u'node2']. the ComputeFilter checks for whether the host is up. The RamFilter just ran first and failed it. Your instance is going to Error because node1 and node2 are failing. Vish On Dec 11, 2012, at 1:34 AM, Liu Wenmao

Re: [Openstack] CRITICAL nova [-] [Errno 98] Address already in use

2012-12-10 Thread Vishvananda Ishaya
Odd. This looks remarkably like it is trying to start osapi_volume even though you don't have it specified in enabled apis. Your enabled_apis setting looks correct to me. Vish On Dec 10, 2012, at 9:24 AM, Andrew Holway a.hol...@syseleven.de wrote: Hi, I cannot start the nova-api service.

Re: [Openstack] Why my vm often change into shut off status by itself?

2012-12-10 Thread Vishvananda Ishaya
Check if you have any space in the instances dir in the filesystem. I've seen this happen when the drive gets full and libvirt gets an io error trying to write to disk so it shuts off the vms. Vish On Dec 5, 2012, at 6:59 PM, pyw pengyu...@gmail.com wrote: My virtual machine created, often

Re: [Openstack] [openstack] config_drive Image UUID doesn't create disk.config

2012-12-10 Thread Vishvananda Ishaya
on this. -- Best regard, David Geng -- graycol.gifVishvananda Ishaya ---12/06/2012 02:37:23 AM---Vishvananda Ishaya vishvana...@gmail.com Vishvananda Ishaya vishvana...@gmail.com 12/06/2012 02:37 AM ecblank.gif Toecblank.gif Jian Hua Geng

Re: [Openstack] A confuse about the FlatDHCP network

2012-12-10 Thread Vishvananda Ishaya
the eth1 ip automatically when it creates the bridge if eth1 has an ip. Vish But if the 192 address doesn't exist, how the compute-note communicate with each other? Through the eth0? I have no idea. On Thu, Dec 6, 2012 at 3:12 AM, Vishvananda Ishaya vishvana...@gmail.com wrote: On Dec

Re: [Openstack] Openstack Folsom and New kind of setup

2012-12-10 Thread Vishvananda Ishaya
It gets the endpoint configuration from keystone. Everything has to know where the keystone server is and it can use the service catalog to talk to the other services. Vish On Dec 6, 2012, at 3:20 AM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi Stackers- I have got a doubt about

Re: [Openstack] CRITICAL nova [-] [Errno 98] Address already in use

2012-12-10 Thread Vishvananda Ishaya
= keystone.middleware.auth_token:filter_factory admin_tenant_name = service admin_user = nova admin_password = x7deix7dei auth_uri = http://controller:5000/ On Dec 10, 2012, at 7:10 PM, Vishvananda Ishaya wrote: Odd. This looks remarkably like it is trying to start osapi_volume even though you don't have

Re: [Openstack] CRITICAL nova [-] [Errno 98] Address already in use

2012-12-10 Thread Vishvananda Ishaya
'), cfg.IntOpt('osapi_volume_workers', default=None, help='Number of workers for OpenStack Volume API service'), ] On Dec 10, 2012, at 7:29 PM, Vishvananda Ishaya wrote: Nope. Best i can think of is to throw some log statements into nova/service.py right before

Re: [Openstack] Server resize API in OpenStack ESSEX

2012-12-10 Thread Vishvananda Ishaya
2 requirements: 1) hostname for compute hosts resolve properly 2) passwordless ssh works between compute hosts. Vish On Dec 10, 2012, at 10:37 AM, Narayanan, Krishnaprasad naray...@uni-mainz.de wrote: Hallo All, I am trying to use the Nova API (POST call) for changing the flavor

Re: [Openstack] dnsmasq does not start + no xapi interface -- how to solve this problem

2012-12-10 Thread Vishvananda Ishaya
I don't see any errors in your network log. are nova-network and nova-compute running on the same host with the same config file? It looks like it isn't recieving a message. Are you running another nova-network that is picking up the message on another host? Vish On Dec 10, 2012, at 12:18 PM,

Re: [Openstack] dnsmasq does not start + no xapi interface -- how to solve this problem

2012-12-10 Thread Vishvananda Ishaya
. You could try deleting them and restarting nova-network. Vish On Dec 10, 2012, at 1:32 PM, Afef Mdhaffar mdhaf...@mathematik.uni-marburg.de wrote: 2012/12/10 Vishvananda Ishaya vishvana...@gmail.com I don't see any errors in your network log. are nova-network and nova-compute running

Re: [Openstack] 500 - Internal Server Error when using Volumes in Dashboard (Centos 6.3)

2012-12-10 Thread Vishvananda Ishaya
The recommended way is to run cinder. The config that you showed before was not running osapi_volume as one of your enabled apis. Prior to folsom the way was to enable osapi_volume or run nova-api-volume. The worker that processes commands is called nova-volume (similar to nova-compute on the

Re: [Openstack] dnsmasq does not start + no xapi interface -- how to solve this problem

2012-12-10 Thread Vishvananda Ishaya
running with nodes connected to different ones? Vish On Dec 10, 2012, at 2:00 PM, Afef MDHAFFAR afef.mdhaf...@gmail.com wrote: 2012/12/10 Vishvananda Ishaya vishvana...@gmail.com Check rabbitmqctl list_queues and see if there are queues that have nonzero entries. That means messages

Re: [Openstack] [openstack] config_drive Image UUID doesn't create disk.config

2012-12-05 Thread Vishvananda Ishaya
On Dec 4, 2012, at 3:48 AM, Jian Hua Geng gen...@cn.ibm.com wrote: Vish, Many thanks for u comments, but as you know to support windows sysprep image, we need save the unattend.xml in the CDROM or C:\ device. So, we want to extend the config drive to attach a CDROM device when launch VM.

Re: [Openstack] resizing instance fails

2012-12-05 Thread Vishvananda Ishaya
On Dec 4, 2012, at 1:15 AM, Marco CONSONNI mcocm...@gmail.com wrote: Not sure, but it seems like this feature is available for XenServer, only http://osdir.com/ml/openstack-cloud-computing/2011-10/msg00473.html Does anybody know more? Resize should work for kvm as well, but you will need

Re: [Openstack] Understanding flavors of VM

2012-12-05 Thread Vishvananda Ishaya
On Dec 4, 2012, at 9:35 AM, Ahmed Al-Mehdi ahmedalme...@gmail.com wrote: Hi Marco, This is really good stuff, thank you very much for helping out. I am creating some instances to test out how/where the different storage related elements are created. I created two VM instance:

Re: [Openstack] A confuse about the FlatDHCP network

2012-12-05 Thread Vishvananda Ishaya
On Dec 5, 2012, at 1:53 AM, Lei Zhang zhang.lei@gmail.com wrote: Hi all, I am reading the http://docs.openstack.org/trunk/openstack-compute/admin/content/libvirt-flat-dhcp-networking.html, I got the following deploy architecture. But there are several that I am confused. How and

Re: [Openstack] nova.virt.libvirt.imagecache is removing good base file

2012-12-05 Thread Vishvananda Ishaya
This is a known issue in folsom and stable/folsom. You should turn off the image cache if you are using shared storage. https://bugs.launchpad.net/nova/+bug/1078594 See the upgrade notes here to see how to disable the imagecache run:

Re: [Openstack] Essex volume attach issue on Debian Wheezy

2012-12-05 Thread Vishvananda Ishaya
Probably wheezy puts iscsiadm somewhere that rootwrap can't find it. iscsiadm: CommandFilter, /sbin/iscsiadm, root iscsiadm_usr:

Re: [Openstack] Essex volume attach issue on Debian Wheezy

2012-12-05 Thread Vishvananda Ishaya
On Dec 5, 2012, at 11:33 AM, Alberto Molina Coballes alb.mol...@gmail.com wrote: 2012/12/5 Vishvananda Ishaya vishvana...@gmail.com: Probably wheezy puts iscsiadm somewhere that rootwrap can't find it. iscsiadm: CommandFilter, /sbin/iscsiadm, root iscsiadm_usr: CommandFilter, /usr/bin

Re: [Openstack] resizing instance fails

2012-12-05 Thread Vishvananda Ishaya
. There is a bp about this: https://blueprints.launchpad.net/nova/+spec/resize-no-raw Resize would be very useful for our tenants. --- Clint Walsh NeCTAR Research Cloud Support On 6 December 2012 05:39, Vishvananda Ishaya vishvana...@gmail.com wrote: On Dec 4, 2012, at 1:15 AM, Marco

Re: [Openstack] resizing instance fails

2012-12-05 Thread Vishvananda Ishaya
On Dec 5, 2012, at 2:27 PM, Clint Walsh clinton.wa...@unimelb.edu.au wrote: Vish, thanks for the clarification re hostnames. NeCTAR uses shared storage across compute nodes for VM images storage and our compute nodes hostnames resolve Is there a way around passwordless access

Re: [Openstack] [openstack] config_drive Image UUID doesn't create disk.config

2012-12-03 Thread Vishvananda Ishaya
On Dec 2, 2012, at 6:15 PM, Jian Hua Geng gen...@cn.ibm.com wrote: I saw the comments in the https://bugs.launchpad.net/nova/+bug/1029647 , can anyone give me more detail introduction of this decision about why the functionality for using an image id for config drive was removed? Just

Re: [Openstack] [OpenStack] Remove unsed network on host with nova-network

2012-12-03 Thread Vishvananda Ishaya
this on the multi hosted network with the Flat DHCP manager because, in this mode, only one multi hosted network is created for all instances of all tenants. Regards, Édouard. On Wed, Nov 21, 2012 at 12:49 AM, Vishvananda Ishaya vishvana...@gmail.com wrote: The only reason this is not done

Re: [Openstack] How to enable EC2 compatibility layer in Keystone

2012-12-01 Thread Vishvananda Ishaya
It nova that listens on port 8773, not keystone. Keystone is just responsible for credentials. Vish On Nov 23, 2012, at 3:15 AM, Shashank Sahni shredde...@gmail.com wrote: Hi everyone, I've successfully installed keystone(folsom release), glance and swift. I'm able to create the ec2

[Openstack] [nova] python-novaclient 2.10.0 released

2012-11-29 Thread Vishvananda Ishaya
Hello Everyone, I just pushed out a new version of python-novaclient[1]. Mostly cleanups although a few new features were added for people using the trunk release of nova. New commands for folsom: nova list-extensions nova list --tenant nova flavor-create m1.huge auto ... # auto = generate a

Re: [Openstack] how to let the instance name (instance-xxx) equal to the hostname of the instance (chosen by the user)??

2012-11-28 Thread Vishvananda Ishaya
On Nov 28, 2012, at 2:08 PM, Sébastien Han han.sebast...@gmail.com wrote: Hi, Just tried this, it works but I'd also like to rename /var/lib/nova/instances/ according to the hostname. At the moment this only rename (output from nova show): | OS-EXT-SRV-ATTR:instance_name |

  1   2   3   4   5   6   7   >