Files
gantt/doc/source/adminguide/nova.manage.rst
2010-11-08 18:40:21 -08:00

2.6 KiB

The nova-manage command

Introduction

The nova-manage command is used to perform many essential functions for administration and ongoing maintenance of nova, such as user creation, vpn management, and much more.

The standard pattern for executing a nova-manage command is:

nova-manage <category> <command> [<args>]

For example, to obtain a list of all projects:

nova-manage project list

You can run without arguments to see a list of available command categories:

nova-manage

You can run with a category argument to see a list of all commands in that category:

nova-manage user

Nova Shell

  • shell bpython
    • start a new bpython shell
  • shell ipython
    • start a new ipython shell
  • shell python
    • start a new python shell
  • shell run
    • ???
  • shell script: Runs the script from the specifed path with flags set properly.
    • arguments: path

Concept: Flags

python-gflags

Concept: Plugins

  • Managers/Drivers: utils.import_object from string flag
  • virt/connections: conditional loading from string flag
  • db: LazyPluggable via string flag
  • auth_manager: utils.import_class based on string flag
  • Volumes: moving to pluggable driver instead of manager
  • Network: pluggable managers
  • Compute: same driver used, but pluggable at connection

Concept: IPC/RPC

Rabbit!

Concept: Fakes

  • auth
  • ldap

Concept: Scheduler

  • simple
  • random

Concept: Security Groups

Security groups

Concept: Certificate Authority

Nova does a small amount of certificate management. These certificates are used for project vpns <../cloudpipe> and decrypting bundled images.

Concept: Images

  • launching
  • bundling