-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add_host and create_listener are allowed to apply multiple times without any message/errors #144
Comments
@preethisn how about adding host "" to allow all hosts followed by add_host for specific hosts? Should we allow that? If we don't, it begs the question what to if we already have a few hosts added and then we add "". Should we remove the existing host entries? |
gbregman
added a commit
to gbregman/ceph-nvmeof
that referenced
this issue
Oct 22, 2023
Also, minor changes to delete_bdev and ANA handling in create_listener. Fixes ceph#144 Signed-off-by: Gil Bregman <[email protected]>
gbregman
added a commit
to gbregman/ceph-nvmeof
that referenced
this issue
Oct 22, 2023
Also, minor changes to delete_bdev and ANA handling in create_listener. Fixes ceph#144 Signed-off-by: Gil Bregman <[email protected]>
gbregman
changed the title
Add_host and Creation_listerner are allowed to apply multiple times without any message/errors
Add_host and Creation_listener are allowed to apply multiple times without any message/errors
Oct 22, 2023
gbregman
added a commit
to gbregman/ceph-nvmeof
that referenced
this issue
Oct 22, 2023
Fixes ceph#144 Signed-off-by: Gil Bregman <[email protected]>
gbregman
changed the title
Add_host and Creation_listener are allowed to apply multiple times without any message/errors
add_host and create_listener are allowed to apply multiple times without any message/errors
Oct 22, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add_host and Creation_listerner is allowed to be applied multiple times without any message to the user - We do not see any errors/message to the users when we apply the same add_host and create_listener commands multiple times.
Not sure why the API is allowing the ideomptancy for these commands. We expect some message when user tries to rerun the same commands multiple times.
[root@clara010 ceph-nvmeof]# python3 -m control.cli create_listener -n nqn.2016-06.io.spdk:nvme1 -s 5001
INFO:main:Created nqn.2016-06.io.spdk:nvme1 listener: True
[root@clara010 ceph-nvmeof]# python3 -m control.cli create_listener -n nqn.2016-06.io.spdk:nvme1 -s 5001
INFO:main:Created nqn.2016-06.io.spdk:nvme1 listener: True
[root@clara010 ceph-nvmeof]# python3 -m control.cli create_listener -n nqn.2016-06.io.spdk:nvme1 -s 5001
[root@clara010 ceph-nvmeof]# python3 -m control.cli add_host -n nqn.2016-06.io.spdk:nvme0 -t ''
INFO:main:Allowed open host access to nqn.2016-06.io.spdk:nvme0: True
[root@clara010 ceph-nvmeof]# python3 -m control.cli add_host -n nqn.2016-06.io.spdk:nvme0 -t ''
INFO:main:Allowed open host access to nqn.2016-06.io.spdk:nvme0: True
[root@clara010 ceph-nvmeof]#
The text was updated successfully, but these errors were encountered: