canonical / juju-lint

Run checks against a juju model
GNU General Public License v3.0
0 stars 4 forks source link

juju-lint doesn't recognize charms that are used in openstack-base bundle #134

Open zxhdaze opened 6 months ago

zxhdaze commented 6 months ago

Running juju-lint against a bundle export I get this:

... 2021-11-11 17:27:55 [ERROR] [model-export.yaml] [manual/manual] Charm 'mysql-innodb-cluster' not recognised

2021-11-11 17:27:55 [ERROR] [model-export.yaml] [manual/manual] Charm 'mysql-router' not recognised ...

According to the bundle published at https://jaas.ai/openstack-base both mysql-innodb-cluster and mysql-router charms are totally valid.


Imported from Launchpad using lp2gh.

zxhdaze commented 6 months ago

(by elmo) I'm pretty sure you just need to use the right rules file as juju-lint knows about those two charms¹.

If you think otherwise, please provide more detail (e.g. version of juju-lint, command line used).


¹

juju-lint on  master [?] via 🐍 v3.9.7 ❯ rg mysql-router contrib/includes/database/mysql.yaml 10: - mysql-router

juju-lint on  master [?] via 🐍 v3.9.7 ❯ rg mysql.yaml contrib/openstack-focal-ovn.yaml 8:!include includes/database/mysql.yaml

contrib/openstack-focal-ovs.yaml 8:!include includes/database/mysql.yaml

juju-lint on  master [?] via 🐍 v3.9.7 ❯