DescriptionDavid Vallee Delisle
2018-05-06 17:54:38 UTC
When we run environment-get, we need to remove the created_at and updated_at lines, as well as making all the other variables starting with a lower case.
If we don't do this, we hit this BZ 1570315 because the error message is not very explicit.
Our customer believe that the import/export process should be transparent.
This is the format that environment-get should return:
$ grep -oP "^[^\s]+" overcloud.yaml
name:
description:
variables:
scope:
This patch seems to solve the issue. I was able to to get and update without a hassle:
# diff mistralclient/commands/v2/environments.py mistralclient/commands/v2/environments.py.orig
54,57c54,59
< 'name',
< 'description',
< 'variables',
< 'scope',
---
> 'Name',
> 'Description',
> 'Variables',
> 'Scope',
> 'Created at',
> 'Updated at'