Glance CLI does not allow to pass virtual_size param
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Glance Client |
In Progress
|
Undecided
|
Cyril Roelandt | ||
Bug Description
python-glanceclient validates "virtual_size" param from CLI in a wrong way. It doesn't try to cast it to int and thinks that is's a string:
e0ne@dsvm1:
virtual_size=33333 < test-qcow500.
Unable to set 'virtual_size' to '33333'. Reason: u'33333' is not of type u'null', u'integer'
Failed validating u'type' in schema[
{u'
u'readOnly': True,
u'type': [u'null', u'integer']}
On instance[
u'33333'
The same issue occurs using OpenStack Client:
e0ne@dsvm1:
Failed validating u'type' in schema[
{u'
u'readOnly': True,
u'type': [u'null', u'integer']}
On instance[
'33333'
| Changed in python-glanceclient: | |
| status: | New → Confirmed |
| Changed in python-glanceclient: | |
| status: | Confirmed → In Progress |

virtual size is a read only property which means that users can't set it's value.