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

In DeploymentConfig both the Form view and Yaml view are not in sync

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Normal
    • None
    • 4.11
    • Dev Console
    • Moderate
    • No
    • ODC Sprint 235, ODC Sprint 236
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None

    Description

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

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

      Description of problem:

      In DeploymentConfig both the Form view and Yaml view are not in sync

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

      4.11.13

      How reproducible:

      Always

      Steps to Reproduce:

      1. Create a DC with selector and labels as given below
      spec:
        replicas: 1
        selector:
          app: apigateway
          deploymentconfig: qa-apigateway
          environment: qa
        strategy:
          activeDeadlineSeconds: 21600
          resources: {}
          rollingParams:
            intervalSeconds: 1
            maxSurge: 25%
            maxUnavailable: 25%
            timeoutSeconds: 600
            updatePeriodSeconds: 1
          type: Rolling
        template:
          metadata:
            labels:
              app: apigateway
              deploymentconfig: qa-apigateway
              environment: qa
      
      2. Now go to GUI--> Workloads--> DeploymentConfig --> Actions--> Edit DeploymentConfig, first go to Form view and now switch to Yaml view, the selector and labels shows as app: ubi8 while it should display app: apigateway
      
        selector:
          app: ubi8
          deploymentconfig: qa-apigateway
          environment: qa
        template:
          metadata:
            creationTimestamp: null
            labels:
              app: ubi8
              deploymentconfig: qa-apigateway
              environment: qa
      
      3. Now in yaml view just click reload and the value is displayed as it is when it was created (app: apigateway).
      

      Actual results:

       

      Expected results:

       

      Additional info:

       

      Attachments

        Issue Links

          Activity

            People

              rh-ee-lprabhu Lokananda Prabhu
              openshift-crt-jira-prow OpenShift Prow Bot
              Sanket Pathak Sanket Pathak
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: