Receiving Tool perccli checksum error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hw-health-charm |
Invalid
|
Medium
|
Mert Kirpici |
Bug Description
I have deployed the latest version of hw-health (rev 18) as part of my deployment, and on my Dell R740 servers I am seeing the following message in juju status: "Tool perccli checksum error"
This was after attempting to follow the instructions to add the perccli utility to the tools.zip resource and attaching it.
Steps I followed:
- Got the perccli tar from the url mentioned on the charm documentation. https:/
(https:/
- extracted the contents from that tar, renamed perccli_
- extracted the current contents of the tools.zip directory to the same tmp directory
- zipped up all of those file in that temp directory to get a new tools.zip file
- performing zipinfo shows that the new zip has the perccli tool in the new tools.zip
- executed the juju attach-resource hw-health tools=/
Some command outputs:
(show the contents of the temp folder used to unpack / pack up the zip resource)
$ ls -al
total 12115
drwxr-xr-x 2 ubuntu ubuntu 7 Aug 23 10:21 .
drwxr-xr-x 15 ubuntu ubuntu 15 Mar 30 18:49 ..
-rwxr-xr-x 1 ubuntu ubuntu 2716736 May 28 2013 megacli
-rw-rw-r-- 1 ubuntu ubuntu 4648512 Aug 23 10:21 perccli
-r--r--r-- 1 ubuntu ubuntu 559164 Mar 11 2016 sas2ircu
-rw-r--r-- 1 ubuntu ubuntu 660560 Apr 2 2018 sas3ircu
-rw-rw-r-- 1 ubuntu ubuntu 5880858 Aug 23 10:21 tools.zip
(what's in the new zip)
$ zipinfo tools.zip
Archive: tools.zip
Zip file size: 5880858 bytes, number of entries: 4
-rwxr-xr-x 3.0 unx 2716736 bx defN 13-May-28 08:30 megacli
-rw-rw-r-- 3.0 unx 4648512 bx defN 22-Aug-23 10:21 perccli
-r--r--r-- 3.0 unx 559164 bx defN 16-Mar-11 23:29 sas2ircu
-rw-r--r-- 3.0 unx 660560 bx defN 18-Apr-02 09:26 sas3ircu
4 files, 8584972 bytes uncompressed, 5880264 bytes compressed: 31.5%
$ juju resources hw-health
Resource Supplied by Revision
tools admin 2022-08-23T10:22
Apologies if this isn't a bug. Hopefully this is just a simple matter of not understanding the correct process.
How should I proceed to correct this checksum error?
Thank you!
Changed in charm-hw-health: | |
milestone: | none → 23.10 |
Changed in charm-hw-health: | |
status: | Incomplete → Invalid |
Changed in charm-hw-health: | |
milestone: | 23.10 → none |
This looks like it is just an updated checksum that needs to be added. I am getting the following updated checksum:
e46d955241c9320 23caf63862cd9da cb2b723b7f94434 0efb0e5afb6a268 1e9d perccli
Please verify if this is what you see as well.