error getting secret content on k8s models

Bug #2004006 reported by Ian Booth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Critical
Ian Booth

Bug Description

On a k8s model with a k8s secret backend, secret-get fails

$ juju exec --unit controller/0 "secret-get secret:cf9n1a0rsjec7biq92gg"
ERROR external secret backend "49bf67d1-a8f3-47ec-8d65-f39e204311e4" not found
ERROR the following task failed:
 - id "8" with return code 1

use 'juju show-task' to inspect the failure

or

$ juju show-secret secret:cf9n1a0rsjec7biq92gg --reveal
cf9n1a0rsjec7biq92gg:
  revision: 1
  owner: controller
  created: 2023-01-27T06:35:20Z
  updated: 2023-01-27T06:35:20Z
  error: 'getting secrets backend "49bf67d1-a8f3-47ec-8d65-f39e204311e4": secret backend
    "49bf67d1-a8f3-47ec-8d65-f39e204311e4" not found'

Tags: k8s secrets
Revision history for this message
Ian Booth (wallyworld) wrote :
Changed in juju:
status: Triaged → In Progress
Ian Booth (wallyworld)
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
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.