How to reduce image size?

Gorka Eguileor geguileo at
Tue Jun 25 09:54:56 UTC 2019

On 24/06, Manuel Sopena Ballesteros wrote:
> 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']:
>     '700000'


This looks like a bug to me.

It looks like it is reading 700000 as a string and failing when checking
if it's an integer or null.


> I guess the real issue is u'readOnly': True
> How can I reduce the image size?
> Thank you very much
> Manuel
> 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.

More information about the openstack-discuss mailing list