Files
openstack-manuals/doc/ops-guide/source/ops-projects.rst
daz 41510bb2ac [ops-guide] Add enterprise troubleshooting information
Add the following tips and procedures:
1. Installing OS CLI tools
2. How to assign a lostIP address back to a tenant
3. Manage floating IP addresses between instances
4. Retrieving an IP address after deleting an
instance with the port still attached

Change-Id: I1360d44162da42fe4970c793f7fff0977ccdce5e
Implements: blueprint ops-guide-improvements
2016-09-08 04:54:38 +00:00

2.2 KiB

Managing Projects

Users must be associated with at least one project, though they may belong to many. Therefore, you should add at least one project before adding users.

Adding Projects

To create a project through the OpenStack dashboard:

  1. Log in as an administrative user.
  2. Select the Identity tab in the left navigation bar.
  3. Under Identity tab, click Projects.
  4. Click the Create Project button.

You are prompted for a project name and an optional, but recommended, description. Select the checkbox at the bottom of the form to enable this project. By default, it is enabled, as shown in figure_create_project.

Figure Dashboard's Create Project form

It is also possible to add project members and adjust the project quotas. We'll discuss those actions later, but in practice, it can be quite convenient to deal with all these operations at one time.

To add a project through the command line, you must use the OpenStack command line client.

# openstack project create demo

This command creates a project named demo. Optionally, you can add a description string by appending --description PROJECT_DESCRIPTION, which can be very useful. You can also create a project in a disabled state by appending --disable to the command. By default, projects are created in an enabled state.

Assign a lost IPv4 address back to a project

  1. Using administrator credentials, confirm the lost IP address is still available:

    # nova list --all-tenants | grep 'IP-ADDRESS'
  2. Inform the user to create a port:

    $ neutron port-create NETWORK_ID --name PORT_NAME
  3. Update the new port with the IPv4 address:

    # neutron subnet-list # neutron port-update PORT_NAME --request-format=json --fixed-ips type=dict list=true subnet_id=NETWORK_ID_IPv4_SUBNET_ID ip_address=IP_ADDRESS subnet_id=NETWORK_ID_IPv6_SUBNET_ID # neutron port-show PORT-NAME