When using glance with keystone, if auth_url isn't specified an unfriendly error message is printed:
root@openstack1:~/images# glance --username=demo --password=supersecret --auth_strategy=keystone index
Failed to show index. Got error:
'NoneType' object has no attribute 'rstrip'
root@openstack1:~/images# glance --username=demo --password=supersecret --auth_strategy=keystone --auth_url=http://127.0.0.1:5000/v2.0/ index
ID Name Disk Format Container Format Size
------------------------------------ ------------------------------ -------------------- -------------------- --------------
912fcb1a-19ca-4555-a377-5b74fc94458f cirros-0.3.0-x86_64-blank ami ami 25165824
50cc38e2-bc10-4fef-8ca0-7124286d490c cirros-0.3.0-x86_64-blank-ramd ari ari 2254249
9436916c-ae07-4262-baf1-5ced1c5ef499 cirros-0.3.0-x86_64-blank-kern aki aki 4731440
Fix proposed to branch: master /review. openstack. org/4132
Review: https:/