Ubuntu 22.04
Sponsored Link

OpenStack Yoga : Configure Nova #32022/04/29

 
Install OpenStack Compute Service (Nova).
This example is based on the environment like follows.
If you'd like to install Nova Compute on another Host, refer to here.
        eth0|10.0.0.30 
+-----------+-----------+
|   [ dlp.srv.world ]   |
|     (Control Node)    |
|                       |
|  MariaDB    RabbitMQ  |
|  Memcached  httpd     |
|  Keystone   Glance    |
|  Nova API/Compute     |
+-----------------------+

[1]
Install KVM HyperVisor on Compute Host, refer to here.
It's unnecessary to set Bridge networking on the section [2] of the link.
[2] Install Nova Compute.
root@dlp ~(keystone)#
apt -y install nova-compute nova-compute-kvm
[3] In addition to basic settings of Nova, add following settings.
root@dlp ~(keystone)#
vi /etc/nova/nova.conf
# add into the [vnc] section
# IP address compute instances listen
[vnc]
enabled = True
server_listen = 10.0.0.30
server_proxyclient_address = 10.0.0.30
novncproxy_host = 127.0.0.1
novncproxy_port = 6080
novncproxy_base_url = https://dlp.srv.world:6080/vnc_auto.html
[4] Start Nova Compute service.
root@dlp ~(keystone)#
systemctl restart nova-compute

# discover Compute Node

root@dlp ~(keystone)#
su -s /bin/bash nova -c "nova-manage cell_v2 discover_hosts"
# show status

root@dlp ~(keystone)#
openstack compute service list

+--------------------------------------+----------------+---------------+----------+---------+-------+----------------------------+
| ID                                   | Binary         | Host          | Zone     | Status  | State | Updated At                 |
+--------------------------------------+----------------+---------------+----------+---------+-------+----------------------------+
| 65429d28-6313-4f6c-a733-0b8426d6d5dd | nova-scheduler | dlp.srv.world | internal | enabled | up    | 2022-04-29T04:56:27.000000 |
| d1f20c3a-ea4a-4d1e-a3ab-276dc80319bf | nova-conductor | dlp.srv.world | internal | enabled | up    | 2022-04-29T04:56:28.000000 |
| 3ca3eb17-726b-4133-b3a5-619079e5fa86 | nova-compute   | dlp.srv.world | nova     | enabled | up    | 2022-04-29T04:56:31.000000 |
+--------------------------------------+----------------+---------------+----------+---------+-------+----------------------------+
Matched Content