alilin 发表于 2016-5-27 16:18 openstack-config:命令未找到 |
[mw_shl_code=shell,true]export OS_SERVICE_TOKEN=$ADMIN_TOKEN export OS_SERVICE_ENDPOINT=http://controller:35357/v2.0[/mw_shl_code] |
[mw_shl_code=shell,true]openstack-config --set /etc/keystone/keystone.conf database connection mysql://keystone:000000@controller/keystone su -s /bin/sh -c "keystone-manage db_sync" keystone ADMIN_TOKEN=$(openssl rand -hex 10) echo $ADMIN_TOKEN openstack-config --set /etc/keystone/keystone.conf DEFAULT admin_token $ADMIN_TOKEN keystone-manage pki_setup --keystone-user keystone --keystone-group keystone chown -R keystone:keystone /etc/keystone/ssl chmod -R o-rwx /etc/keystone/ssl[/mw_shl_code] 讲真,我有点懒,直接沾上 |
去看下日志 /var/log/keystone |