Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

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
    Copy to Clipboard Toggle word wrap
  2. Create the ceilometer user:
    [(keystone_admin)]# keystone user-create --name ceilometer \
       --pass PASSWORD \
       --email CEILOMETER_EMAIL
    Copy to Clipboard Toggle word wrap
    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
    Copy to Clipboard Toggle word wrap
  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
    Copy to Clipboard Toggle word wrap
  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
    Copy to Clipboard Toggle word wrap
  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             |
    +-------------+----------------------------------+
    Copy to Clipboard Toggle word wrap
  7. Create the ceilometer endpoint entry:
    [(keystone_admin)]# keystone endpoint-create \
       --service ceilometer \
       --publicurl 'IP:8777' \
       --adminurl 'IP:8777' \
       --internalurl 'IP:8777' \
       --region 'RegionOne'
    Copy to Clipboard Toggle word wrap
    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.
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat