ports left open on port config changes
Bug #1921131 reported by
Mauricio Faria de Oliveira
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph RADOS Gateway Charm |
Fix Released
|
Undecided
|
Mauricio Faria de Oliveira |
Bug Description
When the charm config option `port` is changed, the previously opened port is not closed.
This leads to leaks of open ports (potential security issue), and long status on tests:
$ juju config ceph-radosgw port=1111
$ juju config ceph-radosgw port=2222
$ juju config ceph-radosgw port=3333
$ juju status ceph-radosgw
...
Unit Workload Agent Machine Public address Ports Message
ceph-radosgw/1* blocked idle 3 10.5.2.210 80/tcp,
...
$ juju run --unit ceph-radosgw/1 'opened-ports'
80/tcp
1111/tcp
2222/tcp
3333/tcp
Changed in charm-ceph-radosgw: | |
status: | New → In Progress |
assignee: | nobody → Mauricio Faria de Oliveira (mfo) |
Changed in charm-ceph-radosgw: | |
milestone: | none → 21.04 |
Changed in charm-ceph-radosgw: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
https:/ /review. opendev. org/c/openstack /charm- ceph-radosgw/ +/782778