Uploaded image for project: 'WildFly WIP'
  1. WildFly WIP
  2. WFWIP-429

MongoDB drivers are not copied

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • OpenShift
    • None

    Description

      With s2i v2 images mongodb drivers [1] are not copied.

      When I compare v1 vs. v2 logs (application and drivers are same) INFO Copying modules from s2i-db-drivers/mongodb/modules to /opt/wildfly/modules... is missing in v2 log

      WF26 v1:

      INFO Processing ImageSource mounts: s2i-db-drivers/mongodb
      INFO Processing ImageSource from /tmp/src/s2i-db-drivers/mongodb
      INFO Copying modules from s2i-db-drivers/mongodb/modules to /opt/wildfly/modules...
      org/mongodb/
      org/mongodb/main/
      org/mongodb/main/README.md
      org/mongodb/main/module.xml
      org/mongodb/main/mongo.jar
      

      v2

      ++ :
      ++ s2i_core_process_image_mounts
      ++ '[' xs2i-db-drivers/mongodb,s2i-db-drivers/mysql,s2i-db-drivers/postgresql = x ']'
      ++ log_info 'Processing ImageSource mounts: s2i-db-drivers/mongodb,s2i-db-drivers/mysql,s2i-db-drivers/postgresql'
      ++ local 'message=Processing ImageSource mounts: s2i-db-drivers/mongodb,s2i-db-drivers/mysql,s2i-db-drivers/postgresql'
      ++ echo -e 'INFO Processing ImageSource mounts: s2i-db-drivers/mongodb,s2i-db-drivers/mysql,s2i-db-drivers/postgresql'
      INFO Processing ImageSource mounts: s2i-db-drivers/mongodb,s2i-db-drivers/mysql,s2i-db-drivers/postgresql
      ++ IFS=,
      ++ read -a install_dir_entries
      ++ for install_dir_entry in "${install_dir_entries[@]}"
      +++ find /tmp/src/s2i-db-drivers/mongodb -maxdepth 0
      ++ for install_dir in $(find ${S2I_SOURCE_DIR}/$install_dir_entry -maxdepth 0 2>/dev/null)
      ++ log_info 'Processing ImageSource from /tmp/src/s2i-db-drivers/mongodb'
      ++ local 'message=Processing ImageSource from /tmp/src/s2i-db-drivers/mongodb'
      ++ echo -e 'INFO Processing ImageSource from /tmp/src/s2i-db-drivers/mongodb'
      INFO Processing ImageSource from /tmp/src/s2i-db-drivers/mongodb
      ++ chmod -R ug+x /tmp/src/s2i-db-drivers/mongodb
      ++ '[' -f /tmp/src/s2i-db-drivers/mongodb/install.sh ']'
      ++ s2i_core_copy_artifacts /tmp/src/s2i-db-drivers/mongodb
      ++ s2i_core_copy_configuration /tmp/src/s2i-db-drivers/mongodb
      ++ '[' -d /tmp/src/s2i-db-drivers/mongodb/configuration ']'
      ++ s2i_core_copy_data /tmp/src/s2i-db-drivers/mongodb
      ++ '[' -d /tmp/src/s2i-db-drivers/mongodb/data ']'
      ++ s2i_core_copy_deployments /tmp/src/s2i-db-drivers/mongodb
      ++ '[' -d /tmp/src/s2i-db-drivers/mongodb/deployments ']'
      ++ s2i_core_copy_artifacts_hook /tmp/src/s2i-db-drivers/mongodb
      

      [1] https://gitlab.hosts.mwqe.eng.bos.redhat.com/jbossqe-eap/openshift-eap-tests/-/tree/master/test-eap/src/test/resources/s2i-db-drivers

      Attachments

        Activity

          People

            jdenise@redhat.com Jean Francois Denise
            mchoma@redhat.com Martin Choma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: