Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-9787

os-net-config not configuring the storage network ip on its interface

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • os-net-config
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • ?
    • ?
    • None
    • Important

      Hi Folks,
      I have deployed 250 nodes with RHOSO 18.0 GA and notice that the storage ip (range 172.20.0.1/16) didn't get configured on the interface ens2f0n0 and so the compute services are down as it unable to connect to the ceph mon

      nodeset snippet

              edpm_network_config_template: |
                ---
                network_config:
                - type: vlan
                  device: ens1f1
                  vlan_id: 17
                  addresses:
                  - ip_netmask: {{ internalapi_ip }}/{{ internalapi_cidr }}
                - type: interface
                  name: ens2f0np0
                  addresses:
                  - ip_netmask: {{ storage_ip }}/{{ storage_cidr }}
                - type: interface
                  name: ens1f1
                  use_dhcp: false
                  dns_servers: {{ ctlplane_dns_nameservers }}
                  domain: {{ dns_search_domains }}
                  addresses:
                  - ip_netmask: {{ ctlplane_ip }}/{{ ctlplane_cidr }}
                  routes: []
                - type: ovs_bridge
                  name: br-ex
                  use_dhcp: false
                  dns_servers: {{ ctlplane_dns_nameservers }}
                  domain: {{ dns_search_domains }}
                  members:
                  - type: interface
                    name: ens2f1np1
                    primary: true
                  - type: vlan
                    vlan_id: 19
                    addresses:
                    - ip_netmask: {{ external_ip }}/{{ external_cidr }}
                  - type: vlan
                    vlan_id: 18
                    addresses:
                    - ip_netmask: {{ tenant_ip }}/{{ tenant_cidr }} 

      os-net-config

      ---
      network_config:
      - type: vlan
        device: ens1f1
        vlan_id: 17
        addresses:
        - ip_netmask: 172.17.0.205/16
      - type: interface
        name: ens2f0np0
        addresses:
        - ip_netmask: 172.20.0.205/16
      - type: interface
        name: ens1f1
        use_dhcp: false
        dns_servers: ['172.16.0.120']
        domain: ['ctlplane.example.com', 'internalapi.example.com', 'storage.example.com', 'tenant.example.com', 'external.example.com']
        addresses:
        - ip_netmask: 172.16.0.205/16
        routes: []
      - type: ovs_bridge
        name: br-ex
        use_dhcp: false
        dns_servers: ['172.16.0.120']
        domain: ['ctlplane.example.com', 'internalapi.example.com', 'storage.example.com', 'tenant.example.com', 'external.example.com']
        members:
        - type: interface
          name: ens2f1np1
          primary: true
        - type: vlan
          vlan_id: 19
          addresses:
          - ip_netmask: 172.19.1.56/16
        - type: vlan
          vlan_id: 18
          addresses:
          - ip_netmask: 172.18.0.205/16 

      On the interface ens2f0np0

      [cloud-admin@edpm-compute-r650-1 ~]$ ip a| grep -i ens2f0
      6: ens2f0np0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 

       

      [cloud-admin@edpm-compute-r650-1 ~]$ cat /etc/sysconfig/network-scripts/ifcfg-ens2f0np0 
      # This file is autogenerated by os-net-config
      DEVICE=ens2f0np0
      ONBOOT=yes
      HOTPLUG=no
      NM_CONTROLLED=no
      PEERDNS=no
      BOOTPROTO=static
      IPADDR=172.20.0.205
      NETMASK=255.255.0.0 

       

              rhn-engineering-dsneddon Dan Sneddon
              asyedham@redhat.com Asma Suhani Syed Hameed
              rhos-dfg-nfv
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: