Compare commits

...

5 Commits

Author SHA1 Message Date
Nico Schottelius 4f18286409 Plan for 0.1.0 2022-02-20 21:52:08 +01:00
Nico Schottelius 838f4c4c73 Be smarter about tag creation 2022-02-20 21:48:08 +01:00
Nico Schottelius 7707f440ee ++tools 2022-02-12 13:36:06 +01:00
Nico Schottelius 58a69dfb01 [doc] link to the ungleich hardware maintenance guide 2022-01-15 20:56:01 +01:00
Nico Schottelius fedfd68c37 [doc] add hint for hp controller 2022-01-15 20:54:26 +01:00
3 changed files with 56 additions and 4 deletions

View File

@ -16,5 +16,7 @@ RUN apt-get update && apt-get install -y \
megaclisas-status \
mpt-status \
pciutils \
procps \
strace \
stress-ng
stress-ng \
tmux

View File

@ -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)

View File

@ -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}