官术网_书友最值得收藏!

Creating OpenStack projects in Keystone

Users can't be created without having a project assigned to them, so these must be created first. For this section, we will create a project for our users, called cookbook.

Getting ready

Ensure that you are logged on to a correctly configured OpenStack client and can access the OpenStack environment as a user with admin privileges.

Refer to Chapter 2, The OpenStack Client, for details of setting up your environment to use OpenStack command-line client.

How to do it…

To create a project in our OpenStack environment, perform the following steps:

  1. We start by creating a project called cookbook as follows:
    openstack project create --domain bookstore
     --description "Cookbook Project" cookbook
    

    The command should produce the output similar to this:

    How to do it…

How it works…

By running the preceding command, we just created a project in our bookstore domain. The syntax is as follows:

openstack project create --domain <domain>
 --description <description> <name>

The domain parameter is optional, used to determine which domain the project will belong to. If omitted, the project will be created in the default domain. The description parameter is also optional, but highly recommended. The name parameter has to be unique to the installation.

主站蜘蛛池模板: 五寨县| 越西县| 阆中市| 玛纳斯县| 西和县| 金溪县| 红安县| 怀化市| 吐鲁番市| 阿图什市| 开鲁县| 乐山市| 惠水县| 盐池县| 湟中县| 邯郸县| 花莲县| 万荣县| 古交市| 邢台市| 德江县| 宜州市| 阜新| 鹤山市| 保山市| 元谋县| 兰溪市| 车险| 略阳县| 兰考县| 柞水县| 改则县| 河南省| 旬邑县| 天台县| 密云县| 江孜县| 耿马| 万山特区| 博湖县| 镇赉县|