24
nova-manage controls cloud computing instances by managing nova users, nova projects, nova roles, shell selection, vpn connections, and floating IP address configuration. More information about OpenStack Nova is at http://nova.openstack.org.
24
nova-manage controls cloud computing instances by managing shell selection, vpn connections, and floating IP address configuration. More information about OpenStack Nova is at http://nova.openstack.org.
29
29
The standard pattern for executing a nova-manage command is:
30
30
``nova-manage <category> <command> [<args>]``
32
For example, to obtain a list of all projects:
33
``nova-manage project list``
35
32
Run without arguments to see a list of available command categories:
38
Categories are user, project, role, shell, vpn, and floating. Detailed descriptions are below.
35
Categories are project, shell, vpn, and floating. Detailed descriptions are below.
40
37
You can also run with a category argument such as user to see a list of all commands in that category:
38
``nova-manage floating``
43
40
These sections describe the available categories and arguments for nova-manage.
54
51
Sync the database up to the most recent version. This is the standard way to create the db as well.
59
``nova-manage user admin <username>``
61
Create an admin user with the name <username>.
63
``nova-manage user create <username>``
65
Create a normal user with the name <username>.
67
``nova-manage user delete <username>``
69
Delete the user with the name <username>.
71
``nova-manage user exports <username>``
73
Outputs a list of access key and secret keys for user to the screen
75
``nova-manage user list``
77
Outputs a list of all the user names to the screen.
79
``nova-manage user modify <accesskey> <secretkey> <admin?T/F>``
81
Updates the indicated user keys, indicating with T or F if the user is an admin user. Leave any argument blank if you do not want to update it.
86
``nova-manage project add <projectname>``
88
Add a nova project with the name <projectname> to the database.
90
``nova-manage project create <projectname>``
92
Create a new nova project with the name <projectname> (you still need to do nova-manage project add <projectname> to add it to the database).
94
``nova-manage project delete <projectname>``
96
Delete a nova project with the name <projectname>.
98
``nova-manage project environment <projectname> <username>``
100
Exports environment variables for the named project to a file named novarc.
102
``nova-manage project list``
104
Outputs a list of all the projects to the screen.
106
``nova-manage project quota <projectname>``
108
Outputs the size and specs of the project's instances including gigabytes, instances, floating IPs, volumes, and cores.
110
``nova-manage project remove <projectname>``
112
Deletes the project with the name <projectname>.
114
``nova-manage project zipfile``
116
Compresses all related files for a created project into a zip file nova.zip.
121
``nova-manage role add <username> <rolename> <(optional) projectname>``
123
Add a user to either a global or project-based role with the indicated <rolename> assigned to the named user. Role names can be one of the following five roles: cloudadmin, itsec, sysadmin, netadmin, developer. If you add the project name as the last argument then the role is assigned just for that project, otherwise the user is assigned the named role for all projects.
125
``nova-manage role has <username> <projectname>``
126
Checks the user or project and responds with True if the user has a global role with a particular project.
128
``nova-manage role remove <username> <rolename>``
129
Remove the indicated role from the user.