The bootstrap action is not idempotent
Bug #1949577 reported by
Vern Hart
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:/
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.