Env description isn't required in the definition, but user sees warning message if it's absent

Bug #1418916 reported by Anastasia Kuznetsova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mistral
Fix Released
Low
Hardik Parekh
Liberty
Fix Released
Low
Hardik Parekh

Bug Description

Steps to reproduce:
1. Create file 'env.yaml' with environment definition without specifying environment description:
--
name: test_env
variables:
  var: value
2. Create env with its definition:
mistral environment-create env.yaml

Observed result:
Warning message:
'Environment' object has no attribute 'description'

Expected result:
No warning message, just table with information about created env

summary: - Env description isn't required in the definition, but user see warning
+ Env description isn't required in the definition, but user sees warning
message if its absent
summary: Env description isn't required in the definition, but user sees warning
- message if its absent
+ message if it's absent
tags: added: low-hanging-fruit
Changed in mistral:
milestone: none → kilo-3
no longer affects: mistral/kilo
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-mistralclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/228342

Changed in mistral:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-mistralclient (master)

Reviewed: https://review.openstack.org/228342
Committed: https://git.openstack.org/cgit/openstack/python-mistralclient/commit/?id=a94aa36c617a91932e47c0fcc47c495d0c0e8cda
Submitter: Jenkins
Branch: master

commit a94aa36c617a91932e47c0fcc47c495d0c0e8cda
Author: hardik <email address hidden>
Date: Thu Sep 24 14:06:38 2015 +0530

    Corrected output when env description is not provided.

    Environment output format has been updated, table will be
    shown when env description is not given.

    Change-Id: I522c8eeebeeec8da14f35a0917139c570147760a
    Closes-Bug: #1418916

Changed in mistral:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-mistralclient (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/234044

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-mistralclient (stable/liberty)

Reviewed: https://review.openstack.org/234044
Committed: https://git.openstack.org/cgit/openstack/python-mistralclient/commit/?id=3b1b40bad454c9158947dd6957c3c63b8453e03f
Submitter: Jenkins
Branch: stable/liberty

commit 3b1b40bad454c9158947dd6957c3c63b8453e03f
Author: hardik <email address hidden>
Date: Thu Sep 24 14:06:38 2015 +0530

    Corrected output when env description is not provided.

    Environment output format has been updated, table will be
    shown when env description is not given.

    Change-Id: I522c8eeebeeec8da14f35a0917139c570147760a
    Closes-Bug: #1418916
    (cherry picked from commit a94aa36c617a91932e47c0fcc47c495d0c0e8cda)

Changed in mistral:
milestone: 1.0.0 → none
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/python-mistralclient 1.2.0

This issue was fixed in the openstack/python-mistralclient 1.2.0 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.