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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • 4.12.z
    • 4.11
    • Dev Console
    • Moderate
    • None
    • ODC Sprint 231, ODC Sprint 235
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None

      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:

       

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

                Created:
                Updated:
                Resolved: