3.5. Creating an internal project for the Block Storage service


Some Block Storage features require an internal Block Storage project or tenant, that is also known as the service project, which is called cinder-internal.

The Block Storage service (cinder) uses this project to manage resources that this service creates to ensure that these resources are not counted towards the users' project quota limits. For example: the volumes that are created when images are cached for frequent volume cloning or temporary copies of volumes being migrated.

Since this cinder-internal project is also subject to the default project quotas, you must adjust the volumes quota for this project, which is limited to only 10 volumes, by default. You can either set the limit of the volumes quota to be unlimited (-1) or provide a number, to ensure the effective use of your available volume storage, such as 50. You might also need to change the gigabytes quota that limits the maximum size of the created volumes for this project, in gigabytes, which is set to 1000 by default.

Procedure

  1. Access the remote shell for the openstackclient pod from your workstation:

    $ oc rsh -n openstack openstackclient
  2. Create a generic project and user, both named cinder-internal, as follows:

    $ openstack project create --enable --description "Block Storage Internal Project" cinder-internal
    +-------------+----------------------------------+
    | Field       | Value                            |
    +-------------+----------------------------------+
    | description | Block Storage Internal Project   |
    | domain_id   | default                          |
    | enabled     | True                             |
    | id          | 670615550a5d4126b22953f76f380397 |
    | is_domain   | False                            |
    | name        | cinder-internal                  |
    | options     | {}                               |
    | parent_id   | default                          |
    | tags        | []                               |
    +-------------+----------------------------------+
    $ openstack user create --project cinder-internal cinder-internal
    +---------------------+----------------------------------+
    | Field               | Value                            |
    +---------------------+----------------------------------+
    | default_project_id  | 670615550a5d4126b22953f76f380397 |
    | domain_id           | default                          |
    | enabled             | True                             |
    | id                  | a6b3576f345346a590f2c8292f5cbd60 |
    | name                | cinder-internal                  |
    | options             | {}                               |
    | password_expires_at | None                             |
    +---------------------+----------------------------------+
  3. Modify the maximum number of volumes that the Block Storage service can create for this cinder-internal project:

    $ openstack quota set --volumes <maxnum> cinder-internal
    • Replace <maxnum> with the maximum number of volumes that the Block Storage service can create for this cinder-internal project.
  4. Optional: Modify the maximum total size of all the volumes that the Block Storage service can create for this cinder-internal project:

    $ openstack quota set --gigabytes <maxgb> cinder-internal
    • Replace <maxgb> with the maximum total size, in gigabytes, of the volumes that the Block Storage service can create for this cinder-internal project.
  5. Exit the openstackclient pod:

    $ exit
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部