virsh-audit actions to list instances as virsh sees

Bug #1907409 reported by Linda Guo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Nova Compute Charm
Fix Released
Undecided
Linda Guo

Bug Description

Add 'virsh-audit' action in nova-compute to list instances as virsh sees them on the node (virsh list --all) (sometimes this disagrees with what nova thinks)

Linda Guo (lihuiguo)
Changed in charm-nova-compute:
assignee: nobody → Linda Guo (lihuiguo)
status: New → In Progress
Revision history for this message
Linda Guo (lihuiguo) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-compute (master)

Reviewed: https://review.opendev.org/c/openstack/charm-nova-compute/+/766412
Committed: https://opendev.org/openstack/charm-nova-compute/commit/98fba99b34518c92b5a314a2874226d9f8591314
Submitter: "Zuul (22348)"
Branch: master

commit 98fba99b34518c92b5a314a2874226d9f8591314
Author: Linda Guo <email address hidden>
Date: Thu Dec 10 18:28:40 2020 +1100

      Add 'virsh-audit' action in nova-compute

      This new action to list instances as
      virsh sees them on the node (virsh
      list --all), sometimes this disagrees
      with what nova thinks

      Add a new zaza functional test class to
      avoid breaking the older versions

      To run the action, issue command:
      $ juju run-action nova-compute/0 virsh-audit --wait
      unit-nova-compute-0:
      UnitId: nova-compute/0
      id: "134"
      results:
        virsh-domains: |2+
           Id Name State
          -----------------------------------
           1 instance-00000001 running
           2 instance-00000002 running
      status: completed
      timing:
        completed: 2020-12-08 11:05:02 +0000 UTC
        enqueued: 2020-12-08 11:04:58 +0000 UTC
        started: 2020-12-08 11:05:01 +0000 UTC

      Closes-Bug: #1907409
      func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/472

    Change-Id: I222a119199ada82186e2058402a31a40baf7fd7b

Changed in charm-nova-compute:
status: In Progress → Fix Committed
Changed in charm-nova-compute:
milestone: none → 21.10
Changed in charm-nova-compute:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.