Rework of commands with multiple REST API calls to handle exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| python-openstackclient |
Fix Released
|
Medium
|
Tang Chen |
Bug Description
There was a BP to improve OSC commands to accept multiple servers.
https:/
Similar things could be done to many other commands. But since it would be multiple REST API calls, and we have not clarify how to handle exceptions when error happens in the middle of the calls.
Dean has posted a doc (doc/source/
https:/
So we need to rework all commands with multiple API calls to follow the rules.
Changed in python-openstackclient: | |
assignee: | nobody → Tang Chen (tangchen) |
description: | updated |
Changed in python-openstackclient: | |
status: | New → In Progress |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 56f9227063cb865
Author: Tang Chen <email address hidden>
Date: Mon Mar 14 14:03:04 2016 +0800
Enhance exception handling for "network delete" command
This patch rework "network delete" command following the
rules in doc/source/
In "network delete" command, there are multiple REST API
calls, and we should make as many of them as possible.
And log error for each one, give a better error message.
Also return a non-zero exit code.
Change-Id: I39ae087dd7bd08
Partial-Bug: #1556719
Steve Martinelli (stevemar) wrote : | #3 |
I think this has mostly been resolved -- we reworked a bunch of delete commands. Let's file bugs for individual commands that have errors
Changed in python-openstackclient: | |
status: | In Progress → Fix Released |
importance: | Undecided → Medium |
tags: | added: mitaka-backport-potential |
tags: | removed: mitaka-backport-potential |
Fix proposed to branch: master /review. openstack. org/293997
Review: https:/