Skip to content

Auto Listener feature with wrong subnet makes issue #1717

@gadididi

Description

@gadididi

when client create subsystem with auto listener:

[root@nana]# docker run -it quay.io/ceph/nvmeof-cli:1.6.2 --server-address 10.243.64.27 listener list -n nqn.2016-06.io.spdk:cnode6.mygroup1
Listeners for nqn.2016-06.io.spdk:cnode6.mygroup1:
╒═══════════════════════════════╤═════════════╤══════════════════╤═══════════════════╤══════════╤══════════╤══════════╕
│ Host                          │ Transport   │ Address Family   │ Address           │ Secure   │ Active   │ Manual   │
╞═══════════════════════════════╪═════════════╪══════════════════╪═══════════════════╪══════════╪══════════╪══════════╡
│ autolistrs-gadi-cluster-node1 │ TCP         │ IPv4             │ 10.243.64.27:4420 │ No       │ Yes      │ No       │
├───────────────────────────────┼─────────────┼──────────────────┼───────────────────┼──────────┼──────────┼──────────┤
│ localhost                     │ TCP         │ IPv4             │ 127.0.0.1:4420    │ No       │ Yes      │ No       │
├───────────────────────────────┼─────────────┼──────────────────┼───────────────────┼──────────┼──────────┼──────────┤
│ autolistrs-gadi-cluster-node2 │ TCP         │ IPv4             │ 10.243.64.33:4420 │ No       │ No       │ No       │
├───────────────────────────────┼─────────────┼──────────────────┼───────────────────┼──────────┼──────────┼──────────┤
│ localhost                     │ TCP         │ IPv4             │ 127.0.0.1:4420    │ No       │ Yes      │ No       │
╘═══════════════════════════════╧═════════════╧══════════════════╧═══════════════════╧══════════╧══════════╧══════════╛

It creates automatically the listeners include the localhost IPs.
when the client wants to delete the listeners manually, he can delete the regular listeners, but he cannot delete the "localhost" listeners.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

🆕 New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions