SHOW:
|
|
- or go back to the newest paste.
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 |
13 | + | :~$ sudo glance --os_tenant_name=service --os_username=glance --os_password=openstack --os_auth_url="http://127.0.0.1:5000/v2.0" -S keystone index |
14 | ||
15 | :~$ echo $? | |
16 | 0 |