Reviewed: https://review.opendev.org/c/openstack/glance/+/864128 Committed: https://opendev.org/openstack/glance/commit/199722a65a88f9c28b554b180ec36415ed3a51ac Submitter: "Zuul (22348)" Branch: master
commit 199722a65a88f9c28b554b180ec36415ed3a51ac Author: Dan Smith <[email protected]> Date: Wed Nov 9 07:33:37 2022 -0800 Fix unintentional exception inspecting VMDK It looks like a raise statement was left in the virtual_size property handler for VMDK, which should have been converted to a log at some point. All the other inspectors return zero for virtual_size if the format does not match or they are unable to parse the data. This converts that raise to a log, and adds a test to make sure we make it far enough in the processing of the complex VMDK format to ensure that behavior. Closes-Bug: #1983279 Change-Id: I0352ab6b2c00055de094ac5902b8d50941d06dcf ** Changed in: glance Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1983279 Title: Cannot upload vmdk images due to unsupported vmdk format Status in Glance: Fix Released Bug description: Hi, We have recently upgraded our platform from ussuri to Yoga. We are now facing a problem that we were not before. When uploading vmdk images via glance we are now getting this error glance.common.format_inspector.ImageFormatError: Unsupported VMDK format b'streamOptimized' Is this normal? Even when we upload a standard vmdk from https://cloud- images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg- amd64.vmdk we get the error. We see that this file format_inspector.py did not exist in Ussuri. What is the main reason for calling this file? We actually do not even use vmdk in our platform. Once they are uploaded to glance we automatically convert them to raw. Now we cannot even upload a vmdk to glance. This seems to be an issue as we did not have this problem in ussuri. Let me know if you have any questions. Regards, Alex To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1983279/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

