The script modifying nova.conf has a few bugs

Bug #1621376 reported by James Du
6
This bug affects 1 person
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-pod.yml.j2
       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_port }}/vnc_auto.html
       Modify: delete this line, keep the value which the 'kolla-ansible genconfig' generated before.

Bug2: In nova-compute-pod.yml.j2
       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+tcp://''$IP''/system'';

Bug3: In nova-control-api-pod.yml.j2
          nova-control-conductor-pod.yml.j2
          nova-control-scheduler-pod.yml.j2

       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_proxyclient_address $IP;
       crudini --set /nova/nova.conf vnc novncproxy_base_url $IP;
       crudini --set /nova/nova.conf vnc connection_uri ''qemu+tcp://''$IP"],

       The my_ip,novncproxy_host,vncserver_listen,vncserver_proxyclient_address,novncproxy_base_url,connection_uri are not needed for those service.
       Modify: delete the lines.

James Du (james.du)
Changed in kolla-kubernetes:
assignee: nobody → Pengfei Du (58750307-3)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-kubernetes (master)

Fix proposed to branch: master
Review: https://review.openstack.org/367225

Changed in kolla-kubernetes:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla-kubernetes (master)

Change abandoned by dupengfei (<email address hidden>) on branch: master
Review: https://review.openstack.org/367225
Reason: too old, delete and create a new branch

Revision history for this message
Ryan Hallisey (rthall14) wrote :

Nova in master kolla-kubernetes doesn't have this issue.

Changed in kolla-kubernetes:
status: In Progress → Fix Committed
importance: Undecided → High
milestone: none → newton
Changed in kolla-kubernetes:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.