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

Docker file updating is wrong in osdk-ansible-updating-projects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.14.0
    • None
    • Moderate
    • No
    • 1
    • OSDOCS Sprint 250, OSDOCS Sprint 251
    • 2
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required

      Document URL:

      https://docs.openshift.com/container-platform/4.14/operators/operator_sdk/ansible/osdk-ansible-updating-projects.html#osdk-upgrading-projects_osdk-ansible-updating-projects

      Section Number and Name: 

      Updating Ansible-based Operator projects for Operator SDK 1.31.0 -->  Procedure --> Make the following changes to your Operator’s Dockerfile:

       

      Describe the issue: 

      The updating of the Dockerfile is the upstream type, should make the updating to the downstream type.

      Update the following content

       

      1.Make the following changes to your Operator’s Dockerfile:
           a.Replace the ansible-operator-2.11-preview base image with the ansible-  operator base image and update the version to 1.31.0, as shown in the following example:
      Example Dockerfile
       
       FROM quay.io/operator-framework/ansible-operator:v1.31.0
          b.The update to Ansible 2.15.0 in version 1.30.0 of the Ansible Operator removed the following pre-installed Python modules:
      
      ipaddress   
      openshift   
      jmespath   
      cryptography   
      oauthlib
      If your Operator depends on one of these removed Python modules, update your Dockerfile to install the required modules using the pip install command. 

       

      TO:

       

      1.Update the image tag in your Operator’s Dockerfile as shown in the following example:
      Example Dockerfile
      FROM registry.redhat.io/openshift4/ose-ansible-operator:v4.14
      Update the version tag to v4.14.
      

       

      Additional Info:

       

      Helm doc also has the same problem.
      https://docs.openshift.com/container-platform/4.14/operators/operator_sdk/helm/osdk-helm-updating-projects.html#osdk-upgrading-projects_osdk-helm-updating-projects
      

       

              rhn-support-adellape Alex Dellapenta
              rhn-support-jfan Jia Fan
              Jia Fan Jia Fan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: