← Back to team overview

openstack team mailing list archive

Migrate Instance to another Tenant ID in the same environment

 

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  |
+----------------------------------+------------+---------+

In Project 1 there are 1 instance
In Project 2 there are 7 instances

root@Controller:# nova usage-list

+-----------+-----------+--------------+-----------+---------------+
| Tenant ID | Instances | RAM MB-Hours | CPU Hours | Disk GB-Hours |
+-----------+-----------+--------------+-----------+---------------+
| 0001      | 1         | 12533.78     | 24.48     | 244.80        |
| 0002      | 7         | 127447.40    | 171.17    | 2100.45       |
+-----------+-----------+--------------+-----------+---------------+

Is it possible to move this instance of Project 1 for 2?

root@Controller:# nova list
+------+-------+--------+------------------------+
| ID   | Name  | Status | Networks               |
+------+-------+--------+------------------------+
| 9991 | QA-07 | ACTICE | Net-Demo=200.100.50.25 |
+------+-------+--------+------------------------+

Move ID 9991/QA-07

from: Tenant ID 0001
to: Tenant ID 0002

Is that possible?



Att

Alex Vitola
System Administrator


Follow ups