juju deploy --bind is not strict about endpoint names

Bug #1661929 reported by John A Meinel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
John A Meinel
2.1
Fix Released
High
John A Meinel

Bug Description

For both the bindings declared in a bundle, and for the command line, you are allowed to do:
  juju deploy application --bind UNKNOWN=bar

And we will silently ignore the UNKNOWN endpoint, rather than warning/error that you asked us to bind an invalid endpoint.

One result of this is that you can deploy and think you are binding an application to a space, but due to a typo, you are actually not specifying anything.

Tags: deploy binding
Revision history for this message
John A Meinel (jameinel) wrote :
Changed in juju:
assignee: nobody → John A Meinel (jameinel)
status: Triaged → In Progress
description: updated
Changed in juju:
milestone: 2.1-rc1 → 2.2.0-alpha1
Revision history for this message
Anastasia (anastasia-macmood) wrote :

PR into develop (2.2) that included this fix: https://github.com/juju/juju/pull/6934

Changed in juju:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju:
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.