abs_local_path for pack installs should be in a dedicated tmp directory
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6.5k
- Forks
- 787
- PR merge metrics
- No merged PRs in 30d
Description
SUMMARY
Openshift runs all pods and containers in non-root pods and have the HOME Directory pinned at /
This makes the persistentVolumeClaim of packs unsuable to install packs post install.
STACKSTORM VERSION
$ st2 --version
st2 3.8.0,
on Python
3.8.10
OS, environment, install method
Stackstorm-K8s helm chart on Openshift
Steps to reproduce the problem
st2 pack install slack
Expected Results
Pack install to succeed.
Actual Results
Pack install failed due to git clone error:
Traceback git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
cmdline: git clone -v --progress https://github.com/StackStorm-Exchange/stackstorm-slack /be0737f6e3987ee1bf0c68b55ee20fea
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the st2 pack install slack entry point and trace how the pack installation path is chosen before the reported git clone command runs. Verify the behavior in an OpenShift-style non-root environment with HOME set to /; done means pack installation uses a dedicated temporary directory and succeeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100