Cluster upgrade may have trouble with single-quoted CLUSTER_UUID

Bug #1089508 reported by Jeroen T. Vermeulen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Jeroen T. Vermeulen
1.2
Fix Released
High
Jeroen T. Vermeulen

Bug Description

Scott points out (I think it's what he means) that the postinst script for maas-cluster-controller, when migrating an old-style CLUSTER_UUID setting in the celery config into maas_cluster.conf, doesn't cope well with single-quoted uuids even though that is actually what we use. The regex was meant to support that, but the language isn't exactly easy reading.

The potential problem was not actually observed in manual testing of the given scenario. We may have switched from double quotes to single quotes at some point, in which case the fix also needs to be backported.

Related branches

Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
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.