美文网首页
Unable to determine the Keystone

Unable to determine the Keystone

作者: 笨手笨脚越 | 来源:发表于2017-09-01 17:39 被阅读47次
    [root@vm-wangyue1 ~]# cinder list
    ERROR: Unable to determine the Keystone version to authenticate with using the given auth_url.
    

    在cinderclient.shell.OpenStackCinderShell#_discover_auth_versions出错,具体函数逻辑不深入研究:

        ks_discover = discover.Discover(session=session, url=auth_url)
    

    检查httpd状态是down的:

    
    [root@vm-wangyue1 ~]# service httpd status
    Redirecting to /bin/systemctl status  httpd.service
    ● httpd.service - The Apache HTTP Server
       Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
       Active: inactive (dead)
         Docs: man:httpd(8)
               man:apachectl(8)
    

    重启httpd即恢复:

    [root@vm-wangyue1 ~]# service httpd restart
    Redirecting to /bin/systemctl restart  httpd.service
    [root@vm-wangyue1 ~]# service httpd status
    Redirecting to /bin/systemctl status  httpd.service
    ● httpd.service - The Apache HTTP Server
       Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
       Active: active (running) since Fri 2017-09-01 17:32:03 CST; 1s ago
         Docs: man:httpd(8)
               man:apachectl(8)
     Main PID: 6252 (httpd)
       Status: "Processing requests..."
       CGroup: /system.slice/httpd.service
               ├─6252 /usr/sbin/httpd -DFOREGROUND
               ├─6253 /usr/sbin/httpd -DFOREGROUND
               ├─6254 (wsgi:horizon)  -DFOREGROUND
               ├─6255 (wsgi:horizon)  -DFOREGROUND
               ├─6256 (wsgi:horizon)  -DFOREGROUND
               ├─6257 /usr/sbin/httpd -DFOREGROUND
               ├─6258 /usr/sbin/httpd -DFOREGROUND
               └─6259 /usr/sbin/httpd -DFOREGROUND
    
    Sep 01 17:32:02 vm-wangyue1.novalocal systemd[1]: Starting The Apache HTTP Server...
    Sep 01 17:32:03 vm-wangyue1.novalocal httpd[6252]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using vm-wangyue1.novalocal. Set the 'Serve...this message
    Sep 01 17:32:03 vm-wangyue1.novalocal systemd[1]: Started The Apache HTTP Server.
    Hint: Some lines were ellipsized, use -l to show in full.
    

    相关文章

      网友评论

          本文标题:Unable to determine the Keystone

          本文链接:https://www.haomeiwen.com/subject/ffykjxtx.html