Setelah menginstall openstack, Anda mencoba mengakses console namun output dari url console adalah http://127.0.0.1:6080/vnc_auto.html
sehingga tidak dapat
diakses melalui PC lain.
# openstack console url show centos79
+-------+-------------------------------------------------------------------------------------------------+
| Field | Value |
+-------+-------------------------------------------------------------------------------------------------+
| type | novnc |
| url | http://127.0.0.1:6080/vnc_auto.html?path=%3Ftoken%3Db7ac282b-ff09-4d6d-941d-a56391581706 |
+-------+-------------------------------------------------------------------------------------------------+
Untuk mengubah url tersebut ke IP controller, pastikan port 6080 atau novnc
sudah listen ke semua address 0.0.0.0:6080
.
Selanjutnya edit nova.conf
dan sesuaikan konfig vnc
seperti berikut
[vnc]
enabled = true
server_listen = 0.0.0.0
server_proxyclient_address = $my_ip
novncproxy_base_url = http://IP:6080/vnc_auto.html
Sesuaikan IP
dengan IP address yang ada di node controller.
Lalu save file dan restart service openstack nova.
systemctl restart openstack-nova-compute.service