ERROR SetConfig not supported by this version of Juju not supported
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Critical
|
Harry Pidcock |
Bug Description
Hi,
I currently have juju installed via snaps and using the latest/candidate channel. The snap client automatically updated this morning to 2.9-rc1-
| $ juju config apt-stresstest stresstest-
| {} ERROR SetConfig not supported by this version of Juju not supported
| $ juju config apt-stresstest stresstest-
| {}
| ERROR SetConfig not supported by this version of Juju not supported
| $ juju config apt-stresstest stresstest-
|
| $
Model is Juju 2.8.3 deployed in Canonistack:
| $ jsft apt-stresstest
| Model Controller Cloud/Region Version SLA Timestamp
| hloeung canonical-
|
| App Version Status Scale Charm Store Rev OS Message
| apt-stresstest active 1 apt-stresstest local 14 ubuntu apt-stresstest installed.
| telegraf active 1 telegraf jujucharms 38 ubuntu Monitoring apt-stresstest/3
|
| Unit Workload Agent Machine Public address Ports Message
| apt-stresstest/3* active idle 70 10.48.131.116 apt-stresstest installed.
| telegraf/3* active idle 10.48.131.116 9103/tcp Monitoring apt-stresstest/3
|
| Machine State DNS Inst id Series AZ Message
| 70 started 10.48.131.116 c7da88f8-
Downgrading the 2.8.6 from latest/stable works:
| $ cat fdafsf
| - ap-northeast-
| - ap-northeast-
| $ juju config apt-stresstest stresstest-
| $ juju version
| 2.8.6-groovy-amd64
| $ juju config apt-stresstest stresstest-
| - ap-northeast-
| - ap-northeast-
| '
| $
description: | updated |
Changed in juju: | |
milestone: | none → 2.9-rc2 |
status: | New → Triaged |
importance: | Undecided → Critical |
Changed in juju: | |
assignee: | nobody → Harry Pidcock (hpidcock) |
status: | Triaged → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
Is that due to commit 2137f5518223d86 7379a183694ff4e 16c8ec4ba4?
+// SetConfig sets configuration options on an application and the charm. branchName, application, configYAML string, config map[string]string) error { NotSupportedf( "SetConfig not supported by this version of Juju")
+func (c *Client) SetConfig(
+ if c.BestAPIVersion() < 13 {
+ return errors.
+ }