Re: [Openstack] [GLANCE] owner: name vs id

2012-03-08 Thread Jay Pipes
On 03/08/2012 06:44 PM, Vishvananda Ishaya wrote: I reported a bug today about glance using the tenant_name as owner: https://bugs.launchpad.net/bugs/950364 The current use is incorrect and will cause breakages in the case that a tenant is renamed. It seems vital that we get this fixed before r

Re: [Openstack] [GLANCE] owner: name vs id

2012-03-08 Thread Jay Pipes
On 03/08/2012 06:44 PM, Vishvananda Ishaya wrote: I reported a bug today about glance using the tenant_name as owner: https://bugs.launchpad.net/bugs/950364 The current use is incorrect and will cause breakages in the case that a tenant is renamed. It seems vital that we get this fixed before r

Re: [Openstack] Keystone database (using latest devstack)

2012-03-08 Thread Deepak Garg
I have also been trying to find a cli to get a user's role in a particular tenant. I could not do that even with db tables mapping. Following are the fields in the tables: tenant table -> tenant_Id, name, extras user_tenant_membership -> user_id, tenant_id user table -> id, name, extra role tab

[Openstack] [CHEF] How to structure upstream OpenStack cookbooks?

2012-03-08 Thread Jay Pipes
Hi Stackers, Chef configuration management allows a dizzying variability in the way that configuration is managed for a deployment. While this flexibility makes for a powerful overall system, it introduces a number of questions about what is the best practice for structuring a set of generally

Re: [Openstack] Libvirt Snapshots

2012-03-08 Thread Joshua Harlow
Hmmm, I think that's a dangerous thing to say. Openstack (imho) should be trying to work with as many distro versions as possible and not just the newest (and not just the newest ubuntu/debian). Otherwise nobody will ever really be "using" openstack (or they will have to wait 1 year+ until that

Re: [Openstack] Google Summer of Code-2012

2012-03-08 Thread Anne Gentle
Thanks mentors for your ideas. I've compiled them into an ideas page that still needs more details including where the code lives and prerequisite knowledge so the students can make good decisions. http://wiki.openstack.org/GSoC2012/Ideas Russell and I are meeting tomorrow morning to complete the

Re: [Openstack] Libvirt Snapshots

2012-03-08 Thread Alexey Eromenko
> Pros: > plays nicely with libvirt, so the vm is only paused for the minimum amount > of time > Cons: > requires libvirt 9.5, which doesn't exist in oneiric libvirt 9.5 requirement sounds acceptable. Reason: In general, Essex does not target 11.10-Oneiric, because Diablo is part of Oneiric. Ess

[Openstack] Help, How to restore existing vms after host reboot?

2012-03-08 Thread DeadSun
As we all know, if host reboot since of some failure or hardware problem, the vms will actually shutoff. But after host up, info in nova db show vm state are "active", and using "nova list" return the same. Now how to start the vms. In Daiblo, I always just using "nova reboot", it works.But in ess

[Openstack] Libvirt Snapshots

2012-03-08 Thread Vishvananda Ishaya
Hello Everyone, I've been trying to come up with a solution for libvirt snapshots to fix the issue with snapshotting when a volume is attached: https://bugs.launchpad.net/nova/+bug/946830 The main issue here is that calling snapshot in libvirt makes an internal snapshot of the entire vm, which

[Openstack] 答复: RFC: Rewritten libvirt driver XML generation

2012-03-08 Thread wangsuyi640
Hi all: I tried kvm on my openstack on ubuntu11.10 with the libvirt.xml file as follows: instance-0011 2097152 hvm 1

Re: [Openstack] Keystone database (using latest devstack)

2012-03-08 Thread Jason Hedden
On Mar 8, 2012, at 6:12 PM, Andy Smith wrote: > > I came across this while trying to list the roles assigned to users, which I > still don't know how to do via the keystone client utility. Is this even > possible? > > Well, to clarify that statement a bit, roles exist on user-tenant pairs,

Re: [Openstack] [RC BUGS] Call for Help: openstack-manuals

2012-03-08 Thread Anne Gentle
Yes I had hoped to have a merge request today but I should be able to do it tonight or tomorrow. The Keystone info will still be inaccurate until it's re-written based on the new implementation. Anne On Thu, Mar 8, 2012 at 7:05 PM, Alexey Eromenko wrote: > On Fri, Mar 9, 2012 at 2:28 AM, Anne G

Re: [Openstack] [RC BUGS] Call for Help: openstack-manuals

2012-03-08 Thread Alexey Eromenko
On Fri, Mar 9, 2012 at 2:28 AM, Anne Gentle wrote: > Answers below. > > Also please note my email earlier today where I want to bring all > Identity and Image admin instructions into the Compute and Storage > manuals. Fine. Those are pretty short manuals, just 40-50 pages each. Also logically, th

Re: [Openstack] [RC BUGS] Call for Help: openstack-manuals

2012-03-08 Thread Anne Gentle
Answers below. Also please note my email earlier today where I want to bring all Identity and Image admin instructions into the Compute and Storage manuals. Thanks for the attention to details. Anne On Thu, Mar 8, 2012 at 5:42 PM, Alexey Eromenko wrote: > Hi, > > After contributing "Installatio

Re: [Openstack] Keystone database (using latest devstack)

2012-03-08 Thread Andy Smith
On Thu, Mar 8, 2012 at 2:46 PM, Jason Hedden wrote: >It seems a little odd that the mapping of users to roles is stored > in a python dictionary within a SQL table. With this data structure it > would be more efficient and flexible if the data was stored in a table > similarly to the pre

[Openstack] [GLANCE] owner: name vs id

2012-03-08 Thread Vishvananda Ishaya
I reported a bug today about glance using the tenant_name as owner: https://bugs.launchpad.net/bugs/950364 The current use is incorrect and will cause breakages in the case that a tenant is renamed. It seems vital that we get this fixed before releasing essex, although I don't know if we need t

[Openstack] [RC BUGS] Call for Help: openstack-manuals

2012-03-08 Thread Alexey Eromenko
Hi, After contributing "Installation on Debian" section, I have removed the strong link between Ubuntu and the official O-S docs. (wish: https://bugs.launchpad.net/openstack-manuals/+bug/943792) I would like to request co-operation to better check those manuals, report bugs and fix them. Currentl

Re: [Openstack] Keystone database (using latest devstack)

2012-03-08 Thread Dolph Mathews
To answer the second half of your question: keystoneclient cli does not support list-roles-for-user https://bugs.launchpad.net/keystone/+bug/932282 On Thu, Mar 8, 2012 at 4:46 PM, Jason Hedden wrote: >It seems a little odd that the mapping of users to roles is stored > in a pyth

[Openstack] Keystone database (using latest devstack)

2012-03-08 Thread Jason Hedden
It seems a little odd that the mapping of users to roles is stored in a python dictionary within a SQL table. With this data structure it would be more efficient and flexible if the data was stored in a table similarly to the previous version of Keystone. Why not let the database do it

Re: [Openstack] WebOb + DeprecationWarning

2012-03-08 Thread Maru Newby
Hi Keven, On 2012-03-08, at 8:31 AM, Kevin L. Mitchell wrote: > On Wed, 2012-03-07 at 22:40 -0800, Maru Newby wrote: >> I'm using a devstack-configured box with all the latest code and am >> running into DeprecationWarning wherever >> weob.Request.str_[GET,PUT,cookies,params] are accessed (they a

[Openstack] Enabling data deduplication on Swift

2012-03-08 Thread Paulo Ricardo Motta Gomes
Hello everyone, I'm a student of the European Master in Distributed Computing (EMDC) currently working on my master thesis on distributed content-addressable storage/deduplication. I'm happy to announce I will be contributing the outcome of my thesis work to OpenStack by enabling both object-leve

Re: [Openstack] E4 - Possible BUG? - upstart job nova-compute not starting anything

2012-03-08 Thread Robbie Williamson
On 03/08/2012 02:35 PM, Leandro Reox wrote: > I know, but e4 was release previous the EOL, so ... shouldnt be working > too ? It /could/, but I don't know of anyone testing E4 on Ubuntu 10.10. In terms of upstart, I suggest join #upstart in freenode for assistance there. -Robbie > > On Thu, M

Re: [Openstack] E4 - Possible BUG? - upstart job nova-compute not starting anything

2012-03-08 Thread Leandro Reox
I know, but e4 was release previous the EOL, so ... shouldnt be working too ? On Thu, Mar 8, 2012 at 5:29 PM, Robbie Williamson wrote: > FYI, Ubuntu Maverick 10.10 goes end of life next month. > > On 03/08/2012 01:53 PM, Leandro Reox wrote: > > Im using the trunk version under ubuntu maverick 1

Re: [Openstack] RFC: Rewritten libvirt driver XML generation

2012-03-08 Thread Joshua Harlow
Awesome! Great job :-) +1 milllion On 3/8/12 11:03 AM, "Daniel P. Berrange" wrote: Back in January Joshua Harlow raised the question of whether we should replace the usage of Cheetah templates for generating XML in the libvirt driver: https://lists.launchpad.net/openstack/msg06481.html Sin

Re: [Openstack] E4 - Possible BUG? - upstart job nova-compute not starting anything

2012-03-08 Thread Robbie Williamson
FYI, Ubuntu Maverick 10.10 goes end of life next month. On 03/08/2012 01:53 PM, Leandro Reox wrote: > Im using the trunk version under ubuntu maverick 10.10 , when i run : > > start nova-compute > > or > > service nova-compute start , says started with a PID number, but nothing > happens, but i

[Openstack] E4 - Possible BUG? - upstart job nova-compute not starting anything

2012-03-08 Thread Leandro Reox
Im using the trunk version under ubuntu maverick 10.10 , when i run : start nova-compute or service nova-compute start , says started with a PID number, but nothing happens, but if y manually run on all the compute nodes the binary file as : nohup nova-compute & Everything works ok, maybe a bu

Re: [Openstack] Ubuntu 12.04 B1, Keystone (redux) + Service Catalogs

2012-03-08 Thread Adam Gandelman
Hey Kevin- Some stuff in-line On 03/08/2012 06:08 AM, Kevin Jackson wrote: Dear all, I've just installed Ubuntu 12.04 B1 with OpenStack from the Ubuntu repos. I've set up keystone as per: https://github.com/uksysadmin/OpenStackInstaller/blob/essex/keystone-services.sh (which I based on the k

[Openstack] RFC: Rewritten libvirt driver XML generation

2012-03-08 Thread Daniel P. Berrange
Back in January Joshua Harlow raised the question of whether we should replace the usage of Cheetah templates for generating XML in the libvirt driver: https://lists.launchpad.net/openstack/msg06481.html Since then I have had some time to work on this idea and now have a working branch availabl

Re: [Openstack] question of novncproxy

2012-03-08 Thread Anthony Young
DeadSun, I just made a pass at trying to improve the vnc proxy docs a bit. Could you join me in reviewing this patch until the docs answer all your questions? https://review.openstack.org/#change,5086 Thanks, Anthony 2012/3/8 DeadSun > Essex4 > In mutil hosts, does any nova-compute need to

Re: [Openstack] OpenStack Projects Development History Visualisation

2012-03-08 Thread Ewan Mellor
Thanks Syed! I love the way that Andy Smith and termie work together at the beginning there, and then go their separate ways. That must be a metaphor for something... Ewan. From: Armaan [mailto:dce3...@gmail.com] Sent: Thursday, March 08, 2012 4:02 AM To: Ewan Mellor Cc: openstack@lists.launch

Re: [Openstack] db & notification support for API extension?

2012-03-08 Thread Johannes Erdfelt
On Thu, Mar 08, 2012, Andrew Bogott wrote: > 1) DB support > > I need a database table to keep track of some filesystem > metadata. My current implementation adds the table via > nova/db/sqlalchemy/migrate_repo... but is it really necessary to > coordinate this table with the rest of Nova?

[Openstack] db & notification support for API extension?

2012-03-08 Thread Andrew Bogott
I'm working on an API and implementation to support the creation of filesystems that are shared among Nova instances. http://wiki.openstack.org/SharedFS My hope is to keep this API isolated from core Nova code, partly to avoid stepping on toes and partly because I hope to be able to dr

[Openstack] Doc Day actions

2012-03-08 Thread Anne Gentle
Hi all - Thanks everyone for the hard work at the Essex Doc Day this week! We still have nearly 20 doc reviews in the queue : https://review.openstack.org/#q,status:open+project:openstack/openstack-manuals,n,z so please review and see if your favorite doc bug was fixed! Several discussions came up

Re: [Openstack] WebOb + DeprecationWarning

2012-03-08 Thread Kevin L. Mitchell
On Wed, 2012-03-07 at 22:40 -0800, Maru Newby wrote: > I'm using a devstack-configured box with all the latest code and am > running into DeprecationWarning wherever > weob.Request.str_[GET,PUT,cookies,params] are accessed (they are being > replaced by unicode equivalents). Since Python < 2.7 does

Re: [Openstack] Audit Trail

2012-03-08 Thread Kieran Evans
This could be an issue auditing failed requests, i.e. when unauthorised requests are made against an api, if I understand correctly, those would be dropped before being put on the queue. Also, I thought that if written as a middleware wsgi component, no modification of the existing code would b

Re: [Openstack] Google Summer of Code-2012

2012-03-08 Thread Russell Bryant
On 03/06/2012 03:52 AM, Thierry Carrez wrote: > Russell Bryant wrote: >> On 03/05/2012 02:17 PM, Anne Gentle wrote: >>> Okay, looks like the Mentoring organization application deadline is >>> this Friday, March 9th. >>> >>> What needs to be done in time to make this important deadline and how >>> c

[Openstack] Ubuntu 12.04 B1, Keystone (redux) + Service Catalogs

2012-03-08 Thread Kevin Jackson
Dear all, I've just installed Ubuntu 12.04 B1 with OpenStack from the Ubuntu repos. I've set up keystone as per: https://github.com/uksysadmin/OpenStackInstaller/blob/essex/keystone-services.sh(which I based on the keystone.openstack.org docs) I'm struggling though. I can set up the roles, users,

Re: [Openstack] Nova RC-1 Bugs

2012-03-08 Thread Anne Gentle
You are welcome to triage incoming doc bugs. Please realize there are less than 10 active doc contributors so finding more contributors is just as important as finding bugs. I'd encourage you to both log and fix doc bugs especially at the stage we're at in the release in hopes of having the highe

Re: [Openstack] OpenStack Projects Development History Visualisation

2012-03-08 Thread Armaan
Thanks Ewan :), Here is the video you asked for, DEVSTACK(" The Silver Bullet") http://www.youtube.com/watch?v=IbiS_2XZzLU Best Regards Syed Armani On Tue, Mar 6, 2012 at 8:21 AM, Ewan Mellor wrote: > A DevStack one would be great too. Thanks a lot, Syed, these are superb! > > > > Ewan.

Re: [Openstack] Problem nova-network failed on ubuntu 12.04

2012-03-08 Thread Thierry Carrez
Justin Shepherd wrote: > Add --root_helper=sudo nova-rootwrap to your nova.conf file.. > > this will allow it to work without needing to specify each command by > hand or ALL. Also the 12.04 packages are shipping a /etc/sudoers.d/nova > file that has the required sudo access for nova-rootwrap Th

[Openstack] Re: can not start glance-api in glance E4

2012-03-08 Thread .。o 0 O泡泡
Yes,when I have put policy.json into /etc/glance/ and the glance-api can to ,thank you very much. but at the same time ,as I enter the cmd of "sudo glance-api glance-api.conf --debug &" It returns: 2012-03-08 16:45:28 7367ERROR [glance.store.filesystem] Could not find filesystem_store_data

[Openstack] question of novncproxy

2012-03-08 Thread DeadSun
Essex4 In mutil hosts, does any nova-compute need to install novnc? How to set these parameters in nova.conf in each node? --novncproxy_base_url=http://192.168.1.202:6080/vnc_auto.html (is this controller ip or nova-compute ip?) --xvpvncproxy_base_url=http://192.168.1.202:6081/console (is this con

Re: [Openstack] question

2012-03-08 Thread Nicolas de BONFILS
Bonjour, Comme la mailling list est en anglais, vous deviez poser la question en anglais. De plus, concernant OVH, vous obtiendrez plus de réponse sur les forum OVH Cdt, --- Hi, As the mailing list is in English, you should ask in English for better comprehension. Regarding OVH (french hosting

Re: [Openstack] question

2012-03-08 Thread Chmouel Boudjnah
You probably would want to ask this question on orchestra mailing list. Chmouel. 2012/3/8 khabou imen : > J'utilise un ubuntu-server 11.10 alloué de OVH sur lequel j'ai > installer orchestra server . > Ma question est la suivante :Comment pourrais-je m'assurer que les > serveur DNS et DHCP sont a

[Openstack] question

2012-03-08 Thread khabou imen
J'utilise un ubuntu-server 11.10 alloué de OVH sur lequel j'ai installer orchestra server . Ma question est la suivante :Comment pourrais-je m'assurer que les serveur DNS et DHCP sont automatiquement installer lors de l'installation d'orchestra? -- cordialement,  Imen Khabou, Elève Ingénieur en

Re: [Openstack] Nova RC-1 Bugs

2012-03-08 Thread i3D.net - Tristan van Bokkem
+1 I've made several comments in the Diablo docs of the problems and solutions I have found while deploying. Some made it to a change in the docs, some didn't. I would like to see the docs being checked before the release of essex as failures in the guides are very time consuming and frustrating

Re: [Openstack] Eorro happens sometimes when I create instance in essex4

2012-03-08 Thread DeadSun
I have tested that command manually. I think it is because "e2fsck" failed my own image. root@controller:/data/stack/glance/images# e2fsck -fp bfd0d705-281c-4ee1-a896-bf4c0d6c1f94 e2fsck: Bad magic number in super-block while trying to open bfd0d705-281c-4ee1-a896-bf4c0d6c1f94 bfd0d705-281c-4ee1-a