update attributes.editable partially
Bug #1283135 reported by
Dima Shulyak
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Low
|
Dima Shulyak |
Bug Description
Now ClusterAttribut
If we have full set of attributes from release and receive PUT with:
{"editable": {"storage": {"osd_pool_size": {"value": 3}, "volumes_ceph": {"value": true}}}}
attributes.editable will contain only received data and no default one.
Though we rely on ui logic to send all data all the time and cant rely on some of this parameters in our tests.
Proper fix for this: use postgresql.JSON field type which supports nested dict updates, but only added in sqlalchemy 0.9
So "good enough" will be get all info, update necessery parts and recommit it.
tags: | added: in progress |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/77530
Review: https:/