[Openstack] Quantum/Melange: Unable to reach VM via ssh (Was : melange IPAM allocating .0, .1 addresses)

2012-03-28 Thread Mandar Vaze
Troy, Thanks for your help. `melange policy create -t {tennant} name={block_name} desc={policy_name}` (This should return the policy_id for the next command) `melange unusable_ip_octet create -t {tennant} policy_id={policy_id} octet=0` `melange

[Openstack] running glance index got Details [errno 111] ECONNREFUSED erro

2012-03-28 Thread 下一个傻子
I followed all the steps ,until step 4 ,when I run glance index ,I got the following, CientConnectionError:there was an error connecting to an server Details [errno 111] ECONNREFUSED what's really confusing me is I did all the steps yesterday and everything is just fine until ssh to the VM,but

Re: [Openstack] running glance index got Details [errno 111] ECONNREFUSED erro

2012-03-28 Thread Tomasz Paszkowski
Put appropriate glance configuration into nova.conf on nova-compute node, like below: glance_port=9292 glance_api_servers=10.0.0.1:9292 glance_num_retries=0 glance_host=10.0.0.1 On Wed, Mar 28, 2012 at 9:54 AM, 下一个傻子 nextf...@gmail.com wrote: I followed all the steps ,until step 4 ,when I run

[Openstack] Validation of floating IP opertaions in Essex codebase ?

2012-03-28 Thread Day, Phil
Hi Stackers, In Diablo there is a bunch of validation that goes on in the network/api layer, for example when associating an IP to an instance there are checks for: - Is the address allocated - Is it allocated to this project - Is it already assigned to an

Re: [Openstack] [OSSA 2012-002] Extremely long passwords can crash Keystone (CVE-2012-1572)

2012-03-28 Thread Daniel P. Berrange
On Tue, Mar 27, 2012 at 02:56:42PM -0400, Russell Bryant wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OpenStack Security Advisory: 2012-002 CVE: CVE-2012-1572 Date: March 27, 2012 Title: Extremely long passwords can crash Keystone Impact: High Reporter: Dan Prince

[Openstack] Programming OpenStack Compute API - 1.1 Mistake

2012-03-28 Thread Nicolas Odermatt
Hello Anne I am playing with the OpenStack API on my StackOps environment to get an idea of how to use it for scripts to programm some little scripts. I read the documentation Programming OpenStack Compute API - 1.1 and tried the code examples but at one specific script the machine threw me an

Re: [Openstack] [OpenStack] Xen Hypervisor

2012-03-28 Thread John Garbutt
-Original Message- From: Thomas Goirand [mailto:tho...@goirand.fr] Why not using: xe host-list --minimal instead of the grep, split, strip code, which adds useless complexity? [JG] Sure, that is much better. I just cut and paste the old code to save retesting. Also, this piece of

[Openstack] what's the default usernamepassword for the instance in devstack?

2012-03-28 Thread Felix
All, I tried to install openstack by devstack and succeeded, but where can i find the default username and password for the launched instance? thanks! ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net

Re: [Openstack] what's the default usernamepassword for the instance in devstack?

2012-03-28 Thread Roman Sokolkov
For cirrOS images login: cirros pass: cubswin:) 2012/3/28 Felix f...@tnsoft.com.cn All, I tried to install openstack by devstack and succeeded, but where can i find the default username and password for the launched instance? thanks! __**_

Re: [Openstack] what's the default usernamepassword for the instance in devstack?

2012-03-28 Thread Chmouel Boudjnah
On Wed, Mar 28, 2012 at 10:56 AM, Felix f...@tnsoft.com.cn wrote: I tried to install openstack by devstack and succeeded, but where can i find the default username and password for the launched instance? This should be mentioned (on your screen) when stack.sh is finished or it should be stored

Re: [Openstack] what's the default usernamepassword for the instance in devstack?

2012-03-28 Thread Andy Chong
He asked for the username/password for instance, not horizon dashboard On Wed, Mar 28, 2012 at 6:33 PM, Chmouel Boudjnah chmo...@chmouel.comwrote: On Wed, Mar 28, 2012 at 10:56 AM, Felix f...@tnsoft.com.cn wrote: I tried to install openstack by devstack and succeeded, but where can i find

Re: [Openstack] what's the default usernamepassword for the instance in devstack?

2012-03-28 Thread Mandar Vaze
I create my instance using cirros-0.3.0-x86_64-blank image Default username/password for the instance is listed on the very last line in “View Log” -Mandar From: openstack-bounces+mandar.vaze=vertex.co...@lists.launchpad.net

Re: [Openstack] Auto Assigned Floating IPs take a long time to associate

2012-03-28 Thread Kevin Jackson
Hmm, just to add to this - I thought I'd just blindly try an IP address... just in case... and I could connect... $ ssh 172.29.1.4 ... snip ubuntu@dev1:~$ logout Connection to 172.29.1.4 closed. But looking at nova list - it doesn't show this IP... something is being quite lazy in getting some

Re: [Openstack] Auto Assigned Floating IPs take a long time to associate

2012-03-28 Thread Day, Phil
Are you sure that its Nova that is taking the time to associate the IP, and not an ARP issue in your network ? I've seen this behaviour when quickly reusing floating IP addresses - Nova does the assignment and sends out an unsolicited ARP response (assuming you have the send_arp_for_ha flag

[Openstack] melange_ipam : get_tenant_id_by_net_id - possible bug (and fix)

2012-03-28 Thread Mandar Vaze
Troy, I've setup nova+quantum+mélange using devstack. devstack creates networks using tenant_id =default (This in itself looks incorrect, since it should be valid UUID for one of the tenant from keystone DB - but I can imagine that stack.sh can't get UUID for demo or admin tenants easily) So

Re: [Openstack] Auto Assigned Floating IPs take a long time to associate

2012-03-28 Thread Kevin Jackson
Cheers Phil, It's not that I can't get to the instances - I'd assume it was an ARP issue at that point - its the fact that Nova hasn't notified me that it has assigned an IP address: see my additional note where I guessed an IP address it would've assigned and I could access it... but management

Re: [Openstack] KVM crash.

2012-03-28 Thread Guilherme Birk
No one is having this issue? From: guib...@hotmail.com To: openstack@lists.launchpad.net Date: Fri, 23 Mar 2012 19:48:04 + Subject: [Openstack] KVM crash. I'm having problems with KVM on a single node installation. My problem is like these ones:

Re: [Openstack] Auto Assigned Floating IPs take a long time to associate

2012-03-28 Thread Kevin Jackson
I launched a new instance: I ssh'd to 172.29.1.4 and my instance was running but nova list shows no floating IP assigned. nova list +--+--++--+ | ID | Name | Status

Re: [Openstack] Auto Assigned Floating IPs take a long time to associate

2012-03-28 Thread Kiall Mac Innes
stab in the dark Have you kept an eye on the mysql table itself, rather than relying on the cli tools / dashboard that may very well cache the data? /stab in the dark Thanks, Kiall On Wed, Mar 28, 2012 at 1:58 PM, Kevin Jackson ke...@linuxservices.co.ukwrote: Cheers Phil, It's not that I

Re: [Openstack] Auto Assigned Floating IPs take a long time to associate

2012-03-28 Thread Kevin Jackson
It does appear that the database is updated (see a reply a few moments ago) at the correct point... an explanation of what the tool is/isn't doing will go a long way in helping me work out what I should be using the tools for / configuration. To an end user - it appears to take anywhere between a

[Openstack] problem ssh-ing into vms

2012-03-28 Thread Pierre Amadio
Hi there ! I'm puzzled with a ssh issue. Things used to work before, and now, i cannot access my vms anymore. I experience the same problem on both diablo (on ubuntu oneiric) and essex (ubuntu precise). I generate a ssh key: euca-add-keypair mykey ~/creds/testkey.priv chmod 0600

Re: [Openstack] Auto Assigned Floating IPs take a long time to associate

2012-03-28 Thread Kevin Jackson
I've raised https://bugs.launchpad.net/nova/+bug/967166 to track this issue. Kev On 28 March 2012 14:16, Kevin Jackson ke...@linuxservices.co.uk wrote: It does appear that the database is updated (see a reply a few moments ago) at the correct point... an explanation of what the tool is/isn't

Re: [Openstack] problem ssh-ing into vms

2012-03-28 Thread Scott Moser
On Wed, 28 Mar 2012, Pierre Amadio wrote: Hi there ! I'm puzzled with a ssh issue. Things used to work before, and now, i cannot access my vms anymore. Thank you for attaching euca-get-console-output. That provides the real hint here. | cloud-init start-local running: Wed, 28 Mar 2012

Re: [Openstack] problem ssh-ing into vms

2012-03-28 Thread Yong Sheng Gong
It seems iptables or some other similar software are no running on your host. openstack relies on it to translate 169.254.169.254 to host address.-openstack-bounces+gongysh=cn.ibm@lists.launchpad.net wrote: -To: Pierre Amadio pierre.ama...@canonical.comFrom: Scott Moser

Re: [Openstack] problem ssh-ing into vms

2012-03-28 Thread Pierre Amadio
Hi there ! | 2012-03-28 13:11:29,162 - DataSourceEc2.py[WARNING]: 'http://169.254.169.254' failed: url error [[Errno 111] Connection refused] | 2012-03-28 13:11:35,174 - DataSourceEc2.py[CRITICAL]: giving up on md after 105 seconds The instance was unable to connect to the metadata

[Openstack] wrong IP given by flat network dhcp

2012-03-28 Thread Michaël Van de Borne
Hello, I installed Essex on Ubuntu 12.04 Server, and I had a problem with VM IP. The IP given to the VM (10.18.9.2) isn't in the fixed_range. Here's a portion of nova.conf: # cat /etc/nova/nova.conf [...] --network_manager=nova.network.manager.FlatDHCPManager --public_interface=eth0

Re: [Openstack] problem ssh-ing into vms

2012-03-28 Thread Yong Sheng Gong
http://docs.openstack.org/trunk/openstack-compute/admin/content/configuring-openstack-compute-basics.html#configuring-multiple-compute-nodes:If you want to use the 10.04 Ubuntu Enterprise Cloud images that are readily available at http://uec-images.ubuntu.com/releases/10.04/release/, you may run

Re: [Openstack] melange_ipam : get_tenant_id_by_net_id - possible bug (and fix)

2012-03-28 Thread Jason Kölker
Hi Mandar, Thanks for taking the time to look into Melange! Currently Nova + Quantum + Melange is in a huge state of development flux. The current code gets us enough to play with some features and be backwards compatible with all the features in the legacy network managers. In the Folsom

Re: [Openstack] KVM crash.

2012-03-28 Thread Vishvananda Ishaya
This was discussed on the mailing list earlier I believe: http://www.mail-archive.com/openstack@lists.launchpad.net/msg08475.html The solution appears to be to upgrade to a newer libvirt. Vish On Mar 28, 2012, at 6:01 AM, Guilherme Birk wrote: No one is having this issue? From:

Re: [Openstack] wrong IP given by flat network dhcp

2012-03-28 Thread Vishvananda Ishaya
You have to create your network with the same range it looks like you created with something like 10.18.9.0/24 On Mar 28, 2012, at 8:33 AM, Michaël Van de Borne wrote: Hello, I installed Essex on Ubuntu 12.04 Server, and I had a problem with VM IP. The IP given to the VM (10.18.9.2) isn't

Re: [Openstack] Programming OpenStack Compute API - 1.1 Mistake

2012-03-28 Thread Dolph Mathews
Nicolas, It looks like that guide was written for the diablo (or perhaps pre-diablo) keystone API. The corrections you're suggesting are accurate to bring the guide forward to essex. However, you might find the following a bit easier, as we now have a real auth client

Re: [Openstack] Installion guide for OpenStack Essex on Ubuntu 12.04

2012-03-28 Thread Guilherme Souza
I got more one problem :( i installed the Openstack, and up VM's and go into this VM's, but when i try to access the IP by browser it doesn't works! :( Em 27 de março de 2012 16:14, Guilherme Souza souza.guilherm...@gmail.comescreveu: my templates directory was bad configured, then the

Re: [Openstack] problem ssh-ing into vms

2012-03-28 Thread Vishvananda Ishaya
On Mar 28, 2012, at 8:01 AM, Pierre Amadio wrote: Was my assumption wrong or is there something special to do to have the metadata service available without running nova-api ? You can run the metadata service by itself using bin/nova-api-metadata. For performance reasons, I prefer this

Re: [Openstack] [Netstack] melange_ipam : get_tenant_id_by_net_id - possible bug (and fix)

2012-03-28 Thread Dan Wendlandt
Thanks Jason, Not to discourage adventurous people from playing with Melange, but the most reliable and tested way of using Quantum + Nova in terms of the Essex release is to use the built in Nova IPAM (which is the default when using QuantumManager). We'll be shifting over to using a merged

Re: [Openstack] KVM crash.

2012-03-28 Thread Justin Santa Barbara
The libvirt hang was a threading deadlock within libvirt, whereas this is a kernel crash. I'd be surprised if they are the same issue. The current theory on the kernel bugzilla is that it might be related to bridge + netfilter. That does tally with the observation of it happening under a

Re: [Openstack] Installion guide for OpenStack Essex on Ubuntu 12.04

2012-03-28 Thread Guilherme Souza
I'm so stupid, i was accessing the wrong IP, but i got another error: i launch a new VM and try to access the VNC i got this stack: Using the URLconf defined in openstack_dashboard.urls, Django tried these URL patterns, in this order: 1. ^$ [name='splash'] 2. ^qunit/$

Re: [Openstack] Programming OpenStack Compute API - 1.1 Mistake

2012-03-28 Thread Anne Gentle
Hi Nicolas - Glad you like the book! Jacek Artymiak gets all the credit for it, and he wrote and tested it against TryStack. So for now, it uses old-style Keystone requests as those will work against TryStack. TryStack plans an upgrade in April, not to steal thunder or anything from them, but I'd

Re: [Openstack] problem with quantum

2012-03-28 Thread Sumit Naiksatam (snaiksat)
Hi William, From the looks of it, you seem to be trying to use the Quantum LinuxBridge plugin and facing the issue. The error you mention below suggests that you might not be pointing to the right linuxnet_interface_driver (you should be seeing bridge names starting with a brq- and then first

[Openstack] EC2 metadata

2012-03-28 Thread Joshua Harlow
Hi all, I was wondering if this was documented anywhere or if it was just a look in code kind of thing. I am looking at how compatible the instance metadata api is with amazon, http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/AESDG-chapter-instancedata.html And I was wondering if

Re: [Openstack] regarding this Message #09165 (VNC error with latest version of Firefox)

2012-03-28 Thread Anthony Young
In diablo, nova shipped its own websocket proxy, which had some browser compatibility issues due to eventlet's out-dated websocket implementation. For this reason, in essex we replaced nova-vncproxy with one more directly based on noVNC's websocket proxy. Docs for the current proxy may be found

[Openstack] [Docs] how are we doing for Essex release?

2012-03-28 Thread Anne Gentle
Hi all, I'm still hearing that the docs are outdated and would like a gut check. We are fixing bugs all the time, but the backlog of confirmed doc bugs remains over 100. If you are still seeing errors or omissions, can you please help by reviewing docs and filling in the gaps? Here are the

Re: [Openstack] Running code on instance start/terminate

2012-03-28 Thread Rogério Vinhal Nunes
I'm trying to find out information to make an application that consumes the compute info, but I'm having some trouble. Is there a better documentation I could follow and the precise details of the queue/exchange/routing_key needed to take information at the end of each run-instance and

Re: [Openstack] Running code on instance start/terminate

2012-03-28 Thread Leander Bessa
From what i have figured out so far, the exchange queue is nova and the routing key in your case is notifications.info. On Wed, Mar 28, 2012 at 9:05 PM, Rogério Vinhal Nunes roge...@dcc.ufmg.brwrote: I'm trying to find out information to make an application that consumes the compute info, but

[Openstack] OVF vs. bare container formats for qcow2 images

2012-03-28 Thread Lorin Hochstein
All: Given that I have a qcow2 image from somewhere (e.g., downloaded it from a uec-images.ubuntu.com, created one from a raw image using qemu-img) that i want to add to glance: 1. How can I tell whether it's an ovf or bare container format? 2. Why does it matter? Whenever I add a qcow2 image

Re: [Openstack] Running code on instance start/terminate

2012-03-28 Thread Sandy Walsh
Look at https://github.com/rackspace/stacktach/blob/master/worker.py (ignore the _process() call, just look at how the queue listeners are set up) my worker_conf.py looks something like DEPLOYMENTS = [ dict( tenant_id=1, url='http://stacktach.example.com',

Re: [Openstack] Validation of floating IP opertaions in Essex codebase ?

2012-03-28 Thread Vishvananda Ishaya
On Mar 28, 2012, at 10:04 AM, Day, Phil wrote: Hi Folks, At the risk of looking lazy in my first question by following up with a second: So I tracked this down in the code and can see that the validation has moved into network/manager.py, and what was a validation/cast in

Re: [Openstack] Validation of floating IP opertaions in Essex codebase ?

2012-03-28 Thread Dan Wendlandt
On Wed, Mar 28, 2012 at 3:25 PM, Vishvananda Ishaya vishvana...@gmail.comwrote: So that explains where we are. Here is the plan (as I understand) for the future: a) move the quantum plugin to the api layer (At this point we could move validation into the api if necessary.) b) define a

Re: [Openstack] Validation of floating IP opertaions in Essex codebase ?

2012-03-28 Thread Leandro Reox
+1 to Dash (Dan + Vish) :p Lean@mercadolibre On Mar 28, 2012 7:50 PM, Dan Wendlandt d...@nicira.com wrote: On Wed, Mar 28, 2012 at 3:25 PM, Vishvananda Ishaya vishvana...@gmail.com wrote: So that explains where we are. Here is the plan (as I understand) for the future: a) move the

[Openstack] [Docs] Glossary (was nova zone and availability_zone)

2012-03-28 Thread Anne Gentle
All, I've added a doc review for a glossary at https://review.openstack.org/#change,5847. It came from the Repose project, and is Apache 2 licensed, so I guess it makes sense to edit and bring it into the OpenStack umbrella. I haven't yet added zones or availability zones to the glossary, nor

Re: [Openstack] what's the default usernamepassword for the instance in devstack?

2012-03-28 Thread Felix
they are in the log, thanks very much! 于 2012年03月28日 19:54, Mandar Vaze 写道: I create my instance using cirros-0.3.0-x86_64-blank image Default username/password for the instance is listed on the very last line in “View Log” -Mandar

[Openstack] horizon on windows server

2012-03-28 Thread Mahdi Njim
Hi I would to know if I can install horizon on windows server, I know python is portable but I would like to be sure that I can run horizon under windows server. Thanks ___ Mailing list: https://launchpad.net/~openstack Post to :

Re: [Openstack] horizon on windows server

2012-03-28 Thread Mahdi Njim
Thank you I will try to build it on windows and I will tell you the result 2012/3/29 Andy Chong andy...@gmail.com I believe it is doable, but why? I checked through the pip-requires, most of them are runnable on windows, except xattr which I am not sure about. On Thu, Mar 29, 2012 at 12:20

[Openstack-poc] [Bug 965563] Re: Usability issue: is_public=yes sets Public: No

2012-03-28 Thread Sean Dague
** Also affects: openstack-common Importance: Undecided Status: New -- You received this bug notification because you are a member of OpenStack Common Drivers, which is the registrant for openstack-common. https://bugs.launchpad.net/bugs/965563 Title: Usability issue: is_public=yes

[Openstack-poc] [Bug 967400] [NEW] iniparser needs absolute import

2012-03-28 Thread Rick Harris
Public bug reported: The use of a relative import for 'iniparser' is causing: http://paste.openstack.org/show/12224/ Changing this to: from openstack.common import iniparser fixes it. ** Affects: openstack-common Importance: Undecided Assignee: Rick Harris (rconradharris)

[Openstack-poc] [Bug 967400] Fix proposed to openstack-common (master)

2012-03-28 Thread OpenStack Hudson
Fix proposed to branch: master Review: https://review.openstack.org/5922 -- You received this bug notification because you are a member of OpenStack Common Drivers, which is the registrant for openstack-common. https://bugs.launchpad.net/bugs/967400 Title: iniparser needs absolute import

[Openstack-poc] [Bug 967400] Re: iniparser needs absolute import

2012-03-28 Thread OpenStack Hudson
Reviewed: https://review.openstack.org/5922 Committed: http://github.com/openstack/openstack-common/commit/8c0f7dc0702f3e9a0e198a6206ecd2f0f8cc6d62 Submitter: Jenkins Branch:master commit 8c0f7dc0702f3e9a0e198a6206ecd2f0f8cc6d62 Author: Rick Harris rconradhar...@gmail.com Date: Wed Mar 28

[Openstack-poc] [Bug 967808] Fix proposed to openstack-common (master)

2012-03-28 Thread OpenStack Hudson
Fix proposed to branch: master Review: https://review.openstack.org/5936 -- You received this bug notification because you are a member of OpenStack Common Drivers, which is the registrant for openstack-common. https://bugs.launchpad.net/bugs/967808 Title: Create common __init__ Status in

[Openstack-ubuntu-testing-notifications] Build Still Failing: precise-openstack-essex-nova-trunk #666

2012-03-28 Thread openstack-testing-bot
text/html; charset=UTF-8: Unrecognized -- Mailing list: https://launchpad.net/~openstack-ubuntu-testing-notifications Post to : openstack-ubuntu-testing-notifications@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack-ubuntu-testing-notifications More help :

[Openstack-ubuntu-testing-notifications] Build Still Failing: precise-openstack-essex-nova-trunk #667

2012-03-28 Thread openstack-testing-bot
Title: precise-openstack-essex-nova-trunk General InformationBUILD FAILUREBuild URL:https://jenkins.qa.ubuntu.com/job/precise-openstack-essex-nova-trunk/667/Project:precise-openstack-essex-nova-trunkDate of build:Wed, 28 Mar 2012 10:27:23 -0400Build duration:3 min 42 secBuild cause:Started by user

[Openstack-ubuntu-testing-notifications] Build Still Failing: precise-openstack-essex-nova-trunk #669

2012-03-28 Thread openstack-testing-bot
build gave error exit status 2Build finished at 20120328

[Openstack-ubuntu-testing-notifications] Build Failure: precise-openstack-essex-deploy #18278

2012-03-28 Thread openstack-testing-bot
Title: precise-openstack-essex-deploy General InformationBUILD FAILUREBuild URL:https://jenkins.qa.ubuntu.com/job/precise-openstack-essex-deploy/18278/Project:precise-openstack-essex-deployDate of build:Wed, 28 Mar 2012 14:28:18 -0400Build duration:46 minBuild cause:Started by user adamBuilt

[Openstack-ubuntu-testing-notifications] Build Fixed: precise-openstack-essex-deploy #18279

2012-03-28 Thread openstack-testing-bot
Title: precise-openstack-essex-deploy General InformationBUILD SUCCESSBuild URL:https://jenkins.qa.ubuntu.com/job/precise-openstack-essex-deploy/18279/Project:precise-openstack-essex-deployDate of build:Wed, 28 Mar 2012 15:25:44 -0400Build duration:14 minBuild cause:Started by user adamBuilt

[Openstack-ubuntu-testing-notifications] Build Failure: precise-openstack-essex-test #512

2012-03-28 Thread openstack-testing-bot
Title: precise-openstack-essex-test General InformationBUILD FAILUREBuild URL:https://jenkins.qa.ubuntu.com/job/precise-openstack-essex-test/512/Project:precise-openstack-essex-testDate of build:Wed, 28 Mar 2012 15:40:18 -0400Build duration:5 min 7 secBuild cause:Started by command lineBuilt

[Openstack-ubuntu-testing-notifications] Build Fixed: precise-openstack-essex-test #515

2012-03-28 Thread openstack-testing-bot
Title: precise-openstack-essex-test General InformationBUILD SUCCESSBuild URL:https://jenkins.qa.ubuntu.com/job/precise-openstack-essex-test/515/Project:precise-openstack-essex-testDate of build:Wed, 28 Mar 2012 18:04:43 -0400Build duration:4 min 35 secBuild cause:Started by user adamBuilt