cinder capabilities filter fails in naive set up

Bug #1131011 reported by Mandell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Huang Zhiteng

Bug Description

If you enable the capability filter with no other set up (because, for instance, you have only one volume host, it is possible to have a traceback from host_manager.py. The problem stems from not checking if capability exists before attempting to access capability['timestamp'].

Changed in cinder:
assignee: nobody → Huang Zhiteng (zhiteng-huang)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/22510
Committed: http://github.com/openstack/cinder/commit/8169eb66832101444b0a824c932982966222097c
Submitter: Jenkins
Branch: master

commit 8169eb66832101444b0a824c932982966222097c
Author: Mandell Degerness <email address hidden>
Date: Thu Feb 21 02:59:44 2013 +0000

    Skip timestamp check if 'capabilities' is none

    fix bug: #1131011

    Change-Id: I6266560627d03d95862a7f2c85ac63e2e9daef6b

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → grizzly-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: grizzly-3 → 2013.1
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.