You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Create a project for students

To create a project and add a student with NTNU username pikachu with permissions to create Heat stacks in the course IMT3005.

$ studentid=pikachu
$ projectname=$studentid # typical if only one student pr project, or set to something else if group projects
$ openstack project create --description "IMT3005" --domain NTNU IMT3005_$projectname
$ openstack role add --project IMT3005_$projectname --user $studentid --user-domain=NTNU _member_
$ openstack role add --project IMT3005_$projectname --user $studentid --user-domain=NTNU heat_stack_owner
# repeat the last two lines with another studentid if more students should be assigned to this project

To verify that the roles has been added:

$ openstack role assignment list --project <PROJECTNAME> --names

 

Give a user administrative privileges

To give full administration access to a user, he needs to be an admin member of the admin project.

Give admin credentials to a user
$ openstack role add --project admin --user <username> admin --user-domain NTNU
  • No labels