[Openstack] OpenStack Folsom Deploy Bash Script

2012-10-31 Thread Tomokazu Hirai
Hi I am developing 'OpenStack Folsom Deploy Script', and Today I release to github. If you have some stress with installing openstack folsom, please use this script :D http://jedipunkz.github.com/openstack_folsom_deploy/ Now, I tested 'all in one' on 1 node, and I keep to develop for sepalated

Re: [Openstack] [Openstack :: Folsom] Quantum Network Node setup

2012-10-31 Thread gong yong sheng
On 10/31/2012 01:08 PM, balaji patnala wrote: Hi Yong, Thanks for information. I think you mean to say that these Quantum Network Node is not per Tenant basis and it can serve all the Tenants of DC setup. Just want to un derstand what will be the advantages we are thinking of by doing so. TO

[Openstack] Verification of Keystone Installation fails

2012-10-31 Thread Ahmed Al-Mehdi
Hello, I followed the steps in the OpenStack Install Deploy for Ubuntu manual to install Keystone. However, when I issue the commands in section Verifying the Identity Service Installation ( http://docs.openstack.org/trunk/openstack-compute/install/apt/content/verifying-identity-install.html

[Openstack] [openstack-dev] Writing Plug-ins to Quantum

2012-10-31 Thread Trinath Somanchi
Hi Stackers- I'm testing a dummy plugin which does and RPC based communication with Quantum. I have done this following: [1] I have written dummy agent like DHCP agent - Present in HOST [2] I have written dummy_rpc_base like the db/dhcp_rpc_base.py - Present in Controller [3] I have written an

Re: [Openstack] [openstack-dev] Writing Plug-ins to Quantum

2012-10-31 Thread gong yong sheng
On 10/31/2012 05:00 PM, Trinath Somanchi wrote: Hi Stackers- I'm testing a dummy plugin which does and RPC based communication with Quantum. I have done this following: [1] I have written dummy agent like DHCP agent - Present in HOST [2] I have written dummy_rpc_base like the

[Openstack] [ceilometer] meter data volume

2012-10-31 Thread 吴亚伟
Hi Julien, Sorry to bother you. I am still testing ceilometer now. I am confused about the meter volume in the mongodb. Let's talk about cpu usage. After I create and boot a vm named vm_1, meter data record about cpu usage will be inserted into db in cycle(default 10 minutes). For example,the

[Openstack] Fwd: Openstack

2012-10-31 Thread Joe Warren-Meeks
On 31 October 2012 00:42, Curtis C. serverasc...@gmail.com wrote: On Tue, Oct 30, 2012 at 4:56 PM, Joe Warren-Meeks joe.warren.me...@gmail.com wrote: Hi guys, Can someone point me in the direction of a guide to get Openstack working with two nodes, one as controller and the second as a

Re: [Openstack] Scheduler issues in folsom

2012-10-31 Thread Daniel P. Berrange
On Wed, Oct 31, 2012 at 10:40:57AM +0800, Huang Zhiteng wrote: On Wed, Oct 31, 2012 at 10:07 AM, Vishvananda Ishaya vishvana...@gmail.com wrote: On Oct 30, 2012, at 7:01 PM, Huang Zhiteng winsto...@gmail.com wrote: I'd suggest the same ratio too. But besides memory overcommitment, I

[Openstack] Quantum Agent Error - Help!

2012-10-31 Thread Trinath Somanchi
Hi Stackers- I have written a fake agent with the study from the dhcp agent. The rpc agent daemon is running with the below errors. But I have missed some bits of information with respect to the rpc communication. In the log, I have the following errors. 2012-10-31 16:14:38 INFO

[Openstack] OpenStack Folsom Install Guide

2012-10-31 Thread Skible OpenStack
Hi Stackers, i am currently seeing a lot of people having trouble deploying OpenStack Folsom si i humbly present this guide for those who are experimented and even those who are still taking their first steps into the cloud world. The guide has been updated from the last version to support:

Re: [Openstack] OpenStack Folsom Install Guide

2012-10-31 Thread balaji patnala
Hi Skibie, If we can have installation guide for demo setup like Network Node, Compute Node and Controller Node that would be great as it will help to create deployment setup.. If any body has installation guide as per demo setup, Please share regards, Balaji On Wed, Oct 31, 2012 at 6:16 PM,

Re: [Openstack] OpenStack Folsom Install Guide

2012-10-31 Thread Skible OpenStack
Hi Balaji, My guide is inspired from the demo setup. What i have done is fused the network node and the controller node ;) to a single node (mother node) while leaving the compute node unharmed ! i probably should post a picture for my deployment architecture regards, Le 31/10/2012 14:02,

Re: [Openstack] [ceilometer] meter data volume

2012-10-31 Thread Julien Danjou
On Wed, Oct 31 2012, 吴亚伟 wrote: 1) '12389000' nanoseconds means '123.89' seconds or two minutes,it seem like to be 1238.9 seconds actually, is there something wrong ? Why do you think it's 1238.9 seconds? 2) If I never reboot or suspend vm_1, will the 'counter_volume' of cpu usage

Re: [Openstack] [ceilometer] meter data volume

2012-10-31 Thread Eoghan Glynn
Hi Yawei Wu, The root of the confusion is the fact the cpu meter is reporting the cumlative cpu_time stat from libvirt. This libvirt counter is reset when the associated qemu process is restarted (an artifact of how cpuacct works). So when you stop/start or suspend/resume, a fresh qemu process

Re: [Openstack] [ceilometer] meter data volume

2012-10-31 Thread Eoghan Glynn
Not at all. It means the CPU time consumed is reset to 0, but that's not an issue in itself, the API should be capable to deal with that if you ask for the total usage. Would that total usage be much more apparent if we started metering the delta between CPU times on subsequent polling

Re: [Openstack] [ceilometer] meter data volume

2012-10-31 Thread Julien Danjou
On Wed, Oct 31 2012, Eoghan Glynn wrote: Would that total usage be much more apparent if we started metering the delta between CPU times on subsequent polling periods as a gauge measure? (As opposed to treating it as a cumulative measure) I'm rather against the idea of transforming all

Re: [Openstack] [ceilometer] meter data volume

2012-10-31 Thread Eoghan Glynn
I don't think (max - min) would suffice to give an accurate measure of the actual CPU time used, as the counter may have reset multiple times in the course of the requested duration. It is, because /max in the API should be aware of the fact a reset can occur and computes accordingly.

Re: [Openstack] [ceilometer] meter data volume

2012-10-31 Thread Julien Danjou
On Wed, Oct 31 2012, Eoghan Glynn wrote: A-ha, OK, so not so much (max - min) as: (\Sigma local maxima) - first Yeah, excuse my math. :) Sounds computationally expensive to produce on the fly, but maybe the local maxima can be efficiently recorded as the data is being ingested. Yes

Re: [Openstack] Scheduler issues in folsom

2012-10-31 Thread Jonathan Proulx
Hi All While the RetryScheduler may not have been designed specifically to fix this issue https://bugs.launchpad.net/nova/+bug/1011852 suggests that it is meant to fix it, well if it is a scheduler race condition which is my suspicion. This is my current scheduler config which gives the failure

Re: [Openstack] OpenStack Folsom Install Guide

2012-10-31 Thread Cheng-Dae Choe
Hi All Here is my openstack folsom + quantum chef automation code. It has controller, compute, network configuration and quantum + ovs plugin. Please refer this works ^^; Because it's a personal spike works. It has lack of documentation and some comments are korean. It can be your starting

[Openstack] [openstack-dev] Folsom Quantum Agent :: No such RPC function

2012-10-31 Thread Trinath Somanchi
Hi- Please help troubleshoot the issue I have written a fake agent with the study from the dhcp agent. The rpc agent daemon is running with the below errors. But I have missed some bits of information with respect to the rpc communication. In the log, I have the following errors. 2012-10-31

Re: [Openstack] OpenStack + Instances stuck in build state

2012-10-31 Thread Cheng-Dae Choe
In my case... - Glance image fetching error - Quantum ip address allocation error these case are make similar building state. please review nova-compute, quantum logs. 2012. 10. 31., 오후 6:01, Desta Haileselassie Hagos desta161...@gmail.com 작성: Hi All, VM instances are stuck in build state

Re: [Openstack] Fwd: Openstack

2012-10-31 Thread Kiall Mac Innes
Is libvirt actually running? Does `virsh list` exit with an error? Doesn't sounds VNC related to me. Thanks, Kiall Sent from my phone. On Oct 31, 2012 10:04 AM, Joe Warren-Meeks joe.warren.me...@gmail.com wrote: On 31 October 2012 00:42, Curtis C. serverasc...@gmail.com wrote: On Tue, Oct

Re: [Openstack] Fwd: Openstack

2012-10-31 Thread Kiall Mac Innes
And - what does `nova-manage service list` show. Thanks, Kiall Sent from my phone. On Oct 31, 2012 3:56 PM, Kiall Mac Innes ki...@managedit.ie wrote: Is libvirt actually running? Does `virsh list` exit with an error? Doesn't sounds VNC related to me. Thanks, Kiall Sent from my phone.

Re: [Openstack] OpenStack Folsom Install Guide

2012-10-31 Thread Skible OpenStack
Hi Cheng-Dae Choe, I would love to add your work to my guide for richer user choices ;) if you may allow me. however, i can't see to find a link ! P.S: don't worry about korean comments, everyone likes GanGnam style now :) Le 31/10/2012 16:41, Cheng-Dae Choe a écrit : Hi All Here is my

Re: [Openstack] OpenStack Folsom Install Guide

2012-10-31 Thread Choe, Cheng-Dae
2012. 11. 1., 오전 1:02, Skible OpenStack skible.openst...@gmail.com 작성: Hi Cheng-Dae Choe, Hi Skible! I would love to add your work to my guide for richer user choices ;) if you may allow me. Sure! however, i can't see to find a link ! Oh.. I missed.. here is

Re: [Openstack] [ceilometer] meter data volume

2012-10-31 Thread Doug Hellmann
On Wed, Oct 31, 2012 at 10:23 AM, Eoghan Glynn egl...@redhat.com wrote: Hi Yawei Wu, The root of the confusion is the fact the cpu meter is reporting the cumlative cpu_time stat from libvirt. This libvirt counter is reset when the associated qemu process is restarted (an artifact of how

Re: [Openstack] [ceilometer] meter data volume

2012-10-31 Thread Doug Hellmann
On Wed, Oct 31, 2012 at 11:25 AM, Eoghan Glynn egl...@redhat.com wrote: I don't think (max - min) would suffice to give an accurate measure of the actual CPU time used, as the counter may have reset multiple times in the course of the requested duration. It is, because /max in the

Re: [Openstack] [ceilometer] meter data volume

2012-10-31 Thread Julien Danjou
On Wed, Oct 31 2012, Doug Hellmann wrote: Is that better than just reporting the data in a more easily digested format in the first place? IMHO yes. Julien, I don't understand your comment about losing data if your system is not launched to compute delta. Can you clarify what you mean

Re: [Openstack] Verification of Keystone Installation fails

2012-10-31 Thread Ahmed Al-Mehdi
Hi Dolph, Thank you very much for helping me on this issue. Following is the environment variables related to openstack: root@bodega:~# env | egrep OS_|SERVICE_ SERVICE_ENDPOINT=http://10.176.20.158:35357/v2.0/ SERVICE_TOKEN=012345SECRET99TOKEN012345 root@bodega:~# ifconfig eth0 eth0 Link

Re: [Openstack] [ceilometer] meter data volume

2012-10-31 Thread Eoghan Glynn
If your pollster is not running to compute delta and you have no state stored, you'll miss a part of what has been used. Would we have also have some 'misses' with the cumulative approach when the ceilometer agent was down? If I understood the (\Sigma local maxima)-first idea correctly, the

Re: [Openstack] [ceilometer] meter data volume

2012-10-31 Thread Julien Danjou
On Wed, Oct 31 2012, Eoghan Glynn wrote: Would we have also have some 'misses' with the cumulative approach when the ceilometer agent was down? No, unless the counter resets several times while your agent is down. But delta has the same issue. If I understood the (\Sigma local maxima)-first

Re: [Openstack] [openstack-dev] Folsom Quantum Agent :: No such RPC function

2012-10-31 Thread Trinath Somanchi
Hi- Can any one help me troubleshooting this issue... Thanks in advance. - Trinath On Wed, Oct 31, 2012 at 9:16 PM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi- Please help troubleshoot the issue I have written a fake agent with the study from the dhcp agent. The rpc agent

Re: [Openstack] Verification of Keystone Installation fails

2012-10-31 Thread Dolph Mathews
I was able to reproduce by defining SERVICE_ENDPOINT and SERVICE_TOKEN in my own environment, which appear to be overriding the credentials provided on the CLI -- I don't think that's the intended behavior. If you unset them, you should be able to verify the install. If you skip verifying

Re: [Openstack] Scheduler issues in folsom

2012-10-31 Thread Huang Zhiteng
Hi Jonathan, If I understand correctly, that bug is about multiple scheduler instances(processes) doing scheduler at the same time. When compute node found itself unable to fulfil a create_instance request, it'll resend the request back to scheduler (max_retry is to avoid endless retry). From

Re: [Openstack] Fwd: Openstack

2012-10-31 Thread Joe Warren-Meeks
nova-manage service list showed all smiley faces, with the relevant service running on the correct servers. I've decided to not split it out now. I'm going to use what was the controller just as an iscsi target, then run the full stack on what was going to be the compute nodes. Thanks for all

Re: [Openstack] Fwd: Openstack

2012-10-31 Thread Joe Warren-Meeks
I did try that with no joy.. On 31 October 2012 15:50, Gui Maluf guimal...@gmail.com wrote: have you tried to disable vnc and check if is working? I followed official doc using multi_host. This is my vnc configs #VNC CONSOLE --vnc_enabled=true

Re: [Openstack] [openstack-dev] Folsom Quantum Agent :: No such RPC function

2012-10-31 Thread Dan Wendlandt
I'd suggest posting a diff or pushing your changes to a publicly accessible repo to help people understand the changes you made. On Wed, Oct 31, 2012 at 10:43 AM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi- Can any one help me troubleshooting this issue... Thanks in advance.

[Openstack] Debugging OpenStack - Video on StackTach v2 and Stacky

2012-10-31 Thread Sandy Walsh
Hey! As promised at the summit the latest changes to StackTach are up on github. This is a major change from the original StackTach I introduced earlier this year (and left to wither). Also, I'm including Stacky, which is a new command line tool for StackTach. Here's a video that explains

Re: [Openstack] Scheduler issues in folsom

2012-10-31 Thread Jonathan Proulx
On Wed, Oct 31, 2012 at 1:47 PM, Huang Zhiteng winsto...@gmail.com wrote: Hi Jonathan, If I understand correctly, that bug is about multiple scheduler There is only a single process, I was reading it as relating to include threads within a single process, but they should clearly be able to

[Openstack] nova boot errors while attaching a volume to an instance

2012-10-31 Thread Bontala, Vibhuvardhan
Hi, I am running GA bits of Folsom. I am running a two node setup where the first node is the controller+compute node that has Cinder running as well. The second node is merely a compute node. I am seeing an issue while booting an instance from Cinder volume on both the nodes. The nova boot

Re: [Openstack] Verification of Keystone Installation fails

2012-10-31 Thread Ahmed Al-Mehdi
Hi Dolph, Awesome, that worked. Thank you very much. Just out of curiosity, what was the exact conflict? Between which environment variable and option passed to the CLI? Regards, Ahmed. From: Dolph Mathews dolph.math...@gmail.commailto:dolph.math...@gmail.com Date: Wednesday, October 31,

Re: [Openstack] Verification of Keystone Installation fails

2012-10-31 Thread Joshua Harlow
I think the overall issue is connected to https://bugs.launchpad.net/keystone/+bug/962600 Right? Seems like that is still happening :-( From: Ahmed Al-Mehdi ah...@coraid.commailto:ah...@coraid.com Date: Wednesday, October 31, 2012 1:15 PM To: Dolph Mathews

Re: [Openstack] [OpenStack] Limiting new roles

2012-10-31 Thread Dolph Mathews
With regard to keystone, the current policy implementation is entirely binary in that a role may either have total control over keystone or none. The implementation in Grizzly is much more granular. -Dolph On Wed, Oct 31, 2012 at 2:35 PM, Guillermo Alvarado guillermoalvarad...@gmail.com wrote:

[Openstack] Commong Page for IRC meeting schedules

2012-10-31 Thread Sriram Subramanian
Is there a central location where project meeting schedules are tracked. Even if not, could you please help build one by adding to this threa or at http://wiki.openstack.org/IRC *#openstack* (general discussion, support) *:* *#openstack-cinder* (cinder team discussions) *:* *#openstack-swift*

Re: [Openstack] Commong Page for IRC meeting schedules

2012-10-31 Thread Kiall Mac Innes
http://wiki.openstack.org/Meetings lists all the scheduled meetings. Thanks, Kiall On Wed, Oct 31, 2012 at 9:09 PM, Sriram Subramanian sri...@sriramhere.comwrote: Is there a central location where project meeting schedules are tracked. Even if not, could you please help build one by adding

Re: [Openstack] Verification of Keystone Installation fails

2012-10-31 Thread Dolph Mathews
There are basically two rules at work: 1) an existing token takes precedence over username+password credentials. 2) CLI options take precedence over configuration from the environment. In Folsom, these options look like: (existing token) --os-token / OS_SERVICE_TOKEN --os-endpoint /

Re: [Openstack] Verification of Keystone Installation fails

2012-10-31 Thread Ahmed Al-Mehdi
I think I figured out the issue (as far as what env. variables I should have defined), and this is my fault for …mixing steps stated in Section 5 of Openstack Install for Ubuntu and Appendix B in the same doc. It seems defining the env. variable SERVICE_ENDPOINT causes the failure (not sure

Re: [Openstack] Nova different sr

2012-10-31 Thread Egoitz Aurrekoetxea Aurre
Good night, Could anyone know if it's possible to use different nfs servers or different storages for launching instances in Openstack? Anyone knows about this please? Best regards, Egoirz Aurrekoetxea Aurre ego...@ramattack.net Sent from my smartphone El 29/10/2012, a las 16:13, Egoitz

Re: [Openstack] Verification of Keystone Installation fails

2012-10-31 Thread Ahmed Al-Mehdi
Thank you very much for the explanation. After some further tinkering with keystone.conf file, what you explained below is exactly what is happening. Thank you again for bearing with my questions. Regards, Ahmed. From: Dolph Mathews dolph.math...@gmail.commailto:dolph.math...@gmail.com

Re: [Openstack] Verification of Keystone Installation fails

2012-10-31 Thread Ahmed Al-Mehdi
Please ignore my email below, and further testing revealed my findings below to be false. Regards, Ahmed. From: Ahmed Al-Mehdi ah...@coraid.commailto:ah...@coraid.com Date: Wednesday, October 31, 2012 2:18 PM To: Joshua Harlow harlo...@yahoo-inc.commailto:harlo...@yahoo-inc.com, Dolph Mathews

[Openstack] [Glance] config_file parameter in glance-registry.conf file

2012-10-31 Thread Ahmed Al-Mehdi
Hi, I am following the steps in Openstack install manual for Ubuntu. Section 6 ( http://docs.openstack.org/trunk/openstack-compute/install/apt/content/configure-glance-files.html ) states to set the config_file parameter in glance-registry.conf file as follows: [paste_deploy] # Name of the

Re: [Openstack] [Glance] config_file parameter in glance-registry.conf file

2012-10-31 Thread Kevin L. Mitchell
On Wed, 2012-10-31 at 16:46 -0500, Ahmed Al-Mehdi wrote: I am following the steps in Openstack install manual for Ubuntu. Section 6 ( http://docs.openstack.org/trunk/openstack-compute/install/apt/content/configure-glance-files.html ) states to set the config_file parameter in

Re: [Openstack] [ceilometer] meter data volume

2012-10-31 Thread Eoghan Glynn
Would we have also have some 'misses' with the cumulative approach when the ceilometer agent was down? No, unless the counter resets several times while your agent is down. But delta has the same issue. If I understood the (\Sigma local maxima)-first idea correctly, the usage up to

Re: [Openstack] [OpenStack] Limiting new roles

2012-10-31 Thread Dolph Mathews
I'm specifically referring to keystone, because you mention ...this role only can create tentants and roles... If you can create tenants and roles in keystone, you also have the power to create new users and grant yourself additional roles in keystone, due to the binary nature of the policy

Re: [Openstack] [OpenStack] Limiting new roles

2012-10-31 Thread Gabriel Hurley
With respect to the comments on Horizon, as soon as Keystone implements the policy rollup and exposes it in the v3 API Horizon will fully honor the policies specified by the various projects. That blueprint for Keystone was targeted for Folsom but got bumped to Grizzly. Hopefully it'll make it

Re: [Openstack] [Glance] config_file parameter in glance-registry.conf file

2012-10-31 Thread Ahmed Al-Mehdi
Bug filed - https://bugs.launchpad.net/openstack-manuals/+bug/1073744 Regards, Ahmed. On 10/31/12 3:12 PM, Kevin L. Mitchell kevin.mitch...@rackspace.com wrote: On Wed, 2012-10-31 at 16:46 -0500, Ahmed Al-Mehdi wrote: I am following the steps in Openstack install manual for Ubuntu. Section

[Openstack] [Glance] glance index failing with Request returned failure status

2012-10-31 Thread Ahmed Al-Mehdi
Hello, I followed the steps in OpenStack Install and Deploy Manual – Ubuntu. After following the steps to install Glance, I issued the command glance index to test my setup. I am getting an error. Can someone please help. root@bodega:~/ahmed/temp# glance index ID

Re: [Openstack] [Glance] glance index failing with Request returned failure status

2012-10-31 Thread Brian Waldon
My immediate thought is that you configured glance-registry to use keystone authentication but you didn't do the same for glance-api. Make sure you add the following to glance-registry.conf: [paste_deploy] flavor=keystone On Oct 31, 2012, at 4:46 PM, Ahmed Al-Mehdi wrote: Hello, I

Re: [Openstack] Scheduler issues in folsom

2012-10-31 Thread Vishvananda Ishaya
On Oct 31, 2012, at 1:44 PM, Jonathan Proulx j...@jonproulx.com wrote: I'd only been pushing these options to the host the scheduler runs on, is it that simple? I'm delight if I'm an an idiot and just need a few line in a config file, but puzzled why this was (seemingly at least) working

[Openstack] Handling of adminPass is arguably broken (essex)

2012-10-31 Thread Lars Kellogg-Stedman
TL;DR: The way OpenStack handles the adminPass attribute during metadata injection is not useful on operating systems without an /etc/passwd and /etc/shadow. I would like to make the adminPass value available on a Windows instance, and this is my proposal for how to do it. I've been putting

Re: [Openstack] Handling of adminPass is arguably broken (essex)

2012-10-31 Thread Joshua Harlow
Just fyi, the cloud-init format 'spec' has something similar that bypasses the file injection (which is a bad/insecure/incompatible concept that needs to be gotten rid of imho) by having the following syntax it understands:

Re: [Openstack] Handling of adminPass is arguably broken (essex)

2012-10-31 Thread Vishvananda Ishaya
On Oct 31, 2012, at 7:04 PM, Lars Kellogg-Stedman l...@seas.harvard.edu wrote: Injection via files on a configuration disk seems to me the best way to handle security credentials like this, because disks in many cases require privileges to mount on a system and the configuration script can