Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1768770

Summary: cloud-init complaining about enslaved mac
Product: Red Hat Enterprise Linux 8 Reporter: Attila Fazekas <afazekas>
Component: cloud-initAssignee: Eduardo Otubo <eterrell>
Status: CLOSED ERRATA QA Contact: xiachen
Severity: unspecified Docs Contact:
Priority: high    
Version: ---CC: bfournie, dhill, eterrell, huzhao, jgreguske, knoel, laxen44711, ldenny, linl, ltamagno, michele, ravsingh, ribarry, sbaker, yacao, yuxisun
Target Milestone: rcKeywords: OtherQA
Target Release: ---Flags: knoel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cloud-init-18.5-11.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1802152 (view as bug list) Environment:
Last Closed: 2020-04-28 16:03:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1791949, 1795383, 1802152    

Description Attila Fazekas 2019-11-05 08:50:10 UTC
tripleo overcloud compute node after reboot:

[   29.820617] cloud-init[2398]: Cloud-init v. 18.5 running 'init' at Tue, 05 Nov 2019 08:07:03 +0000. Up 29.69 seconds.
[   29.820920] cloud-init[2398]: ci-info: +++++++++++++++++++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++++++++++++++++++
[   29.821070] cloud-init[2398]: ci-info: +----------------+-------+------------------------------+---------------+--------+-------------------+
[   29.821144] cloud-init[2398]: ci-info: |     Device     |   Up  |           Address            |      Mask     | Scope  |     Hw-Address    |
[   29.821213] cloud-init[2398]: ci-info: +----------------+-------+------------------------------+---------------+--------+-------------------+
[   29.821364] cloud-init[2398]: ci-info: |     br-ex      |  True |  fe80::5054:ff:fea9:c684/64  |       .       |  link  | 52:54:00:a9:c6:84 |
[   29.821507] cloud-init[2398]: ci-info: |     br-int     | False |              .               |       .       |   .    | f6:1e:7b:42:49:43 |
[   29.821599] cloud-init[2398]: ci-info: |  br-isolated   |  True |  fe80::5054:ff:feb4:aab6/64  |       .       |  link  | 52:54:00:b4:aa:b6 |
[   29.821776] cloud-init[2398]: ci-info: |      ens3      |  True |        192.168.24.15         | 255.255.255.0 | global | 52:54:00:92:25:72 |
[   29.821951] cloud-init[2398]: ci-info: |      ens3      |  True |  fe80::5054:ff:fe92:2572/64  |       .       |  link  | 52:54:00:92:25:72 |
[   29.822572] cloud-init[2398]: ci-info: |      ens4      |  True |  fe80::5054:ff:feb4:aab6/64  |       .       |  link  | 52:54:00:b4:aa:b6 |
[   29.822840] cloud-init[2398]: ci-info: |      ens5      |  True |  fe80::5054:ff:fea9:c684/64  |       .       |  link  | 52:54:00:a9:c6:84 |
[   29.822995] cloud-init[2398]: ci-info: | genev_sys_6081 |  True | fe80::d4a9:b6ff:febf:22f5/64 |       .       |  link  | d6:a9:b6:bf:22:f5 |
[   29.823138] cloud-init[2398]: ci-info: |       lo       |  True |          127.0.0.1           |   255.0.0.0   |  host  |         .         |
[   29.823534] cloud-init[2398]: ci-info: |       lo       |  True |           ::1/128            |       .       |  host  |         .         |
[   29.823809] cloud-init[2398]: ci-info: |   ovs-system   | False |              .               |       .       |   .    | 62:fc:dd:82:60:63 |
[   29.824288] cloud-init[2398]: ci-info: |     vlan20     |  True |         172.17.1.59          | 255.255.255.0 | global | f6:4a:a5:0b:6f:25 |
[   29.824517] cloud-init[2398]: ci-info: |     vlan20     |  True | fe80::f44a:a5ff:fe0b:6f25/64 |       .       |  link  | f6:4a:a5:0b:6f:25 |
[   29.824831] cloud-init[2398]: ci-info: |     vlan30     |  True |         172.17.3.65          | 255.255.255.0 | global | 96:bd:0f:cd:45:38 |
[   29.824911] cloud-init[2398]: ci-info: |     vlan30     |  True | fe80::94bd:fff:fecd:4538/64  |       .       |  link  | 96:bd:0f:cd:45:38 |
[   29.825208] cloud-init[2398]: ci-info: |     vlan50     |  True |         172.17.2.79          | 255.255.255.0 | global | 9a:99:1e:1c:e5:b0 |
[   29.825437] cloud-init[2398]: ci-info: |     vlan50     |  True | fe80::9899:1eff:fe1c:e5b0/64 |       .       |  link  | 9a:99:1e:1c:e5:b0 |
[   29.825703] cloud-init[2398]: ci-info: +----------------+-------+------------------------------+---------------+--------+-------------------+
[   29.825955] cloud-init[2398]: ci-info: ++++++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++++++++
[   29.826574] cloud-init[2398]: ci-info: +-------+-----------------+--------------+-----------------+-----------+-------+
[   29.826893] cloud-init[2398]: ci-info: | Route |   Destination   |   Gateway    |     Genmask     | Interface | Flags |
[   29.826992] cloud-init[2398]: ci-info: +-------+-----------------+--------------+-----------------+-----------+-------+
[   29.827375] cloud-init[2398]: ci-info: |   0   |     0.0.0.0     | 192.168.24.1 |     0.0.0.0     |    ens3   |   UG  |
[   29.827717] cloud-init[2398]: ci-info: |   1   | 169.254.169.254 | 192.168.24.1 | 255.255.255.255 |    ens3   |  UGH  |
[   29.827988] cloud-init[2398]: ci-info: |   2   |    172.17.1.0   |   0.0.0.0    |  255.255.255.0  |   vlan20  |   U   |
[   29.828381] cloud-init[2398]: ci-info: |   3   |    172.17.2.0   |   0.0.0.0    |  255.255.255.0  |   vlan50  |   U   |
[   29.828612] cloud-init[2398]: ci-info: |   4   |    172.17.3.0   |   0.0.0.0    |  255.255.255.0  |   vlan30  |   U   |
[   29.828691] cloud-init[2398]: ci-info: |   5   |   192.168.24.0  |   0.0.0.0    |  255.255.255.0  |    ens3   |   U   |
[   29.828912] cloud-init[2398]: ci-info: +-------+-----------------+--------------+-----------------+-----------+-------+
[   29.829428] cloud-init[2398]: ci-info: +++++++++++++++++++++++++++++++++Route IPv6 info++++++++++++++++++++++++++++++++++
[   29.829607] cloud-init[2398]: ci-info: +-------+---------------------+-------------------------+----------------+-------+
[   29.829867] cloud-init[2398]: ci-info: | Route |     Destination     |         Gateway         |   Interface    | Flags |
[   29.829986] cloud-init[2398]: ci-info: +-------+---------------------+-------------------------+----------------+-------+
[   29.830280] cloud-init[2398]: ci-info: |   9   | 2620:52:0:13b8::/64 |            ::           |     br-ex      |   Ue  |
[   29.830589] cloud-init[2398]: ci-info: |   11  |      fe80::/64      |            ::           | genev_sys_6081 |   U   |
[   29.830770] cloud-init[2398]: ci-info: |   12  |      fe80::/64      |            ::           |     br-ex      |   U   |
[   29.830965] cloud-init[2398]: ci-info: |   13  |      fe80::/64      |            ::           |  br-isolated   |   U   |
[   29.831266] cloud-init[2398]: ci-info: |   14  |      fe80::/64      |            ::           |      ens3      |   U   |
[   29.831546] cloud-init[2398]: ci-info: |   15  |      fe80::/64      |            ::           |      ens4      |   U   |
[   29.831710] cloud-init[2398]: ci-info: |   16  |      fe80::/64      |            ::           |      ens5      |   U   |
[   29.831850] cloud-init[2398]: ci-info: |   17  |      fe80::/64      |            ::           |     vlan20     |   U   |
[   29.832062] cloud-init[2398]: ci-info: |   18  |      fe80::/64      |            ::           |     vlan30     |   U   |
[   29.832170] cloud-init[2398]: ci-info: |   19  |      fe80::/64      |            ::           |     vlan50     |   U   |
[   29.832244] cloud-init[2398]: ci-info: |   20  |         ::/0        | fe80::5054:ff:fe46:cc55 |     br-ex      |  UGe  |
[   29.832489] cloud-init[2398]: ci-info: |   22  |        local        |            ::           |      ens3      |   U   |
[   29.832636] cloud-init[2398]: ci-info: |   23  |        local        |            ::           |     br-ex      |   U   |
[   29.832809] cloud-init[2398]: ci-info: |   24  |        local        |            ::           |      ens5      |   U   |
[   29.832966] cloud-init[2398]: ci-info: |   25  |        local        |            ::           |  br-isolated   |   U   |
[   29.833260] cloud-init[2398]: ci-info: |   26  |        local        |            ::           |      ens4      |   U   |
[   29.833471] cloud-init[2398]: ci-info: |   27  |        local        |            ::           |     vlan30     |   U   |
[   29.833761] cloud-init[2398]: ci-info: |   28  |        local        |            ::           |     vlan50     |   U   |
[   29.833854] cloud-init[2398]: ci-info: |   29  |        local        |            ::           | genev_sys_6081 |   U   |
[   29.833988] cloud-init[2398]: ci-info: |   30  |        local        |            ::           |     vlan20     |   U   |
[   29.834300] cloud-init[2398]: ci-info: |   31  |       ff00::/8      |            ::           | genev_sys_6081 |   U   |
[   29.834510] cloud-init[2398]: ci-info: |   32  |       ff00::/8      |            ::           |     br-ex      |   U   |
[   29.834674] cloud-init[2398]: ci-info: |   33  |       ff00::/8      |            ::           |  br-isolated   |   U   |
[   29.834897] cloud-init[2398]: ci-info: |   34  |       ff00::/8      |            ::           |      ens3      |   U   |
[   29.835136] cloud-init[2398]: ci-info: |   35  |       ff00::/8      |            ::           |      ens4      |   U   |
[   29.835427] cloud-init[2398]: ci-info: |   36  |       ff00::/8      |            ::           |      ens5      |   U   |
[   29.835713] cloud-init[2398]: ci-info: |   37  |       ff00::/8      |            ::           |     vlan20     |   U   |
[   29.836080] cloud-init[2398]: ci-info: |   38  |       ff00::/8      |            ::           |     vlan30     |   U   |
[   29.836360] cloud-init[2398]: ci-info: |   39  |       ff00::/8      |            ::           |     vlan50     |   U   |
[   29.836814] cloud-init[2398]: ci-info: +-------+---------------------+-------------------------+----------------+-------+
[   29.836956] cloud-init[2398]: 2019-11-05 08:07:03,878 - util.py[WARNING]: failed stage init
[   29.837145] cloud-init[2398]: failed run of stage init
[   29.837373] cloud-init[2398]: ------------------------------------------------------------
[   29.837605] cloud-init[2398]: Traceback (most recent call last):
[   29.837781] cloud-init[2398]:   File "/usr/lib/python3.6/site-packages/cloudinit/cmd/main.py", line 652, in status_wrapper
[   29.837973] cloud-init[2398]:     ret = functor(name, args)
[   29.838194] cloud-init[2398]:   File "/usr/lib/python3.6/site-packages/cloudinit/cmd/main.py", line 362, in main_init
[   29.838468] cloud-init[2398]:     init.apply_network_config(bring_up=bool(mode != sources.DSMODE_LOCAL))
[   29.838637] cloud-init[2398]:   File "/usr/lib/python3.6/site-packages/cloudinit/stages.py", line 649, in apply_network_config
[   29.838796] cloud-init[2398]:     netcfg, src = self._find_networking_config()
[   29.838929] cloud-init[2398]:   File "/usr/lib/python3.6/site-packages/cloudinit/stages.py", line 636, in _find_networking_config
[   29.839167] cloud-init[2398]:     if self.datasource and hasattr(self.datasource, 'network_config'):
[   29.839398] cloud-init[2398]:   File "/usr/lib/python3.6/site-packages/cloudinit/sources/DataSourceConfigDrive.py", line 155, in network_config
[   29.839566] cloud-init[2398]:     self.network_json, known_macs=self.known_macs)
[   29.839747] cloud-init[2398]:   File "/usr/lib/python3.6/site-packages/cloudinit/sources/helpers/openstack.py", line 655, in convert_net_json
[   29.839851] cloud-init[2398]:     known_macs = net.get_interfaces_by_mac()
[   29.840107] cloud-init[2398]:   File "/usr/lib/python3.6/site-packages/cloudinit/net/__init__.py", line 596, in get_interfaces_by_mac
[   29.840301] cloud-init[2398]:     (name, ret[mac], mac))
[   29.840437] cloud-init[2398]: RuntimeError: duplicate mac found! both 'br-isolated' and 'ens4' have mac '52:54:00:b4:aa:b6'
[   29.840624] cloud-init[2398]: ------------------------------------------------------------

br-isolated is an ovs bridge which got the mac from an enslaved interface.

Similar bugs:
https://bugs.launchpad.net/cloud-init/+bug/1812857
https://bugs.launchpad.net/cloud-init/+bug/1844191

cloud-init-18.5-4.el8.noarch

Enslaved interface's macs should not case error.

osp16 triple-heat-* packages were responsible for the configuration.

Comment 4 Michele Baldessari 2020-01-28 07:16:40 UTC
*** Bug 1726165 has been marked as a duplicate of this bug. ***

Comment 20 Huijuan Zhao 2020-02-21 01:19:39 UTC
Michele, thank you very much for your so quickly test and update :) It's great the new build works well.

Change the status to VERIFIED according to Michele's testing results in comment 19.

Comment 22 errata-xmlrpc 2020-04-28 16:03:14 UTC
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-2020:1719

Comment 23 David Hill 2020-06-02 15:31:47 UTC
*** Bug 1843031 has been marked as a duplicate of this bug. ***

Comment 24 xiachen 2021-09-16 02:29:51 UTC
Raised a GSS rule for this bug.
https://issues.redhat.com/browse/CEECBA-5806

Comment 27 Sana Han 2022-12-19 04:26:05 UTC
https://waffleunlimited.com is a hot word game. Different from the daily version. Waffle offers an unlimited version that you can play until you get bored. Your task is based on the characters given in the box. Change the position of the characters so that all the vertical and horizontal rows of the row align into meaningful words. You have 15 moves. After 15 attempts, if it fails to move the characters to the correct position, the game will end.