[murano] [python-muranoclient] environment-action-get-result command accesses incorrect API call Edit

Bug #1544129 reported by Kirill Zaitsev
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Won't Fix
Medium
MOS Maintenance
7.0.x
Invalid
Medium
MOS Maintenance
8.0.x
Won't Fix
Medium
MOS Maintenance

Bug Description

Liberty-based (0.7.2 and earlier) and mitaka (0.8.1 and earlier) clients have this bug. The problem is within environment-action-get-result command.

Calling this command results in a 404 error, since instead of calling 'get_result' API endpoint this CLI command calls 'call' endpoint. This means, that it is impossible to get action result from CLI. As a workaround a user might examine environments status, and deduce, from it the status of action execution, although if action returns anything — this might not be enough.

User impact is not high, since we currently do not have much apps, that return something. Nevertheless, this bug renders one of the CLI commands useless

upstream bug: https://bugs.launchpad.net/python-muranoclient/+bug/1544124

Tags: area-murano
Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

Kirill, could you please elaborate on this?

- provide a brief description

- describe the user impact

- whether there are work arounds or not

- should we really target this to MUs? or just fix this in 9.0 instead

tags: added: area-murano
removed: murano
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

Hi Kirill,

we need more information here. What is the issue? Do we have a fix?
How to reproduce it?

description: updated
Revision history for this message
Kirill Zaitsev (kzaitsev) wrote :

Liberty-based (0.7.2 and earlier) and mitaka (0.8.1 and earlier) clients have this bug. The problem is within environment-action-get-result command.

Calling this command results in a 404 error, since instead of calling 'get_result' API endpoint this CLI command calls 'call' endpoint. This means, that it is impossible to get action result from CLI. As a workaround a user might examine environments status, and deduce, from it the status of action execution, although if action returns anything — this might not be enough.

User impact is not high, since we currently do not have much apps, that return something. Nevertheless, this bug renders one of the CLI commands useless.

description: updated
Revision history for this message
Rodion Tikunov (rtikunov) wrote :

murano hasn't environment-action-get-result command in MOS 7.0 yet

# nova-manage version
2015.1.1
# murano-manage --version
2015.1.0
# murano environment-action-get-result
usage: murano [-d] [-v] [-k] [--os-cacert <ca-certificate>]
 ...
murano: error: argument <subcommand>: invalid choice: 'environment-action-get-result' (choose from 'bundle-import', 'category-create', 'category-delete', 'category-list', 'category-show', 'deployment-list', 'env-template-add-app', 'env-template-create', 'env-template-del-app', 'env-template-delete', 'env-template-list', 'env-template-show', 'env-template-update', 'environment-create', 'environment-delete', 'environment-list', 'environment-rename', 'environment-show', 'package-create', 'package-delete', 'package-download', 'package-import', 'package-list', 'package-show', 'service-show', 'bash-completion', 'help', 'bash_completion')

Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

Setting to won't fix for MOS 8.0 as it is not customer-found issue with medium importance.

Changed in mos:
milestone: 8.0-mu-1 → 8.0-updates
status: Confirmed → Won't Fix
information type: Public → Private Security
information type: Private Security → Public
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.