XMLWordPrintable

      nodejs-configmap devfile works for the first 2 steps, but the task "3. Deploy application" does not work.

      > nodejs-configmap@3.1.2 openshift /projects/nodejs-configmap
      > nodeshift --dockerImage=registry.access.redhat.com/ubi8/nodejs-12
      
      2020-06-17T01:21:23.917Z INFO loading configuration
      2020-06-17T01:21:23.945Z INFO using namespace undefined at https://172.30.0.1:443
      2020-06-17T01:21:23.947Z INFO creating archive of package.json, app.js, public, bin, LICENSE, licenses
      2020-06-17T01:21:24.011Z ERROR buildconfigs.build.openshift.io "nodejs-configmap-s2i" is forbidden: User "system:serviceaccount:nboldt-cr-tls:che-workspace" cannot get resource "buildconfigs" in API group "build.openshift.io" at the cluster scope
      2020-06-17T01:21:24.011Z ERROR Status code 403
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! nodejs-configmap@3.1.2 openshift: `nodeshift --dockerImage=registry.access.redhat.com/ubi8/nodejs-12`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the nodejs-configmap@3.1.2 openshift script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/jboss/.npm/_logs/2020-06-17T01_21_24_024Z-debug.log

      https://codeready-nboldt-cr-tls.apps.ocp44.crw-qe.com/dashboard/#/ide/admin/nodejs-configmap-1mbda?tab=getStarted

      To deploy CRW 2.2 on OCP 4.4, see examples in

        1. image-2020-06-16-21-23-52-018.png
          173 kB
          Nick Boldt
        2. image-2020-06-18-12-20-54-187.png
          86 kB
          Ihor Okhrimenko
        3. image-2020-06-18-12-23-39-250.png
          107 kB
          Ihor Okhrimenko
        4. screenshot-1.png
          154 kB
          Nick Boldt
        5. screenshot-che.17-15_07_52.png
          370 kB
          Valerii Svydenko
        6. screenshot-codeready-iokhrime-crw.apps.aws-ocp44.crw-qe.com-2020.06.18-15_27_36.png
          238 kB
          Valerii Svydenko
        7. Screenshot from 2020-06-18 12-22-57.png
          107 kB
          Ihor Okhrimenko

              vsvydenk Valerii Svydenko
              nickboldt Nick Boldt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: