Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-3548

[jboss-eap-modules] [7.2.x branch] Unable to build the image utilizing cct_module 0.41.0 tag

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • EAP72 7.2.8.GA
    • EAP72 7.2.7.GA
    • jboss-eap-modules
    • None

    Description

      Trying WIP RH-SSO 7.3 "image.yaml" change to build the RH-SSO 7.3 image with 0.41.0 cct_module tag (see the attached rh-sso-7.3-cct-module-v0.41.0.diff file), local cekit build fails with the following error:

      # cekit --version
      3.6.0
      
      # cekit -v build docker
      ...
      2020-04-06 10:56:29,310 cekit        DEBUG    Preparing module 'jboss.container.maven.s2i.bash' required by 'jboss.container.eap.s2i.bash'.
      2020-04-06 10:56:29,310 cekit        ERROR    There are no modules with 'jboss.container.maven.s2i.bash' name available
      Traceback (most recent call last):
        File "/usr/lib/python2.7/site-packages/cekit/cli.py", line 335, in run
          command.execute()
        File "/usr/lib/python2.7/site-packages/cekit/builder.py", line 53, in execute
          self.before_generate()
        File "/usr/lib/python2.7/site-packages/cekit/builder.py", line 92, in before_generate
          self.generator.init()
        File "/usr/lib/python2.7/site-packages/cekit/generator/base.py", line 122, in init
          self.image.apply_module_overrides(self._module_registry)
        File "/usr/lib/python2.7/site-packages/cekit/descriptor/image.py", line 297, in apply_module_overrides
          self.process_install_list(self, self.modules.install, install_list, module_registry)
        File "/usr/lib/python2.7/site-packages/cekit/descriptor/image.py", line 365, in process_install_list
          self.process_install_list(module, module.modules.install, install_list, module_registry)
        File "/usr/lib/python2.7/site-packages/cekit/descriptor/image.py", line 365, in process_install_list
          self.process_install_list(module, module.modules.install, install_list, module_registry)
        File "/usr/lib/python2.7/site-packages/cekit/descriptor/image.py", line 333, in process_install_list
          module = module_registry.get_module(to_install.name, to_install.version)
        File "/usr/lib/python2.7/site-packages/cekit/generator/base.py", line 519, in get_module
          raise CekitError("There are no modules with '{}' name available".format(name))
      CekitError: There are no modules with 'jboss.container.maven.s2i.bash' name available
      

      Note: The issue seems to be, after the Maven / Jolokia modules refactoring done in 0.41.0 release, the "os-eap-s2i" (the 7.2.x branch version) of the jboss-eap-module, still references the former "jboss.container.eap.s2i.bash" form

      The refactored 0.41.0 Maven / Jolokia modules, doesn't have "bash" suffix in their names already

      Attachments

        Issue Links

          Activity

            People

              rhn-jlieskov Ján Lieskovský
              rhn-jlieskov Ján Lieskovský
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: