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

CrashLoopBackoff when using ./deploy_hpo.sh -c openshift #136

Open
kdelee opened this issue Apr 3, 2023 · 2 comments
Open

CrashLoopBackoff when using ./deploy_hpo.sh -c openshift #136

kdelee opened this issue Apr 3, 2023 · 2 comments

Comments

@kdelee
Copy link
Contributor

kdelee commented Apr 3, 2023

Container failing to come up when using ./deploy_hpo.sh -c openshift

seeing in the logs of container:

Traceback (most recent call last):
File "/home/hpo/app/src/service.py", line 18, in <module>
import rest_service, grpc_service
File "/home/hpo/app/src/rest_service.py", line 24, in <module>
from json_validate import validate_trial_generate_json
File "/home/hpo/app/src/json_validate.py", line 1, in <module>
import jsonschema
ModuleNotFoundError: No module named 'jsonschema'
@kdelee
Copy link
Contributor Author

kdelee commented Apr 6, 2023

I see jsonschema in the requirements and should be getting installe din

hpo/Dockerfile.hpo

Lines 55 to 56 in d7e024e

RUN python3 -m pip install --user --no-cache-dir --upgrade pip \
&& python3 -m pip install --user --no-cache-dir --requirement ${HPO_HOME}/app/requirements.txt

Wondering why the entrypoint appears to be working with docker but not on openshift as far as using right python environment where the package is correctly loaded

@khansaad
Copy link
Contributor

khansaad commented Apr 6, 2023

@kdelee The reason behind this error is it is pulling the 0.0.2 version of HPO which doesn't contain the latest changes present in the current repo. We'll release 0.0.3 soon. Till then, please try building a custom image with the current code and try using the same on openshift.

Let us know if it still fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants