juju metadata generate image broken

Bug #1829044 reported by Ian Booth on 2019-05-14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Yang Kelvin Liu

Bug Description

As per


The issue is that environs.OpenParams expects a controller-uuid but this is not available from bootstrap-config file. For this metadata generation, we don't use the constructed environ for anything other than extraction some cloud info so controller-uuid could be omitted.

We should look to fix te 3 places that call

func prepare(context *cmd.Context, controllerName string, store jujuclient.ClientStore) (environs.Environ, error)

in github.com/juju/juju/cmd/plugins/juju-metadata/imagemetadata.go

Ian Booth (wallyworld) on 2019-05-14
Changed in juju:
importance: High → Critical
assignee: nobody → Yang Kelvin Liu (kelvin.liu)
Changed in juju:
milestone: 2.6.2 → 2.6.3
Yang Kelvin Liu (kelvin.liu) wrote :

https://github.com/juju/juju/pull/10196 PR will be merged to 2.6 to fix this issue.

Changed in juju:
status: Triaged → In Progress
Changed in juju:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers