Advertisement
Guest User

glance env vars

a guest
Aug 3rd, 2012
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. :~$ env | grep OS
  2. OS_PASSWORD=openstack
  3. OS_AUTH_STRATEGY=keystone
  4. OS_AUTH_URL=http://localhost:5000/v2.0/
  5. OS_USERNAME=glance
  6. OS_TENANT_NAME=service
  7.  
  8. :~$ sudo glance index
  9. Failed to show index. Got error:
  10. You are not authenticated.
  11. Details: 401 Unauthorized
  12.  
  13. :~$ sudo glance --os_tenant_name=service --os_username=glance --os_password=btstack --os_auth_url="http://127.0.0.1:5000/v2.0" -S keystone index
  14.  
  15. :~$ echo $?
  16. 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement