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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • 4.13.0
    • 4.11
    • Dev Console
    • Moderate
    • None
    • ODC Sprint 230
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, while editing a workload and switching from YAML view to form view, the application name was getting updated to the name present in the form view. With this fix, when you edit a workload, the original application name will not be changed. (link:https://issues.redhat.com/browse/OCPBUGS-4684[*OCPBUGS-4684*])
      Show
      * Previously, while editing a workload and switching from YAML view to form view, the application name was getting updated to the name present in the form view. With this fix, when you edit a workload, the original application name will not be changed. (link: https://issues.redhat.com/browse/OCPBUGS-4684 [* OCPBUGS-4684 *])
    • Done

      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
              rhn-support-pkhilare Pawan Khilare
              Sanket Pathak Sanket Pathak
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: