Bug 2219699

Summary: [OSP 16.1] nova boot from image is failing with error "Image is not raw format"
Product: Red Hat OpenStack Reporter: Flavio Piccioni <fpiccion>
Component: openstack-novaAssignee: OSP DFG:Compute <osp-dfg-compute>
Status: CLOSED NOTABUG QA Contact: OSP DFG:Compute <osp-dfg-compute>
Severity: high Docs Contact:
Priority: high    
Version: 16.1 (Train)CC: astupnik, dasmith, eglynn, jhakimra, kchamart, ksambor, rribaud, sbauza, sgordon, vromanso
Target Milestone: ---Keywords: Reopened
Target Release: ---   
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: 2023-08-09 12:57:15 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 Flavio Piccioni 2023-07-04 20:43:14 UTC
Description of problem:
Creating a vm from a "standard-size" image like a pre-existing centos or a just-uploaded rhel8 is failing with error: "nova.exception.ImageUnacceptable: Image e6b12b3b-936d-43ec-bb73-aab6e9b4c433 is unacceptable: Image is not raw format"


Version-Release number of selected component (if applicable):
RHOSP 16.1.6 + Ceph as backend


Steps to Reproduce:
1. create a vm from an image: openstack server create --flavor myflavor --image e6b12b3b-936d-43ec-bb73-aab6e9b4c433 --nic none --availablility-zone myzone test-redhat 


Actual results:
2023-07-04 09:36:25.566 7 ERROR nova.compute.manager [instance: 9bdb1f85-4db9-4b90-a2b3-cb3b0201fd2a] nova.exception.ImageUnacceptable: Image e6b12b3b-936d-43ec-bb73-aab6e9b4c433 is unacceptable: Image is not raw format


Additional info:
- creating volumes from images is working 100% of time

- creating vms from volumes is working without any issue

- creating vms from small images like a cirros is working