"juju help image-metadata" error

Bug #1278200 reported by Brad Marshall on 2014-02-09
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
High
Abel Deuring

Bug Description

When trying to bootstrap a juju 1.16.5 instance without having updated the environment, I get the following error:

WARNING Config attribute "default-image-id" (<image-id>) is deprecated and ignored.
Your cloud provider should have set up image metadata to provide the correct image id
for your chosen series and archietcure. If this is a private Openstack deployment without
existing image metadata, please run 'juju help image-metadata' to see how suitable imageme
tadata can be generated.

Then after running the suggested command I get:

$ juju help image-metadata
ERROR unknown command or topic for image-metadata

I believe the message should be updated to say run 'juju-metadata help', as per:

$ juju-metadata help
usage: metadata <command> ...
purpose: tools for generating and validating image and tools metadata

Juju metadata is used to find the correct image and tools when bootstrapping a
Juju environment.

commands:
    generate-image - generate simplestreams image metadata
    generate-tools - generate simplestreams tools metadata
    help - show help on a command or other topic
    sign - sign simplestreams metadata
    validate-images - validate image metadata and ensure image(s) exist for an environment
    validate-tools - validate tools metadata and ensure tools tarball(s) exist for Juju version(s)

The word architecture is also mispelt in the error message as 'archietcure'.

Please let me know if you need any more information.

Juju version:
$ juju --version
1.16.5-precise-amd64

Ubuntu version:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.4 LTS
Release: 12.04
Codename: precise

Brad Marshall (brad-marshall) wrote :

I've also noticed this happens in juju-core 1.17.2.

Curtis Hovey (sinzui) on 2014-02-10
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
milestone: none → 1.18.0
tags: added: cli docs
tags: added: metadata
Curtis Hovey (sinzui) on 2014-02-27
summary: - Juju 1.16.5 needs updated error for image-metadata
+ "juju help image-metadata" error
Curtis Hovey (sinzui) on 2014-03-04
Changed in juju-core:
assignee: nobody → Abel Deuring (adeuring)
Abel Deuring (adeuring) on 2014-03-18
Changed in juju-core:
status: Triaged → Fix Committed
Curtis Hovey (sinzui) on 2014-03-21
Changed in juju-core:
status: Fix Committed → Fix Released
milestone: 1.20.0 → 1.17.6
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers