When we environment-update the output of environment-get, fields are not detected

Bug #1769491 reported by David Vallee Delisle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mistralclient
Fix Committed
Undecided
David Vallee Delisle

Bug Description

$ mistral environment-get -f json overcloud > ~/overcloud.json
$ mistral environment-update -f json ~/overcloud.json

APIException: Environment is missing field "name"

It happens with the latest version of mistral api and mistralclient

Changed in mistral:
assignee: nobody → David Vallee Delisle (valleedelisle)
Revision history for this message
David Vallee Delisle (valleedelisle) wrote :

I've submitted this patch to fix this issue:

https://review.openstack.org/#/c/566469/

Changed in mistral:
status: New → Confirmed
status: Confirmed → Invalid
status: Invalid → In Progress
affects: mistral → python-mistralclient
Revision history for this message
David Vallee Delisle (valleedelisle) wrote :

The proposed change creates a new command: environment-get-definition.

It returns the environment in a format that can be ingested by environment-update.

Changed in python-mistralclient:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-mistralclient 3.6.0

This issue was fixed in the openstack/python-mistralclient 3.6.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-mistralclient 3.1.5

This issue was fixed in the openstack/python-mistralclient 3.1.5 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-mistralclient queens-eol

This issue was fixed in the openstack/python-mistralclient queens-eol release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.