port hook commands missing --app option

Bug #2006672 reported by Ian Booth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Won't Fix
High
Yang Kelvin Liu

Bug Description

The port related hook commands

open-port
close-port
opened-ports

should have an --app option similar to relation-set etc

For machine charms, each unit can separately call open-port etc. But for k8s charms, only the leader can call it and each unit gets the same ports.

So we need to provide --app to give the same experience as for relation-set et al.

For k8s, we will need to fail with an error message like "ports cannot be managed for individual units" if --app is not used.

For machine charms, --app is not (yet) supported so a error message is needed if --app is used.

Tags: k8s
Changed in juju:
assignee: nobody → Yang Kelvin Liu (kelvin.liu)
Revision history for this message
Ben Hoyt (benhoyt) wrote :

Closing as we've decided not to take this approach any more. We're going to do https://bugs.launchpad.net/juju/+bug/2007334 instead.

Changed in juju:
status: Triaged → Won't Fix
Harry Pidcock (hpidcock)
Changed in juju:
milestone: 3.1.1 → 3.1.2
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.