Build Fails: Deploying Applications From Source scenario #1092
Labels
Bug
One or more commands or instructions in a scenario fail to execute cleanly
Topic: OpenShift Basics
I'm going through the Deploying Applications From Source scenario on the Interactive Learning Portal: https://learn.openshift.com/using-the-cluster/
Step 3 says to look at the log and see that the build completed successfully.
The log indicates that there was an error and the command exited with a status of 1
ERROR: Command errored out with exit status 1: /opt/app-root/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-hsqopyr9/psycopg2/setup.py'"'"'; file='"'"'/tmp/pip-install-hsqopyr9/psycopg2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-64q5zloo/install-record.txt --single-version-externally-managed --compile --install-headers /opt/app-root/include/site/python3.8/psycopg2 Check the logs for full command output.
WARNING: You are using pip version 19.3.1; however, version 21.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
subprocess exited with status 1
subprocess exited with status 1
error: build error: error building at STEP "RUN /tmp/scripts/assemble": exit status 1
Step 4 says to wait for the build to complete, and then use the url to visit the blog. That fails because the image is not deployed.
In step 5, when you are deleting the app, I can see that there are hundreds of replicaset.apps "blog-django-py-xxxxxxxx
The text was updated successfully, but these errors were encountered: