DNS-HA fails to create DNS entries when invalid maas-api key is replaced with valid key

Bug #1809131 reported by Jeff Hillman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack HA Cluster Charm
New
Undecided
Unassigned

Bug Description

In a situation where the bundle has an incorrect maas_credentials configured, the cluster will come up and show that is is Ready, and it will allow the underlying service (glance/keystone/mysql/whatever) to come up in a clustered state.

however, due to the API key being wrong, the dns entries are not created in MAAS.

If either a juju config hacluster-<service> maas_credentials=<correct-key> is entered -OR- the bundle is fixed and re-deployed on top of an existing cloud, the hostnames are still not created in MAAS.

I have tried manually running config-changed, updated-status, and even stop then start hooks and the DNS entries are never created.

This requires the model to be destroyed and then the bundle re-deployed.

Tags: cpe-onsite
Liam Young (gnuoy)
Changed in charm-hacluster:
assignee: nobody → Liam Young (gnuoy)
Revision history for this message
Liam Young (gnuoy) wrote :

I think a fix for this is going to be dependant on https://review.openstack.org/#/c/605844/

Changed in charm-hacluster:
assignee: Liam Young (gnuoy) → nobody
Revision history for this message
Jeff Hillman (jhillman) wrote :

That's unfortunate, considering that the referenced bug has been stale for 3 months...

Revision history for this message
James Page (james-page) wrote :

the underlying issue here is that its not possible to update an existing resource that's already been created in pacemaker; an attempt was made to support this but it proved buggy in the underlying tooling so was reverted prior to the subsequent charm release.

Revision history for this message
James Page (james-page) wrote :

Resource mutation is covered in the hacluster charm in the duped bug report.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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