py3: switch to json based data from principle charms
Bug #1741304 reported by
James Page
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack HA Cluster Charm |
Fix Released
|
High
|
James Page | ||
OpenStack Neutron API Charm |
Fix Released
|
High
|
James Page |
Bug Description
In order to ensure that consistent data is presented from its principle charm when running under py3, we need to use a better serialization format that provided by AST for the passing of pacemaker configuration.
JSON provides the ability to consistently sort keys; in order to support upgrades we need to try to parse 'json_' prefixed data key versions first, and then fallback to ast parsed current key sets if not detected.
Principle charms can then switch safely to the new serialization format.
Changed in charm-hacluster: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in charm-hacluster: | |
milestone: | none → 18.02 |
Changed in charm-neutron-api: | |
milestone: | none → 18.02 |
Changed in charm-hacluster: | |
status: | Fix Committed → Fix Released |
Changed in charm-neutron-api: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
https:/ /review. openstack. org/#/c/ 531204/