← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1524627] [NEW] nova libvirt xml generate wrong metadata

 

Public bug reported:

Environment:

devstack running OpenStack from master.

Steps to reproduce:

1. login as demo/demo
2. boot a instance
3. virsh dumpxml <instance>, view metadata:
<nova:owner>
        <nova:user uuid="<demo-uuid>">demo</nova:user>
        <nova:project uuid="demo-project-uuid">demo</nova:project>
</nova:owner>
4. login as admin/admin
5. hard boot the instance
6. virsh dumpxml <instance>, view metadata:
<nova:owner>
        <nova:user uuid="<admin-uuid>">admin</nova:user>
        <nova:project uuid="<admin-project-uuid>">admin</nova:project>
</nova:owner>

Expected result:

The project and user metadata cannot get from current context.

Actual result:

The project and user metadata all get from current context.

** Affects: nova
     Importance: Medium
     Assignee: Tardis Xu (xiaoxubeii)
         Status: In Progress


** Tags: compute libvirt xml

** Changed in: nova
       Status: New => In Progress

** Changed in: nova
   Importance: Undecided => Medium

** Changed in: nova
     Assignee: (unassigned) => Tardis Xu (xiaoxubeii)

** Tags added: compute

** Tags added: libvirt xml

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1524627

Title:
  nova libvirt xml generate wrong metadata

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  Environment:

  devstack running OpenStack from master.

  Steps to reproduce:

  1. login as demo/demo
  2. boot a instance
  3. virsh dumpxml <instance>, view metadata:
  <nova:owner>
          <nova:user uuid="<demo-uuid>">demo</nova:user>
          <nova:project uuid="demo-project-uuid">demo</nova:project>
  </nova:owner>
  4. login as admin/admin
  5. hard boot the instance
  6. virsh dumpxml <instance>, view metadata:
  <nova:owner>
          <nova:user uuid="<admin-uuid>">admin</nova:user>
          <nova:project uuid="<admin-project-uuid>">admin</nova:project>
  </nova:owner>

  Expected result:

  The project and user metadata cannot get from current context.

  Actual result:

  The project and user metadata all get from current context.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1524627/+subscriptions


Follow ups