分享

openstack service create 出错

tscswcn 发表于 2017-9-2 23:39:30 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 1 5032
我创建

  • $ export OS_TOKEN=8f811e26b38f09170581

  • 配置端点URL:
    $ export OS_URL=http://controller:35357/v3

  • 配置认证 API 版本:
    $ export OS_IDENTITY_API_VERSION=3

  • openstack service create \  --name keystone --description "OpenStack Identity" identity
  • 然后出错了
[root@openstack logs]# export OS_TOKEN=8f811e26b38f09170581
[root@openstack logs]# export OS_URL=http://controller:35357/v3
[root@openstack logs]# export OS_IDENTITY_API_VERSION=3
>   --name keystone --description "OpenStack Identity" identity
An unexpected error prevented the server from fulfilling your request. (HTTP 500) (Request-ID: req-1fca7915-7927-40b3-a1ef-460b06956352)
[root@openstack logs]# openstack service create --name keystone --description "OpenStack Identity" identity
An unexpected error prevented the server from fulfilling your request. (HTTP 500) (Request-ID: req-622ed269-4a14-46bb-8c84-0d53dfbf7cde)



[root@openstack logs]# vi keystone-error.log2017-09-02 23:20:08.156189 mod_wsgi (pid=79774): Attach interpreter ''.2017-09-02 23:20:08.157040 mod_wsgi (pid=79775): Attach interpreter ''.2017-09-02 23:20:08.162678 mod_wsgi (pid=79776): Attach interpreter ''.2017-09-02 23:20:08.183896 mod_wsgi (pid=79779): Attach interpreter ''.2017-09-02 23:20:08.187942 mod_wsgi (pid=79782): Attach interpreter ''.2017-09-02 23:20:08.198125 mod_wsgi (pid=79781): Attach interpreter ''.2017-09-02 23:20:08.199803 mod_wsgi (pid=79780): Attach interpreter ''.2017-09-02 23:20:08.201803 mod_wsgi (pid=79783): Attach interpreter ''.2017-09-02 23:20:08.202361 mod_wsgi (pid=79778): Attach interpreter ''.2017-09-02 23:20:08.205769 mod_wsgi (pid=79777): Attach interpreter ''.2017-09-02 23:23:00.123105 mod_wsgi (pid=79781): Shutdown requested 'keystone-admin'.2017-09-02 23:23:00.123110 mod_wsgi (pid=79780): Shutdown requested 'keystone-admin'.2017-09-02 23:23:00.123118 mod_wsgi (pid=79774): Shutdown requested 'keystone-public'.2017-09-02 23:23:00.123119 mod_wsgi (pid=79779): Shutdown requested 'keystone-admin'.2017-09-02 23:23:00.123235 mod_wsgi (pid=79780): Stopping process 'keystone-admin'.2017-09-02 23:23:00.123236 mod_wsgi (pid=79781): Stopping process 'keystone-admin'.2017-09-02 23:23:00.123241 mod_wsgi (pid=79774): Stopping process 'keystone-public'."keystone-error.log" 165L, 12755C            



已有(1)人评论

跳转到指定楼层
xng2012 发表于 2017-9-3 09:37:40
哪个版本的,最好参考官网。openstack应该一个环境变量配置的文件,直接生效即可。
最好贴出图来看下。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条