<div dir="ltr"><div><div>Dear Openstackers,<br><br></div>I'm facing authentication problems when running glance commands (e.g., glance image-list)<br><br></div>I have my environment variables set in the following way:<br>
<br>OS_REGION_NAME=RegionOne<br>OS_PASSWORD=openstack<br>OS_AUTH_URL=<a rel="nofollow" href="http://192.168.0.1:5000/v2.0">http://192.168.0.1:5000/v2.0</a><br>OS_USERNAME=admin<br>OS_TENANT_NAME=demo<p>With these env variables set, I can run "keystone endpoint-list" and I see<a rel="nofollow" href="http://192.168.0.1:5000/v2.0"> http://192.168.0.1:5000/v2.0</a>"  as my publicurl for the keystone endpoint. So far so good. This also proves the user=admin, pass=openstack, tenant=demo are correct.</p>
<p>The problem happens when I try to use glance (for anything). "glance image-list" for example returns an exception plus:</p><p>NotAuthenticated : 401 Unauthorized<br>
This server could not verify that you are authorized to access the 
document you requested. Either you supplied the wrong credentials (e.g.,
 bad password), or your browser does not understand how to supply the 
credentials required.<br>Authentication required<br>
(HTTP 500)</p><p>I don't have SERVICE_TOKEN variables set.</p><p>I have seen this <a href="https://answers.launchpad.net/keystone/+question/212102">https://answers.launchpad.net/keystone/+question/212102</a> but it didn't solve my problem either.<br>
</p><p>Does anyone have a clue that might enlighten me?</p><p>Thank you,<br>Viktor</p><p><br></p><p><br></p></div>