이 콘텐츠는 선택한 언어로 제공되지 않습니다.

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

  1. Set up the shell to access keystone as the administrative user:
    # source ~/keystonerc_admin
  2. Create the ceilometer user:
    [(keystone_admin)]# keystone user-create --name ceilometer \
       --pass PASSWORD \
       --email CEILOMETER_EMAIL
    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.
  3. Create the ResellerAdmin role:
    [(keystone_admin)]# keystone role-create --name ResellerAdmin
  4. Link the ceilometer user and the ResellerAdmin role together within the context of the services tenant:
    [(keystone_admin)]# keystone user-role-add --user ceilometer \
       --role ResellerAdmin \
       --tenant services
  5. Link the ceilometer user and the admin role together within the context of the services tenant:
    [(keystone_admin)]# keystone user-role-add --user ceilometer \
       --role admin \
       --tenant services
  6. Create the ceilometer service entry:
    [(keystone_admin)]# keystone service-create --name ceilometer \
       --type metering \
       --description "OpenStack Telemetry Service"
    +-------------+----------------------------------+
    |   Property  |              Value               |
    +-------------+----------------------------------+
    | description |     OpenStack Telemetry Service  |
    |   enabled   |               True               |
    | id          | a511aea8bc1264641f4dff1db38751br |
    | name        |             ceilometer           |
    | type        |             metering             |
    +-------------+----------------------------------+
  7. Create the ceilometer endpoint entry:
    [(keystone_admin)]# keystone endpoint-create \
       --service ceilometer \
       --publicurl 'IP:8777' \
       --adminurl 'IP:8777' \
       --internalurl 'IP:8777' \
       --region 'RegionOne'
    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 --region argument to provide it.
    See Section 3.6.1, “Service Regions” for more information.
Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

© 2024 Red Hat, Inc.