[Feature Request] Warn users about deploying an application on the controller model

Bug #2023345 reported by Brandon Castillo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Wishlist
Unassigned

Bug Description

Because controller models cannot be migrated it would be a good idea to add a warning. Typically for most use cases applications should not be deployed on the controller model. A warning prompted to the user asking if they're sure they want to deploy an application to the controller model may be useful for new users and avoid potential issues if a user wishes to migrate to a newer version of juju in the future.

Example when bootstrapping:
-------------------------------------------------------------------------------
Bootstrap complete, controller "<controller-name>" is now available
Controller machines are in the "controller" model
WARN: It is not recommended to deploy any applications in the "controller" model

Now you can run
 juju add-model <model-name>
to create a new model to deploy workloads.
-------------------------------------------------------------------------------

Example when deploying:
-------------------------------------------------------------------------------
juju deploy <application>
WARN: It is recommended to deploy applications in another model. Are you sure you want to deploy <application> in the "controller" model? y/N
-------------------------------------------------------------------------------

Tags: feature
description: updated
description: updated
description: updated
Changed in juju:
status: New → Triaged
importance: Undecided → Wishlist
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.