glance/doc/source/install/configure-quotas.rst
Cyril Roelandt 70d18c868a Docs: be more explicit regarding oslo_limit.endpoint_id
Make sure readers understand where this id comes from.

Change-Id: I2b6425f8a2bce4e47ebb15f4161fa238b3b6c6f9
Closes-Bug: #2059829
2024-04-03 02:41:51 +02:00

1.4 KiB

  • In the [oslo_limit] section, configure access to keystone:

    [oslo_limit]
    auth_url = http://controller:5000
    auth_type = password
    user_domain_id = default
    username = glance
    system_scope = all
    password = GLANCE_PASS
    endpoint_id = ENDPOINT_ID
    region_name = RegionOne

    Replace GLANCE_PASS with the password you chose for the glance user in the Identity service.

    Replace ENDPOINT_ID with the ID of the image endpoint you created earlier (in our case, this would be 340be3625e9b4239a6415d034e98aace), and that you may find by running:

    $ openstack endpoint list --service glance --region RegionOne

    Make sure that the glance account has reader access to system-scope resources (like limits):

    $ openstack role add --user glance --user-domain Default --system all reader

    See the oslo_limit docs for more information about configuring the unified limits client.

  • In the [DEFAULT] section, optionally enable per-tenant quotas:

    [DEFAULT]
    use_keystone_limits = True

    Note that you must have created the registered limits as described above if this is enabled.