Comment 2 for bug 1907409

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