Help:Nova-manage

From Wikitech
Jump to: navigation, search


Credentials

  • administrative: source /root/novaenv.sh
  • novaobserver: /usr/local/bin/observerenv.sh

List all nova-manage subcommands

nova help

Show usage for a subcommand (example: floating)

nova-manage floating
/usr/bin/nova-manage category action [<args>]
Available actions for floating category:
	create
	delete
	list

List floating IPs

nova-manage floating list this may be outdated syntax

Add an IP to the pool

nova-manage floating create <IP> this may be outdated syntax

Manage project quotas

nova help quota-show
nova help quota-update

List current quotas for a project

nova quota-show --tenant nginx
+-----------------------------+-------+
| Quota                       | Limit |
+-----------------------------+-------+
| instances                   | 10    |
| cores                       | 20    |
| ram                         | 51200 |
| floating_ips                | 1     |
| fixed_ips                   | 200   |
| metadata_items              | 128   |
| injected_files              | 5     |
| injected_file_content_bytes | 10240 |
| injected_file_path_bytes    | 255   |
| key_pairs                   | 100   |
| security_groups             | 10    |
| security_group_rules        | 20    |
+-----------------------------+-------+

Change a quota (floating_ips) for a project

nova quota-update --floating_ips 1 nginx