Re: [Openstack] Issue in debugging OpenStack Swift

2013-07-24 Thread Muhammad Kazim
Hi Paul, I have got the debug environment setup for Swift only. I have a devstack installation running on my machine. I use python debugger (pdb) for debugging. To debug any method you can issue 'pdb.set_trace()' call in that method (after importing pdb) and restart that particular service from "s

[Openstack] Cloud-init Fails - No route to host.

2013-07-24 Thread Jake G.
I have an issue with the cloud-init process on boot of my instance. DataSourceEc2.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [2/120s]: url error [[Errno 113] No route to host]  I am using this doc ->  http://docs.openstack.org/trunk/openstack-image/content/ce

Re: [Openstack] Cloud-init Fails - No route to host.

2013-07-24 Thread Robert Collins
On 24 July 2013 20:50, Jake G. wrote: > I have an issue with the cloud-init process on boot of my instance. > > DataSourceEc2.py[WARNING]: > 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [2/120s]: > url error [[Errno 113] No route to host] > > I am using this doc -> > http://doc

Re: [Openstack] How to set vcpupin in guest XML?

2013-07-24 Thread Peeyush Gupta
Hi Daniel, Thanks for your suggestion. I made some changes in config and it works fine. One more thing I wanted to ask is I want to add an attribute to xml. But I am not able to figure out how exactly libvirt is defining xml. I understand that config can only add the attributes that are defined

Re: [Openstack] Cloud-init Fails - No route to host.

2013-07-24 Thread Jake G.
I can access the internet from my instance no problem.  "- you might not have a neutron metadata-agent & proxy configured and running" This one might be the issue. Where should I look to configure this? From: Robert Collins To: Jake G. Cc: OpenStack Maillis

Re: [Openstack] How to set vcpupin in guest XML?

2013-07-24 Thread Daniel P. Berrange
On Wed, Jul 24, 2013 at 04:57:07PM +0800, Peeyush Gupta wrote: > Hi Daniel, > > Thanks for your suggestion. I made some changes in config and it > works fine. One more thing I wanted to ask is I want to add an > attribute to xml. But I am not able to figure out how exactly > libvirt is defining xm

Re: [Openstack] How to set vcpupin in guest XML?

2013-07-24 Thread Peeyush Gupta
Yeah, I actually meant libvirt library only. Looks like I have got a lot of work to do! Thanks again, for your time.   ~Peeyush Gupta From: Daniel P. Berrange To: Peeyush Gupta Cc: "openstack@lists.launchpad.net" Sent: Wednesday, 24 July 2013 2:43 PM Subj

Re: [Openstack] Cloud-init Fails - No route to host.

2013-07-24 Thread Jake G.
This looks like it is for collection metadata for amazon ec2 instances. How does this relate to my instances on my Openstack environment? From: Jake G. To: Robert Collins Cc: OpenStack Maillist Sent: Wednesday, July 24, 2013 5:59 PM Subject: Re: [Openst

Re: [Openstack] Cloud-init Fails - No route to host.

2013-07-24 Thread Jacob Godin
Hi Jake, You have to run the quantum-metadata-agent on your networking nodes (aka where the l3-agent, l2-agent, and dhcp-agent run). On Wed, Jul 24, 2013 at 7:21 AM, Jake G. wrote: > This looks like it is for collection metadata for amazon ec2 instances. > > How does this relate to my instance

Re: [Openstack] Cloud-init Fails - No route to host.

2013-07-24 Thread Jacob Godin
As an alternative, you can configure nova to use "config drive". This will provide the metadata via disk as opposed to over your network. On Wed, Jul 24, 2013 at 8:15 AM, Jacob Godin wrote: > Hi Jake, > > You have to run the quantum-metadata-agent on your networking nodes (aka > where the l3-ag

[Openstack] swift proxys and dedecated ceilometer

2013-07-24 Thread Axel Christiansen
Dear List, i am trying to figure out what ceilometer components nedds to bo installed an what nodes. I have 2 swift-proxy-hosts and 1 ceiloemeter-host These are the packages debian7 respectively the grizzly repo offers: ceilometer-agent-central - OpenStack efficient metering counters system

Re: [Openstack] swift proxys and dedecated ceilometer

2013-07-24 Thread Julien Danjou
On Wed, Jul 24 2013, Axel Christiansen wrote: Hi Axel, If you want to only meter Swift, you just need: > ceilometer-agent-central > ceilometer-collector And to retrieve your data: > ceilometer-api -- Julien Danjou /* Free Software hacker * freelance consultant http://julien.danjou.info */

[Openstack] [Ceilometer] Problem with nova resize events

2013-07-24 Thread Alessandro Barabesi
Hi everybody, I have the following problem when resizing an instance. I expected ceilometer to generate samples for the following resize related events: compute.instance.resize.prep.start/.end compute.instance.resize.confirm.start/.end and, maybe, also for: compute.instance.resize.start/.end c

Re: [Openstack] swift proxys and dedecated ceilometer

2013-07-24 Thread Axel Christiansen
Hi Julien, thx a lot for the real quick help. Yes, only swift. These meters: storage.objects storage.objects.size storage.objects.containers storage.objects.incoming.bytes storage.objects.outgoing.bytes To be sure, the ceilometer-agent-central and ceilometer-collector do go on the proxys. And

Re: [Openstack] swift proxys and dedecated ceilometer

2013-07-24 Thread Julien Danjou
On Wed, Jul 24 2013, Axel Christiansen wrote: > To be sure, the ceilometer-agent-central and ceilometer-collector do > go on the proxys. And just the ceilometer-api ist for the dedecated > ceilometer-host? No, they all can go to your dedicated host. Ceilometer agent central access Swift via its A

[Openstack] Multi node Grizzly ubuntu 12.04 - !!

2013-07-24 Thread raghavendra.lad
Hi, I am planning to install Multi node Grizzly ubuntu 12.04 version using the below guide: https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVS_MultiNode/OpenStack_Grizzly_Install_Guide.rst If anyone has tried and installed successfully please let me know. Regards, Raghaven

Re: [Openstack] [Quantum/Neutron] VM cannot get IP address from DHCP server

2013-07-24 Thread Brian Haley
On 07/23/2013 11:41 PM, David Kang wrote: > > A Redhat manual suggests the following rule to enable forwarding packets > among VMs and external network. > https://access.redhat.com/site/documentation/en-US/Red_Hat_OpenStack/2/pdf/Release_Notes/Red_Hat_OpenStack-2-Release_Notes-en-US.pdf > > ipta

Re: [Openstack] [Quantum/Neutron] VM cannot get IP address from DHCP server

2013-07-24 Thread David Kang
  If I remove the following REJECT rules, it works perfectly. -A INPUT -j REJECT --reject-with icmp-host-prohibited -A FORWARD -j REJECT --reject-with icmp-host-prohibited  With them, it looks like that the packets are dropped at the bridge before they can be forwarded. I ran the iptables comma

Re: [Openstack] glance: "Invalid Openstack Identity Credentials"

2013-07-24 Thread Salvatore Orlando
Hav you tried checking the credentials that glance uses for validating tokens with keystone? They are defined in glance's conf files in the section: [keystone_authtoken] signing_dir = /var/cache/glance/api auth_uri = http://127.0.0.1:5000/ auth_host = 127.0.0.1 auth_port = 35357 auth_protocol = h

Re: [Openstack] [Ceilometer] Problem with nova resize events

2013-07-24 Thread Jay Lau
Hi Alex, Not sure if it is a bug, but you are right, ceiloemeter did not send the notification that you required. Perhaps you can log a bug or else you can patch your cluster directly to enable this. class ComputeInstanceNotificationBase(ComputeNotificationBase): """Convert compute.instance.*

Re: [Openstack] [Quantum/Neutron] VM cannot get IP address from DHCP server

2013-07-24 Thread Brian Haley
On 07/24/2013 10:42 AM, David Kang wrote: > > If I remove the following REJECT rules, it works perfectly. > -A INPUT -j REJECT --reject-with icmp-host-prohibited > -A FORWARD -j REJECT --reject-with icmp-host-prohibited > > With them, it looks like that the packets are dropped at the bridge be

Re: [Openstack] Image prep. cloud-init user configuration help.

2013-07-24 Thread Scott Moser
On Tue, 23 Jul 2013, Dean Troyer wrote: > On Tue, Jul 23, 2013 at 1:49 AM, Jake G. wrote: > > I am following the part on how to set up cloud-init from the below guide, > > but I was wondering how to change the user? > > I do not have the default ec2-user on my instance image. Do I just create > >

Re: [Openstack] [Quantum/Neutron] VM cannot get IP address from DHCP server

2013-07-24 Thread David Kang
Thanks, Brian. My answers are put in your email with "-->". David - Original Message - > On 07/24/2013 10:42 AM, David Kang wrote: > > > > If I remove the following REJECT rules, it works perfectly. > > -A INPUT -j REJECT --reject-with icmp-host-prohibited > > -A FORWARD -j REJECT --

Re: [Openstack] [Ceilometer] Problem with nova resize events

2013-07-24 Thread Julien Danjou
On Wed, Jul 24 2013, Jay Lau wrote: > Hi Alex, > > Not sure if it is a bug, but you are right, ceiloemeter did not send the > notification that you required. Perhaps you can log a bug or else you can > patch your cluster directly to enable this. > > class ComputeInstanceNotificationBase(ComputeNot

Re: [Openstack] glance: "Invalid Openstack Identity Credentials"

2013-07-24 Thread Adam Young
On 07/24/2013 10:45 AM, Salvatore Orlando wrote: Hav you tried checking the credentials that glance uses for validating tokens with keystone? They are defined in glance's conf files in the section: [keystone_authtoken] signing_dir = /var/cache/glance/api make sure that the directory /var/cac

[Openstack] IMPORTANT: Openstack List Migration (Please read)

2013-07-24 Thread Paul Hummer
Openstackers- You've probably seen talk of migrating this list from Launchpad to lists.openstack.org. It's happening. This will affect you, and if you don't read through this, you could find yourself wondering where everyone went when you send emails to this list. Here's the timeline: 100UTC

Re: [Openstack] [Quantum/Neutron] VM cannot get IP address from DHCP server

2013-07-24 Thread Brian Haley
Just some more notes. It looks like you're running this system as both a network node and compute node, I think the pdf you found from Redhat assumed the system was a dedicated network node, i.e. it only had qr- and qg- interfaces, and not ns- as created by plug() when an instance is booted. Mult

Re: [Openstack] [Quantum/Neutron] VM cannot get IP address from DHCP server

2013-07-24 Thread David Kang
 It is strange. The node is only for Quantum-{linuxbridge, dhcp, l3}-agent. As far as I know, the quantum private network that is not associated with a quantum router has only ns-xxx interface. The quantum private network otherwise have both ns-xxx and qr-xxx interfaces.  Thanks,  David - O

Re: [Openstack] IMPORTANT: Openstack List Migration (Please read)

2013-07-24 Thread Kevin L. Mitchell
On Wed, 2013-07-24 at 10:19 -0600, Paul Hummer wrote: > Here's the timeline: > > > 100UTC Friday - The Launchpad group ~openstack will be put in > invite-only, so no new users will be able to sign up. At this point, > I'll get a Launchpad Admin to provide all the data from the mailing > list, and

Re: [Openstack] [Ceilometer] Problem with nova resize events

2013-07-24 Thread Alessandro Barabesi
Hi Jay and Julien thanks very much for your help. I am not terribly familiar with github and code reviews, I am not a developer :(, so maybe I am not using the correct terms here. We are using version 2013.1.2 of ceilometer, so we have no "ComputeInstanceNotificationBase" class in notificatio

Re: [Openstack] [openstack-dev] [nova] [baremetal] Mixed bare-metal + hypervisor cloud using grizzly

2013-07-24 Thread Clint Byrum
First off, welcome! :) FYI, this is the development mailing list. Questions like the one below may find more helpful answers on the general OpenStack users' mailing list. I have CC'd that list so that this response can be seen there, too, I suggest you re-send your original message there as well.

Re: [Openstack] glance: "Invalid Openstack Identity Credentials"

2013-07-24 Thread Adam Young
I wrote this up as a general answer. Hope it helps. https://adam.younglogic.com/2013/07/troubleshooting-pki-middleware/ On 07/24/2013 11:44 AM, Adam Young wrote: On 07/24/2013 10:45 AM, Salvatore Orlando wrote: Hav you tried checking the credentials that glance uses for validating tokens with

Re: [Openstack] glance: "Invalid Openstack Identity Credentials"

2013-07-24 Thread Syed Armani
Great post Adam. Thanks. Cheers, Syed On Wed, Jul 24, 2013 at 10:54 PM, Adam Young wrote: > I wrote this up as a general answer. Hope it helps. > > https://adam.younglogic.com/2013/07/troubleshooting-pki-middleware/ > > > On 07/24/2013 11:44 AM, Adam Young wrote: > > On 07/24/2013 10:45 AM,

Re: [Openstack] glance: "Invalid Openstack Identity Credentials"

2013-07-24 Thread Matt Davis
All, Thanks, that was a huge help. The problem was indeed some stale mismatching keys sitting in the signing_dir. I removed those and reloaded them from keystone and everything is working as expected. Cheers, -Matt On Wed, Jul 24, 2013 at 10:42 AM, Syed Armani wrote: > > Great post Adam. Th

[Openstack] Malformed Requests

2013-07-24 Thread Justin Brown
Hello, I'm having some trouble getting Nova and Cinder to communicate with the API and Horizon in Grizzly. Any request that I make against those services always returns HTTP 400, malformed request url. Requests to Keystone and Glance work fine. I've only found a couple other people with this iss

[Openstack] Help with spawning VMs

2013-07-24 Thread Brandon Adams
Hi everyone, First time doing this so bear with me here. I'm trying to launch instances with my Packstack install of Open Stack, single-node installation. Whenever I launch a VM, it always gets stuck spawning. When I check the compute.log file, it gives me this: 2013-07-24 14:23:01.520 AUDIT nova.

Re: [Openstack] IMPORTANT: Openstack List Migration (Please read)

2013-07-24 Thread Paul Hummer
I mean 0100 UTC. On Wed, Jul 24, 2013 at 10:49 AM, Kevin L. Mitchell < kevin.mitch...@rackspace.com> wrote: > On Wed, 2013-07-24 at 10:19 -0600, Paul Hummer wrote: > > Here's the timeline: > > > > > > 100UTC Friday - The Launchpad group ~openstack will be put in > > invite-only, so no new users

[Openstack] Configuring Live Migration

2013-07-24 Thread Guilherme Russi
Hello guys, I'm following this manual http://docs.openstack.org/trunk/openstack-compute/admin/content/configuring-live-migrations.html, and I'm trying to configure live migration on my openstack grizzly. I did all the configurations, mounted the disks, but when I put migration in action through the

Re: [Openstack] Image prep. cloud-init user configuration help.

2013-07-24 Thread Jake G.
I got the user correct now I am wondering why this is nessasary for my environment. I am not using Amazon EC2 services so why would I need to get metadata from there API? Can someone explain? From: Scott Moser To: Dean Troyer Cc: "openstack@lists.launchpad.

Re: [Openstack] Configuring Live Migration

2013-07-24 Thread Wangpan
Hi Guilherme, What error the compute log says? you may check both the source compute and destination compute node. 2013-07-25 Wangpan 发件人:Guilherme Russi 发送时间:2013-07-25 03:38 主题:[Openstack] Configuring Live Migration 收件人:"openstack@lists.launchpad.net" 抄送: Hello guys, I'm following this

Re: [Openstack] Help with spawning VMs

2013-07-24 Thread Wangpan
Hi Brandon, Does there have other error log in the compute log? this is just a warning log, may not this causes the VM sticks in spawning status. 2013-07-25 Wangpan 发件人:Brandon Adams 发送时间:2013-07-25 02:55 主题:[Openstack] Help with spawning VMs 收件人:"openstack" 抄送: Hi everyone, First time d

Re: [Openstack] Configuring Live Migration

2013-07-24 Thread Guilherme Russi
Hello Wangpan, where can I find these logs? Thank you. 2013/7/24 Wangpan > ** > Hi Guilherme, > What error the compute log says? you may check both the source compute and > destination compute node. > > 2013-07-25 > -- > Wangpan > -- >

Re: [Openstack] Help with spawning VMs

2013-07-24 Thread Jake G.
I think I had the same issue before. Check you LVM partitions. I would guess if you are using Packstack that your volume size is too small. You may have to increase the size of the partition that openstack is using to store instances. You can check the sizes with the below commands: # pvdisplay

Re: [Openstack] Configuring Live Migration

2013-07-24 Thread Wangpan
The default log path is /var/log/nova/nova-*.log grep -E "ERROR|TRACE" /var/log/nova/nova-*.log may be helpful. 2013-07-25 Wangpan 发件人:Guilherme Russi 发送时间:2013-07-25 09:39 主题:Re: [Openstack] Configuring Live Migration 收件人:"Wangpan" 抄送:"openstack@lists.launchpad.net" Hello Wangpan, where c

Re: [Openstack] Image prep. cloud-init user configuration help.

2013-07-24 Thread Scott Moser
On Wed, 24 Jul 2013, Jake G. wrote: > I got the user correct now I am wondering why this is nessasary for my > environment. > I am not using Amazon EC2 services so why would I need to get metadata from > there API? > > Can someone explain? Cloud-init uses the "datasource" of the EC2 Metadata se

Re: [Openstack] Help with spawning VMs

2013-07-24 Thread Brandon Adams
Thanks for responding. I had already encountered and fixed that issue, or so I thought. IIRC Packstack uses a loopback file that defaults to only 20G, so I reformatted my drive, creating a cinder-volumes vg that held about half of the space free. I'm able to create volumes just fine, about as larg

Re: [Openstack] Image prep. cloud-init user configuration help.

2013-07-24 Thread Jake G.
Thanks Scott! I have removed cloud-init from my instance and enabled config-drive in the nova.conf file. Anything else I should take notice of? From: Scott Moser To: Jake G. Cc: Dean Troyer ; "openstack@lists.launchpad.net" Sent: Thursday, July 25, 2013

[Openstack] Some instances duplicate network & can't ping

2013-07-24 Thread Chu Duc Minh
When I launch 5-10 instances simultaneously (from Dashboard), some instances duplicate network like that: (in Overview of instance) IP Addresses -- Net_Proj1 10.2.1.20, 10.2.1.2 Security Groups -- default - ALLOW -1:-1 from 0.0.0.0/0 -

Re: [Openstack] Some instances duplicate network & can't ping

2013-07-24 Thread Sg Kylin
I got the same problem, didn't figure out this also 在 2013年7月25日星期四,Chu Duc Minh 写道: > When I launch 5-10 instances simultaneously (from Dashboard), some > instances duplicate network like that: (in Overview of instance) > IP Addresses > -- > Net_Proj1 10.2.1.20, 10.2

[Openstack] Upload qcow2 image with configuration xml

2013-07-24 Thread Jake G.
Hi listers, I am trying to upload a KVM qcow2 image into Openstack, but I noticed after deploying an instance from the image, There are no NICs or other attached virtual hardware on the VM. My question is, how can I import the qcow2 disk image to include the configuration information included i