The request you have made requires authentication. (HTTP 401)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vmtp |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Run VMTP:
# docker run --rm -it -v $PWD:/tmp/vmtp -v $HOME/.ssh:/tmp/ssh berrypatch/vmtp vmtp -d -c /tmp/vmtp/vmtp.cfg -r /tmp/vmtp/
Output:
2016-11-10 08:16:29,294 INFO Using http://
2016-11-10 08:16:29,294 INFO VM public key: /tmp/ssh/id_rsa.pub
2016-11-10 08:16:29,294 INFO VM private key: /tmp/ssh/id_rsa
2016-11-10 08:16:29,738 ERROR Traceback (most recent call last):
File "/usr/local/
self.setup()
File "/usr/local/
self.
File "/usr/local/
return self.add_
File "/usr/local/
self.
File "/usr/local/
keypair_list = self.novaclient
File "/usr/local/
return methods[
File "/usr/local/
return self._list('/%s' % self.keypair_
File "/usr/local/
resp, body = self.api.
File "/usr/local/
return self._cs_
File "/usr/local/
self.
File "/usr/local/
auth_url = self._v2_
File "/usr/local/
return self._authentic
File "/usr/local/
**kwargs)
File "/usr/local/
resp, body = self.request(url, method, **kwargs)
File "/usr/local/
raise exceptions.
Unauthorized: The request you have made requires authentication. (HTTP 401)
Other info
OpenStack Version:Mitaka
admin-openrc.sh file
# cat admin-openrc.sh
unset OS_SERVICE_TOKEN
export OS_USERNAME=admin
export OS_PASSWORD=admin
export OS_AUTH_URL=http://
export PS1='[\u@\h \W(keystone_
export OS_TENANT_
export OS_REGION_
This looks to me is wrong username/ password. .. Can you double check the credentials you have in openrc.sh is correct? Or you can actually do a "nova list" after sourcing this admin-openrc.sh file, and most likely you will get the same traceback.