The script modifying nova.conf has a few bugs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-kubernetes |
Fix Released
|
High
|
James Du |
Bug Description
There are 3 similar bugs related to nova.conf.
Bug 1: In nova-compute-
crudini --set /nova/nova.conf vnc novncproxy_base_url $IP; ------> This is wrong value and wrong format, novncproxy_base_url should keep {{ public_protocol }}://{{ kolla_external_fqdn }}:{{ nova_novncproxy
Modify: delete this line, keep the value which the 'kolla-ansible genconfig' generated before.
Bug2: In nova-compute-
crudini --set /nova/nova.conf vnc connection_uri ''qemu+tcp://''$IP; ----> connection_uri is in libvirt section and the value lost system
Modify: Modify to crudini --set /nova/nova.conf libvirt connection_uri ''qemu+
Bug3: In nova-control-
IP=$(ip addr show dev {{ tunnel_interface }} | grep -G ''inet '' | awk ''{print $2}'' | sed ''s@/.*@@'');
crudini --set /nova/nova.conf DEFAULT my_ip $IP;
crudini --set /nova/nova.conf vnc novncproxy_host $IP;
crudini --set /nova/nova.conf vnc vncserver_listen $IP;
crudini --set /nova/nova.conf vnc vncserver_
crudini --set /nova/nova.conf vnc novncproxy_base_url $IP;
crudini --set /nova/nova.conf vnc connection_uri ''qemu+
The my_ip,novncprox
Modify: delete the lines.
Changed in kolla-kubernetes: | |
assignee: | nobody → Pengfei Du (58750307-3) |
Changed in kolla-kubernetes: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/367225
Review: https:/