[Openstack] Vm provision code flow in openstack

2013-04-29 Thread Deepak Jeswani1
Hello everyone, I am trying to understand the flow of control in code in openstack for provisioning a VM. I want to understand it in order to do modify scheduler module as per our requirements. I have found the code base which, if I am not wrong, is kept in /usr/share/pyshared/nova/*

Re: [Openstack] Swift container's rwx permissions

2013-04-29 Thread David Dobbins
Clay- You are correct – the hadoop-swift filesystem is just an implement of the Hadoop FileSystem class that uses swift for storage. As such, it's just translating filesystem calls into HTTP requests into swift and is not accessing the filesystem of the object servers directly. Shashank-

Re: [Openstack] [openstack-community] OpenStack Teacher /Student Certification

2013-04-29 Thread John Wong
Hi, There is a free certification program called CloudU that Rackspace is prompting. http://www.rackspace.com/knowledge_center/cloudu/curriculum This is a free program as far as I know. It has some 10-sih lesson? The content is about Cloud rather than Openstack, but worth looking at it. Why

[Openstack] Keystone JSON format access control policy

2013-04-29 Thread Xiangjun Qian
Hi everyone, I'm currently looking at access control mechanisms of OpenStack and finding that the access control policy is specified using JSON format. I'm wondering why we do not adopt an XML based approach like XACML, is it because of the performance problem, or we just choose JSON as it's

[Openstack] Quantum CLI errors on Grizzly

2013-04-29 Thread Ashutosh Narayan
Hi folks, I have installed Grizzly on CentOS 6.3 and was setting up Quantum by following the instructions given in the below link : https://fedoraproject.org/wiki/Packstack_to_Quantum In step 13 when I start using Quantum CLI to create a private network using the command - *quantum net-create

Re: [Openstack] Vm provision code flow in openstack

2013-04-29 Thread Michael Still
So, there are a few things which happen here. VM provisioning is handled by the compute driver (checkout run_instance in nova/compute/manager.py). Scheduling however is handled by the scheduler, which has a plugin system (checkout nova/scheduler/*). Also, you'd be better off browing git for the

[Openstack] [Grizzly] Unable to retrieve quota information

2013-04-29 Thread Ashutosh Narayan
Hi Folks, I have installed Grizzly on CentOS 6.4. I was able to see quota information for quite some time. But looks like after reboot the quota information is not reflected in the Overview tab. Is there a bug related to this, if not which services should I check to fix this issue. Please

Re: [Openstack] Vm provision code flow in openstack

2013-04-29 Thread Deepak Jeswani1
Hello Michael, Many thanks for your response. I somehow found this code base (in installed openstack instance) and I inserted debug steps (opening a log file and printing statements into it) to see if the code flows through the file (specifically file '/usr/share/pyshared/nova/compute/api.py'

[Openstack] nova-network IPv6

2013-04-29 Thread Blair Bethwaite
Hi all, We've got a Folsom cloud running nova-network in FlatDHCP multi-host, currently with just a single public fixed range. We followed http://docs.openstack.org/folsom/openstack-compute/admin/content/configuring-compute-to-use-ipv6-addresses.htmlto get IPv6 going (plus adding a bunch of

Re: [Openstack] [Grizzly] Unable to retrieve quota information

2013-04-29 Thread Julie Pichon
Hello, Ashutosh Narayan aashutoshnara...@gmail.com wrote: I have installed Grizzly on CentOS 6.4. I was able to see quota information for quite some time. But looks like after reboot the quota information is not reflected in the Overview tab. Is there a bug related to this, if not which

Re: [Openstack] [Grizzly] Unable to retrieve quota information

2013-04-29 Thread Ashutosh Narayan
Hi, Data is not displayed at all and it pops an error dialog. Http error_log shows - [Mon Apr 29 12:11:35 2013] [error] \x1b[31;1mRecoverable error: [Errno 111] Connection refused\x1b[0m Error 111 is another pop up which I see when I click on various sections under Admin tab or Projects Tab.

Re: [Openstack] [Grizzly] Unable to retrieve quota information

2013-04-29 Thread Julie Pichon
Hi, Ashutosh Narayan aashutoshnara...@gmail.com wrote: Data is not displayed at all and it pops an error dialog. Http error_log shows - [Mon Apr 29 12:11:35 2013] [error] \x1b[31;1mRecoverable error: [Errno 111] Connection refused\x1b[0m Error 111 is another pop up which I see when I

Re: [Openstack] Keystone JSON format access control policy

2013-04-29 Thread Dolph Mathews
The JSON approach is rather arbitrary; keystone has an API to manage publish policy blobs of any format (/v3/policies), and the policy engines themselves are completely pluggable. I don't think there's anything preventing a deployment from implementing an XACML based policy solution (if there is

Re: [Openstack] cinder-volume ignoring rabbit config?

2013-04-29 Thread Darren Birkett
On 27 April 2013 02:14, Dennis Jacobfeuerborn denni...@conversis.de wrote: 2013-04-27 03:05:35DEBUG [qpid.messaging.io.raw] OPEN[31bbb00]: localhost:5672 2013-04-27 03:05:35ERROR [cinder.openstack.common.rpc.**impl_qpid] Unable to connect to AMQP server: [Errno 111] ECONNREFUSED.

[Openstack] release process and sample configs

2013-04-29 Thread Darren Birkett
Hi All, I've noticed that a lot of the projects do not get their sample configs updated as part of the release process. I'd suggest that one of the final commits to each project before a release is cut, is to update the sample config so it's relevant to the codebase that's being released and

[Openstack] Failed db sync while upgrading from essex to folsom

2013-04-29 Thread Shashank Sahni
Hi everyone, I'm having some trouble upgrading from essex to folsom. The cloud is currently running on Ubuntu 12.04. For the upgrade, I included the folsom repo(ubuntu cloud archive) and upgraded the packages. Things went fine until I issued nova-manage db sync. It failed with the following

Re: [Openstack] Quantum CLI errors on Grizzly

2013-04-29 Thread Jay S Bryant
Ashutosh, Have you verified that the necessary Quantum processes are running? If not, ensure that quantum-dhcp-agent, quantum-l3-agent, quantum-openvswitch-agent and most importantly quantum are running. If those processes are running can you share the output from

Re: [Openstack] Keystone JSON format access control policy

2013-04-29 Thread Xiangjun Qian
Hey Tks man~ On Mon, Apr 29, 2013 at 3:00 PM, Dolph Mathews dolph.math...@gmail.comwrote: The JSON approach is rather arbitrary; keystone has an API to manage publish policy blobs of any format (/v3/policies), and the policy engines themselves are completely pluggable. I don't think there's

[Openstack] quantum-plugin-openvswitch-agent error

2013-04-29 Thread Arindam Choudhury
Hi, I am getting the following error. Any help will be highly appreciated. head /var/log/quantum/ovs-agent.log 2013-04-29 16:59:15ERROR [quantum.agent.linux.ovs_lib] Unable to execute ['ovs-vsctl', '--timeout=2', '--', '--if-exists', 'del-port', 'br-int', 'patch-tun']. Exception:

Re: [Openstack] release process and sample configs

2013-04-29 Thread Thierry Carrez
Darren Birkett wrote: I've noticed that a lot of the projects do not get their sample configs updated as part of the release process. I'd suggest that one of the final commits to each project before a release is cut, is to update the sample config so it's relevant to the codebase that's being

Re: [Openstack] Failed db sync while upgrading from essex to folsom

2013-04-29 Thread Yaguang Tang
This is a MYsql DB issue, you can try to restart MYsql if possible. 2013/4/29 Shashank Sahni shredde...@gmail.com Hi everyone, I'm having some trouble upgrading from essex to folsom. The cloud is currently running on Ubuntu 12.04. For the upgrade, I included the folsom repo(ubuntu cloud

Re: [Openstack] release process and sample configs

2013-04-29 Thread Anne Gentle
On Mon, Apr 29, 2013 at 10:50 AM, Thierry Carrez thie...@openstack.orgwrote: Darren Birkett wrote: I've noticed that a lot of the projects do not get their sample configs updated as part of the release process. I'd suggest that one of the final commits to each project before a release is

Re: [Openstack] quantum-plugin-openvswitch-agent error

2013-04-29 Thread Arindam Choudhury
Solved by adding root_helper = sudo /usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf in /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini From: arin...@live.com To: openstack@lists.launchpad.net Date: Mon, 29 Apr 2013 17:36:25 +0200 Subject: [Openstack]

[Openstack] weird nova attach of a volume

2013-04-29 Thread Steve Heistand
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ok so I have a volume that Im trying to attach to an instance from within horizon. It always fails with the message of could not attach volume. I try it via a nova CLI version and get messages about /dev/vdb is already in use. I had tried to attach

[Openstack] error while spawning vm

2013-04-29 Thread Arindam Choudhury
Hi, My setup is: # nova-manage service list Binary Host Zone Status State Updated_At nova-conductor aopcsos internal enabled :-) 2013-04-29 17:10:58 nova-console aopcsos

[Openstack] DevStack, Xen and Bad archive mirror error

2013-04-29 Thread Martin Maisey
Hi, I've just tried out DevStack with my XCP 1.6.10 server using the instructions at https://github.com/openstack-dev/devstack/blob/master/tools/xen/README.md I hit exactly the same issue that Hu Yanrui mentioned in a mail to the list last month - see

[Openstack] openstack and PBS

2013-04-29 Thread Steve Heistand
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 has anyone heard or seen (or got working) an interface to openstack from PBS's batch system? thanks s - -- Steve Heistand NASA Ames Research Center

Re: [Openstack] DevStack, Xen and Bad archive mirror error

2013-04-29 Thread Bob Ball
Hi Martin, That looks like a spot on analysis to me. If you could raise a bug I will look at fixing it tomorrow. I think it's useful to have the bug for future reference rather than me just making the devstack change. Thanks for your investigations! Bob Martin Maisey mar...@maisey.co.uk

Re: [Openstack] Failed db sync while upgrading from essex to folsom

2013-04-29 Thread Shashank Sahni
Hello Yaguang, Thanks for your response, but no luck :( This table, projects, and related ones - users, user_project_association etc. seem to be skeleton from the time authentication service was a part of nova. The related tables are all empty. I tried to delete it, but got table doesn't exist

Re: [Openstack] error while spawning vm

2013-04-29 Thread Aaron Rosen
From this error it looks you don't have brctl in any of the filters in /etc/nova/*filters: 2013-04-29 19:17:33.640 7974 TRACE nova.virt.libvirt.vif [instance: b5317dbd-bd85-4cf7-bbf0-cc653fa8c425] Stdout: '/usr/bin/nova-rootwrap: Unauthorized command: brctl delif qbr8b7fa98b-60 qvb8b7fa98b-60

Re: [Openstack] DevStack, Xen and Bad archive mirror error

2013-04-29 Thread Martin Maisey
No problems - bug filed at https://bugs.launchpad.net/devstack/+bug/1174455 Cheers, Martin On 29 April 2013 18:39, Bob Ball bob.b...@citrix.com wrote: Hi Martin, That looks like a spot on analysis to me. If you could raise a bug I will look at fixing it tomorrow. I think it's useful

Re: [Openstack] weird nova attach of a volume

2013-04-29 Thread Steve Heistand
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 followup on this, what I think is going on: I have an image that I am tweaking and snapshot'ing. the snapshot process remembers that a volume is attached to it but doesnt attach the volume to it when you launch a new copy of the snapshot. ideally

Re: [Openstack] error while spawning vm

2013-04-29 Thread Arindam Choudhury
Thanks for your reply. Surprisingly, in my /etc/nova/rootwrap.d/, I only have api-metadata.filters. I dont know what went wrong. Date: Mon, 29 Apr 2013 11:12:46 -0700 Subject: Re: [Openstack] error while spawning vm From: aro...@nicira.com To: arin...@live.com CC: openstack@lists.launchpad.net

Re: [Openstack] quantum-plugin-openvswitch-agent error

2013-04-29 Thread Jay S Bryant
Arindam, Do you have sudo configured properly? Something like the following? Defaults:quantum !requiretty quantum ALL = (root) NOPASSWD: /usr/bin/quantum-rootwrap Jay S. Bryant Linux Developer - OpenStack Enterprise Edition Department 7YLA, Building 015-2, Office

Re: [Openstack] quantum-plugin-openvswitch-agent error

2013-04-29 Thread Arindam Choudhury
I solved it by adding root_helper = sudo /usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf in /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini To: arin...@live.com CC: openstack@lists.launchpad.net; openstack-bounces+jsbryant=us.ibm@lists.launchpad.net Subject: Re: [Openstack]

Re: [Openstack] Failed db sync while upgrading from essex to folsom

2013-04-29 Thread Calvin Walton
On Mon, 2013-04-29 at 20:16 +0530, Shashank Sahni wrote: Hi everyone, I'm having some trouble upgrading from essex to folsom. The cloud is currently running on Ubuntu 12.04. For the upgrade, I included the folsom repo(ubuntu cloud archive) and upgraded the packages. Things went fine until I

Re: [Openstack] Ceilometer Install

2013-04-29 Thread Riki Arslan
Hi Doug, I have followed the document. The only thing that is different from the docs is that I did not copy the yaml file (it does not exist in tarball): cp etc/ceilometer/*.yaml /etc/ceilometer However, the tarball is the g2 version, which is the last version that was supposed to work with

[Openstack] Cinder restarting every second with cryptic error

2013-04-29 Thread Drew Weaver
2013-04-29 17:57:00AUDIT [cinder.service] Starting cinder-volume node (version 2013.1) 2013-04-29 17:57:00DEBUG [cinder.utils] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf vgs --noheadings -o name 2013-04-29 17:57:01DEBUG [cinder.utils] backend module

Re: [Openstack] Ceilometer Install

2013-04-29 Thread Riki Arslan
I thought it might help if mentioned little more: /etc/ceilometer.conf file has the following parameters added: os_username=ceilometer os_password=$PASSWORD os_tenant_name=service os_auth_url=http://localhost:5000/v2.0/ I checked CLI_OPTIONS in service.py and it looks allright: CLI_OPTIONS = [

Re: [Openstack] release process and sample configs

2013-04-29 Thread Tom Fifield
On 30/04/13 02:12, Anne Gentle wrote: On Mon, Apr 29, 2013 at 10:50 AM, Thierry Carrez thie...@openstack.org mailto:thie...@openstack.org wrote: Darren Birkett wrote: I've noticed that a lot of the projects do not get their sample configs updated as part of the

Re: [Openstack] Cinder restarting every second with cryptic error

2013-04-29 Thread John Griffith
On Mon, Apr 29, 2013 at 3:59 PM, Drew Weaver drew.wea...@thenap.com wrote: Child 4300 exited with status 2 Hi Drew, I think I know what's going on here. In the Folsom release we had to add some conversion work to deal with migrating from iet to tgt. One of the things we did here was added a

Re: [Openstack] Cinder restarting every second with cryptic error

2013-04-29 Thread John Griffith
Hi Drew, I think the gist listed here [1], will address the issue. I'm going to need to spin things up and test it though. Thanks, John [1] https://gist.github.com/j-griffith/5485632 On Mon, Apr 29, 2013 at 5:24 PM, John Griffith john.griff...@solidfire.comwrote: On Mon, Apr 29, 2013 at

[Openstack] [Grizzly] VMs can't access internet if floating ip associated

2013-04-29 Thread Michaël Van de Borne
Hi there, I'm running Grizzly on Ubuntu 12.04 in this topology: http://docs.openstack.org/trunk/openstack-network/admin/content/connectivity.html and using the per-tenant routers with private networks. I just found out that my VMs (except just one) can't access internet if I associate them a

[Openstack] Configuring tempurl in Openstack Swift

2013-04-29 Thread Shrinand Javadekar
Hi, Configuring tempurl in openstack Swift requires two steps: 1) Adding tempurl to the pipeline in proxy-server.conf 2) Setting the tempurl key on the account. Step #1 above is fairly straight forward. However, step #2 is slightly complicated; at least as per [1]. It requires first

[Openstack] anyone has a sample quantum.conf file that configures a valid quantum.log file?

2013-04-29 Thread Yuling_C
Hi, I'm new to Quantum and trying to set up an openstack quantum environment. I installed a single node environment using DevStack(on a VM) successfully. I noticed that by default there is no log files for quantum. I tried to enable the quantum logging using quantum.conf. However, I haven't

Re: [Openstack] Configuring tempurl in Openstack Swift

2013-04-29 Thread John Dickinson
There are no plans to change the current implementation of tempurl. In order to generate a tempurl that can be validated without relying on a network call to a centralized authority service, the owner and the service must have a shared secret. In the tempurl feature, this shared secret is set

[Openstack-ubuntu-testing-notifications] Build Fixed: precise_havana_python-swiftclient_trunk #4

2013-04-29 Thread openstack-testing-bot
at 20130429-1533Build needed 00:00:33, 1032k disc spaceINFO:root:Uploading package to ppa:openstack-ubuntu-testing/havanaDEBUG:root

[Openstack-ubuntu-testing-notifications] Build Still Failing: precise_havana_quantum_trunk #69

2013-04-29 Thread openstack-testing-bot
Title: precise_havana_quantum_trunk General InformationBUILD FAILUREBuild URL:https://jenkins.qa.ubuntu.com/job/precise_havana_quantum_trunk/69/Project:precise_havana_quantum_trunkDate of build:Mon, 29 Apr 2013 18:01:35 -0400Build duration:1 min 16 secBuild cause:Started by an SCM changeBuilt

[Openstack-ubuntu-testing-notifications] Build failed in Jenkins: cloud-archive_folsom_version-drift #15041

2013-04-29 Thread openstack-testing-bot
See http://10.189.74.7:8080/job/cloud-archive_folsom_version-drift/15041/ -- Started by timer Building remotely on pkg-builder in workspace http://10.189.74.7:8080/job/cloud-archive_folsom_version-drift/ws/ [cloud-archive_folsom_version-drift] $ /bin/bash

[Openstack-ubuntu-testing-notifications] Build failed in Jenkins: cloud-archive_folsom_version-drift #15042

2013-04-29 Thread openstack-testing-bot
See http://10.189.74.7:8080/job/cloud-archive_folsom_version-drift/15042/ -- Started by timer Building remotely on pkg-builder in workspace http://10.189.74.7:8080/job/cloud-archive_folsom_version-drift/ws/ [cloud-archive_folsom_version-drift] $ /bin/bash

[Openstack-ubuntu-testing-notifications] Build failed in Jenkins: cloud-archive_folsom_version-drift #15044

2013-04-29 Thread openstack-testing-bot
See http://10.189.74.7:8080/job/cloud-archive_folsom_version-drift/15044/ -- Started by timer Building remotely on pkg-builder in workspace http://10.189.74.7:8080/job/cloud-archive_folsom_version-drift/ws/ [cloud-archive_folsom_version-drift] $ /bin/bash

[Openstack-ubuntu-testing-notifications] Build failed in Jenkins: cloud-archive_folsom_version-drift #15046

2013-04-29 Thread openstack-testing-bot
See http://10.189.74.7:8080/job/cloud-archive_folsom_version-drift/15046/ -- Started by timer Building remotely on pkg-builder in workspace http://10.189.74.7:8080/job/cloud-archive_folsom_version-drift/ws/ [cloud-archive_folsom_version-drift] $ /bin/bash

[Openstack-ubuntu-testing-notifications] Build failed in Jenkins: cloud-archive_folsom_version-drift #15045

2013-04-29 Thread openstack-testing-bot
See http://10.189.74.7:8080/job/cloud-archive_folsom_version-drift/15045/ -- Started by timer Building remotely on pkg-builder in workspace http://10.189.74.7:8080/job/cloud-archive_folsom_version-drift/ws/ [cloud-archive_folsom_version-drift] $ /bin/bash

[Openstack-ubuntu-testing-notifications] Build failed in Jenkins: cloud-archive_folsom_version-drift #15048

2013-04-29 Thread openstack-testing-bot
See http://10.189.74.7:8080/job/cloud-archive_folsom_version-drift/15048/ -- Started by timer Building remotely on pkg-builder in workspace http://10.189.74.7:8080/job/cloud-archive_folsom_version-drift/ws/ [cloud-archive_folsom_version-drift] $ /bin/bash

[Openstack-ubuntu-testing-notifications] Build failed in Jenkins: cloud-archive_folsom_version-drift #15047

2013-04-29 Thread openstack-testing-bot
See http://10.189.74.7:8080/job/cloud-archive_folsom_version-drift/15047/ -- Started by timer Building remotely on pkg-builder in workspace http://10.189.74.7:8080/job/cloud-archive_folsom_version-drift/ws/ [cloud-archive_folsom_version-drift] $ /bin/bash

[Openstack-ubuntu-testing-notifications] Build failed in Jenkins: cloud-archive_folsom_version-drift #15049

2013-04-29 Thread openstack-testing-bot
See http://10.189.74.7:8080/job/cloud-archive_folsom_version-drift/15049/ -- Started by timer Building remotely on pkg-builder in workspace http://10.189.74.7:8080/job/cloud-archive_folsom_version-drift/ws/ [cloud-archive_folsom_version-drift] $ /bin/bash