Custom zone name prefix is not getting set for Brocade Driver

Bug #1373130 reported by Nagendra Rao Jaladanki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Angela Smith

Bug Description

Description of the problem:
 Openstack - Cinder : BRCD Zone driver is failed to create zone with custom zone name prefix configured for the fabric.

Version-Release number of selected component (if applicable):
 openstack-cinder icehouse release

How reproducible:
 Always

Steps to reproduce:

- Follow the steps to configure the Brocade Zone Driver in cinder.conf to configure a custom zone name for a fabric:

   cinder.conf entry
# Comma separated list of fibre channel fabric names. This
# list of names is used to retrieve other SAN credentials for
# connecting to each SAN fabric (string value)
fc_fabric_names=fabric1

[fabric1]
fc_fabric_address=10.24.49.115
fc_fabric_user=admin
fc_fabric_password=password
zone_activate=True
zone_name_prefix=BRCD

- Create volume and VM.
- Attach VM to the Volume.

Actual Results:
 2014-09-23 13:51:39.110 DEBUG cinder.zonemanager.drivers.brocade.brcd_fc_zone_client_cli [req-76ea7709-33f9-4a08-9548-b8c444980f4b b4898fcbf10743b6b1a2ce6117db6e75 ef932afb1b59429e9207a26a7724d8ef] Adding zone, cmd to run zonecreate "openstack10008c7cff523b0120240002ac000a50", "10:00:8c:7c:ff:52:3b:01;20:24:00:02:ac:00:0a:50" from (pid=7847) add_zones /opt/stack/cinder/cinder/zonemanager/drivers/brocade/brcd_fc_zone_client_cli.py:157

Expected Results:
 The zone_name_prefix 'BRCD' should be set.

Changed in cinder:
assignee: nobody → Nagendra Rao Jaladanki (nagendra-jaladanki)
description: updated
Angela Smith (aallen-m)
Changed in cinder:
assignee: Nagendra Rao Jaladanki (nagendra-jaladanki) → Angela Smith (aallen-m)
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/158866

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

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

commit 43c8c1bb4bb196b6714f9d3fc1cd2e36dc77ffe9
Author: Angela Smith <email address hidden>
Date: Tue Feb 24 13:04:02 2015 -0800

    Custom zone name prefix not being used by brcd driver

    Config file setting for zone name prefix and activate flag were
    not being picked up by the brocade zone driver. Modified the
    way the config options are used for each fabric for these config
    options.

    Closes-Bug: #1373130
    Change-Id: Ib5598e58589aa4316e6c8b9b495beec9db2a4b96

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