Uploading images through the image create command fails with "Image creation failed: Image checksum verification failed"
search cancel

Uploading images through the image create command fails with "Image creation failed: Image checksum verification failed"

book

Article ID: 321735

calendar_today

Updated On:

Products

VMware Integrated OpenStack

Issue/Introduction

  • Uploading images through the openstack image create command fails with error like:

SDKException: Image creation failed: Image checksum verification failed
clean_up CreateImage: Image creation failed: Image checksum verification failed
END return value: 1

Environment

7.x

Cause

This is due to upstream changes with the OpenStack client.

Starting in 5.2.0, the glanceclient is no longer used, and the OpenStackSDK is used (python-openstackclient release notes).

Resolution

The flag, vmware_create_template="false" can be set when uploading image.

For example:
#openstack image create test-image --disk-format vmdk --container-format bare --file cirros.vmdk --property vmware_create_template='false'

Additional Information