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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.17.z, 4.18.0
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required
    • Done

      This is a clone of issue OCPBUGS-44318. The following is the description of the original issue:

      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
              openshift-crt-jira-prow OpenShift Prow Bot
              Gaoyun Pei Gaoyun Pei
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: