You are on page 1of 3

Changing the novncproxy_base_url from IP to FQDN in Redhat Opensta... https://access.redhat.

com/solutions/3356981

novnc proxy url IP FQDN

crudini --set /var/lib/config-data/puppet-generated/nova_libvirt/etc/nova


/nova.conf vnc novncproxy_base_url "https://testing.example.com:6080
/vnc_auto.html"

crudini --get /var/lib/config-data/puppet-generated/nova_libvirt/etc/nova


/nova.conf vnc novncproxy_base_url

docker restart nova_compute

1 of 3 6/19/2020, 10:56 PM
Changing the novncproxy_base_url from IP to FQDN in Redhat Opensta... https://access.redhat.com/solutions/3356981

parameter_defaults:
ExtraConfig:
nova::vncproxy::common::vncproxy_host: testing.example.com

(overcloud) [stack@os1-prd-director01 ~]$ sudo docker exec -i nova_vnc_proxy sh


-c "egrep -v '^$|^#' /etc/nova/nova.conf | grep novncproxy_base_url"
novncproxy_base_url=http://testing.example.com:6080/vnc_auto.html
(overcloud) [stack@os1-prd-director01 ~]$ openstack console url show test-
instance1
+-------+------------------------------------------------------------------------
-----------------+
| Field | Value
|
+-------+------------------------------------------------------------------------
-----------------+
| type | novnc
|
| url | http://testing.example.com:6080/vnc_auto.html?token=ab54c3cc-45bbc-
4578-8efa-d78d2hde22 |
+-------+------------------------------------------------------------------------
-----------------+

2 of 3 6/19/2020, 10:56 PM
Changing the novncproxy_base_url from IP to FQDN in Redhat Opensta... https://access.redhat.com/solutions/3356981

~~~
(overcloud) [stack@undercloud ~]$ openstack console url show test-instance1
+-------+------------------------------------------------------------------------------
-------+
| Field | Value
|
+-------+------------------------------------------------------------------------------
-------+
| type | novnc
|
| url | http://XX.XX.XX.XX:6080/vnc_auto.html?token=b23eacd-78de-4578-8efa-
187ec694dbbb |
+-------+------------------------------------------------------------------------------
-------+
~~~

3 of 3 6/19/2020, 10:56 PM

You might also like