ilorest doesn't start on CIS hardened system => --version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hw-health-charm |
Fix Released
|
High
|
Mert Kirpici |
Bug Description
Affected version: 0b91633644ad3e5
$ juju status | grep -m1 hw-health
hw-health active 36 hw-health edge 19 no ready
Essentially the same thing as LP#1935032, so this can be considered a regression.
It seems that a commit (2a026482a552a4
$ /usr/sbin/ilorest --version
/usr/sbin/ilorest: error while loading shared libraries: libz.so.1: failed to map segment from shared object
$ export TMP="/var/
$ /usr/sbin/ilorest --version
RESTful Interface Tool 3.2.2
It is probably a good idea to define a helper for the call to ilorest, and then reuse it in the check to hopefully avoid the issue from surfacing again in the future. Also adding it to some documentation/
Related branches
- Martin Kalcok (community): Approve
- 🤖 prod-jenkaas-bootstack (community): Approve (continuous-integration)
- Erhan Sunar (community): Approve
- Eric Chen: Approve
- Robert Gildein: Approve
-
Diff: 246 lines (+68/-39)3 files modifiedsrc/files/ilorest/cron_ilorest.py (+26/-8)
src/tests/unit/test_cron_ilorest.py (+39/-29)
src/tox.ini (+3/-2)
Changed in charm-hw-health: | |
status: | New → Confirmed |
importance: | Undecided → High |
tags: | added: bseng-487 |
Changed in charm-hw-health: | |
assignee: | nobody → Mert Kirpici (mertkirpici) |
Changed in charm-hw-health: | |
status: | Confirmed → In Progress |
Changed in charm-hw-health: | |
status: | In Progress → Fix Committed |
Changed in charm-hw-health: | |
milestone: | none → 23.01 |
Changed in charm-hw-health: | |
status: | Fix Committed → Fix Released |
Revision 27 that contains the fix is now released on channel edge.