命令行里登录openstack的方式有两种:
一种是密码登录: 在keystone里存在已经创建的用户和密码
另外一种是token的方式登录: 生成token,使用这个token登录openstack
单独如何安装keystone:
生成一个token值,写入keystone的配置文件中
# openssl rand -hex 10
写入配置文件中
需要数据库,安装:
最好修改character=utf8 ,之后重启服务
创建keystone数据库:
MariaDB [keystone]> grant all privilegeson keystone.* to keystone@'%' identified by 'redhat';
Query OK, 0 rows affected (0.00 sec)
MariaDB [keystone]> grant all privilegeson keystone.* to keystone@'localhost' identified by 'redhat';
Qu