Re: [Openstack] dhcp is not leasing an ip address in vlan mode

2012-05-31 Thread Vishvananda Ishaya
do you see sent and received packets on the vlan? I would suspect that you actually don't have the vlans trunked on the ports so the packets aren't making it across the switch. Vish On May 31, 2012, at 9:53 AM, Vijay wrote: > Thanks for the reply. Network controller assigns a private ip addre

Re: [Openstack] openstack.common inside swiftclient and RPM

2012-05-31 Thread Mark McLoughlin
Hi Pete, On Thu, 2012-05-31 at 17:48 -0600, Pete Zaitcev wrote: > Hi, Monty: > > The python-swiftclient has something that I believe you added: > > [zaitcev@lembas python-swiftclient-tip]$ git log > swiftclient/openstack/__init__.py > commit 7df012329f0b22e19f878cee2602407cb23042ef > Author: M

Re: [Openstack] Understanding shutdown VM behavior

2012-05-31 Thread Vaze, Mandar
> But the pickle is the case where a user initiates a shutdown > inside the VM. What's the expected behavior after it's detected? > Should it respect the shutdown_terminate flag or work more like an OS > API? Right now when a shutdown in a VM is detected, the vm state is > updated to SHUTOFF and t

[Openstack] question about security

2012-05-31 Thread William Herry
We use FlatDHCP network mode, all thing work fine, instance has 10.0.0.x ip and 10.0.0.1 as gateway Our problem is that service(most time compute node) has little restrict from instance, which instance can see a lot opened port on service, I am thinking if this is a security problem restrict servi

Re: [Openstack] Nodejs in horizon

2012-05-31 Thread Jan Drake
I was speaking generally not specifically about this issue. Sounds like you're taking this personally. See prior comment on developers and languages. This is not about which language is better: that's just crazy talk. :) Adding node.js is clearly not onerous. And if most shops don't have JS

[Openstack] Understanding shutdown VM behavior

2012-05-31 Thread Yun Mao
shutdown, stop, are power_off are synonym in this discussion. They all mean to stop the VM from running, but keep the disk image and network, so that the VM could be started back on again. There are three ways to do it: 1) using EC2 stop-instance API. 2) use OS API stop-server. 3) inside the VM, e

Re: [Openstack] (no subject)

2012-05-31 Thread Kei.masumoto
Hm... on your pty, try: > python -c "import os; hdd = os.statvfs(FLAGS.instances_path); print hdd.f_frsize * hdd.f_blocks;" that is exactly how to calculate total disk. if you got minus value, something unexpected situation occurs. Kei (2012/06/01 9:01), William Herry wrote: Thank you and

Re: [Openstack] nova.projects table problems

2012-05-31 Thread Michael Still
On 01/06/12 09:54, Michael Still wrote: > Has anyone else experienced something like this? Its happened to me > twice now (on the same machine) and I have no idea what is causing it: > > mysql> show tables like 'projects'; > +---+ > | Tables_in_nova (projects) | > +

[Openstack] nova.projects table problems

2012-05-31 Thread Michael Still
Has anyone else experienced something like this? Its happened to me twice now (on the same machine) and I have no idea what is causing it: mysql> show tables like 'projects'; +---+ | Tables_in_nova (projects) | +---+ | projects | +--

[Openstack] openstack.common inside swiftclient and RPM

2012-05-31 Thread Pete Zaitcev
Hi, Monty: The python-swiftclient has something that I believe you added: [zaitcev@lembas python-swiftclient-tip]$ git log swiftclient/openstack/__init__.py commit 7df012329f0b22e19f878cee2602407cb23042ef Author: Monty Taylor Date: Wed May 16 17:30:46 2012 -0400 Add openstack project in

Re: [Openstack] cfg usage - option registration, global objects

2012-05-31 Thread Russell Bryant
On 05/31/2012 04:21 PM, Mark McLoughlin wrote: > I expect to do a pretty detailed review of the patch to add rpc to > openstack-common and make some API design recommendations. But I think > we'll have to balance some of those design ideas between "stuff we > really should fix before it goes into o

Re: [Openstack] cfg usage - option registration, global objects

2012-05-31 Thread Johannes Erdfelt
On Thu, May 31, 2012, Mark McLoughlin wrote: > On Thu, 2012-05-31 at 08:58 -0700, Johannes Erdfelt wrote: > > My XenAPI idempotency branch delays ACKs until after it's done > > processing the message to ensure we get the message again after > > restart. > > > > https://review.openstack.org/#/c/73

Re: [Openstack] cfg usage - option registration, global objects

2012-05-31 Thread Duncan McGreggor
On Thu, May 31, 2012 at 4:21 PM, Mark McLoughlin wrote: > Hi Mark, > > On Thu, 2012-05-31 at 10:48 -0400, Mark Washenberger wrote: >> >> "Jay Pipes" said: >> > On 05/29/2012 04:04 AM, Mark McLoughlin wrote: >> >> Adopting this pattern across all projects will actually help >> >> openstack-common

[Openstack] inter vm communication issue

2012-05-31 Thread Bram De Wilde
Hi all, Can I request some help in resolving a vlan networking issue we are encountering in the final stages of our openstack installation? We have installed a multi host vlan network configuration on 3 hosts all running ubuntu 12.04 (openstack essex ). One of these hosts is a "public" host ru

Re: [Openstack] cfg usage - option registration, global objects

2012-05-31 Thread Mark McLoughlin
On Thu, 2012-05-31 at 08:58 -0700, Johannes Erdfelt wrote: > > * let the consumer code decide when to ack a message > >(although maybe the concept of acking doesn't exist for all > implementations?) > > My XenAPI idempotency branch delays ACKs until after it's done > processing the message to

Re: [Openstack] cfg usage - option registration, global objects

2012-05-31 Thread Mark McLoughlin
Hi Mark, On Thu, 2012-05-31 at 10:48 -0400, Mark Washenberger wrote: > > "Jay Pipes" said: > > On 05/29/2012 04:04 AM, Mark McLoughlin wrote: > >> Adopting this pattern across all projects will actually help > >> openstack-common more generally. For example, Russell is moving the RPC > >> code i

Re: [Openstack] [OpenStack][Nova] deference between live-migration and migrate

2012-05-31 Thread Tim Bell
I would favour a field for the type of migration which allows future expansion. we've already got migrate, live migrate and block migrate but hypervisors may have further different flavours too in the future and the API should support the full set of options while encouraging convergence when th

Re: [Openstack] [OpenStack][Nova] deference between live-migration and migrate

2012-05-31 Thread David Kranz
On 5/31/2012 2:10 PM, Vishvananda Ishaya wrote: On May 25, 2012, at 2:36 AM, John Garbutt wrote: I have been meaning to draft a blueprint around this. What we have today: ·Migrate: move a VM from one server to another, reboots across the move (I think) and destination is picked by scheduler ·

Re: [Openstack] Openstack with CentOS 6.2

2012-05-31 Thread Tim Bell
If you’re using puppet for configuration management, we would strongly recommend the puppetlabs openstack modules. They handle all the distribution differences too... They're working great for us with Scientific Linux so CentOS should work well too... Tim CERN > -Original Message- > Fro

Re: [Openstack] [OpenStack][Nova] deference between live-migration and migrate

2012-05-31 Thread Vishvananda Ishaya
On May 25, 2012, at 2:36 AM, John Garbutt wrote: > I have been meaning to draft a blueprint around this. > > What we have today: > · Migrate: move a VM from one server to another, reboots across the > move (I think) and destination is picked by scheduler > · LiveMigration: move

Re: [Openstack] install cloud computing by openstack!!!

2012-05-31 Thread Dolph Mathews
That's just a warning you can safely ignore for now (and a known issue): https://bugs.launchpad.net/keystone/+bug/936404 On Thu, May 31, 2012 at 12:09 PM, Từ Minh Mẫn wrote: > Dear all, > When I Create Tenants: I use command: keystone tenant-create --name admin, > Have error: No handlers could b

Re: [Openstack] Nodejs in horizon

2012-05-31 Thread Caitlin Bestler
Jan Drake wrote: > For what it's worth, I've noticed a generally myopic trend towards python > only. Node.js can play many very good roles as an > implementation strategy for various openstack capabilities, especially at the > edge. I was excited to see it being included. > There's a balanc

Re: [Openstack] Openstack with CentOS 6.2

2012-05-31 Thread Joshua Harlow
Try anvil. The y! peps run on rhel6.2 so it def should work (minus swift). http://anvil.readthedocs.org/en/latest/index.html On 5/31/12 12:39 AM, "Vogel Nicolas" wrote: Hi everybody, I'm trying to install Openstack (Essex release) with CentOS 6.2 and I have a lot of problems because of depen

Re: [Openstack] [OpenStack][Nova][libvirt] libvirtError: Unable to read from monitor: Connection reset by peer

2012-05-31 Thread Leander Bessa Beernaert
I think this solved it: https://answers.launchpad.net/nova/+question/198270 On Thu, May 31, 2012 at 5:29 PM, Leander Bessa Beernaert < leande...@gmail.com> wrote: > Hello, > > I'm having the following output http://paste.openstack.org/show/18275/ when > i try to run an instance on another compute

Re: [Openstack] install cloud computing by openstack!!!

2012-05-31 Thread Từ Minh Mẫn
Dear all, When I Create Tenants: I use command: keystone tenant-create --name admin, Have error: No handlers could be found for logger "keystoneclient.client" Please help me!!! On 29 May 2012 08:30, Từ Minh Mẫn wrote: > If I use Ubuntu 12.04 32bit, do I have any problem when I install cloud

Re: [Openstack] dhcp is not leasing an ip address in vlan mode

2012-05-31 Thread Vijay
Thanks for the reply. Network controller assigns a private ip address to the vm launched on compute node. However, I still cannot ping this ip address from the network(controller node). I am running nova-network service only on the controller. Thanks, -vj Fro

[Openstack] [OpenStack][Nova][libvirt] libvirtError: Unable to read from monitor: Connection reset by peer

2012-05-31 Thread Leander Bessa Beernaert
Hello, I'm having the following output http://paste.openstack.org/show/18275/ when i try to run an instance on another compute node. I have no idea why this is happening. I'm using the m1.tiny flavor for testing purposes. I have 3 separate compute nodes and one all-in-one node , 4 compute nodes to

Re: [Openstack] cfg usage - option registration, global objects

2012-05-31 Thread Duncan McGreggor
On Thu, May 31, 2012 at 11:26 AM, Doug Hellmann wrote: > > > On Thu, May 31, 2012 at 10:48 AM, Mark Washenberger > wrote: >> >> >> >> "Jay Pipes" said: >> > On 05/29/2012 04:04 AM, Mark McLoughlin wrote: >> >> Adopting this pattern across all projects will actually help >> >> openstack-common mo

Re: [Openstack] cfg usage - option registration, global objects

2012-05-31 Thread Johannes Erdfelt
On Thu, May 31, 2012, Mark Washenberger wrote: > * not be tied up with eventlet on the consumer side Yes! > * let the consumer code decide when to ack a message >(although maybe the concept of acking doesn't exist for all > implementations?) My XenAPI idempotency branch delays ACKs until

Re: [Openstack] cfg usage - option registration, global objects

2012-05-31 Thread Doug Hellmann
On Thu, May 31, 2012 at 10:48 AM, Mark Washenberger < mark.washenber...@rackspace.com> wrote: > > > "Jay Pipes" said: > > On 05/29/2012 04:04 AM, Mark McLoughlin wrote: > >> Adopting this pattern across all projects will actually help > >> openstack-common more generally. For example, Russell is

Re: [Openstack] No JSON object could be decoded

2012-05-31 Thread Kevin L. Mitchell
On Thu, 2012-05-31 at 10:53 +0100, khabou imen wrote: > curl -d '{"auth": {"tenantName": "service", > "passwordCredentials""username": "swift", "password": "swiftpass"}}}' > -H "Content-type: application/json" > http://192.168.1.68:35357/v2.0/tokens | python -mjson.tool Your submitted JSON data is

Re: [Openstack] cfg usage - option registration, global objects

2012-05-31 Thread Mark Washenberger
"Jay Pipes" said: > On 05/29/2012 04:04 AM, Mark McLoughlin wrote: >> Adopting this pattern across all projects will actually help >> openstack-common more generally. For example, Russell is moving the RPC >> code into openstack-common and it has a bunch of configuration options. >> If it can as

Re: [Openstack] Openstack with CentOS 6.2

2012-05-31 Thread Pádraig Brady
On 05/31/2012 03:22 PM, Pádraig Brady wrote: > On 05/31/2012 08:39 AM, Vogel Nicolas wrote: >> Hi everybody, >> >> >> >> I’m trying to install Openstack (Essex release) with CentOS 6.2 and I have a >> lot of problems because of dependencies and a deficiency of installation >> documents. >> >> I

Re: [Openstack] Volume creation stuck at status "Creating"

2012-05-31 Thread John Griffith
On Thu, May 31, 2012 at 5:58 AM, Alisson Soares Limeira Pontes < apon...@cpqd.com.br> wrote: > Something changed in the nova-volume ubuntu packages instalation. > I'd never had problems with nova-volume, but in my last two setups i > cannot attach volume and vm. Logs do not show any problem, so no

Re: [Openstack] Openstack with CentOS 6.2

2012-05-31 Thread Pádraig Brady
On 05/31/2012 08:39 AM, Vogel Nicolas wrote: > Hi everybody, > > > > I’m trying to install Openstack (Essex release) with CentOS 6.2 and I have a > lot of problems because of dependencies and a deficiency of installation > documents. > > I think I get all the actual packages and I try to mak

Re: [Openstack] Openstack with CentOS 6.2

2012-05-31 Thread Anne Gentle
Hi Nicolas - I've got an update to the install document in review now, nearly finished, that steps through both Ubuntu and CentOS. Please review: https://review.openstack.org/#/c/7431/ The appendix contains all sample .conf and .ini files. I'll send you a PDF to review separately. Your testing

[Openstack] Openstack with CentOS 6.2

2012-05-31 Thread Vogel Nicolas
Hi everybody, I'm trying to install Openstack (Essex release) with CentOS 6.2 and I have a lot of problems because of dependencies and a deficiency of installation documents. I think I get all the actual packages and I try to make the install with the official doc, which is based on Ubuntu. So

Re: [Openstack] [Nova] Instances which use flavors with disk space fail to spawn

2012-05-31 Thread Leander Bessa Beernaert
The host has a swap partition of 4GB :/ On Wed, May 30, 2012 at 9:59 PM, Vishvananda Ishaya wrote: > The scheduler by default has a ram overcommit of 1.5. Instances should be > able to launch correctly and use swap, so I suspect you have no swap setup > on the host? > > you can change the commit

[Openstack] Image management when img has created by libvirt

2012-05-31 Thread Massimo Canonico
Hi, I'm new on openstack, and I hope that this is not a stupid question. One of my students has created a Fedora 17 image with the following procedure: 1. virt-install -l http://download.fedoraproject.org/pub/fedora/linux/releases/16/Fedora/x86_64/os --ram 1024 --disk path=./images/olio-f16

Re: [Openstack] (no subject)

2012-05-31 Thread Kei.masumoto
To check free_disk_gb, >stats = libvirt_utils.get_fs_info(FLAGS.instances_path) >return stats['total'] / (1024 ** 3) I dont think disk space is not cheched on executing live-migration. available disk space is only checked for kvm-block migration. Kei (2012/05/31 12:08), William

Re: [Openstack] Volume creation stuck at status "Creating"

2012-05-31 Thread Alisson Soares Limeira Pontes
Something changed in the nova-volume ubuntu packages instalation. I'd never had problems with nova-volume, but in my last two setups i cannot attach volume and vm. Logs do not show any problem, so no clue why this problem. 2012/5/31 Milind > Thanks, > > Any one know what is the problem or it is

Re: [Openstack] No JSON object could be decoded

2012-05-31 Thread Sam Morrison
Hi Imen, If you take out the pipe to python you should see the correct error. Eg do: curl -d '{"auth": {"tenantName": "service", "passwordCredentials""username": "swift", "password": "swiftpass"}}}' -H "Content-type: application/json" http://192.168.1.68:35357/v2.0/tokens Cheers, Sam On 3

[Openstack] No JSON object could be decoded

2012-05-31 Thread khabou imen
hi everybody, I got this error "No JSON object could be decoded" when runnig curl -d '{"auth": {"tenantName": "service", "passwordCredentials""username": "swift", "password": "swiftpass"}}}' -H "Content-type: application/json" http://192.168.1.68:35357/v2.0/tokens | python -mjson.tool % Total

Re: [Openstack] After nova-network setup, I loose Internet access

2012-05-31 Thread Emilien Macchi
Thanks Vish & Chris, You helped me to understand what is wrong. I add fixed_range=*10.0.0.0/16* and now all is right. Solved ! Thank's again. Regards On Thu, May 31, 2012 at 1:15 AM, Chris Wright wrote: > * Emilien Macchi (emilien.mac...@stackops.com) wrote: > > But I haven't created an

[Openstack] Fwd: lock a instance

2012-05-31 Thread William Herry
ignore this mail cause I find in nova source code, sorry -- Forwarded message -- From: William Herry Date: Thu, May 31, 2012 at 3:13 PM Subject: [Openstack] lock a instance To: openstack@lists.launchpad.net What nova lock name_of_instance will do to a instance, I just find it ch

Re: [Openstack] Volume creation stuck at status "Creating"

2012-05-31 Thread Milind
Thanks, Any one know what is the problem or it is another bug? REgards, Milind On Thu, May 31, 2012 at 12:22 PM, William Herry < william.herry.ch...@gmail.com> wrote: > I can't tell what's wrong about your config, let others help you > > On Thu, May 31, 2012 at 2:50 PM, Milind wrote: > >> Hi J

Re: [Openstack] Volume creation stuck at status "Creating"

2012-05-31 Thread Milind
Hi Just ran command... here is the output... root@ucmaster:/var/log/upstart# nova --debug volume-create --display_name=novavol5 --display_description=volumenova5 1 connect: (ucmaster, 5000) send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: ucmaster:5000\r\nContent-Length: 117\r\ncontent-type: applicatio

[Openstack] subscribe

2012-05-31 Thread 朱荣泽
subscribe ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp

Re: [Openstack] Volume creation stuck at status "Creating"

2012-05-31 Thread Milind
On Thu, May 31, 2012 at 12:08 PM, William Herry < william.herry.ch...@gmail.com> wrote: > I can't see any unusual log > > try: > > nova --debug volume-create --display_name=novavol4 > --display_description=volumenova4 1 > > > On Thu, May 31, 2012 at 2:33 PM, Milind wrote: > >> I did that and iss