标签:nova 网管 ast inf table maker bug lse repo
登录openstack dashboard(1)在openstack中,每一个service中都有三种Endpoint:Admin、Public、Internal(创建完service后需要为其创建API Endpoint)
(2)Admin使用者为管理员,能够修改User Project(Tenant)
(3)public使用者为客户端,使用者在外网管理自己云服务器
(4)internal使用者为内部组件间相互调用
(5)三种Endpoint在网络上开放的权限也不同,Admin通常只能对内网开放,public通常可以对外网开放,internal只能对有安装openstack服务的机器开放
查看keyston e配置文件
grep -vE ‘^#|^$‘ /etc/keystone/keystone.conf
[DEFAULT]
admin_token = b4e23a38c07e461d973c9c3d6c0235e1
debug = False
log_dir = /var/log/keystone
rpc_backend = rabbit
public_port=5000
admin_bind_host=0.0.0.0
public_bind_host=0.0.0.0
admin_port=35357
[assignment]
[auth]
[cache]
[catalog]
template_file = /etc/keystone/default_catalog.templates
driver = sql
[cors]
[cors.subdomain]
[credential]
key_repository = /etc/keystone/credential-keys
[database]
connection = mysql+pymysql://keystone_admin:db1182007c6249fe@192.168.0.91/keystone
[domain_config]
[endpoint_filter]
[endpoint_policy]
[eventlet_server]
public_workers=4
admin_workers=4
[federation]
[fernet_tokens]
key_repository = /etc/keystone/fernet-keys
[identity]
[identity_mapping]
[kvs].
[ldap]
[matchmaker_redis]
[memcache]
[oauth1]
[os_inherit]
[oslo_messaging_amqp]
[oslo_messaging_notifications]
[oslo_messaging_rabbit]
[oslo_messaging_zmq]
[oslo_middleware]
[oslo_policy]
[paste_deploy]
[policy]
[profiler]
[resource]
[revoke]
[role]
[saml]
[security_compliance]
[shadow_users]
[signing]
[token]
expiration = 3600
provider = keystone.token.providers.uuid.Provider
driver = sql
revoke_by_id = True
[tokenless_auth]
[trust]
[ssl]
enable=False
访问查看keystone在mysql中的信息
下图是keystone连接数据库的账号密码
mysql -ukeystone_admin -pdb1182007c6249fe
show databases;
show tables;
标签:nova 网管 ast inf table maker bug lse repo
原文地址:https://blog.51cto.com/huxiaoqiu/2539757