Files
cascade/docs/doc/source/install/common_prerequisites.rst
Corey Leong 5f211aa4b8 moved doc to docs
Change-Id: I24fd800b0abccf3ddaa10b6447b1f4cd61553e99
Signed-off-by: Corey Leong <profcorey@profcorey.com>
2026-01-30 10:51:57 -05:00

1.9 KiB

Prerequisites

Before you install and configure the cascade service, you must create a database, service credentials, and API endpoints.

  1. To create the database, complete these steps:

    • Use the database access client to connect to the database server as the root user:

      $ mysql -u root -p
    • Create the cascade database:

      CREATE DATABASE cascade;
    • Grant proper access to the cascade database:

      GRANT ALL PRIVILEGES ON cascade.* TO 'cascade'@'localhost' \
        IDENTIFIED BY 'CASCADE_DBPASS';
      GRANT ALL PRIVILEGES ON cascade.* TO 'cascade'@'%' \
        IDENTIFIED BY 'CASCADE_DBPASS';

      Replace CASCADE_DBPASS with a suitable password.

    • Exit the database access client.

      exit;
  2. Source the admin credentials to gain access to admin-only CLI commands:

    $ . admin-openrc
  3. To create the service credentials, complete these steps:

    • Create the cascade user:

      $ openstack user create --domain default --password-prompt cascade
    • Add the admin role to the cascade user:

      $ openstack role add --project service --user cascade admin
    • Create the cascade service entities:

      $ openstack service create --name cascade --description "cascade" cascade
  4. Create the cascade service API endpoints:

    $ openstack endpoint create --region RegionOne \
      cascade public http://controller:XXXX/vY/%\(tenant_id\)s
    $ openstack endpoint create --region RegionOne \
      cascade internal http://controller:XXXX/vY/%\(tenant_id\)s
    $ openstack endpoint create --region RegionOne \
      cascade admin http://controller:XXXX/vY/%\(tenant_id\)s