Hitachi HNAS error when attaching volumes

Bug #1479884 reported by Erlon R. Cruz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Invalid
Undecided
Unassigned

Bug Description

Steps to reproduce:
1 - Configure the iSCSI driver with CHAP auth False
2 - Create 10 our more VMs (Boot from Image/Creates a new volume)
3 - Some VMs fails with the following error:
__________________________
2015-07-30 11:08:38.029 TRACE cinder.volume.flows.manager.create_volume Traceback (most recent call last):
2015-07-30 11:08:38.029 TRACE cinder.volume.flows.manager.create_volume File "/opt/stack/cinder/cinder/volume/flows/manager/create_volume.py", line 513, in _copy_image_to_volume
2015-07-30 11:08:38.029 TRACE cinder.volume.flows.manager.create_volume copy_image_to_volume(context, volume_ref, image_service, image_id)
2015-07-30 11:08:38.029 TRACE cinder.volume.flows.manager.create_volume File "/usr/local/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105, in wrapper
2015-07-30 11:08:38.029 TRACE cinder.volume.flows.manager.create_volume return f(*args, **kwargs)
2015-07-30 11:08:38.029 TRACE cinder.volume.flows.manager.create_volume File "/opt/stack/cinder/cinder/volume/driver.py", line 579, in copy_image_to_volume
2015-07-30 11:08:38.029 TRACE cinder.volume.flows.manager.create_volume size=volume['size'])
2015-07-30 11:08:38.029 TRACE cinder.volume.flows.manager.create_volume File "/opt/stack/cinder/cinder/image/image_utils.py", line 226, in fetch_to_raw
2015-07-30 11:08:38.029 TRACE cinder.volume.flows.manager.create_volume run_as_root=run_as_root)
2015-07-30 11:08:38.029 TRACE cinder.volume.flows.manager.create_volume File "/opt/stack/cinder/cinder/image/image_utils.py", line 317, in fetch_to_volume_format
2015-07-30 11:08:38.029 TRACE cinder.volume.flows.manager.create_volume run_as_root=run_as_root)
2015-07-30 11:08:38.029 TRACE cinder.volume.flows.manager.create_volume File "/opt/stack/cinder/cinder/image/image_utils.py", line 147, in convert_image
2015-07-30 11:08:38.029 TRACE cinder.volume.flows.manager.create_volume out_format, run_as_root=run_as_root)
2015-07-30 11:08:38.029 TRACE cinder.volume.flows.manager.create_volume File "/opt/stack/cinder/cinder/image/image_utils.py", line 121, in _convert_image
2015-07-30 11:08:38.029 TRACE cinder.volume.flows.manager.create_volume utils.execute(*cmd, run_as_root=run_as_root)
2015-07-30 11:08:38.029 TRACE cinder.volume.flows.manager.create_volume File "/opt/stack/cinder/cinder/utils.py", line 152, in execute
2015-07-30 11:08:38.029 TRACE cinder.volume.flows.manager.create_volume return processutils.execute(*cmd, **kwargs)
2015-07-30 11:08:38.029 TRACE cinder.volume.flows.manager.create_volume File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/processutils.py", line 275, in execute
2015-07-30 11:08:38.029 TRACE cinder.volume.flows.manager.create_volume cmd=sanitized_cmd)
2015-07-30 11:08:38.029 TRACE cinder.volume.flows.manager.create_volume ProcessExecutionError: Unexpected error while running command.
2015-07-30 11:08:38.029 TRACE cinder.volume.flows.manager.create_volume Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf qemu-img convert -t none -O raw /opt/stack/data/cinder/conversion/tmpSIOFmj /dev/disk/by-path/ip-172.24.44.21:3260-iscsi-iqn.2015-01.localhost:evstest2.cinder-default-lun-15
2015-07-30 11:08:38.029 TRACE cinder.volume.flows.manager.create_volume Exit code: 1
2015-07-30 11:08:38.029 TRACE cinder.volume.flows.manager.create_volume Stdout: u''
2015-07-30 11:08:38.029 TRACE cinder.volume.flows.manager.create_volume Stderr: u'qemu-img: /dev/disk/by-path/ip-172.24.44.21:3260-iscsi-iqn.2015-01.localhost:evstest2.cinder-default-lun-15: error while converting raw: Device is too small\n'
2015-07-30 11:08:38.029 TRACE cinder.volume.flows.manager.create_volume

Revision history for this message
Dilip S M (itzdilip) wrote :

I have also come across this when we create the volume from image, I have seen based on the image size we provide, am not sure why it is

Changed in cinder:
status: New → Confirmed
status: Confirmed → New
Revision history for this message
Dilip S M (itzdilip) wrote :
Revision history for this message
Dilip S M (itzdilip) wrote :
Revision history for this message
Dilip S M (itzdilip) wrote :
Revision history for this message
Erlon R. Cruz (sombrafam) wrote :

Are you using a multinode enviroment or compute and volume services are in the same host?

Revision history for this message
Dilip S M (itzdilip) wrote :

I have seen in multinode environment

Changed in cinder:
status: New → Invalid
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.