VIO unable to upload glance image getting "TypeError: 'NoneType' object is not iterable"
search cancel

VIO unable to upload glance image getting "TypeError: 'NoneType' object is not iterable"

book

Article ID: 337572

calendar_today

Updated On:

Products

VMware Integrated OpenStack

Issue/Introduction

Symptoms:
  • Unable to upload glance image getting "TypeError: 'NoneType' object is not iterable"


Environment

VMware Integrated OpenStack 5.x
VMware Integrated OpenStack 6.x

Cause

If vCenter and esxi hosts are not in the same network, sometimes NFC session can not be established which will cause the image upload to fail.

Resolution

Pass property value vmware_vcenter_upload=true while uploading image to disable NFC upload.

For example
# openstack --insecure image create ‘ubuntu’ --disk-format vmdk --file /root/ess/xenial-server-cloudimg-amd64-disk1.vmdk --property vmware_vcenter_upload=true --container-format bare --public