BMYPC6017

No redundancy for uplink port.

Error condition

No redundancy for uplink port. The uplink port of a switch is either down or not configured.

Severity

Critical

User response

  1. Change the project to ibm-spectrum-fusion-ns.
    oc project ibm-spectrum-fusion-ns 
  2. Run the following example command to fetch the switch up:
    oc get switch hspeed2-rackc -o yaml | grep switchIpadress
    Example output:
    switchIpadress: fd8c:215d:178e:c0de:1e34:daff:feb2:eb00
  3. Run the following example command to get the switch credentials:
    oc get secret | grep hspeed2-rackc
    hspeed2-rackc-licensesecret                                       Opaque                                1      31d
    hspeed2-rackc-secret                     
    oc get secret hspeed2-rackc-secret -o yaml | grep SVNGVVNFUg==
      isfmgmtUserName: SVNGVVNFUg==
    oc get secret hspeed2-rackc-secret -o yaml | grep NEdTbGRwckxkNw==
      isfmgmtUserPasswrd: NEdTbGRwckxkNw==
  4. Decode the username and password that is obtained from the previous commands.
    echo <username/password> | base64 --decode
  5. Log in to the switch by using the following steps. Use username and password that you got from the previous step 3 after decoding.
    oc get nodes
    Example output:
    NAME                                           STATUS     ROLES                  AGE   VERSION
    compute-1-ru23.isf-rackc.rtp.raleigh.ibm.com   Ready      worker                 30d   v1.27.10+28ed2d7
    compute-1-ru25.isf-rackc.rtp.raleigh.ibm.com   Ready      worker                 30d   v1.27.10+28ed2d7
    compute-1-ru27.isf-rackc.rtp.raleigh.ibm.com   Ready      worker                 30d   v1.27.10+28ed2d7
    compute-1-ru5.isf-rackc.rtp.raleigh.ibm.com    Ready      worker                 30d   v1.27.10+28ed2d7
    compute-1-ru6.isf-rackc.rtp.raleigh.ibm.com    Ready      worker                 30d   v1.27.10+28ed2d7
    compute-1-ru7.isf-rackc.rtp.raleigh.ibm.com    NotReady   worker                 30d   v1.27.10+28ed2d7
    control-1-ru2.isf-rackc.rtp.raleigh.ibm.com    Ready      control-plane,master   31d   v1.27.10+28ed2d7
    control-1-ru3.isf-rackc.rtp.raleigh.ibm.com    Ready      control-plane,master   31d   v1.27.10+28ed2d7
    control-1-ru4.isf-rackc.rtp.raleigh.ibm.com    Ready      control-plane,master   31d   v1.27.10+28ed2d7
    [root@siddhant-dev1 ~]# oc debug node/compute-1-ru23.isf-rackc.rtp.raleigh.ibm.com 
    Temporary namespace openshift-debug-brzlh is created for debugging node...
    Starting pod/compute-1-ru23isf-rackcrtpraleighibmcom-debug ...
    To use host binaries, run `chroot /host`
    
    
    Pod IP: 9.42.107.180
    If you don't see a command prompt, try pressing enter.
    
    sh-4.4# 
    sh-4.4# ssh ISFUSER@fd8c:215d:178e:c0de:1e34:daff:feb2:eb00
    The authenticity of host 'fd8c:215d:178e:c0de:1e34:daff:feb2:eb00 (fd8c:215d:178e:c0de:1e34:daff:feb2:eb00)' can't be established.
    ECDSA key fingerprint is SHA256:zikuGMPdzWFkMnMWl38SWbjnb4LF3yxukSdU1rtDQNQ.
    Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
    Warning: Permanently added 'fd8c:215d:178e:c0de:1e34:daff:feb2:eb00' (ECDSA) to the list of known hosts.
    Debian GNU/Linux 10
    ISFUSER@fd8c:215d:178e:c0de:1e34:daff:feb2:eb00's password: 
    Linux hspeed2-rackc 5.10.0-cl-1-amd64 #1 SMP Debian 5.10.179-1+cl5.6.0u25 (2023-08-04) x86_64
    
    Welcome to NVIDIA Cumulus (R) Linux (R)
    
    Last login: Tue Jul 30 06:51:12 2024 from fd8c:215d:178e:c0de:42f2:e9ff:febb:ac3a
    ISFUSER@hspeed2-rackc:mgmt:~$ 
    ISFUSER@hspeed2-rackc:mgmt:~$ 
    
  6. Log in to the other switch by using steps 1 to 3 and check whether the uplink interfaces are up.
    net show inter | egrep "swp31|swp32"
    UP     swp31          40G   9216   BondMember    e3f3h14-3132a (Ethernet1/5)        Master: rackclink(UP)
           rackclink                                                                    Bond Members: swp31(UP)
  7. Use the following command to set the interface up.
    nv set interface swp32 link state up 
    nv config apply -y 
    
    applied [rev_id: 83]
    nv config save 
    saved [rev_id: applied]
  8. Check whether the interface is up after step 4. If it does not come up, run the following command:
    sudo ifreload -a 
    Check again using the step 4.
  9. If it does not come up, check the physical connection between the uplink port to your switch or else contact IBM Support.