Unnecessary error log about storage group is output when creating volume from image with EMC CLI iSCSI driver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Low
|
Jeegn Chen |
Bug Description
When I create a volume from image with EMC CLI iSCSI driver, error message is output to cinder-volume's log file.
2014-10-02 10:53:59.272 7615 ERROR cinder.exception [req-facb194d-
But, volume creation is completely successful.
This is log level problem or error handling problem.
I think error level message should not output in normal pattern.
[reproduce]
openstack version is juno-3.
1. Set following values in cinder.conf.
* volume_
* destroy_
2. Delete all volumes. As a result, storage group is deleted.
3. Create a volume from image.
(ex. $ cinder create --image 397e713c-
As a result, error message is oputput to log file.
[cause of bug]
When create a volume from image, EMC CLI iSCSI driver will check the presence of the storage group.
If the storage group is not exist, EMC CLI iSCSI driver will create the storage group.
Error message is output by above checking process.
* cinder/
def initialize_
for metadata in volume[
access_mode = volume_
if access_mode is None:
% {'vol': volume['name'],
def do_initialize_
return device_number
def assure_
hostname = connector['host']
try:
except EMCVnxCLICmdError as ex:
if ex.rc != 83:
# Storage Group has not existed yet
if self.itor_auto_reg:
else:
if self.itor_auto_reg and not auto_registrati
Changed in cinder: | |
assignee: | nobody → Jeegn Chen (jeegn-chen) |
importance: | Undecided → Low |
Changed in cinder: | |
status: | New → Confirmed |
tags: | added: drivers emc |
Changed in cinder: | |
status: | Confirmed → In Progress |
tags: | added: vnx |
Changed in cinder: | |
milestone: | none → kilo-3 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | kilo-3 → 2015.1.0 |
Fixed as part of https:/ /review. openstack. org/#/c/ 141629/