[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