After patching and upgrading to RHEL 7.7, MAC address doesn't change when we do a DR test

Solution In Progress - Updated -

Issue

  • When we patch out RHEL 7 server from 7.6 to 7.7, we noticed that when we copy the data of our server to another server for our DR testing, the DR server doesn't boot up and after looking at the faulty DR root volume, we see that the MAC address in /etc/sysconfig/network-scripts/ifcfg-eth0 did not change properly.

  • We want to know what is causing this issue after we upgrade to RHEL 7.7

  • The following errors are witnessed in journalctl --no-pager --catalog--boot:

Oct 04 14:57:42 localhost.localdomain cloud-init[952]: Traceback (most recent call last):
Oct 04 14:57:42 localhost.localdomain cloud-init[952]: File "/usr/bin/cloud-init", line 9, in <module>
Oct 04 14:57:42 localhost.localdomain cloud-init[952]: load_entry_point('cloud-init==18.5', 'console_scripts', 'cloud-init')()
Oct 04 14:57:42 localhost.localdomain systemd[1]: cloud-init-local.service: main process exited, code=exited, status=1/FAILURE
Oct 04 14:57:42 localhost.localdomain cloud-init[952]: File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 378, in load_entry_point
Oct 04 14:57:42 localhost.localdomain cloud-init[952]: return get_distribution(dist).load_entry_point(group, name)
Oct 04 14:57:42 localhost.localdomain cloud-init[952]: File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2566, in load_entry_point
Oct 04 14:57:42 localhost.localdomain cloud-init[952]: return ep.load()
Oct 04 14:57:43 localhost.localdomain cloud-init[952]: File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2260, in load
Oct 04 14:57:43 localhost.localdomain cloud-init[952]: entry = __import__(self.module_name, globals(),globals(), ['__name__'])
Oct 04 14:57:43 localhost.localdomain cloud-init[952]: File "/usr/lib/python2.7/site-packages/cloudinit/cmd/main.py", line 26, in <module>
Oct 04 14:57:43 localhost.localdomain cloud-init[952]: from cloudinit import netinfo
Oct 04 14:57:43 localhost.localdomain cloud-init[952]: File "/usr/lib/python2.7/site-packages/cloudinit/netinfo.py", line 15, in <module>
Oct 04 14:57:43 localhost.localdomain cloud-init[952]: from cloudinit.net.network_state import net_prefix_to_ipv4_mask
Oct 04 14:57:43 localhost.localdomain cloud-init[952]: File "/usr/lib/python2.7/site-packages/cloudinit/net/__init__.py", line 13, in <module>
Oct 04 14:57:43 localhost.localdomain cloud-init[952]: from cloudinit.net.network_state import mask_to_net_prefix
Oct 04 14:57:43 localhost.localdomain cloud-init[952]: File "/usr/lib/python2.7/site-packages/cloudinit/net/network_state.py", line 15, in <module>
Oct 04 14:57:43 localhost.localdomain cloud-init[952]: from cloudinit import util
Oct 04 14:57:43 localhost.localdomain cloud-init[952]: File "/usr/lib/python2.7/site-packages/cloudinit/util.py", line 49, in <module>
Oct 04 14:57:43 localhost.localdomain cloud-init[952]: from cloudinit import url_helper
Oct 04 14:57:43 localhost.localdomain cloud-init[952]: File "/usr/lib/python2.7/site-packages/cloudinit/url_helper.py", line 13, in <module>
Oct 04 14:57:43 localhost.localdomain cloud-init[952]: import requests
Oct 04 14:57:43 localhost.localdomain cloud-init[952]: File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 58, in <module>
Oct 04 14:57:43 localhost.localdomain cloud-init[952]: from . import utils
Oct 04 14:57:43 localhost.localdomain cloud-init[952]: File "/usr/lib/python2.7/site-packages/requests/utils.py", line 32, in <module>
Oct 04 14:57:43 localhost.localdomain cloud-init[952]: from .exceptions import InvalidURL
Oct 04 14:57:43 localhost.localdomain cloud-init[952]: File "/usr/lib/python2.7/site-packages/requests/exceptions.py", line 10, in <module>
Oct 04 14:57:43 localhost.localdomain cloud-init[952]: from .packages.urllib3.exceptions import HTTPError as BaseHTTPError
Oct 04 14:57:43 localhost.localdomain cloud-init[952]: File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 95, in load_module
Oct 04 14:57:43 localhost.localdomain cloud-init[952]: raise ImportError("No module named '%s'" % (name,))
Oct 04 14:57:43 localhost.localdomain cloud-init[952]: ImportError: No module named 'requests.packages.urllib3'
Oct 04 14:57:43 localhost.localdomain kernel: IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Oct 04 14:57:42 localhost.localdomain systemd[1]: Failed to start Initial cloud-init job (pre-networking).

Environment

  • Red Hat Enterprise Linux 7.7 (RHEL)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content