Bug 1726165 - [OSP15] After rebooting a node cloud-init fails to apply config due conflicting mac addresses
Summary: [OSP15] After rebooting a node cloud-init fails to apply config due conflicti...
Keywords:
Status: CLOSED DUPLICATE of bug 1768770
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 15.0 (Stein)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Kamil Sambor
QA Contact: Sasha Smolyak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-02 09:17 UTC by Michele Baldessari
Modified: 2020-01-28 07:16 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-28 07:16:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Michele Baldessari 2019-07-02 09:17:12 UTC
Description of problem:
Rebooted a compute node and saw the following error:
Jul  2 08:56:40 compute-0 cloud-init[1943]: 2019-07-02 08:56:40,913 - util.py[WARNING]: failed stage init                                                             
Jul  2 08:56:40 compute-0 cloud-init[1943]: failed run of stage init                                                                                                  
Jul  2 08:56:40 compute-0 cloud-init[1943]: ------------------------------------------------------------                                                              
Jul  2 08:56:40 compute-0 cloud-init[1943]: Traceback (most recent call last):                                                                                        
Jul  2 08:56:40 compute-0 cloud-init[1943]:  File "/usr/lib/python3.6/site-packages/cloudinit/cmd/main.py", line 655, in status_wrapper                               
Jul  2 08:56:40 compute-0 cloud-init[1943]:    ret = functor(name, args)                                                                                              
Jul  2 08:56:40 compute-0 cloud-init[1943]:  File "/usr/lib/python3.6/site-packages/cloudinit/cmd/main.py", line 361, in main_init                                    
Jul  2 08:56:40 compute-0 cloud-init[1943]:    init.apply_network_config(bring_up=bool(mode != sources.DSMODE_LOCAL))                                                 
Jul  2 08:56:40 compute-0 cloud-init[1943]:  File "/usr/lib/python3.6/site-packages/cloudinit/stages.py", line 635, in apply_network_config                           
Jul  2 08:56:40 compute-0 cloud-init[1943]:    netcfg, src = self._find_networking_config()                                                                           
Jul  2 08:56:40 compute-0 cloud-init[1943]:  File "/usr/lib/python3.6/site-packages/cloudinit/stages.py", line 622, in _find_networking_config                        
Jul  2 08:56:40 compute-0 cloud-init[1943]:    if self.datasource and hasattr(self.datasource, 'network_config'):                                                     
Jul  2 08:56:40 compute-0 cloud-init[1943]:  File "/usr/lib/python3.6/site-packages/cloudinit/sources/DataSourceConfigDrive.py", line 154, in network_config          
Jul  2 08:56:40 compute-0 cloud-init[1943]:    self.network_json, known_macs=self.known_macs)                                                                         
Jul  2 08:56:40 compute-0 cloud-init[1943]:  File "/usr/lib/python3.6/site-packages/cloudinit/sources/helpers/openstack.py", line 638, in convert_net_json            
Jul  2 08:56:40 compute-0 cloud-init[1943]:    known_macs = net.get_interfaces_by_mac()                                                                               
Jul  2 08:56:40 compute-0 cloud-init[1943]:  File "/usr/lib/python3.6/site-packages/cloudinit/net/__init__.py", line 551, in get_interfaces_by_mac                    
Jul  2 08:56:40 compute-0 cloud-init[1943]:    (name, ret[mac], mac))                                                                                                 
Jul  2 08:56:40 compute-0 cloud-init[1943]: RuntimeError: duplicate mac found! both 'eth1' and 'br-isolated' have mac '52:54:00:12:cc:94'                             
Jul  2 08:56:40 compute-0 cloud-init[1943]: ------------------------------------------------------------                                                              
Jul  2 08:56:40 compute-0 systemd[1]: cloud-init.service: Main process exited, code=exited, status=1/FAILURE


Version-Release number of selected component (if applicable):
RHOS_TRUNK-15.0-RHEL-8-20190627.n.0

Comment 4 Michele Baldessari 2020-01-28 07:16:40 UTC

*** This bug has been marked as a duplicate of bug 1768770 ***


Note You need to log in before you can comment on or make changes to this bug.