The bootstrap action is not idempotent

Bug #1949577 reported by Vern Hart
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Landscape Charm
New
Undecided
Unassigned

Bug Description

When deploying a cloud with the foundation cloud engine (fce) an application step will run the bootstrap action of the landscape-server charm. This is necessary to automate and standardize a deployment.

Unfortunately, if we run the landscape application step again, it re-runs the bootstrap action which fails with the following error in the action output:

    Error code: DuplicateAccount

The full output: https://pastebin.ubuntu.com/p/Pbb9cdyJnh/

Would it be possible to rework the bootstrap action to detect if landscape has already been bootstrapped and return the API credentials instead of throwing an error?

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.