Compare commits
5 Commits
Author | SHA1 | Date |
---|---|---|
Nico Schottelius | 4f18286409 | |
Nico Schottelius | 838f4c4c73 | |
Nico Schottelius | 7707f440ee | |
Nico Schottelius | 58a69dfb01 | |
Nico Schottelius | fedfd68c37 |
|
@ -16,5 +16,7 @@ RUN apt-get update && apt-get install -y \
|
|||
megaclisas-status \
|
||||
mpt-status \
|
||||
pciutils \
|
||||
procps \
|
||||
strace \
|
||||
stress-ng
|
||||
stress-ng \
|
||||
tmux
|
||||
|
|
43
README.md
43
README.md
|
@ -10,6 +10,10 @@ image uses significant content from the
|
|||
[hwraid](https://hwraid.le-vert.net/) page that we would like to thank
|
||||
for its years long contribution.
|
||||
|
||||
See also the [ungleich hardware maintenance
|
||||
guide](https://redmine.ungleich.ch/projects/open-infrastructure/wiki/The_ungleich_hardware_maintenance_guide),
|
||||
which describes the use of various hardware raid tools.
|
||||
|
||||
You can use this image from
|
||||
|
||||
* ungleich/ungleich-hardware
|
||||
|
@ -29,8 +33,10 @@ lspci
|
|||
megacli
|
||||
megaclisas-status
|
||||
mpt-status
|
||||
ps
|
||||
strace
|
||||
stress-ng
|
||||
tmux
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
@ -73,9 +79,44 @@ use using the nodeSelector:
|
|||
....
|
||||
```
|
||||
|
||||
### fwupdmgr
|
||||
|
||||
```
|
||||
/usr/bin/dbus-daemon --system --address=systemd: --nopidfile --syslog-only
|
||||
```
|
||||
|
||||
### hpacucli
|
||||
|
||||
Ensure the following kernel modules are loaded on the host:
|
||||
|
||||
```
|
||||
hpsa
|
||||
sg
|
||||
```
|
||||
|
||||
to avoid the
|
||||
|
||||
```
|
||||
# hpacucli controller all show
|
||||
|
||||
Error: No controllers detected.
|
||||
```
|
||||
|
||||
error.
|
||||
|
||||
## Changelog / Tags
|
||||
|
||||
### Planned
|
||||
### 0.1.0 (planned)
|
||||
|
||||
* Include storcli
|
||||
https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/1.23.02_StorCLI.zip
|
||||
* include megacli.py for prometheus supprt
|
||||
https://github.com/ungleich/megacli2prom
|
||||
|
||||
### 0.0.5 (2022-01-15)
|
||||
|
||||
* Added procps for ps
|
||||
* Added tmux to be able to run things in parallel
|
||||
|
||||
### 0.0.4 (2022-01-15)
|
||||
|
||||
|
|
13
build.sh
13
build.sh
|
@ -6,8 +6,17 @@ docker build -t ungleich-hardware .
|
|||
|
||||
while [ $# -ge 1 ]; do
|
||||
tag=$1; shift
|
||||
git tag -a -m "Version $tag" $tag
|
||||
git push --tags
|
||||
# Does the tag exist?
|
||||
if git rev-list "$tag" 2>/dev/null; then
|
||||
cur=$(git describe)
|
||||
if [ $cur != $tag ]; then
|
||||
echo "Requested build for $tag, but we are on $cur, aborting"
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
git tag -a -m "Version $tag" $tag
|
||||
git push --tags
|
||||
fi
|
||||
docker tag ungleich-hardware:latest ungleich/ungleich-hardware:${tag}
|
||||
docker tag ungleich-hardware:latest harbor.ungleich.svc.p10.k8s.ooo/ungleich-public/ungleich-hardware:${tag}
|
||||
docker push ungleich/ungleich-hardware:${tag}
|
||||
|
|
Loading…
Reference in New Issue