Description of problem: During the undercloud upgrade we are required to run a playbook that renames all eth* interfaces. As a result what was eth1 in OPS13 is now em1. The undercloud .conf has been updated with "local_interface = em1" and all the steps have been followed. Leapp upgrade has been successfully done on the director and all repos updated. Version-Release number of selected component (if applicable): How reproducible: Very reproducible Steps to Reproduce: 1. Follow the steps in https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.1/html-single/framework_for_upgrades_13_to_16.1/index 2. run openstack undercloud upgrade Actual results: Fails, with this error: 2021-03-30 17:43:57.513 57585 WARNING tripleoclient.v1.tripleo_deploy.Deploy [ ] Tuesday 30 March 2021 17:43:57 -0400 (0:00:00.341) 0:01:11.959 ********* 2021-03-30 17:43:59.337 57585 WARNING tripleoclient.v1.tripleo_deploy.Deploy [ ] fatal: [director13]: FAILED! => {"changed": false, "cmd": ["os-net-config", "--no-activate", "-c", "/etc/os-net-config/config.json", "-v", "--detailed-exit-codes"], "delta": "0:00:01.504492", "end": "2021-03-30 17:43:59.263118", "failed_when_result": true, "msg": "non-zero return code", "rc": 1, "start": "2021-03-30 17:43:57.758626", "stderr": "[2021/03/30 05:43:58 PM] [INFO] Using config file at: /etc/os-net-config/config.json\n[2021/03/30 05:43:58 PM] [INFO] Ifcfg net config provider created.\n[2021/03/30 05:43:58 PM] [INFO] Not using any mapping file.\n[2021/03/30 05:43:59 PM] [INFO] Finding active nics\n[2021/03/30 05:43:59 PM] [INFO] em1 is an embedded active nic\n[2021/03/30 05:43:59 PM] [INFO] br-int is not an active nic\n[2021/03/30 05:43:59 PM] [INFO] vxlan_sys_8472 is not an active nic\n[2021/03/30 05:43:59 PM] [INFO] em0 is an embedded active nic\n[2021/03/30 05:43:59 PM] [INFO] ovs-system is not an active nic\n[2021/03/30 05:43:59 PM] [INFO] lo is not an active nic\n[2021/03/30 05:43:59 PM] [INFO] br-ctlplane is not an active nic\n[2021/03/30 05:43:59 PM] [INFO] No DPDK mapping available in path (/var/lib/os-net-config/dpdk_mapping.yaml)\n[2021/03/30 05:43:59 PM] [INFO] Active nics are ['em0', 'em1']\n[2021/03/30 05:43:59 PM] [INFO] nic1 mapped to: em0\n[2021/03/30 05:43:59 PM] [INFO] nic2 mapped to: em1\n[2021/03/30 05:43:59 PM] [INFO] adding bridge: br-ctlplane\n[2021/03/30 05:43:59 PM] [ERROR] Unable to read mac address: eth1\nTraceback (most recent call last):\n File \"/bin/os-net-config\", line 10, in <module>\n sys.exit(main())\n File \"/usr/lib/python3.6/site-packages/os_net_config/cli.py\", line 343, in main\n provider.add_object(obj)\n File \"/usr/lib/python3.6/site-packages/os_net_config/__init__.py\", line 64, in add_object\n self.add_bridge(obj)\n File \"/usr/lib/python3.6/site-packages/os_net_config/impl_ifcfg.py\", line 802, in add_bridge\n data = self._add_common(bridge)\n File \"/usr/lib/python3.6/site-packages/os_net_config/impl_ifcfg.py\", line 470, in _add_common\n mac = utils.interface_mac(base_opt.primary_interface_name)\n File \"/usr/lib/python3.6/site-packages/os_net_config/utils.py\", line 120, in interface_mac\n with open(_SYS_CLASS_NET + '/%s/address' % name, 'r') as f:\nFileNotFoundError: [Errno 2] No such file or directory: '/sys/class/net/eth1/address'", "stderr_lines": ["[2021/03/30 05:43:58 PM] [INFO] Using config file at: /etc/os-net-config/config.json", "[2021/03/30 05:43:58 PM] [INFO] Ifcfg net config provider created.", "[2021/03/30 05:43:58 PM] [INFO] Not using any mapping file.", "[2021/03/30 05:43:59 PM] [INFO] Finding active nics", "[2021/03/30 05:43:59 PM] [INFO] em1 is an embedded active nic", "[2021/03/30 05:43:59 PM] [INFO] br-int is not an active nic", "[2021/03/30 05:43:59 PM] [INFO] vxlan_sys_8472 is not an active nic", "[2021/03/30 05:43:59 PM] [INFO] em0 is an embedded active nic", "[2021/03/30 05:43:59 PM] [INFO] ovs-system is not an active nic", "[2021/03/30 05:43:59 PM] [INFO] lo is not an active nic", "[2021/03/30 05:43:59 PM] [INFO] br-ctlplane is not an active nic", "[2021/03/30 05:43:59 PM] [INFO] No DPDK mapping available in path (/var/lib/os-net-config/dpdk_mapping.yaml)", "[2021/03/30 05:43:59 PM] [INFO] Active nics are ['em0', 'em1']", "[2021/03/30 05:43:59 PM] [INFO] nic1 mapped to: em0", "[2021/03/30 05:43:59 PM] [INFO] nic2 mapped to: em1", "[2021/03/30 05:43:59 PM] [INFO] adding bridge: br-ctlplane", "[2021/03/30 05:43:59 PM] [ERROR] Unable to read mac address: eth1", "Traceback (most recent call last):", " File \"/bin/os-net-config\", line 10, in <module>", " sys.exit(main())", " File \"/usr/lib/python3.6/site-packages/os_net_config/cli.py\", line 343, in main", " provider.add_object(obj)", " File \"/usr/lib/python3.6/site-packages/os_net_config/__init__.py\", line 64, in add_object", " self.add_bridge(obj)", " File \"/usr/lib/python3.6/site-packages/os_net_config/impl_ifcfg.py\", line 802, in add_bridge", " data = self._add_common(bridge)", " File \"/usr/lib/python3.6/site-packages/os_net_config/impl_ifcfg.py\", line 470, in _add_common", " mac = utils.interface_mac(base_opt.primary_interface_name)", " File \"/usr/lib/python3.6/site-packages/os_net_config/utils.py\", line 120, in interface_mac", " with open(_SYS_CLASS_NET + '/%s/address' % name, 'r') as f:", "FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/net/eth1/address'"], "stdout": "", "stdout_lines": []} https://access.redhat.com/support/cases/#/case/02906856/discussion?commentId=a0a2K00000Zz3QTQAZ Top recommendations FFU 13 to 16.1 fails with error 'Cannot find config file: /etc/puppet/hiera.yaml' when starting up containers - Containers fail to start during Undercloud/Overcloud FFU from OSP13 to OSP16.1- The… FFU from OSP13 to OSP16 fails on openstack overcloud upgrade run - Unable to proceed with the FFU from OSP13 to OSP16.1 OSP13: Update of galera failed after of change in namespace in the container images. OSP13 Galera update fails after a namespace change in the container image definition. (RHBA-2020:3542) Red Hat OpenStack Platform 16.1 director bug fix advisory Red Hat OpenStack Platform provides the facilities for building, deploying and monitoring a private or public infrastructure… Migrate from LBaaS v2 to Octavia during Fast Forward Upgrade (OSP 10 to 13) - How to migrate from from LBaaS v2 to Octavia during Fast Forward Upgrade.- Maintain current LBaaS v2 load balancers during… 1 - 5 of 50 1 of 10 Case escalation Request a management escalation if your issue: Isn't being resolved appropriately Needs a senior resource Is more severe or should be a higher priority After submitting, your case will be reviewed by a support manager. QUICK LINKS Downloads Subscriptions Support Cases Customer Service Product Documentation HELP Contact Us Customer Portal FAQ Log-in Assistance SITE INFO Trust Red Hat Browser Support Policy Accessibility Awards and Recognition Colophon RELATED SITES redhat.com openshift.com developers.redhat.com connect.redhat.com cloud.redhat.com ABOUT Red Hat Subscription Value Expected results: Step succeeds. Additional info:
*** This bug has been marked as a duplicate of bug 1945861 ***