When use cinder create <size> and Nimble iSCSI driver backend, the volume creation failed with:
2015-01-23 13:13:01.794 16750 WARNING cinder.volume.manager [req-ad47227a-180a-4676-bc06-9e1a549aae1c 81d857a3e43b40ef9f09554411ff5476 c666316bbd164b4ca2d7faf427db3f13 - - -] Task 'cinder.volume.flows.manager.create_volume.CreateVolumeFromSpecTask;volume:create' (d4009d29-14ff-4110-ae34-1a18d1a3277a) transitioned into state 'FAILURE'
2015-01-23 13:13:01.794 16750 TRACE cinder.volume.manager Traceback (most recent call last):
2015-01-23 13:13:01.794 16750 TRACE cinder.volume.manager File "/usr/lib/python2.7/site-packages/taskflow/engines/action_engine/executor.py", line 34, in _execute_task
2015-01-23 13:13:01.794 16750 TRACE cinder.volume.manager result = task.execute(**arguments)
2015-01-23 13:13:01.794 16750 TRACE cinder.volume.manager File "/usr/lib/python2.7/site-packages/cinder/volume/flows/manager/create_volume.py", line 624, in execute
2015-01-23 13:13:01.794 16750 TRACE cinder.volume.manager **volume_spec)
2015-01-23 13:13:01.794 16750 TRACE cinder.volume.manager File "/usr/lib/python2.7/site-packages/cinder/volume/flows/manager/create_volume.py", line 598, in _create_raw_volume
2015-01-23 13:13:01.794 16750 TRACE cinder.volume.manager return self.driver.create_volume(volume_ref)
2015-01-23 13:13:01.794 16750 TRACE cinder.volume.manager File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 105, in wrapper
2015-01-23 13:13:01.794 16750 TRACE cinder.volume.manager return f(*args, **kwargs)
2015-01-23 13:13:01.794 16750 TRACE cinder.volume.manager File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/nimble.py", line 168, in create_volume
2015-01-23 13:13:01.794 16750 TRACE cinder.volume.manager self.configuration.nimble_pool_name, reserve)
2015-01-23 13:13:01.794 16750 TRACE cinder.volume.manager File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/nimble.py", line 499, in create_vol
2015-01-23 13:13:01.794 16750 TRACE cinder.volume.manager response = self._execute_create_vol(volume, pool_name, reserve)
2015-01-23 13:13:01.794 16750 TRACE cinder.volume.manager File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/nimble.py", line 386, in inner_connection_checker
2015-01-23 13:13:01.794 16750 TRACE cinder.volume.manager return func(self, *args, **kwargs)
2015-01-23 13:13:01.794 16750 TRACE cinder.volume.manager File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/nimble.py", line 364, in inner_response_checker
2015-01-23 13:13:01.794 16750 TRACE cinder.volume.manager response = func(self, *args, **kwargs)
2015-01-23 13:13:01.794 16750 TRACE cinder.volume.manager File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/nimble.py", line 473, in _execute_create_vol
2015-01-23 13:13:01.794 16750 TRACE cinder.volume.manager if 'display_description' in volume else '')
2015-01-23 13:13:01.794 16750 TRACE cinder.volume.manager TypeError: cannot concatenate 'str' and 'NoneType' objects
2015-01-23 13:13:01.794 16750 TRACE cinder.volume.manager
This also caused the CI failure.
May need to use format string instead of + here: 'display_ description' ]
472 display_description = (': %s' % volume[