juju metadata generate-metadata clumsy to use for private clouds

Bug #1237286 reported by John A Meinel
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Ian Booth

Bug Description

We do have code now that will generate the index.json and imagemetadata.json files.

However, it is still hard to actually get that content into the right location on the cloud and have it actually configured correctly. It is also hard (often) to figure out what values go into what flag.

Consider things like "-n" name (which seems entirely arbitrary), and then "-r" region which we've already declared in your environment.jenv file.

We should be able to easily take all the values from an existing enviroment setting, and just have the user set what image id they want to use.

So something like:

 juju generate-and-upload-metadata-for -e MYENV -s precise -a amd64 -i abcdefg

-s and -a will have precise/amd64 as defaults, and the end result of the command is to have that data published into their private cloud bucket at the location that juju will look at.

Related branches

Jonathan Davies (jpds)
tags: added: cts-cloud-review
Revision history for this message
Ian Booth (wallyworld) wrote :

This command was written initially as a developer tool where it is not a problem to have fine grained parameters being required. Subsequently, other similar commands for tools metadata have been done and these do allow sensible values to be extracted from a specified environment. The new functionality from these latter commands needs to be back ported.

Ian Booth (wallyworld)
Changed in juju-core:
milestone: none → 1.17.0
assignee: nobody → Ian Booth (wallyworld)
status: Triaged → In Progress
importance: Low → High
Curtis Hovey (sinzui)
tags: added: cts
removed: cts-cloud-review
Curtis Hovey (sinzui)
tags: added: cts-cloud-review
removed: cts
Ian Booth (wallyworld)
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
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.