Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-7777

Azure OpenShiftSDN drop-icmp container uses deprecated oc observe cli arg

XMLWordPrintable

    • Moderate
    • No
    • SDN Sprint 234
    • 1
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      2023-02-20T16:27:58.107800612Z + oc observe pods -n openshift-sdn --listen-addr= -l app=sdn -a '{ .status.hostIP }' -- /var/run/add_iptables.sh
      2023-02-20T16:27:58.181727766Z Flag --argument has been deprecated, and will be removed in a future release. Use --template instead.
      
       

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

      4.13.0-0.nightly-2023-02-17-090603
       

      How reproducible:

      Always

      Steps to Reproduce:

      1. Deploy Azure OpenShiftSDN cluster
      2. Check drop-icmp container logs
      oc logs -n openshift-sdn -c drop-icmp -l app=sdn --previous
      3. 
      

      Actual results:

      + true
      + iptables -F AZURE_ICMP_ACTION
      + iptables -A AZURE_ICMP_ACTION -j LOG
      + iptables -A AZURE_ICMP_ACTION -j DROP
      + oc observe pods -n openshift-sdn --listen-addr= -l app=sdn -a '{ .status.hostIP }' -- /var/run/add_iptables.sh
      Flag --argument has been deprecated, and will be removed in a future release. Use --template instead.
      E0220 16:27:07.553592   27842 memcache.go:238] couldn't get current server API group list: Get "https://172.30.0.1:443/api?timeout=32s": dial tcp 172.30.0.1:443: connect: connection refused
      E0220 16:27:07.553913   27842 memcache.go:238] couldn't get current server API group list: Get "https://172.30.0.1:443/api?timeout=32s": dial tcp 172.30.0.1:443: connect: connection refused
      The connection to the server 172.30.0.1:443 was refused - did you specify the right host or port?
      Error from server (BadRequest): previous terminated container "drop-icmp" in pod "sdn-v7gqq" not found
      
       

      Expected results:

      No deprecation warning

      Additional info:

            jluhrsen Jamo Luhrsen
            rbrattai@redhat.com Ross Brattain
            Anurag Saxena Anurag Saxena
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: