Atom feed of this document
  
 

 Install Compute controller services

Compute is a collection of services that enable you to launch virtual machine instances. You can configure these services to run on separate nodes or the same node. In this guide, most services run on the controller node and the service that launches virtual machines runs on a dedicated compute node. This section shows you how to install and configure these services on the controller node.

  1. Install the Compute packages necessary for the controller node.

    # apt-get install nova-api nova-cert nova-conductor nova-consoleauth \
      nova-novncproxy nova-scheduler python-novaclient
  2. Respond to the prompts for database management, [keystone_authtoken] settings, RabbitMQ credentials, and API endpoint registration. The nova-manage db sync command runs automatically.

  3. Compute stores information in a database. In this guide, we use a MySQL database on the controller node. Configure Compute with the database location and credentials. Replace NOVA_DBPASS with the password for the database that you will create in a later step.

    Edit the [database] section in the /etc/nova/nova.conf file, adding it if necessary, to modify this key:

    [database]
    connection = mysql://nova:NOVA_DBPASS@controller/nova
  4. Set the my_ip, vncserver_listen, and vncserver_proxyclient_address configuration options to the management interface IP address of the controller node:

    In Debian, the debconf package automatically sets up my_ip parameter but you must edit the /etc/nova/nova.conf file to configure the vncserver_listen and vncserver_proxyclient_address options, which appear at the end of the file:

    [DEFAULT]
    ...
    my_ip = 10.0.0.11
    vncserver_listen = 10.0.0.11
    vncserver_proxyclient_address = 10.0.0.11
  5. Configure Compute to use these credentials with the Identity Service running on the controller. Replace NOVA_PASS with your Compute password.

    Edit the [DEFAULT] section in the /etc/nova/nova.conf file to add this key:

    [DEFAULT]
    ...
    auth_strategy = keystone

    Add these keys to the [keystone_authtoken] section:

    [keystone_authtoken]
    ...
    auth_uri = http://controller:5000
    auth_host = controller
    auth_port = 35357
    auth_protocol = http
    admin_tenant_name = service
    admin_user = nova
    admin_password = NOVA_PASS
  6. To verify your configuration, list available images:

    $ nova image-list
    +--------------------------------------+---------------------+--------+--------+
    | ID                                   | Name                | Status | Server |
    +--------------------------------------+---------------------+--------+--------+
    | acafc7c0-40aa-4026-9673-b879898e1fc2 | cirros-0.3.2-x86_64 | ACTIVE |        |
    +--------------------------------------+---------------------+--------+--------+
Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page

loading table of contents...