EntityAddress format in ceph ssd blacklist commands
Hi, I want to understand the <EntityAddress> format for `ceph osd blacklist` commands. The documentation just says it's the address. But I am not sure if it can just be the host IP address or anything else. What does *:0/* *3710147553* represent in the following output? $ ceph osd blacklist ls listed 1 entries127.0.0.1:0/3710147553 2018-03-19 11:32:24.716146 $ ceph osd blacklist rm 127.0.0.1:0/3710147553 un-blacklisting 127.0.0.1:0/3710147553 Regards, Shridhar
On Fri, Aug 7, 2020 at 10:25 PM Void Star Nill <void.star.nill@gmail.com> wrote:
Hi,
I want to understand the <EntityAddress> format for `ceph osd blacklist` commands. The documentation just says it's the address. But I am not sure if it can just be the host IP address or anything else. What does *:0/* *3710147553* represent in the following output?
$ ceph osd blacklist ls listed 1 entries127.0.0.1:0/3710147553 2018-03-19 11:32:24.716146 $ ceph osd blacklist rm 127.0.0.1:0/3710147553 un-blacklisting 127.0.0.1:0/3710147553
The format is <ip>:<port>/<nonce>. For clients, nonce is a random value used to distinguish multiple clients on the same host. Thanks, Ilya
Thanks Ilya. I assume *<ip>:0/0* indicates all clients on a given host? Thanks, Shridhar On Mon, 10 Aug 2020 at 03:07, Ilya Dryomov <idryomov@gmail.com> wrote:
On Fri, Aug 7, 2020 at 10:25 PM Void Star Nill <void.star.nill@gmail.com> wrote:
Hi,
I want to understand the <EntityAddress> format for `ceph osd blacklist` commands. The documentation just says it's the address. But I am not sure if it can just be the host IP address or anything else. What does *:0/* *3710147553* represent in the following output?
$ ceph osd blacklist ls listed 1 entries127.0.0.1:0/3710147553 2018-03-19 11:32:24.716146 $ ceph osd blacklist rm 127.0.0.1:0/3710147553 un-blacklisting 127.0.0.1:0/3710147553
The format is <ip>:<port>/<nonce>. For clients, nonce is a random value used to distinguish multiple clients on the same host.
Thanks,
Ilya
On Mon, Aug 10, 2020 at 6:14 PM Void Star Nill <void.star.nill@gmail.com> wrote:
Thanks Ilya.
I assume <ip>:0/0 indicates all clients on a given host?
No, a blacklist entry always affects a single client instance. For clients (as opposed to daemons, e.g. OSDs), the port is 0. 0 is a valid nonce. Thanks, Ilya
Thanks Ilya for the clarification. -Shridhar On Mon, 10 Aug 2020 at 10:00, Ilya Dryomov <idryomov@gmail.com> wrote:
On Mon, Aug 10, 2020 at 6:14 PM Void Star Nill <void.star.nill@gmail.com> wrote:
Thanks Ilya.
I assume <ip>:0/0 indicates all clients on a given host?
No, a blacklist entry always affects a single client instance. For clients (as opposed to daemons, e.g. OSDs), the port is 0.
0 is a valid nonce.
Thanks,
Ilya
participants (2)
-
Ilya Dryomov
-
Void Star Nill