Inconsistency in data stored in libvirt.xml file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Danil Akhmetov | ||
Ocata |
Fix Released
|
Low
|
György Szombathelyi | ||
Ubuntu Cloud Archive |
Fix Released
|
Low
|
Unassigned | ||
Mitaka |
Incomplete
|
Low
|
Unassigned | ||
Ocata |
Fix Released
|
Medium
|
Unassigned | ||
nova (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Xenial |
Incomplete
|
Low
|
Unassigned |
Bug Description
Operations involved :
nova migrate
nova evacuate
nova live-migration
The above mentioned operations on instances lead to creation of a new instance on a new compute host. It has been observed that the 'owner' information in the libvirt.xml file is populated with the username/
For instance,
There's an instance 'ins-1' in project/tenant 'pro-1' owned by user 'user01' launched on compute host 'compute-101'.
Now, an admin user named 'osadmin' from project 'admin', performs operation
`nova live-migration asdfghi123xyz compute-102`
* AD-123 (ID if ins-1)
This leads to a live migration of ins-1 from compute-101 to compute-102.
Now, the file /var/lib/
<nova:owner>
<nova:user uuid="osadmin"
</nova:owner>
which ideally should be,
<nova:owner>
<nova:user uuid="user01"
</nova:owner>
This inconsistency is seen in all the operations mentioned, i.e. evacuate, migrate, live-
migration.
Related commands :
nova live-migration SERVER HOST_NAME
nova evacuate EVACUATED_
nova migrate VM_ID
tags: | added: libvirt nova-manage |
Changed in nova: | |
assignee: | nobody → Danil Akhmetov (dinobot) |
Changed in nova: | |
status: | Confirmed → In Progress |
Changed in nova (Ubuntu): | |
status: | New → Fix Released |
Changed in nova (Ubuntu Xenial): | |
importance: | Undecided → Low |
Changed in nova (Ubuntu): | |
importance: | Undecided → Low |
Changed in nova (Ubuntu Xenial): | |
status: | New → Incomplete |
Changed in cloud-archive: | |
status: | New → Fix Released |
importance: | Undecided → Low |
This information is only advisory right? We never do anything with it again. So I'm not sure it's super important that it's accurate.