Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This will give the user access to create networks/routers/vm's, in addition to use the heat orchestration services.

Removing NTNU users from a project

When a user should be removed from the project, his member role, and heat_stack_owner role, should be removed:

Code Block
languagebash
titleGive user access to project
$ openstack role remove --project <projectname> --user <username> --user-domain=NTNU _member_
$ openstack role remove --project <projectname> --user <username> --user-domain=NTNU heat_stack_owner


Displaying projects a user is member of

...

Code Block
languagebash
titleDetermine user ID
$ openstack user show eigilo --domain=NTNU
+-----------+------------------------------------------------------------------+
| Field     | Value                                                            |
+-----------+------------------------------------------------------------------+
| domain_id | cb782810849b4ce8bce7f078cc193b19                                 |
| email     | eigil.obrestad@ntnu.no                                           |
| enabled   | True                                                             |
| id        | 1790de92c726dc409c223dcfed7fe2c67d792f3cf8e7f46118e5c2bfd63faff3 |
| name      | eigilo                                                           |
+-----------+------------------------------------------------------------------+

$ openstack role assignment list --user 1790de92c726dc409c223dcfed7fe2c67d792f3cf8e7f46118e5c2bfd63faff3 --names
+------------------+-------------+-------+---------------+--------+-----------+
| Role             | User        | Group | Project       | Domain | Inherited |
+------------------+-------------+-------+---------------+--------+-----------+
| admin            | eigilo@NTNU |       | admin@Default |        | False     |
| _member_         | eigilo@NTNU |       | eigil@Default |        | False     |
| heat_stack_owner | eigilo@NTNU |       | eigil@Default |        | False     |
+------------------+-------------+-------+---------------+--------+-----------+

Removing NTNU users from a project

When a user should be removed from the project, his member role, and heat_stack_owner role, should be removed:

Code Block
languagebash
titleGive user access to project
$ openstack role remove --project <projectname> --user <username> --user-domain=NTNU _member_
$ openstack role remove --project <projectname> --user <username> --user-domain=NTNU heat_stack_owner


Project administration

Naming scheme:

We are creating projects using a strict naming scheme. All projects should be named using one of the following schemes:

...