stop container throw TypeError: 'NoneType' object has no attribute '__getitem__'

Bug #1595814 reported by Md Nadeem
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
High
Md Nadeem

Bug Description

When try to stop a container that not exists kolla_docker stop_container action throw
TypeError: 'NoneType' object has no attribute '__getitem__'

Where i feel it should gracefully handled the case and should throw proper message like
"No such container: XXXX to stop"

Changed in kolla:
assignee: nobody → Md Nadeem (mail2nadeem92)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

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

Changed in kolla:
status: New → In Progress
Changed in kolla:
importance: Undecided → High
milestone: none → newton-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/333744
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=3321049158ee2b3758fbb610f1caf863956fc101
Submitter: Jenkins
Branch: master

commit 3321049158ee2b3758fbb610f1caf863956fc101
Author: MD NADEEM <email address hidden>
Date: Fri Jun 24 10:52:28 2016 +0530

    Fix container stop exeption

    Change-Id: I1d59ed9089def808bab31d97ba4cba9e8592b568
    Closes-Bug: #1595814

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/kolla 3.0.0.0b2

This issue was fixed in the openstack/kolla 3.0.0.0b2 development milestone.

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.