Skip to content

Fail strategies: [<HWTool.STORCLI: 'storcli'>] with storcli_007.3811.0000_all.deb #555

Description

@mastier

Description

hardware observer charm fail with recent the storcli

Fail strategies: [<HWTool.STORCLI: 'storcli'>]

That's it

The storage nodes have SAS3908 RAID controller, which is an OEM branded MegaRaid 9560 series controller by Broadcom. Got to the relevant Download page for that controller. Download the latest StorCLI tool. Unpack it.

juju attach-resource hardware-observer storcli-deb=storcli_007.3811.0000_all.deb

In the logs I can see:

unit-hardware-observer-0: 19:35:09 WARNING unit.hardware-observer/0.juju-log Checksum validation fail, path: /var/lib/juju/agents/unit-hardware-observer-0/resources/storcli.deb hash: ba4ad74981396d496f56f7efad7028339cbfa91178eeccd9a56d34d6dfafa46b
unit-hardware-observer-0: 19:35:09 WARNING unit.hardware-observer/0.juju-log Strategy <hw_tools.StorCLIStrategy object at 0x7004bdf342f0> install fail: 
unit-hardware-observer-0: 19:35:09 INFO unit.hardware-observer/0.juju-log Strategy <hw_tools.IPMISELStrategy object at 0x7004bdf34c20> install success
unit-hardware-observer-0: 19:35:09 INFO unit.hardware-observer/0.juju-log Strategy <hw_tools.IPMIDCMIStrategy object at 0x7004bdf34d70> install success
unit-hardware-observer-0: 19:35:09 INFO unit.hardware-observer/0.juju-log Strategy <hw_tools.IPMISENSORStrategy object at 0x7004bdf34ec0> install success
unit-hardware-observer-0: 19:35:09 INFO unit.hardware-observer/0.juju-log Strategy <hw_tools.RedFishStrategy object at 0x7004bdf35010> install success
unit-hardware-observer-0: 19:35:09 WARNING unit.hardware-observer/0.juju-log Fail strategies: [<HWTool.STORCLI: 'storcli'>]

If I install manually I can, but the charm still will not pick it up

ubuntu@ceph-st-05:~$ apt show storcli
Notice: Ignoring file 'ubuntu.sources.curtin.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
Notice: Unable to locate package storcli
Notice: Unable to locate package storcli
Error: No packages found
ubuntu@ceph-st-05:~$ sudo dpkg -i /var/lib/juju/agents/unit-hardware-observer-0/resources/storcli.deb
Selecting previously unselected package storcli.
(Reading database… 99181 files and directories currently installed.)
Preparing to unpack …/resources/storcli.deb…
Unpacking storcli (007.3811.0000)…
Setting up storcli (007.3811.0000)…

Using the version recommended in the docs works
storcli_007.2310.0000.0000_all.deb

I wonder why the new one cannot work ?

Charm revision

latest/edge (rev 949)

Juju version

3.6.28

Cloud

MAAS

Expected behaviour

hardware-observer in active/idle state after attaching

Reproduce / Test

  1. juju add-model hwobserver-test
  2. juju deploy ubuntu
  3. juju deploy hardware-observer
  4. juju relate ubuntu hardware-observer
  5. Download latest storcli either going to website or directly
wget --content-disposition https://docs.broadcom.com/docs-and-downloads/007.3811.0000_MR_7.38_Storcli.zip
  1. unzip archive and the zip archive inside that one. Get the .deb package
  2. Change the model verbosite :
    juju model-config -m hwobserver-test logging-config="<root>=INFO;unit.hardware-observer/0=DEBUG"
  3. juju attach-resource -m maas-controller:ceph hardware-observer storcli-deb=storcli_007.3811.0000_all.deb
  4. observe status and debug-log

Notes & References

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions