You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2021-02-03 16:23:42,384 INFO [-] Virtualenv path "/opt/stackstorm/virtualenvs/git" doesn't exist
2021-02-03 16:23:49,616 INFO [-] Successfully set up virtualenv for pack "git"
The end result clearly signalizes you a successfully built and tagged Docker image:
Successfully built ad54b3db93ed
Successfully tagged st2packs:temp
my understanding is that after installation, it tries to copy packs and virtualenvs folder.
2021-02-03 15:58:21,729 INFO [-] Setting up virtualenv for pack "csv"
2021-02-03 15:58:21,730 INFO [-] Virtualenv path "/opt/stackstorm/virtualenvs/csv" doesn't exist
When even though it did not gave any error during image builds, it fails during action runs.
{
"error": "
The virtual environment (/opt/stackstorm/virtualenvs/csv) for pack \"csv\" does not exist. Normally this is
created when you install a pack using \"st2 pack install\". If you installed your pack by some other
means, you can create a new virtual environment using the command:
\"st2 run packs.setup_virtualenv packs=csv\"
",
"traceback": " File \"/opt/stackstorm/st2/lib/python3.6/site-packages/st2actions/container/base.py\", line 128, in _do_run
(status, result, context) = runner.run(action_params)
File \"/opt/stackstorm/st2/lib/python3.6/site-packages/python_runner/python_runner.py\", line 146, in run
raise Exception(msg)
"
}
I am trying to build custom pack image. however keep getting this message
/opt/stackstorm/virtualenvs/{pack} does not exist
example 1
example 2
The text was updated successfully, but these errors were encountered: