Re: [Openstack] Migrate Instance to another Tenant ID in the same environment

2013-01-11 Thread Sébastien Han
If an admin user put it public, this is also possible. -- Regards, Sébastien Han. On Fri, Jan 11, 2013 at 3:40 AM, Lei Zhang wrote: > why not try boot from snapshot. That's will save some time. > > > On Thu, Jan 10, 2013 at 5:18 AM, Sébastien Han > wrote: >> >> Moving instances from project to

Re: [Openstack] Migrate Instance to another Tenant ID in the same environment

2013-01-10 Thread Lei Zhang
why not try boot from snapshot. That's will save some time. On Thu, Jan 10, 2013 at 5:18 AM, Sébastien Han wrote: > Moving instances from project to project is not possible however what > you can do is (safe way): > > - as an admin user > - snapshot the image from env 1 > - grab the snapshotted

Re: [Openstack] Migrate Instance to another Tenant ID in the same environment

2013-01-10 Thread Tim Bell
Behalf Of > Davide Guerri > Sent: 10 January 2013 11:23 > To: Alex Vitola > Cc: L - OpenStack > Subject: Re: [Openstack] Migrate Instance to another Tenant ID in the same > environment > > Thanks for this one. > > ... someone should really maintain a wiki with all the tr

Re: [Openstack] Migrate Instance to another Tenant ID in the same environment

2013-01-10 Thread Davide Guerri
Thanks for this one. ... someone should really maintain a wiki with all the tricks that are passing through this ML! Cheers, Davide. On 10/gen/2013, at 11:15, Alex Vitola wrote: > Changed directly by the database. > > Not the best way but I did because it was an environment. > > So far I

Re: [Openstack] Migrate Instance to another Tenant ID in the same environment

2013-01-10 Thread Sébastien Han
Cool! -- Regards, Sébastien Han. On Thu, Jan 10, 2013 at 11:15 AM, Alex Vitola wrote: > Changed directly by the database. > > Not the best way but I did because it was an environment. > > So far I have not found any problems > > > mysql> use nova; > mysql> UPDATE `nova`.`instances` SET `user_i

Re: [Openstack] Migrate Instance to another Tenant ID in the same environment

2013-01-10 Thread Alex Vitola
Changed directly by the database. Not the best way but I did because it was an environment. So far I have not found any problems mysql> use nova; mysql> UPDATE `nova`.`instances` SET `user_id` = 'c892202c2a134b8e9f19c047f29c60ee', `project_id` = 'debd50b4ec2b4905a3296ac0f0971849' WHERE `instanc

Re: [Openstack] Migrate Instance to another Tenant ID in the same environment

2013-01-10 Thread Razique Mahroua
+1Seb, have you ever tried to change the tenant id for an instance into the database and reboot/ recover it? I wonder how nova behaves into such case Razique Mahroua - Nuage & Corazique.mahr...@gmail.comTel : +33 9 72 37 94 15 Le 9 janv. 2013 à 22:18, Sébastien Han a écri

Re: [Openstack] Migrate Instance to another Tenant ID in the same environment

2013-01-09 Thread Sébastien Han
Moving instances from project to project is not possible however what you can do is (safe way): - as an admin user - snapshot the image from env 1 - grab the snapshotted file from your glance store - import the snapshot into glance - make the image public - run the snapshot from env 2 - enjoy! Ch

[Openstack] Migrate Instance to another Tenant ID in the same environment

2013-01-09 Thread Alex Vitola
I have 2 projects in my environment: ProjectQA1: ID -> 0001 ProjectQA2: ID -> 0002 root@Controller:# keystone tenant-list +-++-+ | id |name| enabled | +-++-+ | 0001| ProjectQA1 | True | | 0002| ProjectQA2 | True |