[Bug 1890244] Re: [SRU] nova scheduler should ignore removed groups
James Page
1890244 at bugs.launchpad.net
Mon Jul 8 13:06:27 UTC 2024
This bug was fixed in the package nova - 3:25.2.1-0ubuntu2.3~cloud0
---------------
nova (3:25.2.1-0ubuntu2.3~cloud0) focal; urgency=medium
.
* SECURITY UPDATE for Ubuntu Cloud Archive. backport to focal.
.
nova (3:25.2.1-0ubuntu2.3) jammy-security; urgency=medium
.
* SECURITY UPDATE: Arbitrary file access via custom QCOW2 external data
(LP: #2059809)
- debian/patches/CVE-2024-32498-pre1.patch: consolidate
create_cow_image and create_image.
- debian/patches/CVE-2024-32498-1.patch: reject qcow files with
data-file attributes.
- debian/patches/CVE-2024-32498-2.patch: check images with
format_inspector for safety.
- debian/patches/CVE-2024-32498-3.patch: additional qemu safety
checking on base images.
- debian/patches/CVE-2024-32498-4.patch: fix vmdk_allowed_types
checking.
- CVE-2024-32498
.
nova (3:25.2.1-0ubuntu2) jammy; urgency=medium
.
* d/p/libvirt-remove-default-cputune-shares-value.patch:
Enable launch of instances with more than 9 CPUs on Jammy
(LP: #1978489).
.
nova (3:25.2.1-0ubuntu1) jammy; urgency=medium
.
* New stable point release for OpenStack Yoga (LP: #2037332).
.
nova (3:25.2.0-0ubuntu1) jammy; urgency=medium
.
* New stable point release for OpenStack Yoga (LP: #2025503).
* d/p/CVE-2023-2088-*.patch: Dropped. Fixed in point release.
.
nova (3:25.1.1-0ubuntu1.1) jammy-security; urgency=medium
.
* SECURITY UPDATE: Unauthorized File Access (LP: #2021980)
- debian/patches/CVE-2023-2088-1.patch: Use force=True for os-brick
disconnect during delete.
- debian/patches/CVE-2023-2088-2.patch: Enable use of service user
token with admin context.
- CVE-2023-2088
.
nova (3:25.1.1-0ubuntu1) jammy; urgency=medium
.
* New stable point release for OpenStack Yoga (LP: #2019759).
* d/p/ignore-deleted-server-groups-in-validation.patch: Dropped. Fixed
in stable point release.
.
nova (3:25.1.0-0ubuntu2.2) jammy-security; urgency=medium
.
* SECURITY REGRESSION: Regressions in other projects (LP: #2020111)
- debian/patches/series: Do not apply CVE-2023-2088.patch until
patches are ready for all upstream OpenStack projects.
- CVE-2023-2088
.
nova (3:25.1.0-0ubuntu2.1) jammy-security; urgency=medium
.
* SECURITY UPDATE: Unauthorized File Access
- debian/patches/CVE-2023-2088.patch: Use force=True for os-brick
disconnect during delete.
- CVE-2023-2088
.
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
.
nova (3:25.1.0-0ubuntu1) jammy; urgency=medium
.
* New stable point release for OpenStack Yoga (LP: #2004030).
.
nova (3:25.0.1-0ubuntu1) jammy; urgency=medium
.
* New stable point release for OpenStack Yoga (LP: #1980369).
.
nova (3:25.0.0-0ubuntu1.1) jammy; urgency=medium
.
[ Corey Bryant ]
* d/gbp.conf: Create stable/yoga branch.
.
[ Felipe Reyes ]
* d/nova-common.postinst: Don't change file permissions under
/var/lib/nova/.ssh (LP: #1904580).
.
nova (3:25.0.0-0ubuntu1) jammy; urgency=medium
.
* d/watch: Scope to 25.x series
* New upstream release for OpenStack Yoga.
.
nova (3:24.0.0+git2022030310.3f274c65cc-0ubuntu2) jammy; urgency=medium
.
* d/control: Drop min version of python3-testtools to 2.4.0.
.
nova (3:24.0.0+git2022030310.3f274c65cc-0ubuntu1) jammy; urgency=medium
.
* New upstream snapshot for OpenStack Yoga.
* d/control: Align (Build-)Depends with upstream.
.
nova (3:24.0.0+git2022011217.ea3945f71c-0ubuntu1) jammy; urgency=medium
.
* New upstream snapshot for OpenStack Yoga.
* d/control, d/rules: Bump debhelper compat to 13.
.
nova (3:24.0.0+git2021120815.755aa11e0c-0ubuntu1) jammy; urgency=medium
.
* New upstream snapshot for OpenStack Yoga.
* d/control: Align (Build-)Depends with upstream.
.
nova (3:24.0.0-0ubuntu1) impish; urgency=medium
.
* d/watch: Scope to 24.x series
* New upstream release for OpenStack Xena.
.
nova (3:23.0.2+git2021090912.edaaa97d99-0ubuntu1) impish; urgency=medium
.
* New upstream snapshot for OpenStack Xena.
* d/control: Align (Build-)Depends with upstream.
* d/p/arm-console-patch.patch: Rebased.
.
nova (3:23.0.2+git2021072117.3545356ae3-0ubuntu1) impish; urgency=medium
.
* New upstream snapshot for OpenStack Xena.
* d/control: Align (Build-)Depends with upstream.
.
nova (3:23.0.1+git2021061405.052cf96358-0ubuntu2) impish; urgency=medium
.
* d/nova-compute-ironic.conf: Use the correct compute_driver for
ironic (LP: #1934533).
* d/t/nova-compute-daemons: Add nova-compute-ironic to test.
.
nova (3:23.0.1+git2021061405.052cf96358-0ubuntu1) impish; urgency=medium
.
* New upstream snapshot for OpenStack Xena.
* d/control: Align (Build-)Depends with upstream.
.
nova (3:23.0.0-0ubuntu1) hirsute; urgency=medium
.
* New upstream release for OpenStack Wallaby.
.
nova (3:23.0.0~rc2-0ubuntu1) hirsute; urgency=medium
.
* New upstream release candidate for OpenStack Wallaby.
* d/control: Align (Build-)Depends with upstream.
.
nova (3:23.0.0~rc1-0ubuntu1) hirsute; urgency=medium
.
* d/control: Remove unnecessary dh-systemd Build-Depend
* d/watch: Scope to 23.x series
* New upstream release candidate for OpenStack Wallaby.
* d/control: Align (Build-)Depends with upstream.
.
nova (3:22.1.0+git2021030407.0226f9dd63-0ubuntu1) hirsute; urgency=medium
.
* New upstream snapshot for OpenStack Wallaby.
* d/control: Align (Build-)Depends with upstream.
.
nova (3:22.0.1+git2021012713.d92c0740c6-0ubuntu1) hirsute; urgency=medium
.
[ Corey Bryant ]
* d/control: Drop mox3 inline with upstream.
.
[ Chris MacNaughton ]
* New upstream snapshot for OpenStack Wallaby.
* d/control: Align (Build-)Depends with upstream.
* d/p/arm-console-patch.patch: Refreshed.
.
nova (3:22.0.1+git2020121010.3a6c1cbc3a-0ubuntu1) hirsute; urgency=medium
.
* Increment epoch to align with new snapshot plan.
* New upstream snapshot for OpenStack Wallaby.
.
nova (2:23.0.0~b1~git2020120312.f0efcae697-0ubuntu2) hirsute; urgency=medium
.
* New upstream snapshot for OpenStack Wallaby.
* d/control: Align (Build-)Depends with upstream.
.
nova (2:22.0.0-0ubuntu1) groovy; urgency=medium
.
* New upstream release for OpenStack Victoria.
.
nova (2:22.0.0~rc1-0ubuntu1) groovy; urgency=medium
.
[ Chris MacNaughton ]
* d/control: Update VCS paths for move to lp:~ubuntu-openstack-dev.
* d/watch: Scope to 22.x series.
.
[ Corey Bryant ]
* New upstream release candidate for OpenStack Victoria.
* d/control: Align (Build-)Depends with upstream.
.
nova (2:22.0.0~b3~git2020091410.76b2fbd90e-0ubuntu3) groovy; urgency=medium
.
* d/nova-compute-libvirt.postinst: Ensure libvirt-qemu user is removed
from nova group on package upgrade (LP: #1896617).
.
nova (2:22.0.0~b3~git2020091410.76b2fbd90e-0ubuntu2) groovy; urgency=medium
.
* d/nova-compute-libvirt.postinst: Drop libvirt-qemu user from nova group.
This is no longer needed with recent /var/lib/nova permission changes and
causes live snapshots to fail (LP: #1896617).
.
nova (2:22.0.0~b3~git2020091410.76b2fbd90e-0ubuntu1) groovy; urgency=medium
.
* New upstream snapshot for OpenStack Victoria.
* d/control: Align (Build-)Depends with upstream.
.
nova (2:22.0.0~b2~git2020073014.2f3a380c3c-0ubuntu2) groovy; urgency=medium
.
[ Chris MacNaughton ]
* d/control: Remove Breaks/Replaces that are older than Focal (LP: #1878419).
.
[ Corey Bryant ]
* d/control, d/nova-compute-ironic.conf, d/rules: Add nova-compute-ironic
binary package.
.
nova (2:22.0.0~b2~git2020073014.2f3a380c3c-0ubuntu1) groovy; urgency=medium
.
* New upstream snapshot for OpenStack Victoria.
* d/control: Drop min version of openstack-pkg-tools.
* d/control: Update Standards-Version to 4.5.0.
.
nova (2:22.0.0~b1~git2020070713.bc784a1c1f-0ubuntu1) groovy; urgency=medium
.
* New upstream snapshot for OpenStack Victoria.
* d/control: Align (Build-)Depends with upstream.
* d/p/add-mysql8-compatibility.patch: Removed. Change landed upstream.
* d/p/arm-console-patch.patch: Refreshed.
* d/p/drop-sphinxcontrib-rsvgconverter.patch: Refreshed
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1890244
Title:
[SRU] nova scheduler should ignore removed groups
Status in Ubuntu Cloud Archive:
Fix Released
Status in Ubuntu Cloud Archive yoga series:
Fix Released
Status in Ubuntu Cloud Archive zed series:
Fix Released
Status in OpenStack Compute (nova):
Fix Released
Status in nova package in Ubuntu:
Fix Released
Status in nova source package in Jammy:
Fix Released
Status in nova source package in Kinetic:
Fix Released
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.'} |
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1890244/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list