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

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.

主站蜘蛛池模板: 德庆县| 固阳县| 象州县| 凯里市| 阳西县| 广饶县| 南康市| 汉中市| 洪江市| 白山市| 阿克陶县| 包头市| 岳阳市| 丁青县| 沂源县| 泸州市| 滦南县| 枝江市| 离岛区| 上饶市| 玛曲县| 嵊州市| 岳阳县| 张家界市| 澎湖县| 平遥县| 崇明县| 闽侯县| 邓州市| 扎赉特旗| 建始县| 贺州市| 新津县| 汶川县| 奇台县| 温泉县| 修文县| 临泽县| 古蔺县| 孝义市| 佛坪县|