Create action: num-instances

Bug #1911011 reported by Alvaro Uria
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Charm Guide
Fix Released
Medium
Peter Matulis
OpenStack Nova Compute Charm
Fix Released
Wishlist
Martin Kalcok

Bug Description

In order to script a verification of safe removal of nova-compute units, a new action would be required.

* Action name: num-instances
Return the number of instances running, suspended and stopped.

Changed in charm-nova-compute:
importance: Undecided → Wishlist
status: New → Triaged
tags: added: onboarding
Changed in charm-nova-compute:
assignee: nobody → Martin Kalcok (martin-kalcok)
status: Triaged → In Progress
Revision history for this message
Martin Kalcok (martin-kalcok) wrote :

PR is opened with slight change that renames the action to `instance-count`.

https://review.opendev.org/c/openstack/charm-nova-compute/+/783371

Revision history for this message
Aurelien Lourot (aurelien-lourot) wrote :

Added charm-guide as affected project in order to write release notes.

Changed in charm-guide:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Peter Matulis (petermatulis) wrote :

This never got added to the 21.04 release notes.

Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

> This never got added to the 21.04 release notes.

Peter, the review is still active; the feature didn't make it into 21.04, AFAICT?

tags: added: good-first-bug
removed: onboarding
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/+/783371
Committed: https://opendev.org/openstack/charm-nova-compute/commit/5eea014dd5e56c3205e1defbdc6253c5fbd8953a
Submitter: "Zuul (22348)"
Branch: master

commit 5eea014dd5e56c3205e1defbdc6253c5fbd8953a
Author: Martin Kalcok <email address hidden>
Date: Fri Mar 26 17:08:54 2021 +0100

    Add action that returns number of running VMs on the unit.

    Closes-Bug: #1911011
    Change-Id: If9ae646bc91b6389876830843bbf905596963054
    func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/535

Changed in charm-nova-compute:
status: In Progress → Fix Committed
Changed in charm-guide:
assignee: nobody → Peter Matulis (petermatulis)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-guide (master)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-guide (master)

Reviewed: https://review.opendev.org/c/openstack/charm-guide/+/796873
Committed: https://opendev.org/openstack/charm-guide/commit/d06d415cddfe6fa36217af175eb50d98c17a8483
Submitter: "Zuul (22348)"
Branch: master

commit d06d415cddfe6fa36217af175eb50d98c17a8483
Author: Peter Matulis <email address hidden>
Date: Thu Jun 17 10:52:52 2021 -0400

    Add new nova-compute action to RNs

    Also fix up wording for the Glance section.

    Partial-Bug: #1911011
    Change-Id: I288b5eb8221aedb061b826288cfc102d74e96793

Changed in charm-guide:
status: In Progress → Fix Released
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.