[Openstack] Logic for putting project_id on volume

2011-04-18 Thread Ricardo Carrillo Cruz
Hi guys I'm doing this rough code to list the volumes by project: volumes = db.volume_get_all_by_project(ctxt, project) for v in volumes: print v.name, v.user_id, v.project_id However, I get this odd result: root@dormammu-VirtualBox:/home/dormammu/src/nova/lp731341/bin# euca-create-volume

Re: [Openstack] Development Environment Setup

2011-03-14 Thread Ricardo Carrillo Cruz
Hi Ahmed It looks to me you didn't create the volume group nova-volumes: Try this: " # This creates a 1GB file to create volumes out of dd if=/dev/zero of=MY_FILE_PATH bs=100M count=10 losetup --show -f MY_FILE_PATH # replace /dev/loop0 below with whatever losetup returns # nova-volumes is the d

Re: [Openstack] Google Summer of Code 2011

2011-02-06 Thread Ricardo Carrillo Cruz
You can count on me to participate as a student, looking forward to contribute to Openstack in GSoC ;-) . Ricky 2011/2/5 Eric Day : > Having been a mentor before for other projects, I strongly agree > that we should do this. It's a great way to get more folks involved > in the project. > > -Eric