Container delete cli would have not good format exception message
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
Fix Released
|
Undecided
|
Kai Qiang Wu(Kennan) |
Bug Description
Right now, the container delete cli would have following message(when the id not exist)
ubuntu@
Delete for container 1b558c54-
Traceback (most recent call last):
File "/usr/local/
executor_
File "/usr/local/
executor_
File "/usr/local/
result = func(ctxt, **new_args)
File "/opt/stack/
docker = self.get_
File "/opt/stack/
container = objects.
File "/opt/stack/
result = fn(cls, context, *args, **kwargs)
File "/opt/stack/
db_container = cls.dbapi.
File "/opt/stack/
raise exception.
ContainerNotFound: Container 1b558c54-
(HTTP 404)
Usually we need like this
ubuntu@
Delete for container 1b558c54-
Changed in magnum: | |
assignee: | nobody → Kai Qiang Wu(Kennan) (wkqwu) |
Changed in magnum: | |
milestone: | none → mitaka-1 |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/181825
Review: https:/