您好,登錄后才能下訂單哦!
今天就跟大家聊聊有關openstack命令行nova list執行失敗且提示認證不成功該怎么辦,可能很多人都不太了解,為了讓大家更加了解,小編給大家總結了以下內容,希望大家根據這篇文章可以有所收獲。
【問題現象】 2014-09-03 19:18:25.520 22053 WARNING keystoneclient.middleware.auth_token [-] Verify error: Command 'openssl' returned non-zero exit status 4 2014-09-03 19:18:25.522 22053 WARNING keystoneclient.middleware.auth_token [-] Authorization failed for token 2014-09-03 19:18:25.523 22053 INFO keystoneclient.middleware.auth_token [-] Invalid user token - rejecting request 2014-09-03 19:18:25.524 22053 INFO nova.osapi_compute.wsgi.server [-] 172.16.25.199 "GET /v2/935c7c53786443929d1738b6d9577111/servers/detail HTTP/1.1" status: 401 len: 196 time: 0.2928760 2014-09-03 19:18:25.757 22053 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): 172.16.25.199 2014-09-03 19:18:25.820 22053 WARNING keystoneclient.middleware.auth_token [-] Verify error: Command 'openssl' returned non-zero exit status 4 2014-09-03 19:18:25.821 22053 WARNING keystoneclient.middleware.auth_token [-] Authorization failed for token 2014-09-03 19:18:25.822 22053 INFO keystoneclient.middleware.auth_token [-] Invalid user token - rejecting request 2014-09-03 19:18:25.823 22053 INFO nova.osapi_compute.wsgi.server [-] 172.16.25.199 "GET /v2/935c7c53786443929d1738b6d9577111/servers/detail HTTP/1.1" status: 401 len: 196 time: 0.0682800
【解決過程】 查看 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
發現系統時間不在有效期內
【解決方法】 調整i系統時間至有效期內
看完上述內容,你們對openstack命令行nova list執行失敗且提示認證不成功該怎么辦有進一步的了解嗎?如果還想了解更多知識或者相關內容,請關注億速云行業資訊頻道,感謝大家的支持。
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。