Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build develop docker image on a Mac #38

Closed
tedhtchang opened this issue Sep 30, 2021 · 2 comments
Closed

Failed to build develop docker image on a Mac #38

tedhtchang opened this issue Sep 30, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@tedhtchang
Copy link
Contributor

Describe the bug
Fail to build develop image on Mac. Error message:

Building dev image kserve/modelmesh-controller-develop:feb21e0272b82ed0
[+] Building 4.8s (8/8) FINISHED
 => [internal] load build definition from Dockerfile.develop                                                                                                                              0.0s
 => => transferring dockerfile: 3.64kB                                                                                                                                                    0.0s
 => [internal] load .dockerignore                                                                                                                                                         0.0s
 => => transferring context: 2B                                                                                                                                                           0.0s
 => [internal] load metadata for registry.access.redhat.com/ubi8/ubi-minimal:8.4                                                                                                          0.7s
 => [1/4] FROM registry.access.redhat.com/ubi8/ubi-minimal:8.4@sha256:54ef2173bba7384dc7609e8affbae1c36f8a3ec137cacc0866116d65dd4b9afe                                                    0.0s
 => [internal] load build context                                                                                                                                                         0.0s
 => => transferring context: 116.07kB                                                                                                                                                     0.0s
 => CACHED [2/4] WORKDIR /workspace                                                                                                                                                       0.0s
 => CACHED [3/4] COPY .pre-commit-config.yaml go.mod go.sum ./                                                                                                                            0.0s
 => ERROR [4/4] RUN microdnf install     diffutils     gcc-c++     make     wget     tar     vim     git     python38     nodejs &&     pip3 install pre-commit &&     set -eux;     wge  3.9s
------
.....
#8 3.831
#8 3.833 error: Not enough free space in /var/cache/yum/metadata: needed 159.1 MB, available 0 bytes
#8 3.847 /bin/sh: wget: command not found
#8 3.848 /bin/sh: tar: command not found
#8 3.849 /bin/sh: go: command not found

To Reproduce
run make build.develop

Expected behavior
Successful build message on a Ubuntu looks like:

Successfully built e8efba498870
Successfully tagged kserve/modelmesh-controller-develop:feb21e0272b82ed0

Environment (please complete the following information):

  • MacBookPro 2015
  • OSX 11.6
  • Docker Engine v20.10.8
@tedhtchang tedhtchang added the bug Something isn't working label Sep 30, 2021
@pugangxa
Copy link
Contributor

Seems I can build it successfully. Checked script it will install wget/tar/go firstly(go installed by wget), so from your message seems #8 3.833 error: Not enough free space in /var/cache/yum/metadata: needed 159.1 MB, available 0 bytes disk full and failed to install these utilities?

@pvaneck
Copy link
Member

pvaneck commented Oct 12, 2021

Right, I can build fine as well on my Mac.

This seems like an issue with your Docker resource settings. Try increasing the Disk image size as specified here: https://docs.docker.com/desktop/mac/space/

Will close this, but reopen if the issue persists.

@pvaneck pvaneck closed this as completed Oct 12, 2021
KimSoungRyoul pushed a commit to KimSoungRyoul/modelmesh-serving that referenced this issue Dec 28, 2022
* KServe Go module and API group change
--------------------------------------

Updated go source files with new go module.
Changed apigroup in yaml files.
Made changes in Makefile to represent the repository and apigroup names.

Verified `make test` is passing.

Removed reference for old names.

* Pointed correct repo reference for ko images (kserve#23)

* Rename changes python - New (kserve#19)

* python changes-initial-commit

* updated api gen.
Renamed package references in python.

* Renamed python/kfserving to python/kserve

* renamed python folder according to package kserve

* Ran client-gen. Updated swagger.json

* renamed constants from KFSERVING_ to KSERVE_.
Yet to change namespace from kfserving-system to kserve and hence not changed in python side.

* Updated kfserving reference to kserve
Updated version for Python Package Index to 0.7.0rc0
Renamed KFServingSampleModel to KServeSampleModel

* Python package and corresponding directory change has to be reflected in test and dockerfiles

* updated a specific version in requirments to address issue with pip resolver.
Added more specific versions in requirements,txt and updated paddleserver setup.py with kserve dependency.

* Changed namespace from kfserving-system to kserve (kserve#31)

* Update local dev scripts (kserve#33)

* initial commit of dev-scripts update

* Updated quick-install

* Updated python Makefile

* Generated install for new release

* Updated generate-install script with new release

* Reverting controller name in makefile.
Will be updated in separate pr.

* Github action changes (kserve#34)

* Github action changes

Migrated images publish to kserve repo.
Added github workflows for the ones that was being pushed to gcr.io from release/triggers.

* Removed batcher publisher since batcher.Dockerfile does not exist
Updated tf2openapi.Dockerfile  to correct directory and package.

* Fixed issue with working directory of tf2openapi workflow

* Removed the deptrecated logger docker

* Excluded tests from linting. (kserve#36)

They were pointing to older directory and package names and
hence were not being excluded while linting.

* Update license (kserve#20)

* Fixed errors thrown by flake8 linter (kserve#37)

* Kfserving kserve manifests changes and code reference changes (kserve#39)

* kfserving -> kserve migartion initial commit

* kfserving -> kserve config changes

* Changed constants.
Updated image reference from kserve to andyarok

* Reverted kserve models web app  image repo.

* go changes for kfserving-kserve

* Updated KFServing refernce in python code

* Updated KFServing to KServe in python doc comments.
Updated references of v1alpha2 from duplicate aliases to just use pkg name.
Updated docs samples references with proper name.
Made changes to use Constant for container name instead of literal "kserve-container".

* Updated gitignore for generated files that came in after folder rename.
Removed the generated files.
Fixed lint warnings for go.

* Removed travis yml file.

* KServe doc update (kserve#38)

* Update main and pythonserver readme

* Update python docs

* Fix role binding

* Update kserve sdk doc

* Fix e2e test script

* Fix import

* Kserve error fix (kserve#40)

* Fixed linting errors in python

* Fixed make test.
Issue with storage initializer name/path.

* Fixed failing python test.
Updated ray version.
Updated KFServingClient reference to KServeClient in kserve init.

* Updated ray version from 1.4.0 to 1.5.0

* Fixed error with e2e due to kfserving reference in test overlay (kserve#42)

Updated quick install and added 0.7.0-rc0 install manifests.
Updated e2e namespace.

* Controller repo update (kserve#45)

Made changes in workflow to update image repo to kserve instead of kfserving

* Controller repo update (kserve#45)

Made changes in workflow to update image repo to kserve instead of kfserving

* update pytorch image

* Fix transformer dockerfile

Co-authored-by: Andrews Arokiam <andrews.arokiam@ideas2it.com>
Co-authored-by: andyi2it <87992092+andyi2it@users.noreply.github.com>
KimSoungRyoul pushed a commit to KimSoungRyoul/modelmesh-serving that referenced this issue Dec 28, 2022
* KServe Go module and API group change
--------------------------------------

Updated go source files with new go module.
Changed apigroup in yaml files.
Made changes in Makefile to represent the repository and apigroup names.

Verified `make test` is passing.

Removed reference for old names.

* Pointed correct repo reference for ko images (kserve#23)

* Rename changes python - New (kserve#19)

* python changes-initial-commit

* updated api gen.
Renamed package references in python.

* Renamed python/kfserving to python/kserve

* renamed python folder according to package kserve

* Ran client-gen. Updated swagger.json

* renamed constants from KFSERVING_ to KSERVE_.
Yet to change namespace from kfserving-system to kserve and hence not changed in python side.

* Updated kfserving reference to kserve
Updated version for Python Package Index to 0.7.0rc0
Renamed KFServingSampleModel to KServeSampleModel

* Python package and corresponding directory change has to be reflected in test and dockerfiles

* updated a specific version in requirments to address issue with pip resolver.
Added more specific versions in requirements,txt and updated paddleserver setup.py with kserve dependency.

* Changed namespace from kfserving-system to kserve (kserve#31)

* Update local dev scripts (kserve#33)

* initial commit of dev-scripts update

* Updated quick-install

* Updated python Makefile

* Generated install for new release

* Updated generate-install script with new release

* Reverting controller name in makefile.
Will be updated in separate pr.

* Github action changes (kserve#34)

* Github action changes

Migrated images publish to kserve repo.
Added github workflows for the ones that was being pushed to gcr.io from release/triggers.

* Removed batcher publisher since batcher.Dockerfile does not exist
Updated tf2openapi.Dockerfile  to correct directory and package.

* Fixed issue with working directory of tf2openapi workflow

* Removed the deptrecated logger docker

* Excluded tests from linting. (kserve#36)

They were pointing to older directory and package names and
hence were not being excluded while linting.

* Update license (kserve#20)

* Fixed errors thrown by flake8 linter (kserve#37)

* Kfserving kserve manifests changes and code reference changes (kserve#39)

* kfserving -> kserve migartion initial commit

* kfserving -> kserve config changes

* Changed constants.
Updated image reference from kserve to andyarok

* Reverted kserve models web app  image repo.

* go changes for kfserving-kserve

* Updated KFServing refernce in python code

* Updated KFServing to KServe in python doc comments.
Updated references of v1alpha2 from duplicate aliases to just use pkg name.
Updated docs samples references with proper name.
Made changes to use Constant for container name instead of literal "kserve-container".

* Updated gitignore for generated files that came in after folder rename.
Removed the generated files.
Fixed lint warnings for go.

* Removed travis yml file.

* KServe doc update (kserve#38)

* Update main and pythonserver readme

* Update python docs

* Fix role binding

* Update kserve sdk doc

* Fix e2e test script

* Fix import

* Kserve error fix (kserve#40)

* Fixed linting errors in python

* Fixed make test.
Issue with storage initializer name/path.

* Fixed failing python test.
Updated ray version.
Updated KFServingClient reference to KServeClient in kserve init.

* Updated ray version from 1.4.0 to 1.5.0

* Fixed error with e2e due to kfserving reference in test overlay (kserve#42)

Updated quick install and added 0.7.0-rc0 install manifests.
Updated e2e namespace.

* Controller repo update (kserve#45)

Made changes in workflow to update image repo to kserve instead of kfserving

* Controller repo update (kserve#45)

Made changes in workflow to update image repo to kserve instead of kfserving

* update pytorch image

* Fix transformer dockerfile

Co-authored-by: Andrews Arokiam <andrews.arokiam@ideas2it.com>
Co-authored-by: andyi2it <87992092+andyi2it@users.noreply.github.com>
KimSoungRyoul pushed a commit to KimSoungRyoul/modelmesh-serving that referenced this issue Dec 28, 2022
Signed-off-by: Wangyu Han <han.wgyu@gmail.com>

Signed-off-by: Wangyu Han <han.wgyu@gmail.com>
hdefazio pushed a commit to hdefazio/modelmesh-serving that referenced this issue Jan 16, 2025
[RHOAIENG-8666] - CVE-2023-45288 odh-modelmesh-serving-controller-con…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants