Charmhub docs should explain how to provide the tool resource

Bug #2024412 reported by Andy Wu
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
hw-health-charm
Fix Released
Medium
Ashley James

Bug Description

charm resource tools.zip has 0 size from latest/stable (rev 30) , edge channel (revision 31), series jammy

ubuntu@jppdmaas001:~/ceph-build$ juju resources hw-health
Resource Supplied by Revision
tools charmstore 0

https://charmhub.io/hw-health/resources/tools

some tools like megacli will be installed from tools.zip by default , but failed with BadZipFile error

2023-06-16 18:21:27 INFO unit.hw-health/3.juju-log server.go:316 nrpe-external-master:97: status-set: maintenance: Installing tool MegaCLI
2023-06-16 18:21:27 ERROR unit.hw-health/3.juju-log server.go:316 nrpe-external-master:97: BadZipFile: File is not a zip file

As the result, nagios will show unknown status for megacli related check simply because the megacli is not installed

Tags: bseng-1312

Related branches

Andy Wu (qch2012)
description: updated
Revision history for this message
Andrea Ieri (aieri) wrote :

this is actually intended behavior: users must assemble their own resource after having downloaded the vendor binaries from their respective sources and agreed to their specific EULAs.

The bug is however still valid since this behavior is documented in the README.md file, which is no longer shown at https://charmhub.io/hw-health

Changed in charm-hw-health:
status: New → Triaged
importance: Undecided → Medium
summary: - tool.zip has 0 size
+ Charmhub docs should explain how to provide the tool resource
tags: added: bseng-1312
Revision history for this message
Nicholas Malacarne (nicholas-malacarne) wrote (last edit ):

It seems like there needs to be docs index page for the charm [0]. Once the docs index page exists the url can be added to metadata.yaml under the docs key [1]. Unfortunately I can not log into the charmhub discourse.

[0] https://juju.is/docs/sdk/add-docs-to-your-charmhub-page#heading--create-docs-for-your-charm-on-discourse
[1] https://github.com/canonical/nginx-ingress-integrator-operator/blob/754d3a7c3bb5f8a306f687972bd313d0cdcd6e55/metadata.yaml#L7

Ashley James (dashmage)
Changed in charm-hw-health:
assignee: nobody → Ashley James (dashmage)
Revision history for this message
Ashley James (dashmage) wrote :

The details are visible on the charmhub page for the edge channel now [1]. Once the build is promoted to the stable channel, it will be visible on the main page [2].

[1]: https://charmhub.io/hw-health?channel=edge
[2]: https://charmhub.io/hw-health

Changed in charm-hw-health:
status: Triaged → Fix Committed
milestone: none → 23.07
Ashley James (dashmage)
Changed in charm-hw-health:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.