Error out when user provides own simplestreams url with no matches
Bug #1900439 reported by
Simon Richardson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Expired
|
High
|
Unassigned |
Bug Description
If a user defines their own simplestreams agent-metadata-url and we don't find a matching binary, then we fallback to one in the $PATH. This is very confusing and not what I expected to happen.
Instead we should fail hard and explain that what they've provided doesn't match what we expect.
Changed in juju: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in juju: | |
milestone: | 2.9.1 → 3.0.0 |
Changed in juju: | |
milestone: | 3.0.0 → 3.0.1 |
Changed in juju: | |
milestone: | 3.0.1 → 3.0.2 |
Changed in juju: | |
milestone: | 3.0.2 → 3.0.3 |
To post a comment you must log in.
This is by design - simplestreams uses a list of search paths. Just because a user provides their own URL, doesn't mean they always want to use *only* the entries from that URL. They may want to override only a specific version etc.
Is there are reason why the established behaviour is wrong? It's been documented that way since the start so we'll need to be careful if we want to change it.