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

--to-multi-arch should be consistent in forbidding flags that are unusable during transition to hetero

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.13
    • oc / update
    • Moderate
    • No
    • 1
    • OTA 262
    • 1
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      while applying "oc adm upgrade --to-multi-arch"
      certain flags such as --to and --to-image are blocked with error message such as: 
      error: --to-multi-arch may not be used with --to or --to-image
      however if one applies --force, or --to-latest, no error message is generated, only:
      Requested update to multi cluster architecture
      and the flags are omitted silently, applying .spec:
      desiredUpdate:
          architecture:    Multi
          force:    false   <- --force silently have no effect here
          image:    
          version:    4.13.0-ec.2  <- --to-latest omitted silently either 
      

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

      4.13.0-ec.2 but seen elsewhere

      How reproducible:

      100%

      Steps to Reproduce:

      1. oc adm upgrade --to-multi-arch --force
      2. oc adm upgrade --to-multi-arch --to-latest
      3. oc adm upgrade --to-multi-arch --force --to-latest 

      Actual results:

      omitted silently as explained above

      Expected results:

      either blocked with the same error as --to and --to-image
      or if there is a use case, should have the desired effect and not omitted 

       

              trking W. Trevor King
              evakhoni@redhat.com Evgeni Vakhonin
              Evgeni Vakhonin Evgeni Vakhonin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: