Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: 'NoneType' object is not iterable #34

Open
mazovladimir opened this issue Dec 19, 2017 · 0 comments
Open

TypeError: 'NoneType' object is not iterable #34

mazovladimir opened this issue Dec 19, 2017 · 0 comments

Comments

@mazovladimir
Copy link

Hello, when we try to create a new volume in openstack, everything is alright, but when we try to create an instance with cinder from image, the mesage below appears.

   |__Atom 'cinder.volume.flows.manager.create_volume.ExtractVolumeRefTask;volume:create' {'intention': 'EXECUTE', 'state': 'SUCCESS', 'requires': {'volume': Volume(_name_id=None,admin

_metadata={},attach_status='detached',availability_zone='nova',bootable=False,cluster=,cluster_name=None,consistencygroup=,consistencygroup_id=None,created_at=2017-12-19T18:53:55Z,del
eted=False,deleted_at=None,display_description='',display_name='',ec2_id=None,encryption_key_id=None,glance_metadata=,group=,group_id=None,host='hostgroup@hpe3par#REDHAT',id=df3842f6-
e422-40e7-b392-7aa80177aac5,launched_at=None,metadata={},migration_status=None,multiattach=False,previous_status=None,project_id='653e53dca79a45beb6f6d9a1a9afe78d',provider_auth=None,provid
er_geometry=None,provider_id=None,provider_location=None,replication_driver_data=None,replication_extended_status=None,replication_status='disabled',scheduled_at=2017-12-19T18:53:55Z,size=1
,snapshot_id=None,snapshots=,source_volid=None,status='creating',terminated_at=None,updated_at=2017-12-19T18:53:55Z,user_id='deb50ca683d84c6ab17f1683ecee6d7d',volume_attachment=,volum
e_type=,volume_type_id=None), 'context': }, 'provides': Volume(_name_id=None,admin_metadata={},attach_status='detached',availability_zo ne='nova',bootable=False,cluster=,cluster_name=None,consistencygroup=,consistencygroup_id=None,created_at=2017-12-19T18:53:55Z,deleted=False,deleted_at=None,display_description='',dis play_name='',ec2_id=None,encryption_key_id=None,glance_metadata=,group=,group_id=None,host='hostgroup@hpe3par#REDHAT',id=df3842f6-e422-40e7-b392-7aa80177aac5,launched_at=None,metadata ={},migration_status=None,multiattach=False,previous_status=None,project_id='653e53dca79a45beb6f6d9a1a9afe78d',provider_auth=None,provider_geometry=None,provider_id=None,provider_location=N one,replication_driver_data=None,replication_extended_status=None,replication_status='disabled',scheduled_at=2017-12-19T18:53:55Z,size=1,snapshot_id=None,snapshots=,source_volid=None,sta
tus='creating',terminated_at=None,updated_at=2017-12-19T18:53:55Z,user_id='deb50ca683d84c6ab17f1683ecee6d7d',volume_attachment=,volume_type=,volume_type_id=None)}
|__Flow 'volume_create_manager'
2017-12-19 21:53:56.754 18953 ERROR cinder.volume.manager Traceback (most recent call last):
2017-12-19 21:53:56.754 18953 ERROR cinder.volume.manager File "/usr/lib/python2.7/site-packages/taskflow/engines/action_engine/executor.py", line 53, in _execute_task
2017-12-19 21:53:56.754 18953 ERROR cinder.volume.manager result = task.execute(**arguments)
2017-12-19 21:53:56.754 18953 ERROR cinder.volume.manager File "/usr/lib/python2.7/site-packages/cinder/volume/flows/manager/create_volume.py", line 873, in execute
2017-12-19 21:53:56.754 18953 ERROR cinder.volume.manager **volume_spec)
2017-12-19 21:53:56.754 18953 ERROR cinder.volume.manager File "/usr/lib/python2.7/site-packages/cinder/volume/flows/manager/create_volume.py", line 831, in _create_from_image
2017-12-19 21:53:56.754 18953 ERROR cinder.volume.manager image_service)
2017-12-19 21:53:56.754 18953 ERROR cinder.volume.manager File "/usr/lib/python2.7/site-packages/cinder/coordination.py", line 285, in wrapped
2017-12-19 21:53:56.754 18953 ERROR cinder.volume.manager return f(*a, **k)
2017-12-19 21:53:56.754 18953 ERROR cinder.volume.manager File "/usr/lib/python2.7/site-packages/cinder/volume/flows/manager/create_volume.py", line 740, in _create_from_image_cache_or_download
2017-12-19 21:53:56.754 18953 ERROR cinder.volume.manager image_service, context, image_id) as tmp_image:
2017-12-19 21:53:56.754 18953 ERROR cinder.volume.manager File "/usr/lib64/python2.7/contextlib.py", line 17, in enter
2017-12-19 21:53:56.754 18953 ERROR cinder.volume.manager return self.gen.next()
2017-12-19 21:53:56.754 18953 ERROR cinder.volume.manager File "/usr/lib/python2.7/site-packages/cinder/image/image_utils.py", line 594, in fetch
2017-12-19 21:53:56.754 18953 ERROR cinder.volume.manager fetch_verify_image(context, image_service, image_id, tmp)
2017-12-19 21:53:56.754 18953 ERROR cinder.volume.manager File "/usr/lib/python2.7/site-packages/cinder/image/image_utils.py", line 244, in fetch_verify_image
2017-12-19 21:53:56.754 18953 ERROR cinder.volume.manager None, None)
2017-12-19 21:53:56.754 18953 ERROR cinder.volume.manager File "/usr/lib/python2.7/site-packages/cinder/image/image_utils.py", line 190, in fetch
2017-12-19 21:53:56.754 18953 ERROR cinder.volume.manager image_service.download(context, image_id, image_file)
2017-12-19 21:53:56.754 18953 ERROR cinder.volume.manager File "/usr/lib/python2.7/site-packages/cinder/image/glance.py", line 340, in download
2017-12-19 21:53:56.754 18953 ERROR cinder.volume.manager for chunk in image_chunks:
2017-12-19 21:53:56.754 18953 ERROR cinder.volume.manager TypeError: 'NoneType' object is not iterable
2017-12-19 21:53:56.754 18953 ERROR cinder.volume.manager
2017-12-19 21:53:56.760 18953 WARNING cinder.volume.manager [req-e0599bff-687a-4671-8901-f05dcede5b1f deb50ca683d84c6ab17f1683ecee6d7d 653e53dca79a45beb6f6d9a1a9afe78d - default default] Task 'cinder.volume.flows.manager.create_volume.CreateVolumeFromSpecTask;volume:create' (4d1dfb0e-811e-418a-82b5-1ee58bda0084) transitioned into state 'REVERTED' from state 'REVERTING'
2017-12-19 21:53:56.762 18953 WARNING cinder.volume.manager [req-e0599bff-687a-4671-8901-f05dcede5b1f deb50ca683d84c6ab17f1683ecee6d7d 653e53dca79a45beb6f6d9a1a9afe78d - default default] Task 'cinder.volume.flows.manager.create_volume.NotifyVolumeActionTask;volume:create, create.start' (636a8db6-d320-43f0-bdde-10f02d097bac) transitioned into state 'REVERTED' from state 'REVERTING'

wdurairaj pushed a commit to wdurairaj/python-3parclient that referenced this issue Jul 8, 2019
wdurairaj pushed a commit to wdurairaj/python-3parclient that referenced this issue Jul 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant