Uploaded image for project: 'Red Hat OpenShift Data Science'
  1. Red Hat OpenShift Data Science
  2. RHODS-10933

OpenVino Notebook pod failed due to NodeJs: no digest

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • RHODS_1.31.0_GA
    • None
    • False
    • None
    • False
    • Testable
    • No
    • No
    • No
    • Pending
    • None
    • Medium

      Description of problem:

      Starting OpenVino notebook in redhat-ods-applications failed on:

      Error: Transaction test error: package nodejs-2:14.18.1-1nodesource.x86_64 does not verify: no digest error: build error: building at STEP "RUN curl -sL https://rpm.nodesource.com/setup_14.x | bash - && yum remove -y nodejs && yum install -y nodejs-14.18.1 mesa-libGL dos2unix libsndfile && yum -y update-minimal --security --sec-severity=Important --sec-severity=Critical --sec-severity=Moderate": while running runtime: exit status 1

      Prerequisites (if any, like setup, operators/versions):

      RHODS 1.31 RC4

      Steps to Reproduce

      1. Install OpenVino Operator
      2. Create OpenVino notebook in redhat-ods-applications

      Actual results:

      time="2023-08-17T12:59:58Z" level=info msg="Not using native diff for overlay, this may cause degraded performance for building images: kernel has CONFIG_OVERLAY_FS_REDIRECT_DIR enabled"
      I0817 12:59:58.911078       1 defaults.go:112] Defaulting to storage driver "overlay" with options [mountopt=metacopy=on].
      Caching blobs under "/var/cache/blobs".
      
      Pulling image quay.io/thoth-station/s2i-thoth-ubi8-py38:v0.29.0 ...
      Trying to pull quay.io/thoth-station/s2i-thoth-ubi8-py38:v0.29.0...
      Getting image source signatures
      Copying blob sha256:563bb53e3d7fddf55498251d2ca549f0b7f79b257ae9229ab79d79c8b3dcb3d5
      Copying blob sha256:d0c9851d609d0bfab8ea16ae528b7ace74e6856bf9215f644ec611974aa5019e
      Copying blob sha256:33db084abe90803d3c1ed1fa2db456724adb80961c94c09f91bf5b2c046a9008
      Copying blob sha256:b74aa5d186f566f34d7e0892e09a6e7041596640cc9938b50efcf3db0846e1e1
      Copying blob sha256:a34677e840315d6c935033c2cc3dfa013feadc15bec501b240a3b2796eaa681b
      Copying blob sha256:f10101e62e86627bfa39cc796adad8c9b12d23ee0c15705b925a3939ebf8b829
      Copying blob sha256:8a231f821d74e5fe6933ab4fb3531d25961aff16342cdb5efae267f5d3095830
      Copying config sha256:c83c86bc0a6c2f4de665108ed29c4434e5687787584b069056b6a9f08ce46a31
      Writing manifest to image destination
      Storing signatures
      Adding transient rw bind mount for /run/secrets/rhsm
      STEP 1/29: FROM quay.io/thoth-station/s2i-thoth-ubi8-py38:v0.29.0
      STEP 2/29: LABEL name="OpenVINO(TM) Notebooks"   maintainer="helena.kloosterman@intel.com"   vendor="Intel Corporation"   version="0.2.0"   release="2021.4"   summary="OpenVINO(TM) Developer Tools and Jupyter Notebooks"   description="OpenVINO(TM) Notebooks Container"
      --> e2e3c0f3dbe
      STEP 3/29: ENV JUPYTER_ENABLE_LAB="true"   ENABLE_MICROPIPENV="1"   UPGRADE_PIP_TO_LATEST="1"   WEB_CONCURRENCY="1"   THOTH_ADVISE="0"   THOTH_ERROR_FALLBACK="1"   THOTH_DRY_RUN="1"   THAMOS_DEBUG="0"   THAMOS_VERBOSE="1"   THOTH_PROVENANCE_CHECK="0"
      --> 46bf36d4b5b
      STEP 4/29: USER root
      --> 0d6d59d0179
      STEP 5/29: RUN curl -sL https://rpm.nodesource.com/setup_14.x | bash -  &&   yum remove -y nodejs &&   yum install -y nodejs-14.18.1 mesa-libGL dos2unix libsndfile &&   yum -y update-minimal --security --sec-severity=Important --sec-severity=Critical --sec-severity=Moderate
      
      ## Installing the NodeSource Node.js 14.x repo...
      
      
      ## Inspecting system...
      
      + rpm -q --whatprovides redhat-release || rpm -q --whatprovides centos-release || rpm -q --whatprovides cloudlinux-release || rpm -q --whatprovides sl-release || rpm -q --whatprovides fedora-release
      + uname -m
      
      ## Confirming "el8-x86_64" is supported...
      
      + curl -sLf -o /dev/null 'https://rpm.nodesource.com/pub_14.x/el/8/x86_64/nodesource-release-el8-1.noarch.rpm'
      
      ## As yum will try to install Node.js from the AppStream repository
      instead of the NodeSource repository, the AppStream's version of Node.js has to be disabled.
      ## Run `sudo yum module enable -y nodejs` to reactivate the AppStream's Node.js repository.
      
      + yum module disable -y nodejs
      Updating Subscription Management repositories.
      Unable to read consumer identity
      Subscription Manager is operating in container mode.
      
      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
      
      Red Hat Universal Base Image 8 (RPMs) - BaseOS   44 kB/s | 3.8 kB     00:00    
      Red Hat Universal Base Image 8 (RPMs) - BaseOS  3.0 MB/s | 844 kB     00:00    
      Red Hat Universal Base Image 8 (RPMs) - AppStre  59 kB/s | 4.2 kB     00:00    
      Red Hat Universal Base Image 8 (RPMs) - AppStre 8.2 MB/s | 2.9 MB     00:00    
      Red Hat Universal Base Image 8 (RPMs) - CodeRea  54 kB/s | 3.8 kB     00:00    
      Red Hat Universal Base Image 8 (RPMs) - CodeRea 531 kB/s |  99 kB     00:00    
      Dependencies resolved.
      ================================================================================
       Package           Architecture     Version             Repository         Size
      ================================================================================
      Disabling modules:
       nodejs                                                                        
      
      Transaction Summary
      ================================================================================
      
      Complete!
      
      ## Downloading release setup RPM...
      
      + mktemp
      + curl -sL -o '/tmp/tmp.jOXQQoHiPR' 'https://rpm.nodesource.com/pub_14.x/el/8/x86_64/nodesource-release-el8-1.noarch.rpm'
      
      ## Installing release setup RPM...
      
      + rpm -i --nosignature --force '/tmp/tmp.jOXQQoHiPR'
      
      ## Cleaning up...
      
      + rm -f '/tmp/tmp.jOXQQoHiPR'
      
      ## Checking for existing installations...
      
      + rpm -qa 'node|npm' | grep -v nodesource
      
      ## Your system appears to already have Node.js installed from an alternative source.
      Run `sudo yum remove -y nodejs npm` to remove these first.
      
      
      ## Run `sudo yum install -y nodejs` to install Node.js 14.x and npm.
      ## You may run dnf if yum is not available:
           sudo dnf install -y nodejs
      ## You may also need development tools to build native addons:
           sudo yum install gcc-c++ make
      ## To install the Yarn package manager, run:
           curl -sL https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo
           sudo yum install yarn
      
      Updating Subscription Management repositories.
      Unable to read consumer identity
      Subscription Manager is operating in container mode.
      
      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
      
      Dependencies resolved.
      =================================================================================================================================
       Package            Arch    Version                                             Repository                                   Size
      =================================================================================================================================
      Removing:
       nodejs             x86_64  1:14.16.0-2.module+el8.3.0+10180+b92e1eb6           @RHEL-8.4.0-updates-20210504.2-AppStream-1   36 M
      Removing dependent packages:
       npm                x86_64  1:6.14.11-1.14.16.0.2.module+el8.3.0+10180+b92e1eb6 @RHEL-8.4.0-updates-20210504.2-AppStream-1   15 M
      Removing unused dependencies:
       nodejs-docs        noarch  1:14.16.0-2.module+el8.3.0+10180+b92e1eb6           @RHEL-8.4.0-updates-20210504.2-AppStream-1   60 M
       nodejs-full-i18n   x86_64  1:14.16.0-2.module+el8.3.0+10180+b92e1eb6           @RHEL-8.4.0-updates-20210504.2-AppStream-1   27 M
      
      Transaction Summary
      =================================================================================================================================
      Remove  4 Packages
      
      Freed space: 138 M
      Running transaction check
      Transaction check succeeded.
      Running transaction test
      Transaction test succeeded.
      Running transaction
        Preparing        :                                                        1/1 
        Erasing          : nodejs-1:14.16.0-2.module+el8.3.0+10180+b92e1eb6.x86   1/4 
        Erasing          : npm-1:6.14.11-1.14.16.0.2.module+el8.3.0+10180+b92e1   2/4 
        Erasing          : nodejs-docs-1:14.16.0-2.module+el8.3.0+10180+b92e1eb   3/4 
        Erasing          : nodejs-full-i18n-1:14.16.0-2.module+el8.3.0+10180+b9   4/4 
        Running scriptlet: nodejs-full-i18n-1:14.16.0-2.module+el8.3.0+10180+b9   4/4 
        Verifying        : nodejs-1:14.16.0-2.module+el8.3.0+10180+b92e1eb6.x86   1/4 
        Verifying        : nodejs-docs-1:14.16.0-2.module+el8.3.0+10180+b92e1eb   2/4 
        Verifying        : nodejs-full-i18n-1:14.16.0-2.module+el8.3.0+10180+b9   3/4 
        Verifying        : npm-1:6.14.11-1.14.16.0.2.module+el8.3.0+10180+b92e1   4/4 
      Installed products updated.
      
      Removed:
        nodejs-1:14.16.0-2.module+el8.3.0+10180+b92e1eb6.x86_64                       
        nodejs-docs-1:14.16.0-2.module+el8.3.0+10180+b92e1eb6.noarch                  
        nodejs-full-i18n-1:14.16.0-2.module+el8.3.0+10180+b92e1eb6.x86_64             
        npm-1:6.14.11-1.14.16.0.2.module+el8.3.0+10180+b92e1eb6.x86_64                
      
      Complete!
      Updating Subscription Management repositories.
      Unable to read consumer identity
      Subscription Manager is operating in container mode.
      
      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
      
      Node.js Packages for Enterprise Linux 8 - x86_6 9.0 MB/s | 1.4 MB     00:00    
      Dependencies resolved.
      ===================================================================================================
       Package                      Arch    Version                                Repository        Size
      ===================================================================================================
      Installing:
       dos2unix                     x86_64  7.4.0-3.el8                            ubi-8-baseos     241 k
       libsndfile                   x86_64  1.0.28-13.el8                          ubi-8-appstream  193 k
       mesa-libGL                   x86_64  22.3.0-2.el8                           ubi-8-appstream  188 k
       nodejs                       x86_64  2:14.18.1-1nodesource                  nodesource        32 M
      Upgrading:
       chkconfig                    x86_64  1.19.1-1.el8                           ubi-8-baseos     198 k
       platform-python-setuptools   noarch  39.2.0-7.el8                           ubi-8-baseos     632 k
      Installing dependencies:
       flac-libs                    x86_64  1.3.2-9.el8                            ubi-8-appstream  217 k
       gsm                          x86_64  1.0.17-5.el8                           ubi-8-appstream   37 k
       libXfixes                    x86_64  5.0.3-7.el8                            ubi-8-appstream   25 k
       libXxf86vm                   x86_64  1.1.4-9.el8                            ubi-8-appstream   19 k
       libdrm                       x86_64  2.4.114-1.el8                          ubi-8-appstream  165 k
       libglvnd                     x86_64  1:1.3.4-1.el8                          ubi-8-appstream  128 k
       libglvnd-glx                 x86_64  1:1.3.4-1.el8                          ubi-8-appstream  137 k
       libogg                       x86_64  2:1.3.2-10.el8                         ubi-8-appstream   31 k
       libpciaccess                 x86_64  0.14-1.el8                             ubi-8-baseos      32 k
       libvorbis                    x86_64  1:1.3.6-2.el8                          ubi-8-appstream  196 k
       libxshmfence                 x86_64  1.3-2.el8                              ubi-8-appstream   13 k
       mesa-libglapi                x86_64  22.3.0-2.el8                           ubi-8-appstream   67 k
       platform-python-pip          noarch  9.0.3-22.el8                           ubi-8-baseos     1.6 M
       python3-pip                  noarch  9.0.3-22.el8                           ubi-8-appstream   20 k
       python3-setuptools           noarch  39.2.0-7.el8                           ubi-8-baseos     163 k
       python36                     x86_64  3.6.8-38.module+el8.5.0+12207+5c5719bc ubi-8-appstream   19 k
      Enabling module streams:
       python36                             3.6                                                          
      
      Transaction Summary
      ===================================================================================================
      Install  20 Packages
      Upgrade   2 Packages
      
      Total download size: 36 M
      Downloading Packages:
      (1/22): python3-setuptools-39.2.0-7.el8.noarch. 1.1 MB/s | 163 kB     00:00    
      (2/22): dos2unix-7.4.0-3.el8.x86_64.rpm         3.2 MB/s | 241 kB     00:00    
      (3/22): libpciaccess-0.14-1.el8.x86_64.rpm      1.3 MB/s |  32 kB     00:00    
      (4/22): flac-libs-1.3.2-9.el8.x86_64.rpm        5.6 MB/s | 217 kB     00:00    
      (5/22): gsm-1.0.17-5.el8.x86_64.rpm             1.0 MB/s |  37 kB     00:00    
      (6/22): platform-python-pip-9.0.3-22.el8.noarch 4.9 MB/s | 1.6 MB     00:00    
      (7/22): libXfixes-5.0.3-7.el8.x86_64.rpm        1.1 MB/s |  25 kB     00:00    
      (8/22): libXxf86vm-1.1.4-9.el8.x86_64.rpm       542 kB/s |  19 kB     00:00    
      (9/22): libglvnd-1.3.4-1.el8.x86_64.rpm         4.4 MB/s | 128 kB     00:00    
      (10/22): libogg-1.3.2-10.el8.x86_64.rpm         1.2 MB/s |  31 kB     00:00    
      (11/22): libglvnd-glx-1.3.4-1.el8.x86_64.rpm    4.0 MB/s | 137 kB     00:00    
      (12/22): nodejs-14.18.1-1nodesource.x86_64.rpm   73 MB/s |  32 MB     00:00    
      (13/22): libxshmfence-1.3-2.el8.x86_64.rpm      296 kB/s |  13 kB     00:00    
      (14/22): libvorbis-1.3.6-2.el8.x86_64.rpm       3.9 MB/s | 196 kB     00:00    
      (15/22): libdrm-2.4.114-1.el8.x86_64.rpm        5.5 MB/s | 165 kB     00:00    
      (16/22): python3-pip-9.0.3-22.el8.noarch.rpm    560 kB/s |  20 kB     00:00    
      (17/22): libsndfile-1.0.28-13.el8.x86_64.rpm    5.9 MB/s | 193 kB     00:00    
      (18/22): mesa-libGL-22.3.0-2.el8.x86_64.rpm     4.4 MB/s | 188 kB     00:00    
      (19/22): python36-3.6.8-38.module+el8.5.0+12207 231 kB/s |  19 kB     00:00    
      (20/22): mesa-libglapi-22.3.0-2.el8.x86_64.rpm  1.7 MB/s |  67 kB     00:00    
      (21/22): chkconfig-1.19.1-1.el8.x86_64.rpm      4.3 MB/s | 198 kB     00:00    
      (22/22): platform-python-setuptools-39.2.0-7.el 5.8 MB/s | 632 kB     00:00    
      --------------------------------------------------------------------------------
      Total                                            57 MB/s |  36 MB     00:00     
      warning: /var/cache/dnf/nodesource-6e5a049480aa85b9/packages/nodejs-14.18.1-1nodesource.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 34fa74dd: NOKEY
      Node.js Packages for Enterprise Linux 8 - x86_6 1.6 MB/s | 1.6 kB     00:00    
      Importing GPG key 0x34FA74DD:
       Userid     : "NodeSource <gpg-rpm@nodesource.com>"
       Fingerprint: 2E55 207A 95D9 944B 0CC9 3261 5DDB E8D4 34FA 74DD
       From       : /etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL
      Key imported successfully
      Running transaction check
      Transaction check succeeded.
      Running transaction test
      The downloaded packages were saved in cache until the next successful transaction.
      You can remove cached packages by executing 'yum clean packages'.
      Error: Transaction test error:
        package nodejs-2:14.18.1-1nodesource.x86_64 does not verify: no digest
      
      error: build error: building at STEP "RUN curl -sL https://rpm.nodesource.com/setup_14.x | bash -  &&   yum remove -y nodejs &&   yum install -y nodejs-14.18.1 mesa-libGL dos2unix libsndfile &&   yum -y update-minimal --security --sec-severity=Important --sec-severity=Critical --sec-severity=Moderate": while running runtime: exit status 1
       

      Expected results:

      Reproducibility (Always/Intermittent/Only Once):

      Build Details:

      Workaround:

      Additional info:

              Unassigned Unassigned
              nmanos@redhat.com Noam Manos
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: