Additional controller tasks

Update the Nova configuration file at /etc/nova/nova.conf to specify the location of the Glance API:

[glance]
...
api_servers = http://controller01:9292

Update the Nova configuration file to set the lock file path for Nova services and specify the IP address of the controller node:

[oslo_concurrency]
...
lock_path = /var/lib/nova/tmp
[DEFAULT]
...
my_ip = 10.10.0.100

Configure the [placement] section within /etc/nova/nova.conf. Be sure to comment out any existing os_region_name configuration:

[placement]
...
os_region_name = RegionOne
auth_url = http://controller01:35357/v3
auth_type = password
project_domain_name = Default
user_domain_name = Default
project_name = service
username = placement
password = placement

Populate the nova-api database using the nova-manage utility:

    # su -s /bin/sh -c "nova-manage api_db sync" nova

Register the cell0 database using the nova-manage utility:

    # su -s /bin/sh -c "nova-manage cell_v2 map_cell0" nova

Create the cell1 cell:

    # su -s /bin/sh -c "nova-manage cell_v2 create_cell
--name=cell1 --verbose" nova

Populate the nova database using the nova-manage utility:

    # su -s /bin/sh -c "nova-manage db sync" nova

Lastly, restart the controller-based Compute services for the changes to take effect:

    # systemctl restart nova-api nova-consoleauth nova-scheduler nova-conductor nova-novncproxy