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

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.

主站蜘蛛池模板: 大石桥市| 南华县| 晋城| 南皮县| 江山市| 化德县| 新竹市| 萝北县| 化隆| 清原| 平远县| 延寿县| 通河县| 井研县| 呼和浩特市| 大厂| 浦北县| 桃园市| 苍南县| 连山| 井冈山市| 安多县| 莆田市| 霸州市| 松溪县| 临清市| 甘孜县| 盐池县| 天长市| 天峨县| 九龙县| 天全县| 康定县| 甘孜县| 湄潭县| 德阳市| 楚雄市| 普格县| 衡阳县| 河池市| 延长县|