<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">+1<div><br></div><div>Seb, 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</div><div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="font-weight: normal; font-family: Helvetica; "><b style="color: rgb(19, 112, 138); ">Razique Mahroua</b></span><span class="Apple-style-span" style="font-weight: normal; font-family: Helvetica; color: rgb(19, 112, 138); "><b> - </b></span><span class="Apple-style-span" style="font-family: Helvetica; "><span class="Apple-style-span" style="font-weight: normal; font-family: Helvetica; "><b style="color: rgb(19, 112, 138); ">Nuage & Co</b></span><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; border-collapse: separate; border-spacing: 0px; -webkit-text-decorations-in-effect: none; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="font-weight: normal; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; "><font class="Apple-style-span" color="#13708a"><a href="mailto:razique.mahroua@gmail.com">razique.mahroua@gmail.com</a></font></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; "><font class="Apple-style-span" color="#13708a">Tel : +33 9 72 37 94 15</font></div></span><br class="Apple-interchange-newline"><span></span><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; "></span><span style="color: rgb(0, 0, 0); font-weight: normal; "></span></span><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span><span><span><img height="125" width="125" id="8eeb043c-075f-4839-ae6a-b8115eaa5fd1" apple-width="yes" apple-height="yes" src="cid:00E07450-433E-43E6-9005-48B8FD5C669F@la.fabrique"></span>
</span></span></span></span></span></span></div>
<br><div><div>Le 9 janv. 2013 à 22:18, Sébastien Han <<a href="mailto:han.sebastien@gmail.com">han.sebastien@gmail.com</a>> a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite">Moving instances from project to project is not possible however what<br>you can do is (safe way):<br><br>- as an admin user<br>- snapshot the image from env 1<br>- grab the snapshotted file from your glance store<br>- import the snapshot into glance<br>- make the image public<br>- run the snapshot from env 2<br>- enjoy!<br><br>Cheers!<br><br>--<br>Regards,<br>Sébastien Han.<br><br><br>On Wed, Jan 9, 2013 at 8:14 PM, Alex Vitola <<a href="mailto:alex.vitola@gmail.com">alex.vitola@gmail.com</a>> wrote:<br><blockquote type="cite">I have 2 projects in my environment:<br><br>ProjectQA1: ID -> 0001<br>ProjectQA2: ID -> 0002<br><br>root@Controller:# keystone tenant-list<br>+---------+------------+---------+<br>| id      |    name    | enabled |<br>+---------+------------+---------+<br>| 0001    | ProjectQA1 |   True  |<br>| 0002    | ProjectQA2 |   True  |<br>+----------------------------------+------------+---------+<br><br>In Project 1 there are 1 instance<br>In Project 2 there are 7 instances<br><br>root@Controller:# nova usage-list<br><br>+-----------+-----------+--------------+-----------+---------------+<br>| Tenant ID | Instances | RAM MB-Hours | CPU Hours | Disk GB-Hours |<br>+-----------+-----------+--------------+-----------+---------------+<br>| 0001      | 1         | 12533.78     | 24.48     | 244.80        |<br>| 0002      | 7         | 127447.40    | 171.17    | 2100.45       |<br>+-----------+-----------+--------------+-----------+---------------+<br><br>Is it possible to move this instance of Project 1 for 2?<br><br>root@Controller:# nova list<br>+------+-------+--------+------------------------+<br>| ID   | Name  | Status | Networks               |<br>+------+-------+--------+------------------------+<br>| 9991 | QA-07 | ACTICE | Net-Demo=200.100.50.25 |<br>+------+-------+--------+------------------------+<br><br>Move ID 9991/QA-07<br><br>from: Tenant ID 0001<br>to: Tenant ID 0002<br><br>Is that possible?<br><br><br><br>Att<br><br>Alex Vitola<br>System Administrator<br><br>_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></blockquote><br>_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></blockquote></div><br></div></body></html>