Skip to content

Commit 61c8d81

Browse files
committed
add docs on Reductionist deployment
1 parent 2697cb0 commit 61c8d81

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
### How to deploy [Reductionist](https://github.com/stackhpc/reductionist-rs) on a Rocky 9 cloud machine
2+
3+
- 99% of the docs are found in Reductionist's nice [deployment instructions](https://stackhpc.github.io/reductionist-rs/deployment/)
4+
- there are a few caveats specific to a pristine Rocky 9 (and other distros) deployment though:
5+
- (n00b step) always have a system `pip` by installing it with: `python -m ensurepip --upgrade`
6+
- system Python executable is `python3` - you can, of course, `ln -s` it to `python`, or, better, run Ansible pointing it to the correct system Python3: `ansible-playbook -i reductionist-rs/deployment/inventory reductionist-rs/deployment/site.yml -e 'ansible_python_interpreter=/usr/bin/python3'`
7+
- that call *may result* (as in our case) in a barf:
8+
```
9+
TASK [Ensure step RPM is installed] ****************************************************************************************************
10+
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to validate GPG signature for step-cli-0.24.4-1.x86_64: Package step-cli_0.24.4_amd643z16ickc.rpm is not signed"}
11+
```
12+
- that's because, in our case, we missed the `step-cli` package, and a `dfn` install is not well liked by the system (it's not `mamba` heh) - that gets sorted out via [Step's install docs](https://smallstep.com/docs/step-cli/installation):
13+
```
14+
wget https://dl.smallstep.com/cli/docs-cli-install/latest/step-cli_amd64.rpm
15+
sudo rpm -i step-cli_amd64.rpm
16+
```

0 commit comments

Comments
 (0)