Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 2388271

Summary: qemu-img info fails on rbd volume with 'failed to allocate memory for stack: Cannot allocate memory' in v19.2.1
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Francesco Pantano <fpantano>
Component: RBDAssignee: Ilya Dryomov <idryomov>
Status: CLOSED UPSTREAM QA Contact: Chaitanya <cdommeti>
Severity: high Docs Contact:
Priority: high    
Version: 8.1CC: bgibizer, ceph-eng-bugs, cephqe-warriors, gfidente, rdhasman, sangadi
Target Milestone: ---   
Target Release: 9.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-03-04 09:54:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Francesco Pantano 2025-08-13 16:02:58 UTC
Description of problem:

This issue is observed in the OpenStack CI after upgrading to v19.2.1.

Downgrading Ceph to v19.2.0 makes the problem disappear.

See the original bug report https://bugs.launchpad.net/nova/+bug/2116852 as well.

```
76309 Jul 13 13:52:20.363897 np42aaac35a2c74 nova-compute93712: ERROR nova.virt.libvirt.driver [instance: 259e9dfb-5882-4de0-9672-c619cb9ea4e6] Command: /opt/stack/data/venv/bin/python3.12 m oslo_concurrency.prlimit --as=1073741824 --cpu=30 - env LC_ALL=C LANG=C qemu-img info rbd:volumes/volume-514bd4d2-0a87-427d-a69e-c03efe96ba05:id=cinder --force-share --output=json
76310 Jul 13 13:52:20.363897 np42aaac35a2c74 nova-compute93712: ERROR nova.virt.libvirt.driver [instance: 259e9dfb-5882-4de0-9672-c619cb9ea4e6] Exit code: -6
76311 Jul 13 13:52:20.363897 np42aaac35a2c74 nova-compute93712: ERROR nova.virt.libvirt.driver [instance: 259e9dfb-5882-4de0-9672-c619cb9ea4e6] Stdout: ''
76312 Jul 13 13:52:20.363897 np42aaac35a2c74 nova-compute93712: ERROR nova.virt.libvirt.driver [instance: 259e9dfb-5882-4de0-9672-c619cb9ea4e6] Stderr: 'failed to allocate memory for stack: Cannot allocate memory\n'
```

Note that both the passing and the failing job uses the same qemu 8.2.2. packages. So it is not caused by a new qemu version.
Looks like https://github.com/ceph/ceph/pull/60133/commits/cdbe2c1bb4731395423ab77f3edd2ee4bd053148 is the potential commit introducing the regression.

Comment 9 Red Hat Bugzilla 2026-03-04 09:54:32 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.

Comment 10 Red Hat Bugzilla 2026-03-05 04:30:02 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days or the product is inactive and locked