[SRU] nova scheduler should ignore removed groups

Bug #1890244 reported by Fabian Zimmermann
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
sean mooney
Ubuntu Cloud Archive
Fix Released
Undecided
Unassigned
Yoga
Fix Released
High
Unassigned
Zed
Fix Released
Undecided
Unassigned
nova (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
Fix Released
High
Unassigned
Kinetic
Fix Released
Undecided
Unassigned

Bug Description

[Impact]
Fixes nova to not fail when scheduling a vm that previously belonged to a server group that has been deleted.

[Test Plan]
* deploy Openstack Yoga with shared storage e.g. Ceph
* create a server group (e.g. affinity) and boot one or more instances within that group:

  openstack server group create --policy affinity sg1
  openstack server create --image jammy --flavor m1.small --key-name testkey --nic net-id=private vm1 --hint group=e29105e1-06a2-40fa-85fa-899db944a82 --wait

* delete the server group:

  openstack server group delete sg1

* poweroff the compute host where the vms are running
* evacuate the vms from the powered down host:

  nova evacuate vm1 juju-882778-lp1890244-focal-yoga-13.cloud.sts

* check vms are ACTIVE and reachable on new compute host(s)

[Regression Potential]
No regressions are expected as a result of this fix.

-------------------------------------------------------------------------

Description
===========
We created a server group and started some instances in it.

Later we removed the server group.

Some time later, we had to evacuate these instances, but this failed, because the
scheduler removed all available hosts during filtering.

Steps to reproduce
==================
* create a server group
* start some instances in this group
* delete the server group
* ( hard poweroff your hypervisor )
* evacuate the instances

Expected result
===============
The instances are evacuated

Actual result
=============
The instances run into ERROR-state, because the server group is not found.

Environment
===========
* Kolla deployed OpenStack Train
* Ubuntu 18.04 / KVM + Libvirt

Logs & Configs
==============

scheduler tells:

 Filtering removed all hosts for the request with instance ID 'adddf2c9-0252-4463-a97c-f1ec209d9f49'. Filter results: ['AvailabilityZoneFilter: (start: 2, end: 2)', 'ComputeFilter: (start: 2, end: 2)', 'ComputeCapabilitiesFilter: (start: 2, end: 2)', 'ImagePropertiesFilter: (start: 2, end: 2)', 'ServerGroupAntiAffinityFilter: (start: 2, end: 2)', 'ServerGroupAffinityFilter: (start: 2, end: 0)']

instance show:

 | fault | {'code': 404, 'created': '2020-08-04T06:13:41Z', 'message': 'Instance group 7e84dc57-de05-4c92-9e3b-6e2d06c1d85b could not be found.'} |

Revision history for this message
Balazs Gibizer (balazs-gibizer) wrote :

Interesting, I tried to reproduce it on latest master with a two node devstack and evacuate worked with affinity or anti-affinity group after the group was deleted.

We does not store the group uuid on the instance but store the instance_uuid in the group so when the group is deleted there should be no way to found that group based on the instance_uuid.

This is the place where the scheduler gets the group, if any, for the instance being scheduled [1].

We also store the group uuid in the RequestSpec but loading a RequestSpec back from the DB also guarded against deleted groups. [2]

Could you execute

$openstack server group show <grp>

before you delete the group?

Could you also grep the nova logs for with the group uuid to see if any interesting log shows up?

[1] https://github.com/openstack/nova/blob/8ecc29bfccc64e6036d068f9bcbeb0d8e0748776/nova/scheduler/utils.py#L1076

[2] https://github.com/openstack/nova/blob/8ecc29bfccc64e6036d068f9bcbeb0d8e0748776/nova/objects/request_spec.py#L595

tags: added: scheduler
Revision history for this message
Balazs Gibizer (balazs-gibizer) wrote :

I'm marking this Incomplete until we get more information about the reproduction. Please set it back to New when you provide more information.

Changed in nova:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Compute (nova) because there has been no activity for 60 days.]

Changed in nova:
status: Incomplete → Expired
Revision history for this message
Gabriel Hartmann (gagaha) wrote :
Download full text (10.8 KiB)

Hi,

we have a similar problem on instance resizes.
We are currently running on OpenStack Victoria.

Steps to reproduce
==================
* create a server group
* start some instances in this group
* delete the server group
* resize an instance of the former server group

This also results in the error message 'Instance group ad661086-ca64-47ee-ad16-3226734de605 could not be found.' and vm_state 'error'.

I traced the error down and it seems to originate from nova-compute on the destination host candidates.
Here are the error logs from nova-compute on one of the destinations candidates when trying to do the resize:

2021-11-02 14:24:09.560 7 ERROR nova.compute.manager [req-64de0df0-e144-4dba-ada4-1cb048e82706 4e9bb6ded0ed4a248be15edf71ea8944 f7c7480026ff49fcb5d439f66ea05203 - default default] [instance: b9a023da-26ae-4cef-af6e-20b549c0236f] Error trying to reschedule: nova.exception_Remote.NoValidHost_Remote: No valid host
was found. No valid host found for resize
Traceback (most recent call last):

  File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/conductor/manager.py", line 353, in _cold_migrate
    task.execute()

  File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/conductor/tasks/base.py", line 26, in wrap
    self.rollback(ex)

  File "/var/lib/kolla/venv/lib/python3.8/site-packages/oslo_utils/excutils.py", line 227, in __exit__
    self.force_reraise()

  File "/var/lib/kolla/venv/lib/python3.8/site-packages/oslo_utils/excutils.py", line 200, in force_reraise
    raise self.value

  File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/conductor/tasks/base.py", line 23, in wrap
    return original(self)

  File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/conductor/tasks/base.py", line 40, in execute
    return self._execute()

  File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/conductor/tasks/migrate.py", line 300, in _execute
    selection = self._reschedule()

  File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/conductor/tasks/migrate.py", line 382, in _reschedule
    raise exception.MaxRetriesExceeded(reason=reason)

nova.exception.MaxRetriesExceeded: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance b9a023da-26ae-4cef-af6e-20b549c0236f.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

  File "/var/lib/kolla/venv/lib/python3.8/site-packages/oslo_messaging/rpc/server.py", line 241, in inner
    return func(*args, **kwargs)

  File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/conductor/manager.py", line 98, in wrapper
    return fn(self, context, *args, **kwargs)

  File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/compute/utils.py", line 1434, in decorated_function
    return function(self, context, *args, **kwargs)

  File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/conductor/manager.py", line 299, in migrate_server
    self._cold_migrate(context, instance, flavor,

  File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/conductor/manager.py", line 368, in _cold_migrate
    raise exception.NoValidHost(reason=msg)

nova.exceptio...

Revision history for this message
Sylvain Bauza (sylvain-bauza) wrote :

I was able to reproduce this bug.
This is due to the fact we look at the RequestSpec https://github.com/openstack/nova/blob/ebe08834f311e8e22bfd9685d7e6e91dab967382/nova/compute/manager.py#L3657

and then we direcly ask to get the group by the hint there https://github.com/openstack/nova/blob/ebe08834f311e8e22bfd9685d7e6e91dab967382/nova/compute/manager.py#L1733

Eventually, if the group is deleted, we'll return a InstanceGroupNotFound exception by https://github.com/openstack/nova/blob/ebe08834f311e8e22bfd9685d7e6e91dab967382/nova/objects/instance_group.py#L223

Changed in nova:
status: Expired → Triaged
importance: Undecided → Medium
Revision history for this message
Balazs Gibizer (balazs-gibizer) wrote :
Download full text (6.1 KiB)

So the missing pieces to a successful reproduction on master were:

1) in devstack the [workarounds]disable_group_policy_check_upcall is set to True by default as devstack is deployed with proper cell isolation hence no upcall is actually possible. So first I had to set [workarounds]disable_group_policy_check_upcall to False to trigger the upcall

2) Then I needed to promote the cell1 conductor in devstack to a super conductor by adding api db access to its config
  [api_database]
  connection = mysql+pymysql://root:admin@127.0.0.1/nova_api?charset=utf8

After this the reported issue is reproducible:

Jun 21 10:25:57 gibi-devstack-aio nova-compute[2131543]: ERROR nova.compute.manager [None req-22e98c46-328a-4dc1-9381-550e44a44cee admin admin] [instance: 251e19f6-431a-4df9-aab3-79d8cdf65f28] Setting instance vm_state to ERROR: nova.exception_Remote.InstanceGroupNotFound_Remote: Instance group 7eea7e6b-8277-4811-a27e-7a0ea39874ab could not be found.
Jun 21 10:25:57 gibi-devstack-aio nova-compute[2131543]: ERROR nova.compute.manager [instance: 251e19f6-431a-4df9-aab3-79d8cdf65f28] Traceback (most recent call last):
Jun 21 10:25:57 gibi-devstack-aio nova-compute[2131543]: ERROR nova.compute.manager [instance: 251e19f6-431a-4df9-aab3-79d8cdf65f28] File "/opt/stack/nova/nova/compute/manager.py", line 10362, in _error_out_instance_on_exception
Jun 21 10:25:57 gibi-devstack-aio nova-compute[2131543]: ERROR nova.compute.manager [instance: 251e19f6-431a-4df9-aab3-79d8cdf65f28] yield
Jun 21 10:25:57 gibi-devstack-aio nova-compute[2131543]: ERROR nova.compute.manager [instance: 251e19f6-431a-4df9-aab3-79d8cdf65f28] File "/opt/stack/nova/nova/compute/manager.py", line 3555, in rebuild_instance
Jun 21 10:25:57 gibi-devstack-aio nova-compute[2131543]: ERROR nova.compute.manager [instance: 251e19f6-431a-4df9-aab3-79d8cdf65f28] self._do_rebuild_instance_with_claim(
Jun 21 10:25:57 gibi-devstack-aio nova-compute[2131543]: ERROR nova.compute.manager [instance: 251e19f6-431a-4df9-aab3-79d8cdf65f28] File "/opt/stack/nova/nova/compute/manager.py", line 3637, in _do_rebuild_instance_with_claim
Jun 21 10:25:57 gibi-devstack-aio nova-compute[2131543]: ERROR nova.compute.manager [instance: 251e19f6-431a-4df9-aab3-79d8cdf65f28] self._do_rebuild_instance(
Jun 21 10:25:57 gibi-devstack-aio nova-compute[2131543]: ERROR nova.compute.manager [instance: 251e19f6-431a-4df9-aab3-79d8cdf65f28] File "/opt/stack/nova/nova/compute/manager.py", line 3666, in _do_rebuild_instance
Jun 21 10:25:57 gibi-devstack-aio nova-compute[2131543]: ERROR nova.compute.manager [instance: 251e19f6-431a-4df9-aab3-79d8cdf65f28] self._validate_instance_group_policy(context, instance, hints)
Jun 21 10:25:57 gibi-devstack-aio nova-compute[2131543]: ERROR nova.compute.manager [instance: 251e19f6-431a-4df9-aab3-79d8cdf65f28] File "/opt/stack/nova/nova/compute/manager.py", line 1738, in _validate_instance_group_policy
Jun 21 10:25:57 gibi-devstack-aio nova-compute[2131543]: ERROR nova.compute.manager [instance: 251e19f6-431a-4df9-aab3-79d8cdf65f28] group = objects.InstanceGroup.get_by_hint(context, group_hint)
Jun 21 10:25:57 gibi-devstack-aio nova-compute[2131543]: ERROR nov...

Read more...

Changed in nova:
assignee: nobody → sean mooney (sean-k-mooney)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to nova (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/nova/+/847000

Changed in nova:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/nova/+/847001

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to nova (master)

Reviewed: https://review.opendev.org/c/openstack/nova/+/847000
Committed: https://opendev.org/openstack/nova/commit/84a84f7f2fff58cf6254d6267af0ca5cee64c53b
Submitter: "Zuul (22348)"
Branch: master

commit 84a84f7f2fff58cf6254d6267af0ca5cee64c53b
Author: Sean Mooney <email address hidden>
Date: Tue Jun 21 12:04:20 2022 +0100

    add repoducer test for bug 1890244

    This change adds a test to simulate validating
    a instnace group policy where the group has been
    deleted but is still referenced in the scheduler hint.

    Change-Id: I803e6286a773d9e53639ab0cd449fc72bb3be613
    Related-Bug: #1890244

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.opendev.org/c/openstack/nova/+/847001
Committed: https://opendev.org/openstack/nova/commit/cd2c2f359bbd4913cfe73199847bc35b2664aaa9
Submitter: "Zuul (22348)"
Branch: master

commit cd2c2f359bbd4913cfe73199847bc35b2664aaa9
Author: Sean Mooney <email address hidden>
Date: Tue Jun 21 12:23:45 2022 +0100

    ignore deleted server groups in validation

    This change simply catches the exception raised when
    we lookup a servergroup via a hint and the validation
    upcall is enabled.

    Change-Id: I858b4da35382a9f4dcf88f4b6db340e1f34eb82d
    Closes-Bug: #1890244

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 26.0.0.0rc1

This issue was fixed in the openstack/nova 26.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/yoga)

Fix proposed to branch: stable/yoga
Review: https://review.opendev.org/c/openstack/nova/+/867989

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to nova (stable/yoga)

Related fix proposed to branch: stable/yoga
Review: https://review.opendev.org/c/openstack/nova/+/872663

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to nova (stable/yoga)

Reviewed: https://review.opendev.org/c/openstack/nova/+/872663
Committed: https://opendev.org/openstack/nova/commit/f57900ad20d21aac5cb91aed87edc121f9008115
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit f57900ad20d21aac5cb91aed87edc121f9008115
Author: Sean Mooney <email address hidden>
Date: Tue Jun 21 12:04:20 2022 +0100

    add repoducer test for bug 1890244

    This change adds a test to simulate validating
    a instnace group policy where the group has been
    deleted but is still referenced in the scheduler hint.

    Change-Id: I803e6286a773d9e53639ab0cd449fc72bb3be613
    Related-Bug: #1890244
    (cherry picked from commit 84a84f7f2fff58cf6254d6267af0ca5cee64c53b)

tags: added: in-stable-yoga
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/yoga)

Reviewed: https://review.opendev.org/c/openstack/nova/+/867989
Committed: https://opendev.org/openstack/nova/commit/7934b9ec57d7060fbcf27706aa98ebf5a83f920a
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit 7934b9ec57d7060fbcf27706aa98ebf5a83f920a
Author: Sean Mooney <email address hidden>
Date: Tue Jun 21 12:23:45 2022 +0100

    ignore deleted server groups in validation

    This change simply catches the exception raised when
    we lookup a servergroup via a hint and the validation
    upcall is enabled.

    Change-Id: I858b4da35382a9f4dcf88f4b6db340e1f34eb82d
    Closes-Bug: #1890244
    (cherry picked from commit cd2c2f359bbd4913cfe73199847bc35b2664aaa9)

no longer affects: nova (Ubuntu Lunar)
Changed in nova (Ubuntu Kinetic):
status: New → Fix Released
no longer affects: cloud-archive/ussuri
no longer affects: cloud-archive/victoria
no longer affects: cloud-archive/wallaby
no longer affects: cloud-archive/xena
Revision history for this message
Edward Hope-Morley (hopem) wrote :
description: updated
summary: - nova scheduler should ignore removed groups
+ [SRU] nova scheduler should ignore removed groups
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "lp1890244-jammy-yoga.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Changed in nova (Ubuntu):
status: New → Fix Released
Changed in cloud-archive:
status: New → Fix Released
Revision history for this message
Corey Bryant (corey.bryant) wrote :
Changed in nova (Ubuntu Jammy):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Robie Basak (racb) wrote : Please test proposed package

Hello Fabian, or anyone else affected,

Accepted nova into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nova/3:25.1.0-0ubuntu2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in nova (Ubuntu Jammy):
status: Triaged → Fix Committed
tags: added: verification-needed verification-needed-jammy
Revision history for this message
sean mooney (sean-k-mooney) wrote :

I feel like I need to call out that the Nova project in Launchpad is meant to only be used for upstream nova bugs and the bug is not meant to be reused for tracking integration and verification in the cloud archive release.

a separate launchpad bug should be created for the ubuntu packaging.
we do not enforce this through tooling but we have ask that the upstream nova bug is kept clean in the past.

Revision history for this message
Robie Basak (racb) wrote :

@sean mooney I don't think that's how Launchpad intends its bug tracker to be used. The principle is that the same underlying issue can affect different projects and Launchpad allows all participants to collaborate in the same bug. If you as a project would prefer Ubuntu not to use that facility and instead want separate bugs in Launchpad then I don't have a problem with that, but it's probably worth arranging this and communicating with the Ubuntu project in a public forum so that we don't step on each others toes. Otherwise, without a publicly documented position from both projects, newcomers won't know and will revert to using Launchpad how it was intended to be used and how it's used with other projects.

I was commenting to say that I unsubscribed ~ubuntu-sponsors as there's nothing left to sponsor, but then I saw your comment, yet still need to record that for Ubuntu developers somewhere.

Revision history for this message
Corey Bryant (corey.bryant) wrote :

Hello Fabian, or anyone else affected,

Accepted nova into yoga-proposed. The package will build now and be available in the Ubuntu Cloud Archive in a few hours, and then in the -proposed repository.

Please help us by testing this new package. To enable the -proposed repository:

  sudo add-apt-repository cloud-archive:yoga-proposed
  sudo apt-get update

Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-yoga-needed to verification-yoga-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-yoga-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-yoga-needed
Revision history for this message
sean mooney (sean-k-mooney) wrote :

The issue reusing with reusing a bug for Ubuntu packaging has caused in the past is confusion about whether this is fixed upstream in a given release and downstream in Ubuntu packages.
using the bug to tack feedback via comments is also problematic if the Ubuntu packages have any additional backport no in upstream stable/*

the ubuntu packages also have additional tags that are not standard tags from a Nova perspective for verification tracking.

we use the ability to have a single bug across multiple OpenStack projects frequently
we don't cross-link them to the Ubuntu cloud archive or Ubuntu packaging.

Revision history for this message
Edward Hope-Morley (hopem) wrote :

Verified jammy-proposed using [Test Case] with the following output:

$ openstack server group delete sg1
$ juju ssh 14 sudo poweroff
$ nova evacuate vm1 juju-b8c3fe-lp1890244-jammy-yoga-13.cloud.sts

# apt-cache policy nova-common
nova-common:
  Installed: 3:25.1.0-0ubuntu2
  Candidate: 3:25.1.0-0ubuntu2
  Version table:
 *** 3:25.1.0-0ubuntu2 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     3:25.1.0-0ubuntu1 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
     3:25.0.0-0ubuntu1 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu jammy/main amd64 Packages

$ openstack server list --long
+--------------------------------------+------+--------+------------+-------------+--------------------------------------+------------+--------------------------------------+-------------+-----------+-------------------+-----------------------------------------------+------------+
| ID | Name | Status | Task State | Power State | Networks | Image Name | Image ID | Flavor Name | Flavor ID | Availability Zone | Host | Properties |
+--------------------------------------+------+--------+------------+-------------+--------------------------------------+------------+--------------------------------------+-------------+-----------+-------------------+-----------------------------------------------+------------+
| 230ba96a-a29e-427a-bd43-9045fd09950d | vm1 | ACTIVE | None | Running | private=192.168.21.155, 10.5.150.137 | jammy-raw | 4f0e79e5-6116-49fe-9954-2a8a84aba5dc | m1.small | 2 | nova | juju-b8c3fe-lp1890244-jammy-yoga-13.cloud.sts | |
+--------------------------------------+------+--------+------------+-------------+--------------------------------------+------------+--------------------------------------+-------------+-----------+-------------------+-----------------------------------------------+------------+

tags: added: verification-done-jammy
removed: verification-needed-jammy
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nova - 3:25.1.0-0ubuntu2

---------------
nova (3:25.1.0-0ubuntu2) jammy; urgency=medium

  * Backport fix to ignore deleted server groups (LP: #1890244)
    d/p/ignore-deleted-server-groups-in-validation.patch

 -- Edward Hope-Morley <email address hidden> Fri, 17 Mar 2023 12:44:49 +0000

Changed in nova (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Chris Halse Rogers (raof) wrote : Update Released

The verification of the Stable Release Update for nova has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Edward Hope-Morley (hopem) wrote :

Verified yoga-proposed using [Test Case] with the following output:

$ openstack server group delete sg1
$ juju ssh 14 sudo poweroff
$ nova evacuate vm1 juju-4a34c1-lp1890244-focal-yoga-13.cloud.sts

# apt-cache policy nova-common
nova-common:
  Installed: 3:25.1.0-0ubuntu2~cloud0
  Candidate: 3:25.1.0-0ubuntu2~cloud0
  Version table:
 *** 3:25.1.0-0ubuntu2~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-proposed/yoga/main amd64 Packages
        100 /var/lib/dpkg/status
     3:25.1.0-0ubuntu1~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/yoga/main amd64 Packages
     2:21.2.4-0ubuntu2.2 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
     2:21.0.0~b3~git2020041013.57ff308d6d-0ubuntu2 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu focal/main amd64 Packages

$ openstack server list --long
+--------------------------------------+------+--------+------------+-------------+------------------------------------+------------+--------------------------------------+-------------+-----------+-------------------+-----------------------------------------------+------------+
| ID | Name | Status | Task State | Power State | Networks | Image Name | Image ID | Flavor Name | Flavor ID | Availability Zone | Host | Properties |
+--------------------------------------+------+--------+------------+-------------+------------------------------------+------------+--------------------------------------+-------------+-----------+-------------------+-----------------------------------------------+------------+
| 8881cbe6-7f11-43aa-8fe4-5744d44d6b2d | vm1 | ACTIVE | None | Running | private=192.168.21.15, 10.5.151.11 | jammy-raw | 53ace938-175c-4db9-90b1-a2da00d76c42 | m1.small | 2 | nova | juju-4a34c1-lp1890244-focal-yoga-13.cloud.sts | |
+--------------------------------------+------+--------+------------+-------------+------------------------------------+------------+--------------------------------------+-------------+-----------+-------------------+-----------------------------------------------+------------+

tags: added: verification-done verification-yoga-done
removed: verification-needed verification-yoga-needed
Revision history for this message
Corey Bryant (corey.bryant) wrote :

The verification of the Stable Release Update for nova has completed successfully and the package has now been released to -updates. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Corey Bryant (corey.bryant) wrote :

This bug was fixed in the package nova - 3:25.1.0-0ubuntu2~cloud0
---------------

 nova (3:25.1.0-0ubuntu2~cloud0) focal-yoga; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 nova (3:25.1.0-0ubuntu2) jammy; urgency=medium
 .
   * Backport fix to ignore deleted server groups (LP: #1890244)
     d/p/ignore-deleted-server-groups-in-validation.patch

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 25.1.1

This issue was fixed in the openstack/nova 25.1.1 release.

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.