How to reduce image size?

Manuel Sopena Ballesteros at
Mon Jun 24 01:31:38 UTC 2019

Dear Openstack community,

I would like to reduce the size of an image, I wrote this command:

# openstack image set --property size=700000 centos7.6-kudu-image
Unable to set 'size' to '700000'. Reason: '700000' is not of type u'null', u'integer'

Failed validating u'type' in schema[u'properties'][u'size']:
    {u'description': u'Size of image file in bytes',
     u'readOnly': True,
     u'type': [u'null', u'integer']}

On instance[u'size']:

I guess the real issue is u'readOnly': True

How can I reduce the image size?

Thank you very much

Please consider the environment before printing this email. This message and any attachments are intended for the addressee named and may contain legally privileged/confidential/copyright information. If you are not the intended recipient, you should not read, use, disclose, copy or distribute this communication. If you have received this message in error please notify us at once by return email and then delete both messages. We accept no liability for the distribution of viruses or similar in electronic communications. This notice should not be removed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the openstack-discuss mailing list