metadata-source doesn't sanity check the value you give it

Bug #1613537 reported by Nate Finch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Expired
Medium
Unassigned

Bug Description

juju bootstrap --metadata-source doesn't seem to sanity check the value you give it, and if it's not a local directory, it is silently ignored. For example, I screwed up and passed it a URL of some streams I wanted to use, which is not what that flag is for, but it didn't immediately error out, it bootstrapped and then failed to find tools much later on.

Changed in juju-core:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.0.0
Changed in juju-core:
assignee: nobody → Anastasia (anastasia-macmood)
affects: juju-core → juju
Changed in juju:
milestone: 2.0.0 → none
milestone: none → 2.0.0
Changed in juju:
assignee: Anastasia (anastasia-macmood) → nobody
Changed in juju:
assignee: nobody → Alexis Bruemmer (alexis-bruemmer)
Changed in juju:
milestone: 2.0.0 → 2.1.0
Changed in juju:
assignee: Alexis Bruemmer (alexis-bruemmer) → nobody
Revision history for this message
Anastasia (anastasia-macmood) wrote :

Removing 2.1 milestone as we will not be addressing this issue in 2.1.

tags: added: usability
Changed in juju:
importance: High → Medium
milestone: 2.1.0 → none
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 5 years, so we're marking it Expired. If you believe this is incorrect, please update the status.

Changed in juju:
status: Triaged → Expired
tags: added: expirebugs-bot
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.