ERROR SetConfig not supported by this version of Juju not supported

Bug #1902319 reported by Haw Loeung
8
This bug affects 1 person
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-groovy-amd64 and unfortunately, now I can't update configs:

| $ juju config apt-stresstest stresstest-mirror-config=@fdafsf
| {} ERROR SetConfig not supported by this version of Juju not supported

| $ juju config apt-stresstest stresstest-mirror-config=test
| {}
| ERROR SetConfig not supported by this version of Juju not supported

| $ juju config apt-stresstest stresstest-mirror-config
|
| $

Model is Juju 2.8.3 deployed in Canonistack:

| $ jsft apt-stresstest
| Model Controller Cloud/Region Version SLA Timestamp
| hloeung canonical-jimm.jujucharms.com canonistack-bos01/canonistack-bos01 2.8.3 unsupported 10:31:05+11:00
|
| 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-567b-47fb-a214-8706ad7ed90a focal nova ACTIVE

Downgrading the 2.8.6 from latest/stable works:

| $ cat fdafsf
| - ap-northeast-1.ec2.archive.ubuntu.com: 54.248.192.197
| - ap-northeast-1.ec2.archive.ubuntu.com: 54.168.29.123
| $ juju config apt-stresstest stresstest-mirror-config=@fdafsf

| $ juju version
| 2.8.6-groovy-amd64

| $ juju config apt-stresstest stresstest-mirror-config='
| - ap-northeast-1.ec2.archive.ubuntu.com: 54.248.192.197
| - ap-northeast-1.ec2.archive.ubuntu.com: 54.168.29.123
| '
| $

Haw Loeung (hloeung)
description: updated
Ian Booth (wallyworld)
Changed in juju:
milestone: none → 2.9-rc2
status: New → Triaged
importance: Undecided → Critical
Revision history for this message
Haw Loeung (hloeung) wrote :

Is that due to commit 2137f5518223d867379a183694ff4e16c8ec4ba4?

+// SetConfig sets configuration options on an application and the charm.
+func (c *Client) SetConfig(branchName, application, configYAML string, config map[string]string) error {
+ if c.BestAPIVersion() < 13 {
+ return errors.NotSupportedf("SetConfig not supported by this version of Juju")
+ }

Harry Pidcock (hpidcock)
Changed in juju:
assignee: nobody → Harry Pidcock (hpidcock)
status: Triaged → In Progress
Revision history for this message
Harry Pidcock (hpidcock) wrote :
Ian Booth (wallyworld)
Changed in juju:
status: In Progress → Fix Committed
Revision history for this message
John A Meinel (jameinel) wrote :

Fix committed in 2.9-rc2 can be considered released by now.

Changed in juju:
milestone: 2.9-rc2 → none
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.