サービスと [keystone_authtoken]

サービスと [keystone_authtoken]

多くの OpenStack サービスは Identity service にアクセスする必要があるので、keystone サーバーの IP アドレスを設定してアクセスできるようにする必要があります。各サービスが動作できるように admin_tenant_nameadmin_useradmin_password オプションも設定する必要があります。

一般的に、このセクションはこのようになります。

[keystone_authtoken]
auth_uri = http://controller:5000/v2.0
identity_uri = http://controller:35357
admin_tenant_name = %SERVICE_TENANT_NAME%
admin_user = %SERVICE_USER%
admin_password = %SERVICE_PASSWORD%

debconf システムを使って、ユーザーが auth_uriidentity_uriadmin_tenant_nameadmin_useradmin_password オプションを設定できます。

以下の画面は Image service の設定例です。

../_images/service_keystone_authtoken_server_hostname.png

../_images/service_keystone_authtoken_admin_tenant_name.png

../_images/service_keystone_authtoken_tenant_admin_user.png

../_images/service_keystone_authtoken_admin_password.png

この情報は、以下のような各サービスの設定ファイルに保存されます。

/etc/ceilometer/ceilometer.conf
/etc/nova/api-paste.ini
/etc/glance/glance-api-paste.ini
/etc/glance/glance-registry.ini
/etc/cinder/cinder.conf
/etc/neutron/neutron.conf

Debian OpenStack パッケージが設定を自動化しているため、OpenStack ユーザーは設定ファイルを手動で編集する必要はありません。

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.