Network configuration was changed unexpectedly on an overcloud node

Solution Verified - Updated -

Issue

  • Network configuration was changed unexpectedly on an overcloud node.
    Previous configuration was generated by os-net-config while current configuration was generated by cloud-init.

    (Previous Configuration of /etc/sysconfig/network-scripts/ifcfg-eth0)
    # This file is autogenerated by os-net-config
    DEVICE=eth0
    ONBOOT=yes
    HOTPLUG=no
    NM_CONTROLLED=no
    PEERDNS=no
    MASTER=bond0
    SLAVE=yes
    BOOTPROTO=none
    MTU=9000
    
    (Current Configuration of /etc/sysconfig/network-scripts/ifcfg-eth0)
    # Created by cloud-init on instance boot automatically, do not edit.
    #
    BOOTPROTO=none
    DEFROUTE=yes
    DEVICE=eth0
    GATEWAY=10.0.0.1
    HWADDR=00:00:00:00:00:aa
    IPADDR=10.0.0.2
    MTU=9000
    NETMASK=255.255.255.0
    ONBOOT=yes
    STARTMODE=auto
    TYPE=Ethernet
    USERCTL=no
    
  • SSH connection to the overcloud node is frequently disconnected by Broken pipe.

    $ ssh -vvv heat-admin@compute-0
    packet_write_wait: Connection to 10.0.0.2 port 22: Broken pipe
    

Environment

  • Red Hat OpenStack Platform 13

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