vSphere providers should be able to register custom model-config keys
Bug #1854996 reported by
Tim McNamara
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
The model-config command alerts users when they've defined a key/value that Juju doesn't know about. Because the client has access to the provider code, perhaps there should be a mechanism for the provider to be able to register keys that it knows about?
This is an acute problem with vsphere, as a few options are required:
$ juju model-config datastore=
WARNING key "datastore" is not defined in the current model configuration: possible misspelling
$ juju model-config primary-
WARNING key "primary-network" is not defined in the current model configuration: possible misspelling
summary: |
- Providers should be able to register custom model-config keys + vSphere providers should be able to register custom model-config keys |
To post a comment you must log in.
We have 4 sphere specific config keys defined: /github. com/juju/ juju/blob/ develop/ provider/ vsphere/ config. go#L14
https:/
Including the 2 specifically listed.
Try:
juju show-cloud --include-config <name of defined vsphere cloud>
Though we've had reports that the config values are not included. That may be the problem.