O'Reilly logo

Deploying OpenStack by Ken Pepple

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuration Tools

Nova administration is accomplished through a tool called nova-manage. Most commands take the form nova-manage command subcommand and any necessary arguments. At any time, you can see help for nova-manage by leaving off any arguments, subcommands, or commands. Here is an example of finding help for creating a new user:

$ nova-manage
nova-manage category action [<args>]
Available categories:
    user
    account
    project
    role
    shell
    vpn
    fixed
    floating
    network
    vm
    service
    db
    volume
    instance_type
    image
    flavor
$ nova-manage user
nova-manage category action [<args>]
Available actions for user category:
    admin
    create
    delete
    exports
    list
    modify
    revoke
$ nova-manage user create
Possible wrong number of arguments supplied
user create: creates a new user and prints exports
        arguments: name [access] [secret]
2011-07-15 18:55:13,520 CRITICAL nova [-] create() takes at least 2 arguments (1 given)

Do not worry about the error after the nova-manage user create—it is simply telling you that you haven’t supplied the necessary arguments.

Service

Services can be monitored through the nova-manage command on a service or host basis. With the service, you can either view or actively manage services. For example, you can query a host for the services that it currently offers, or simply list all the services that are available. This is an essential command for testing or troubleshooting your deployment. Below is an example that walks through the full array of of service subcommands: listing services, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required