Instructions for migrating to provisioner-harvest-mode are wrong

Bug #1394751 reported by Adam Collard
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Medium
Ian Booth
1.21
Fix Released
Medium
Ian Booth

Bug Description

Using juju with the old style provisioner-safe-mode emits a warning message suggesting to migrate to provisioner-harvest-mode but directs the user badly.

⟫ juju bootstrap
WARNING Config attribute "provisioner-safe-mode" (true) is deprecated.
It is replaced by "provisioner-harvest-mode" attribute.
Your configuration should be updated to set "provisioner-harvest-mode" as follows
provisioner-harvest-mode: true.
Bootstrapping environment "beretstack"
Bootstrap failed, destroying environment
⟫ juju bootstrap --upload-tools
Bootstrap failed, cleaning up the environment.
ERROR there was an issue examining the environment: provisioner-harvest-mode: expected string, got bool(false)
⟫ juju bootstrap --upload-tools
Bootstrap failed, cleaning up the environment.
ERROR there was an issue examining the environment: provisioner-harvest-mode: expected string, got bool(true)
⟫ juju bootstrap --upload-tools
Bootstrap failed, cleaning up the environment.
ERROR there was an issue examining the environment: unknown harvesting method: false

Note I ended up using "none" as the setting which seems the correct migration from provisioner-safe-mode: true.

Tags: docs landscape
Ian Booth (wallyworld)
Changed in juju-core:
milestone: none → 1.21-beta4
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Ian Booth (wallyworld) wrote :

If safe mode is true, then harvest mode "destroyed" will be used. There was a typo in the warning message which will be fixed.

Ian Booth (wallyworld)
Changed in juju-core:
assignee: nobody → Ian Booth (wallyworld)
status: Triaged → In Progress
milestone: 1.21-beta4 → 1.22
Ian Booth (wallyworld)
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
tags: added: docs
Curtis Hovey (sinzui)
Changed in juju-core:
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.