module 'maas' has no attribute 'MAASHelper'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Charm Guide |
Fix Released
|
Undecided
|
Unassigned | ||
OpenStack HA Cluster Charm |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Deployed hacluster with with below definitions
maas_url: &maas-url "http://
maas_credentials: &maas-credentials "*censored*"
stonith_enabled: &stonith-enabled "True"
hacluster-
charm: cs:hacluster
bindings:
pacemaker
options:
maas_url: *maas-url
maas_
stonith_
It resulted in a unit in error, log reveals this
2020-05-28 11:44:18 INFO juju-log Corosync and Pacemaker are validated as up and running.
2020-05-28 11:44:29 DEBUG juju-log Pacemaker is ready
2020-05-28 11:44:29 DEBUG juju-log Applying global cluster configuration
2020-05-28 11:44:30 DEBUG juju-log Configuring no-quorum-policy to stop
2020-05-28 11:44:31 DEBUG juju-log Configuring cluster-
2020-05-28 11:44:32 DEBUG juju-log Checking monitor host configuration
2020-05-28 11:44:33 INFO juju-log Enabling STONITH for all nodes in cluster.
2020-05-28 11:44:33 DEBUG config-changed Traceback (most recent call last):
2020-05-28 11:44:33 DEBUG config-changed File "/var/lib/
2020-05-28 11:44:33 DEBUG config-changed hooks.execute(
2020-05-28 11:44:33 DEBUG config-changed File "/var/lib/
2020-05-28 11:44:33 DEBUG config-changed self._hooks[
2020-05-28 11:44:33 DEBUG config-changed File "/var/lib/
2020-05-28 11:44:33 DEBUG config-changed configure_stonith()
2020-05-28 11:44:33 DEBUG config-changed File "/var/lib/
2020-05-28 11:44:33 DEBUG config-changed nodes = maas.MAASHelper
2020-05-28 11:44:33 DEBUG config-changed AttributeError: module 'maas' has no attribute 'MAASHelper'
2020-05-28 11:44:33 ERROR juju.worker.
Changed in charm-hacluster: | |
assignee: | Alex Kavanagh (ajkavanagh) → Liam Young (gnuoy) |
Changed in charm-guide: | |
status: | In Progress → Fix Committed |
milestone: | none → 21.04 |
assignee: | Aurelien Lourot (aurelien-lourot) → nobody |
Changed in charm-guide: | |
status: | Fix Committed → Fix Released |
Hi, please could you include the version of the charm and the version of Ubuntu? A juju status output + logs would also be very useful for the affected unit.
Thanks.