"juju help image-metadata" error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
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-
Ubuntu version:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.4 LTS
Release: 12.04
Codename: precise
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 1.18.0 |
tags: | added: cli docs |
tags: | added: metadata |
summary: |
- Juju 1.16.5 needs updated error for image-metadata + "juju help image-metadata" error |
Changed in juju-core: | |
assignee: | nobody → Abel Deuring (adeuring) |
Changed in juju-core: | |
status: | Triaged → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
milestone: | 1.20.0 → 1.17.6 |
I've also noticed this happens in juju-core 1.17.2.