Openstack command line Nova list failed to be executed, prompting that authentication failed

Source: Internet
Author: User

[Symptom]
19:18:25. 520 22053 warning keystoneclient. Middleware. auth_token [-] VERIFY error: Command 'openssl 'returned non-zero exit status 4
19:18:25. 522 22053 warning keystoneclient. Middleware. auth_token [-] Authorization failed for token
19:18:25. 523 22053 info keystoneclient. Middleware. auth_token [-] invalid User Token-rejecting request
19:18:25. 524 22053 info Nova. osapi_compute.wsgi.server [-] 172.16.25.199 "Get/v2/clusters/servers/detail HTTP/1.1" status: 401 Len: 196 time: 0.2928760
19:18:25. 757 22053 info urllib3.connectionpool [-] starting new HTTP connection (1): 172.16.25.199
19:18:25. 820 22053 warning keystoneclient. Middleware. auth_token [-] VERIFY error: Command 'openssl 'returned non-zero exit status 4
19:18:25. 821 22053 warning keystoneclient. Middleware. auth_token [-] Authorization failed for token
19:18:25. 822 22053 info keystoneclient. Middleware. auth_token [-] invalid User Token-rejecting request
19:18:25. 823 22053 info Nova. osapi_compute.wsgi.server [-] 172.16.25.199 "Get/v2/clusters/servers/detail HTTP/1.1" status: 401 Len: 196 time: 0.0682800

[Solution process]
View curl http: // localhost: 35357/V2.0/certificates/signing
Certificate:

Data:    Version: 3 (0x2)    Serial Number: 1 (0x1)Signature Algorithm: sha1WithRSAEncryption    Issuer: C=US, ST=Unset, L=Unset, O=Unset, CN=www.example.com    Validity        ******Not Before: Sep  3 13:12:59 2014 GMT        Not After : Aug 31 13:12:59 2024 GMT******    Subject: C=US, ST=Unset, O=Unset, CN=www.example.com    Subject Public Key Info:        Public Key Algorithm: rsaEncryption

It is found that the system time is not within the validity period

[Solution]
Adjust the I system time to the effective period

Openstack command line Nova list failed to be executed, prompting that authentication failed

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.