이 콘텐츠는 선택한 언어로 제공되지 않습니다.
12.5. Create the Telemetry Identity Records
Create and configure Identity service records required by the Telemetry service. These entries assist other OpenStack services attempting to locate and access the functionality provided by the Telemetry service.
This procedure assumes that you have already created an administrative user account and a
services tenant. For more information, see:
Perform this procedure on the Identity service server, or on any machine onto which you have copied the
keystonerc_admin file and on which the keystone command-line utility is installed.
Procedure 12.3. Creating Identity Records for the Telemetry Service
- Set up the shell to access keystone as the administrative user:
source ~/keystonerc_admin
# source ~/keystonerc_adminCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Create the
ceilometeruser:[(keystone_admin)]# keystone user-create --name ceilometer \ --pass PASSWORD \ --email CEILOMETER_EMAIL
[(keystone_admin)]# keystone user-create --name ceilometer \ --pass PASSWORD \ --email CEILOMETER_EMAILCopy to Clipboard Copied! Toggle word wrap Toggle overflow Replace the following values:- Replace PASSWORD with the password that will be used by the Telemetry service when authenticating with the Identity service.
- Replace CEILOMETER_EMAIL with the email address used by the Telemetry service.
- Create the
ResellerAdminrole:[(keystone_admin)]# keystone role-create --name ResellerAdmin
[(keystone_admin)]# keystone role-create --name ResellerAdminCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Link the
ceilometeruser and theResellerAdminrole together within the context of theservicestenant:[(keystone_admin)]# keystone user-role-add --user ceilometer \ --role ResellerAdmin \ --tenant services
[(keystone_admin)]# keystone user-role-add --user ceilometer \ --role ResellerAdmin \ --tenant servicesCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Link the
ceilometeruser and theadminrole together within the context of theservicestenant:[(keystone_admin)]# keystone user-role-add --user ceilometer \ --role admin \ --tenant services
[(keystone_admin)]# keystone user-role-add --user ceilometer \ --role admin \ --tenant servicesCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Create the
ceilometerservice entry:Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Create the
ceilometerendpoint entry:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace IP with the IP address or host name of the server hosting the Telemetry service.Note
By default, the endpoint is created in the default region,RegionOne. This is a case-sensitive value. To specify a different region when creating an endpoint, use the--regionargument to provide it.See Section 3.6.1, “Service Regions” for more information.