Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-2403

Single-arch devfiles (Red Hat Fuse, EAP Maven, Dotnet, camelK) switch from zip to git for project reference

XMLWordPrintable

    • False
    • False
    • Hide
      = Devfiles referring to external projects might not work in a restricted environment

      Devfiles referring to external projects (rather than those included as zips when the registry was built) might not work in a restricted environment.

      Workaround:

          To access the projects referenced by these devfiles in airgapped scenarios, configure your proxy or firewall to access the external URLs. If you do not have permission, ask an administrator to clone the projects inside your organization, then modify the devfiles to pull from the internal project clones.

          Or, create your own devfile to work with your own projects.
      Show
      = Devfiles referring to external projects might not work in a restricted environment Devfiles referring to external projects (rather than those included as zips when the registry was built) might not work in a restricted environment. Workaround:     To access the projects referenced by these devfiles in airgapped scenarios, configure your proxy or firewall to access the external URLs. If you do not have permission, ask an administrator to clone the projects inside your organization, then modify the devfiles to pull from the internal project clones.     Or, create your own devfile to work with your own projects.
    • Workaround Exists
    • Hide

      To access the projects referenced by these devfiles in airgapped scenarios, proxy/firewall access to github.com will be required.

      Alternatively, airgapped users could request an administrator clone the projects inside their organization, then modify the devfiles to pull from the internal project clones.

      Since these are sample projects, however, they are not required to use Fuse, EAP, Dotnet, or CamelK – you can set up your own devfile to work with your own projects.

      Show
      To access the projects referenced by these devfiles in airgapped scenarios, proxy/firewall access to github.com will be required. Alternatively, airgapped users could request an administrator clone the projects inside their organization, then modify the devfiles to pull from the internal project clones. Since these are sample projects, however, they are not required to use Fuse, EAP, Dotnet, or CamelK – you can set up your own devfile to work with your own projects.

      Tested with CRW 2.12.1.RC-10-21 on x86_64 OCP 4.9.0 having quay.io/crw/devfileregistry-rhel8:2.12-63

      Affected devfiles apparently include these two:

      --------------------------Digest map--------------------------
      Key: registry.redhat.io/jboss-eap-7/eap-xp3-openjdk11-openshift-rhel8:3.0-9 Value: @sha256:3875b2ee2826a6d8134aa3b80ac0c8b5ebc4a7f718335d76dfc3461b79f93d19
      Key: registry.redhat.io/rhscl/mongodb-36-rhel7:1-50 Value: @sha256:9f799d356d7d2e442bde9d401b720600fd9059a3d8eefea6f3b2ffa721c0dc73
      Key: registry.redhat.io/codeready-workspaces/plugin-java11-rhel8:2.12 Value: @sha256:cff9e47f83c6140d442721ed4d78e029a55f98bdca8efffbba8513656a1b28a7
      Key: registry.redhat.io/jboss-eap-7/eap-xp3-openj9-11-openshift-rhel8:3.0 Value: @sha256:896c1a9baf21400e8bc75e8b7fb22fc3a829aa3fee68ca9f8373111b7c21e27d
      Key: registry.redhat.io/codeready-workspaces/stacks-dotnet-rhel8:2.12 Value: @sha256:68875b794b80d9590fceff2e35eaa8f0ac47cd9e8f183f54652a1d1703024dd8
      Key: registry.redhat.io/codeready-workspaces/plugin-java8-rhel8:2.12 Value: @sha256:1c4faa2dae80c373f606f542ca841f991d1dfa27979006500aca85e3c2999d2d
      Key: registry.redhat.io/codeready-workspaces/plugin-java8-openj9-rhel8:2.12 Value: @sha256:01485e629dd61003368bc816480cc3537f7fdeac09756e5f2b3bb3e0a3786d61
      Key: registry.redhat.io/codeready-workspaces/stacks-php-rhel8:2.12 Value: @sha256:193b9775d58e1f7d9a45607b23bbfea4cfcba53356872da3e28de3ee9a8254e5
      Key: registry.redhat.io/codeready-workspaces/stacks-golang-rhel8:2.12 Value: @sha256:a007380852029dcb01f2a00956f4e2b26c9c53d2063eca92d41d56fff4e83a27
      Key: registry.redhat.io/jboss-eap-7/eap74-openjdk8-openshift-rhel7:7.4.0 Value: @sha256:b4a113c4d4972d142a3c350e2006a2b297dc883f8ddb29a88db19c892358632d
      Key: registry.redhat.io/codeready-workspaces/stacks-cpp-rhel8:2.12 Value: @sha256:5ae3c3fcef5050ca30126d55229fe3334e887c658d6e5fbe9ef6aa8339dfc89e
      Key: registry.redhat.io/codeready-workspaces/plugin-java11-openj9-rhel8:2.12 Value: @sha256:6a4297f2334278805a154f271d9cc383af4f189124ab4e9f72af800f9ea65e08
      --------------------------------------------------------------
      Checking devfile /var/www/html/devfiles/00_java11-maven-microprofile-bootable/devfile.yaml
      Checking devfile /var/www/html/devfiles/00_java11-maven-microprofile-xp3/devfile.yaml
      Checking devfile /var/www/html/devfiles/00_java8-maven-eap/devfile.yaml
      Checking devfile /var/www/html/devfiles/02_java8-maven-fuse/devfile.yaml
      Checking devfile /var/www/html/devfiles/03_camelk/devfile.yaml
      Checking devfile /var/www/html/devfiles/03_java11-maven-gradle/devfile.yaml
      Checking devfile /var/www/html/devfiles/03_java11-maven-lombok/devfile.yaml
      Checking devfile /var/www/html/devfiles/03_java11-maven-quarkus/devfile.yaml
      Checking devfile /var/www/html/devfiles/03_java11-maven-vertx/devfile.yaml
      Checking devfile /var/www/html/devfiles/03_java11-maven-vertx-http-booster/devfile.yaml
      Checking devfile /var/www/html/devfiles/03_java8-maven-spring-boot-http-booster/devfile.yaml
      Checking devfile /var/www/html/devfiles/04_nodejs-configmap/devfile.yaml
      Checking devfile /var/www/html/devfiles/04_nodejs-mongo/devfile.yaml
      Checking devfile /var/www/html/devfiles/04_nodejs-simple/devfile.yaml
      Checking devfile /var/www/html/devfiles/05_cpp/devfile.yaml
      Checking devfile /var/www/html/devfiles/05_dotnet/devfile.yaml
      Checking devfile /var/www/html/devfiles/05_go/devfile.yaml
      Checking devfile /var/www/html/devfiles/05_php-cake/devfile.yaml
      Checking devfile /var/www/html/devfiles/05_php-di/devfile.yaml
      Checking devfile /var/www/html/devfiles/05_python/devfile.yaml
      Updating devfiles to point at internal project zip files
      + [[ -x /usr/sbin/httpd ]]
      + /usr/sbin/httpd -D FOREGROUND
      AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 10.128.2.218. Set the 'ServerName' directive globally to suppress this message
      [Sat Oct 23 02:23:47.001434 2021] [:notice] [pid 202:tid 140109013395776] ModSecurity for Apache/2.9.2 (http://www.modsecurity.org/) configured.
      [Sat Oct 23 02:23:47.001453 2021] [:notice] [pid 202:tid 140109013395776] ModSecurity: APR compiled version="1.6.3"; loaded version="1.6.3"
      [Sat Oct 23 02:23:47.001460 2021] [:notice] [pid 202:tid 140109013395776] ModSecurity: PCRE compiled version="8.42 "; loaded version="8.42 2018-03-20"
      [Sat Oct 23 02:23:47.001471 2021] [:notice] [pid 202:tid 140109013395776] ModSecurity: LUA compiled version="Lua 5.3"
      [Sat Oct 23 02:23:47.001475 2021] [:notice] [pid 202:tid 140109013395776] ModSecurity: YAJL compiled version="2.1.0"
      [Sat Oct 23 02:23:47.001478 2021] [:notice] [pid 202:tid 140109013395776] ModSecurity: LIBXML compiled version="2.9.7"
      [Sat Oct 23 02:23:47.001482 2021] [:notice] [pid 202:tid 140109013395776] ModSecurity: Status engine is currently disabled, enable it by set SecStatusEngine to On.
      AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 10.128.2.218. Set the 'ServerName' directive globally to suppress this message
      [Sat Oct 23 02:23:47.041787 2021] [lbmethod_heartbeat:notice] [pid 202:tid 140109013395776] AH02282: No slotmem from mod_heartmonitor
      [Sat Oct 23 02:23:47.098567 2021] [mpm_event:notice] [pid 202:tid 140109013395776] AH00489: Apache/2.4.37 (Red Hat Enterprise Linux) OpenSSL/1.1.1g configured -- resuming normal operations
      [Sat Oct 23 02:23:47.098602 2021] [core:notice] [pid 202:tid 140109013395776] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
      10.128.2.1 - - [23/Oct/2021:02:23:53 +0000] "GET /devfiles/ HTTP/1.1" 200 9547 "-" "kube-probe/1.22+"
      

              nickboldt Nick Boldt
              tdancs Tibor Dancs (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: