Description of problem: OSP9 -> OSP10: compute upgrade fails with /root/tripleo_upgrade_node.sh: line 69: change_ovs_2_9_user: command not found: [stack@undercloud-0 ~]$ upgrade-non-controller.sh --upgrade e5cdd78e-bb0e-40b1-84dd-68a787a69ec0 Thu May 24 18:57:46 EDT 2018 upgrade-non-controller.sh nova node e5cdd78e-bb0e-40b1-84dd-68a787a69ec0 found with status ACTIVE Thu May 24 18:57:47 EDT 2018 upgrade-non-controller.sh checking for upgrade script /root/tripleo_upgrade_node.sh on node e5cdd78e-bb0e-40b1-84dd-68a787a69ec0 (192.168.24.10) Thu May 24 18:57:48 EDT 2018 upgrade-non-controller.sh upgrade script /root/tripleo_upgrade_node.sh found on node e5cdd78e-bb0e-40b1-84dd-68a787a69ec0 (192.168.24.10) Thu May 24 18:57:49 EDT 2018 upgrade-non-controller.sh Executing /root/tripleo_upgrade_node.sh on 192.168.24.10 Delta RPMs disabled because /usr/bin/applydeltarpm not installed. Thu May 24 22:58:01 UTC 2018 yum update os-net-config return code: 0 [2018/05/24 10:58:01 PM] [INFO] Using config file at: /etc/os-net-config/config.json [2018/05/24 10:58:01 PM] [INFO] Using mapping file at: /etc/os-net-config/mapping.yaml [2018/05/24 10:58:01 PM] [INFO] Ifcfg net config provider created. [2018/05/24 10:58:01 PM] [INFO] nic3 mapped to: eth2 [2018/05/24 10:58:01 PM] [INFO] nic2 mapped to: eth1 [2018/05/24 10:58:01 PM] [INFO] nic1 mapped to: eth0 [2018/05/24 10:58:01 PM] [INFO] adding interface: eth0 [2018/05/24 10:58:01 PM] [INFO] adding custom route for interface: eth0 [2018/05/24 10:58:01 PM] [INFO] adding bridge: br-isolated [2018/05/24 10:58:01 PM] [INFO] adding interface: eth1 [2018/05/24 10:58:01 PM] [INFO] adding vlan: vlan20 [2018/05/24 10:58:01 PM] [INFO] adding vlan: vlan30 [2018/05/24 10:58:01 PM] [INFO] adding vlan: vlan50 [2018/05/24 10:58:01 PM] [INFO] adding interface: eth2 [2018/05/24 10:58:01 PM] [INFO] applying network configs... [2018/05/24 10:58:01 PM] [INFO] No changes required for interface: eth2 [2018/05/24 10:58:01 PM] [INFO] No changes required for interface: eth1 [2018/05/24 10:58:01 PM] [INFO] No changes required for interface: eth0 [2018/05/24 10:58:01 PM] [INFO] No changes required for vlan interface: vlan20 [2018/05/24 10:58:01 PM] [INFO] No changes required for vlan interface: vlan30 [2018/05/24 10:58:01 PM] [INFO] No changes required for vlan interface: vlan50 [2018/05/24 10:58:01 PM] [INFO] Writing config /etc/sysconfig/network-scripts/route-br-isolated [2018/05/24 10:58:01 PM] [INFO] Writing config /etc/sysconfig/network-scripts/ifcfg-br-isolated [2018/05/24 10:58:01 PM] [INFO] Writing config /etc/sysconfig/network-scripts/route6-br-isolated Thu May 24 22:58:01 UTC 2018 os-net-config: interface configuration files updated successfully Loaded plugins: product-id, search-disabled-repos, subscription-manager This system is not registered with an entitlement server. You can use subscription-manager to register. Metadata Cache Created systemctl try-restart openvswitch.service >/dev/null 2>&1 || : Manual upgrade of openvswitch - ovs-2.5.0-14 or restart in postun detected /home/heat-admin/OVS_UPGRADE /home/heat-admin Attempting to downloading latest openvswitch with yumdownloader Loaded plugins: product-id, subscription-manager This system is not registered with an entitlement server. You can use subscription-manager to register. --> Running transaction check ---> Package openvswitch.x86_64 0:2.9.0-19.el7fdp will be installed --> Finished Dependency Resolution Updating openvswitch-2.9.0-19.el7fdp.x86_64.rpm with --nopostun --notriggerun /home/heat-admin /root/tripleo_upgrade_node.sh: line 69: change_ovs_2_9_user: command not found [stack@undercloud-0 ~]$ Version-Release number of selected component (if applicable): openstack-tripleo-heat-templates-5.3.10-6.el7ost.noarch How reproducible: 100% Steps to Reproduce: 1. Upgrade OSP9 to latest OSP10 Actual results: Upgrade fails while upgrading compute node. Expected results: Upgrade completes fine. Additional info: Attaching tripleo_upgrade_node.sh script.
Created attachment 1441301 [details] tripleo_upgrade_node.sh
This might be a missing backport downstream. Assigned during the triage call, please feel free to un-assign it back.
extraconfig/tasks/major_upgrade_compute.sh and others missing declare for necessary functions
Fix packaged
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:2101