One location missed for coordination=True on service start

Bug #1594835 reported by Carl Pecinovsky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Low
Carl Pecinovsky

Bug Description

There were recent cinder changes implementing "blueprint cinder-volume-active-active-support" which added "coordination=True" param to cinder volume service start logic. However, it looks like one location was missed in volume.py if cinder multi-backends are not enabled.

     else:
         server = service.Service.create(binary='cinder-volume')

Carl Pecinovsky (csky)
Changed in cinder:
assignee: nobody → Carl Pecinovsky (csky)
Revision history for this message
Michal Dulko (michal-dulko-f) wrote :

Uh, oh. You're right, I've only tested it in multibackend env.

Changed in cinder:
importance: Undecided → Low
status: New → Confirmed
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/332925

Changed in cinder:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

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

commit de3794ad93081a23ee0dc75880cbd2dfa5b9a51f
Author: Carl Pecinovsky <email address hidden>
Date: Wed Jun 22 13:04:28 2016 -0400

    Add missing coordination=True on service start

    In the main() for starting the volume service, the coordination
    param needs to be passed on Service.create when
    CONF.enabled_backends is False. This is already being done when
    all cinder services are starting up, so just an oversight.

    Change-Id: I036e3baf15d848125e115e9f146af1c930c6faba
    Closes-Bug: #1594835

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

This issue was fixed in the openstack/cinder 9.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.