Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-6131

Failed to apply generated assets for nginx

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • None
    • MTA 8.0.0
    • None
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • None

      Description of problem:

      The deployment of assets generated through MTA for a CF application(nginx) failed on OCP.

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

      MTA 8.0.0-61

      How reproducible:

      Always  

      Steps to Reproduce:

      1. Generate assets for the nginx CF application through UI . This is the generator used:
      https://github.com/konveyor/cf-k8s-helm-chart/
      2. Generate assets using the 'Render asset templates' option.
      6. Login to an OpenShift cluster and run "oc apply" on the assets generated .

      Actual results:

      $ oc apply -f '*.yaml'
      service/sep8-app-web created
      serviceaccount/sep8-app created
      Error from server (BadRequest): error when creating "deployment.yaml": Deployment in version "v1" cannot be handled as a Deployment: json: cannot unmarshal number into Go struct field EnvVar.spec.template.spec.containers.env.value of type string

      Expected results:

      Application should get deployed on OCP.

      Additional info:

              Unassigned Unassigned
              rhn-support-nachandr Nandini Chandra
              Nandini Chandra Nandini Chandra
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: