Openstack installation : Compute Service on compute nodes

Had followed steps given in https://docs.openstack.org – Content mostly from openstack.org – This is just a compilation on steps followed by me.  Minor changes may be observed as I had installed on Debian 9.6.

Previous Post : Install Image Service
Next Post : Install networking on controller node
Recommended reading

On the compute nodes : Install nova-compute package

apt install nova-compute

Edit nova configuration file /etc/nova/nova.conf and update MQ config, authentication, vnc and glance config with reference to controller node.

Note : Comment out or remove any other options in the [keystone_authtoken] section.

[DEFAULT]
...
transport_url = rabbit://openstack:<password>@controller
...
auth_strategy = keystone
...
my_ip = 10.0.0.14

[keystone_authtoken]
...
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = Default
user_domain_name = Default
project_name = service
username = nova
password = <password>

[vnc]
...
enabled = True
vncserver_listen = 0.0.0.0
vncserver_proxyclient_address = $my_ip
novncproxy_base_url = http://controller:6080/vnc_auto.html

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

Ensure the kernel module nbd (Network block device) is loaded.

root@aserver:/home/sandeep# modprobe nbd

Need to ensure that nbd is loaded on startup. Create /etc/modules-load.d/nbd.conf file and add ndb

Restart the Compute service:

root@aserver:/home/sandeep# service nova-compute restart
root@aserver:/home/sandeep#