Re: [Openstack] curl command

2012-04-20 Thread Dean Troyer
On Fri, Apr 20, 2012 at 12:11 AM, andrei cosmin andrei_t...@yahoo.com wrote: curl -d '{auth: {tenantName: openstackDemo, passwordCredentials:{username: adminUser, password: secretword}}}' -H Content-type: application/json http://192.168.206.130:35357/v2.0/tokens | python -mjson.tool  i get

Re: [Openstack] Using Foreign Keys

2012-04-20 Thread Vishvananda Ishaya
On Apr 19, 2012, at 8:59 PM, Vaze, Mandar wrote: +1 for data integrity ... Here is an example that could use data integrity check : tenant information is managed in keystone DB ovs_quantum DB has tenant_id column for networks table. When I use stack.sh - it puts a string default in

Re: [Openstack] Using Foreign Keys

2012-04-20 Thread Vaze, Mandar
Vish, Thanks for the detailed explanation. I didn't mean to imply that fixing it is trivial. ( I did realize that since keystone could be using different DB server, it might not be trivial for nova-manage to validate the tenant_id) I was just supporting the argument in favor of data integrity

[Openstack] Resource utilization

2012-04-20 Thread Szymon Grzybowski
Is there any way to get information about resource utilization from Openstack? Any hidden API or something like that? I'm looking for statistics about CPU, RAM usage etc. both from server itself (host) and Instances (Virtual Machines) inside openstack, because i'd like to write some piece of

Re: [Openstack] Resource utilization

2012-04-20 Thread Razique Mahroua
Hey, I think you would look into the "diagnostic" callsthe operator client (python-novaclient) has implemented it via $nova diagnostics, which likely give you the stats you are looking for Nuage Co - Razique Mahrouarazique.mahr...@gmail.com Le 20 avr. 2012 à 13:17, Szymon Grzybowski a écrit :Is

Re: [Openstack] Resource utilization

2012-04-20 Thread heut2008
if you are using essex, you can get the service resources (CPU,Memory,Disk) from nova-scheduler logs. all compute node report its avaible resources to nova-scheduler .the smart nova-scheduer use these info to implememt a variety of scheduler filters. 2012/4/20 Razique Mahroua

Re: [Openstack] Resource utilization

2012-04-20 Thread Tomasz Paszkowski
Please also note that diagnostics commands are not working with libvirt/qemu,kvm On Fri, Apr 20, 2012 at 1:23 PM, Razique Mahroua razique.mahr...@gmail.comwrote: Hey, I think you would look into the diagnostic calls the operator client (python-novaclient) has implemented it via $nova

Re: [Openstack] Resource utilization

2012-04-20 Thread Leander Bessa
I've been trying to complete the diagnostics command for libvirt, so far i think i can get the cpu usage (still need a sample time of 1 second), volume and network io. I still can't get the current memory and total memory. However, i believe the latter is a problem with libvirt, since i can't get

Re: [Openstack] OpenStack and routing configuration

2012-04-20 Thread Narayan Desai
We needed to setup something similar when we split out the nova-network service to a different host than nova-api in cactus, so that instances could get to the metadata service. It was pretty simple to make quagga work, but then we needed to add a rule to bypass NAT. Since this was just for the

[Openstack] Does openstack support XCP or Xenserver if I use xen Hypervisor?

2012-04-20 Thread livemoon
hi, all If I use xen and libvirt , can it work wll in openstack? Is it possible to install XAPI to manage xen in centos or suse and work well in openstack? -- 非淡薄无以明志,非宁静无以致远 ___ Mailing list: https://launchpad.net/~openstack Post to :

[Openstack] Instances can't access eachother via external (floating) ips?

2012-04-20 Thread Calvin Walton
Hi, I have instances running in Openstack using FlatDHCP networking mode. Each one has an IP address in the internal subnet (192.168.22.x) and a floating IP from the external subnet (192.168.0.x). I've found that from one instance, I cannot connect to another instance (or, in fact, even the same

Re: [Openstack] Open Cloud Computing Interface Blueprint Implementation

2012-04-20 Thread Tim Bell
Andy, Thanks for this work. OCCI is an interesting and open option as the world moves towards federated clouds. I hope that this will continue the momentum towards an open API which can address multiple backend IaaS solutions transparently. Tim Bell CERN From:

Re: [Openstack] Resource utilization

2012-04-20 Thread Matt Joyce
I've done libvirt calls via nrpe in the past for this. On Apr 20, 2012 5:28 AM, Leander Bessa leande...@gmail.com wrote: I've been trying to complete the diagnostics command for libvirt, so far i think i can get the cpu usage (still need a sample time of 1 second), volume and network io. I

Re: [Openstack] Python UUID and SELinux AVC denials

2012-04-20 Thread Doug Hellmann
Have you tried changing Dashboard to monkey patch the uuid module to blank out the functions being loaded from ctypes? If the _uuid_generate_* functions are not set, the existing python implementation is used instead and it looks like that just uses urandom() inline. On Thu, Apr 19, 2012 at 11:53

Re: [Openstack] Using Foreign Keys

2012-04-20 Thread Christoph Thiel
On Thu, Apr 19, 2012 at 07:32:15PM +0200, Bernhard M. Wiedemann wrote: On 04/12/2012 02:35 PM, J. Daniel Schmidt wrote: Dear Developers, While testing our SUSE OpenStack packages we hit a nasty bug and reported it as: https://bugs.launchpad.net/keystone/+bug/972502 We found out

[Openstack] Ubuntu packaging - cactus, older releases

2012-04-20 Thread Leandro Reox
Hi all, Is there any ppa, or repo where we can get older estables releases like cactus or diablo ? the old http://wiki.openstack.org/http://wiki.openstack.org/PPAs 2011.2 is not working anymore and i saw on the wiki that only the last releases will be available, am i right ? If i not were can i

[Openstack] HTTP status value naming normalization

2012-04-20 Thread Victor Rodionov
There are many place in Swift code where used hard coded values, such as response statuses (200, 201, 404, ...) which can replaced with constants HTTP_OK, HTTP_CREATED, HTTP_NOT_FOUND. Also there is widlly used idiom 200 = status 300, that can be replaced as well with something like this

[Openstack] Quantum deployment on Essex

2012-04-20 Thread OpenStack-Lists
Hi everyone, My name is Emilien, I'm a french student in University and I'm working on OpenStack for a internship project. I'm working on Quantum deployment at this time, and I would like to share with you my work. I have two physicals servers for playing, and I've setup a dual-node

Re: [Openstack] Ubuntu packaging - cactus, older releases

2012-04-20 Thread Razique Mahroua
Hey Leandro,try thathttps://launchpad.net/~openstack-release/+archive/2011.3 Nuage Co - Razique Mahrouarazique.mahr...@gmail.com Le 20 avr. 2012 à 20:09, Leandro Reox a écrit :Hi all,Is there any ppa, or repo where we can get older estables releases like cactus or diablo ? the

Re: [Openstack] Ubuntu packaging - cactus, older releases

2012-04-20 Thread Leandro Reox
I need 2011.2 (cactus) razique , it shows permission denied on the archive page On Fri, Apr 20, 2012 at 4:53 PM, Razique Mahroua razique.mahr...@gmail.comwrote: Hey Leandro, try that https://launchpad.net/~openstack-release/+archive/2011.3 *Nuage Co - Razique Mahroua** *

Re: [Openstack] Ubuntu packaging - cactus, older releases

2012-04-20 Thread Razique Mahroua
Yah I see that... I've all the packages if you want to for Ubuntu server (Just made a copy of my /var/cache/apt/ for the nova packaes)Does someone know why it is closed now ?thanks Nuage Co - Razique Mahrouarazique.mahr...@gmail.com Le 20 avr. 2012 à 21:59, Leandro Reox a écrit :I need 2011.2

Re: [Openstack] Ubuntu packaging - cactus, older releases

2012-04-20 Thread Vishvananda Ishaya
Not sure why it isn't working, but releases are also tagged on github: https://github.com/openstack/nova/tarball/2011.2 Vish On Apr 20, 2012, at 1:10 PM, Razique Mahroua wrote: Yah I see that... I've all the packages if you want to for Ubuntu server (Just made a copy of my /var/cache/apt/

Re: [Openstack] Quantum deployment on Essex

2012-04-20 Thread Lorin Hochstein
Salut Emilien! On Apr 20, 2012, at 12:22 PM, OpenStack-Lists wrote: Hi everyone, My name is Emilien, I'm a french student in University and I'm working on OpenStack for a internship project. I'm working on Quantum deployment at this time, and I would like to share with you my work.

Re: [Openstack] Ubuntu packaging - cactus, older releases

2012-04-20 Thread Leandro Reox
We managed to install via an apt-caching server we have. But Vish, we know about the tarball, was just a question if the repo was deprecated for some reason, just to know Regards On Fri, Apr 20, 2012 at 5:29 PM, Vishvananda Ishaya vishvana...@gmail.comwrote: Not sure why it isn't working, but

Re: [Openstack] Quantum deployment on Essex

2012-04-20 Thread Diego Parrilla
Hi Emilien from the Valley, Check the code from the stackops-agent and the novnc builder, we had to change to the cloudbuilders code. We can work on that next week if I can survive to the jetlag. Go and enjoy of The Night of Madrid, we will work on that next week ;-) Diego Enviado desde mi

[Openstack] [Keystone] What exactly are we modeling with endpoints?

2012-04-20 Thread Joseph Heck
While I've been roaming about the summit and conference, I've been trying to figure out exactly what we're modeling with the current service and endpoints that are in the API today. After talking with a number of folks, it's getting clearer that how it's being used is very installation

Re: [Openstack] Quantum deployment on Essex

2012-04-20 Thread Adam Gandelman
On 04/20/2012 01:37 PM, Lorin Hochstein wrote: This might be due to a known issue with the noVNC package that is distributed with Ubuntu 12.04: https://bugs.launchpad.net/ubuntu/+source/novnc/+bug/956949 I have heard that the noVNC fork maintained by Rackspace Cloud Builders works

Re: [Openstack] OpenStack and routing configuration

2012-04-20 Thread Edgar Magana (eperdomo)
Hi, You could also take a look to the work proposed during Folsom summit for Quantum L3 APIs. Quantum has become a core project for OpenStack and our goal is to make it the default network manager for all OpenStack. Actually, in our team we started already some implementation of L3 Plugins for

Re: [Openstack] Resource utilization

2012-04-20 Thread Joshua Harlow
From james penick here @ yahoo (via proxy): In the interim, tell those people that code is comin' Real Soon Now. S expect something to help out here soon ;) On 4/20/12 8:32 AM, Matt Joyce m...@nycresistor.com wrote: I've done libvirt calls via nrpe in the past for this. On Apr 20, 2012