Bug 2139879

Summary: 'ERROR: os-net-config configuration failed
Product: Red Hat OpenStack Reporter: myadla
Component: os-net-configAssignee: OSP Team <rhos-maint>
Status: NEW --- QA Contact: Nobody <nobody>
Severity: high Docs Contact:
Priority: unspecified    
Version: 16.2 (Train)CC: bfournie, cfontain, chrisw, elicohen, hakhande, hbrock, jslagle, mburns, mtomaska, scohen
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description myadla 2022-11-03 16:57:48 UTC
Description of problem:
Network Configuration error while deploying 16.2 overcloud on baremetal cluster

failure log:
http://rhos-ci-logs.lab.eng.tlv2.redhat.com/logs/rcj/DFG-enterprise-baremetal-scenario-16.2-3control_2compute_1freeipavm_externalceph-anycluster_tls/134/sealusa39.mobius.lab.eng.rdu2.redhat.com/home/stack/overcloud_install.log.gz

        "[2022/10/31 05:31:46 PM] [ERROR] Failure(s) occurred when applying configuration",
        "[2022/10/31 05:31:46 PM] [ERROR] stdout: ERROR     : [/etc/sysconfig/network-scripts/ifup-eth] Error, some other host (00:00:00:00:00:00) already uses address 172.16.2.47.",
        ", stderr: WARN      : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.",
        "WARN      : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.",
        "WARN      : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.",
        "",
        "[2022/10/31 05:31:46 PM] [ERROR] stdout: ERROR     : [/etc/sysconfig/network-scripts/ifup-eth] Error, some other host (FA:9A:1E:BC:D9:75) already uses address 172.16.2.47.",
        ", stderr: WARN      : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.",
        "WARN      : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.",
        "WARN      : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.",
        "",
        "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 350, in main",
        "    activate=not opts.no_activate)",
        "  File \"/usr/lib/python3.6/site-packages/os_net_config/impl_ifcfg.py\", line 1845, in apply",
        "    raise os_net_config.ConfigurationError(message)",
        "os_net_config.ConfigurationError: Failure(s) occurred when applying configuration",
        "+ RETVAL=1",
        "+ set -e",
        "+ [[ 1 == 2 ]]",
        "+ [[ 1 != 0 ]]",
        "+ echo 'ERROR: os-net-config configuration failed.'",
        "ERROR: os-net-config configuration failed.",

2022-10-31 21:32:36.725536 | 246e96c8-fa00-cdbb-5028-00000000005b |       TASK | NetworkConfig stdout
2022-10-31 21:32:36.785036 | 246e96c8-fa00-cdbb-5028-00000000005b |      FATAL | NetworkConfig stdout | controller-2 | error={
    "NetworkConfig_result.stderr_lines": [


Version-Release number of selected component (if applicable):
16.2

How reproducible:
100%

Steps to Reproduce:
1. Deploy openstack 16.0 in jenkins
https://rhos-ci-jenkins.lab.eng.tlv2.redhat.com/view/DFG/view/enterprise/view/scenario/job/DFG-enterprise-baremetal-scenario-16.2-3control_2compute_1freeipavm_externalceph-anycluster_tls/134/consoleFull
2. At the stage "Overcloud", deployment failed with error

Actual results: overcloud deployment is failing


Expected results: overcloud stage should pass


Additional info: