cinder rbd driver needs to check min config requirements

Bug #1276626 reported by Edward Hope-Morley
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Medium
Yuriy Nesenenko

Bug Description

The RBD driver should check that required configs are set on startup and fail to start if they are not. For example, rbd_user, rbd_pool and rbd_secret_uuid are all required when doing an attach if cephx is enabled. If they are not provided, a volume attach will silently fail (http://lists.ceph.com/pipermail/ceph-users-ceph.com/2013-June/002031.html) in nova-compute when it checks for those values and the volume will stay in the 'available' state providing no information to the caller about what went wrong.

Tags: ceph drivers
tags: added: drivers
summary: - cinder rbd driver nees to check min config requirements
+ cinder rbd driver needs to check min config requirements
Mike Perez (thingee)
Changed in cinder:
milestone: none → next
assignee: nobody → Mike Perez (thingee)
status: New → In Progress
Mike Perez (thingee)
tags: removed: rbd
Revision history for this message
Sean McGinnis (sean-mcginnis) wrote :

Automatically unassigning due to inactivity.

Changed in cinder:
assignee: Mike Perez (thingee) → nobody
status: In Progress → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

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

Changed in cinder:
assignee: nobody → Yuriy Nesenenko (ynesenenko)
status: Triaged → In Progress
Changed in cinder:
assignee: Yuriy Nesenenko (ynesenenko) → Ivan Kolodyazhny (e0ne)
Changed in cinder:
assignee: Ivan Kolodyazhny (e0ne) → Yuriy Nesenenko (ynesenenko)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/258910
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=1a9d98bef3ccf7f5cba370b65a1d7156ccca740b
Submitter: Jenkins
Branch: master

commit 1a9d98bef3ccf7f5cba370b65a1d7156ccca740b
Author: Yuriy Nesenenko <email address hidden>
Date: Thu Dec 17 11:51:24 2015 +0200

    Check min config requirements for rbd driver

    The RBD driver should check that required configs are set on startup
    and fail to start if they are not.

    Co-Authored-By: Ivan Kolodyazhny <email address hidden>
    Change-Id: I73c9b65f6351b46210de2da29fe73df00d839b52
    Closes-Bug: 1276626

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

This issue was fixed in the openstack/cinder 8.0.0.0b3 development milestone.

Revision history for this message
Eric Harney (eharney) wrote :

This was fixed in Mitaka, but I can't target the bug there any longer, so targeting it to Newton-1.

Changed in cinder:
milestone: next → newton-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.