Skip to main content
NetApp Stage KB

On-Prem Classification install fails with Could not build datasense image!

Views:
2
Visibility:
Public
Votes:
0
Category:
cloud-manager
Specialty:
bluexp
Last Updated:

Applies to

  • Classification
  • On-Prem

Issue

The following errors are observed when installing a Classification instance on-prem:
 
2024-11-19 18:36:56 INFO Could not find image datasense in dockerhub for 8e500d8ef4985d74fd9cd363a9bb85cd, building locally
2024-11-19 18:36:56 INFO Building datasense image
2024-11-19 18:37:37 INFO ERROR: [-] Could not build datasense image!
2024-11-19 18:37:37 ERROR cmd stderr: WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
 
writing blob: storing blob to file "/var/tmp/container_images_storage1965918519/19": write /var/tmp/container_images_storage1965918519/19: no space left on device
writing blob: storing blob to file "/var/tmp/container_images_storage2539342347/1": write /var/tmp/container_images_storage2539342347/1: no space left on device
writing blob: storing blob to file "/var/tmp/container_images_storage1670818589/4": write /var/tmp/container_images_storage1670818589/4: no space left on device
#0 building with "default" instance using docker-container driver
 
#1 [internal] booting buildkit
#1 pulling image moby/buildkit:buildx-stable-1
#1 pulling image moby/buildkit:buildx-stable-1 9.3s done
#1 creating container buildx_buildkit_default
#1 creating container buildx_buildkit_default 1.1s done
#1 DONE 10.4s
 
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 8.95kB done
#2 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 4)
#2 DONE 0.0s
 
#3 [internal] load metadata for docker.io/library/python:3.10-buster
#3 ERROR: failed to do request: Head "https://registry-1.docker.io/v2/libr...ts/3.10-buster": dial tcp xx.xx.xx.xx:443: i/o timeout
------
 > [internal] load metadata for docker.io/library/python:3.10-buster:
------
WARNING: No output specified with docker-container driver. Build result will only remain in the build cache. To push result image into registry use --push or to load image into docker use --load
 
 1 warning found (use --debug to expand):
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 4)
Dockerfile:4
--------------------
   2 |     # Compiled fuzzy bloom filter and libbloom
   3 |     #==========================================================================================
   4 | >>> FROM python:3.10-buster as builder2
   5 |
   6 |     ADD libs /libs
--------------------
ERROR: failed to solve: DeadlineExceeded: DeadlineExceeded: DeadlineExceeded: python:3.10-buster: failed to resolve source metadata for docker.io/library/python:3.10-buster: failed to do request: Head "https://registry-1.docker.io/v2/libr...ts/3.10-buster": dial tcp xx.xx.xx.xx:443: i/o timeout
 
2024-11-19 18:37:37 ERROR Pull images and populate DB - error
2024-11-19 18:37:37 INFO Killing Probe API
Traceback (most recent call last):
  File "/data/first_install.py", line 728, in <module>
    main()
  File "/data/first_install.py", line 578, in main
    pull_populate_deploy()
  File "/data/install_logging.py", line 104, in wrapper
    return func(*args, **kwargs)
  File "/data/first_install.py", line 304, in pull_populate_deploy
    execute_command(["./build_pull_dockerfiles.sh"], cwd=CLOUD_COMPLIANCE_PATH, stream_stdout=True, output_log_level=logging.INFO)
  File "/data/exec_cmd.py", line 29, in execute_command
    raise subprocess.CalledProcessError(returncode=p.returncode, cmd=args[0], output=std_out, stderr=std_err)
subprocess.CalledProcessError: Command '['./build_pull_dockerfiles.sh']' returned non-zero exit status 1.
[2024-11-19 18:37:37 +0000] [62718] [INFO] Parent changed, shutting down: <Worker 62718>
[2024-11-19 18:37:37 +0000] [62718] [INFO] Worker exiting (pid: 62718)

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.