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

Replace the unsupported option "--delete-local-data" to the new one "--delete-emptydir-data"

XMLWordPrintable

    • None
    • Installer Sprint 262
    • 1
    • False
    • Hide

      None

      Show
      None

      Description of problem:

          In latest 4.17 to 4.18 upgrade job with RHEL workers, it's failing for    "invocation": {
              "module_args": {
                  "_raw_params": "oc adm drain ci-op-1s456mng-15dc0-qcg6w-rhel-1 --kubeconfig=/tmp/secret/kubeconfig --force --delete-local-data --ignore-daemonsets\n",
                  "_uses_shell": false,
                  "argv": null,
                  "chdir": null,
                  "creates": null,
                  "executable": null,
                  "removes": null,
                  "stdin": null,
                  "stdin_add_newline": true,
                  "strip_empty_ends": true,
                  "warn": false
              }
          },
          "msg": "non-zero return code",
          "rc": 1,
          "start": "2024-10-30 03:08:53.112581",
          "stderr": "error: unknown flag: --delete-local-data\nSee 'oc adm drain --help' for usage.",
          "stderr_lines": [
              "error: unknown flag: --delete-local-data",
              "See 'oc adm drain --help' for usage."

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

          

      How reproducible:

          

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          

      Expected results:

          

      Additional info:

          

              gpei@redhat.com Gaoyun Pei
              rh-ee-bbarbach Brent Barbachem
              Gaoyun Pei Gaoyun Pei
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: