Skip to content
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

alba get-osd-claimed-by is rather subawesome when specifying ips #783

Closed
JeffreyDevloo opened this issue Aug 10, 2017 · 1 comment
Closed
Milestone

Comments

@JeffreyDevloo
Copy link

Problem description

The command can only take one host in. If this host would be unreachable the error ' I dont think this is an osd' is raised which is also rather subawesome

Multiple hosts

root@jef-node01:~# alba get-osd-claimed-by --host 10.100.100.100 --host 10.100.100.100
alba: option `--host' cannot be repeated
Usage: alba get-osd-claimed-by [OPTION]... 
Try `alba get-osd-claimed-by --help' or `alba --help' for more information.

Specifying multiple ips (with the weird 'I dont think...')

alba get-osd-claimed-by --host 10.100.69.120,10.100.69.130 --port 8602 --verbose
2017-08-10 11:43:55 955070 +0200 - jef-node01 - 27386/0000 - alba/cli - 0 - debug - get_kind conn_info:{ Networking2.ips = ["10.100.69.120,10.100.69.130"]; port = 8602;;  transport = Net_fd.TCP; tls_config = None }
2017-08-10 11:43:55 955811 +0200 - jef-node01 - 27386/0000 - alba/cli - 1 - debug - attempt:i=5
2017-08-10 11:43:55 955829 +0200 - jef-node01 - 27386/0000 - alba/cli - 2 - debug - is it an asd?
2017-08-10 11:43:55 955868 +0200 - jef-node01 - 27386/0000 - alba/cli - 3 - debug - connecting to { Networking2.ips = ["10.100.69.120,10.100.69.130"]; port = 8602;;  transport = Net_fd.TCP; tls_config = None }
2017-08-10 11:43:55 955982 +0200 - jef-node01 - 27386/0000 - alba/cli - 4 - debug - Failed to connect to 10.100.69.120,10.100.69.130:8602: (Failure inet_addr_of_string); backtrace:; Raised by primitive operation at file "src/tools/networking2.ml", line 10, characters 11-38; Called from file "src/tools/networking2.ml", line 19, characters 16-36; Called from file "src/tools/networking2.ml", line 147, characters 9-51; Called from file "src/core/lwt.ml", line 703, characters 20-24
2017-08-10 11:43:55 956025 +0200 - jef-node01 - 27386/0000 - alba/cli - 5 - debug - probably not an asd...: (Failure inet_addr_of_string); backtrace:; Raised at file "format.ml", line 241, characters 41-52; Called from file "format.ml", line 482, characters 6-24
2017-08-10 11:43:55 956039 +0200 - jef-node01 - 27386/0000 - alba/cli - 6 - debug - is it a kinetic?
2017-08-10 11:43:55 956068 +0200 - jef-node01 - 27386/0000 - alba/cli - 7 - debug - connecting to { Networking2.ips = ["10.100.69.120,10.100.69.130"]; port = 8602;;  transport = Net_fd.TCP; tls_config = None }
2017-08-10 11:43:55 956098 +0200 - jef-node01 - 27386/0000 - alba/cli - 8 - debug - Failed to connect to 10.100.69.120,10.100.69.130:8602: (Failure inet_addr_of_string); backtrace:; Raised by primitive operation at file "src/tools/networking2.ml", line 10, characters 11-38; Called from file "src/tools/networking2.ml", line 19, characters 16-36; Called from file "src/tools/networking2.ml", line 147, characters 9-51; Called from file "src/core/lwt.ml", line 703, characters 20-24
2017-08-10 11:43:55 956120 +0200 - jef-node01 - 27386/0000 - alba/cli - 9 - debug - probably not a kinetic...: (Failure inet_addr_of_string); backtrace:; Raised at file "format.ml", line 241, characters 41-52; Called from file "format.ml", line 482, characters 6-24
2017-08-10 11:43:55 956142 +0200 - jef-node01 - 27386/0000 - alba/cli - 10 - debug - sleeping for 0.200000
2017-08-10 11:43:56 154922 +0200 - jef-node01 - 27386/0000 - alba/cli - 11 - debug - attempt:i=4
2017-08-10 11:43:56 155012 +0200 - jef-node01 - 27386/0000 - alba/cli - 12 - debug - is it an asd?
2017-08-10 11:43:56 155108 +0200 - jef-node01 - 27386/0000 - alba/cli - 13 - debug - connecting to { Networking2.ips = ["10.100.69.120,10.100.69.130"]; port = 8602;;  transport = Net_fd.TCP; tls_config = None }
2017-08-10 11:43:56 155206 +0200 - jef-node01 - 27386/0000 - alba/cli - 14 - debug - Failed to connect to 10.100.69.120,10.100.69.130:8602: (Failure inet_addr_of_string); backtrace:; Raised by primitive operation at file "src/tools/networking2.ml", line 10, characters 11-38; Called from file "src/tools/networking2.ml", line 19, characters 16-36; Called from file "src/tools/networking2.ml", line 147, characters 9-51; Called from file "src/core/lwt.ml", line 703, characters 20-24
2017-08-10 11:43:56 155278 +0200 - jef-node01 - 27386/0000 - alba/cli - 15 - debug - probably not an asd...: (Failure inet_addr_of_string); backtrace:; Raised at file "format.ml", line 241, characters 41-52; Called from file "format.ml", line 482, characters 6-24
2017-08-10 11:43:56 155313 +0200 - jef-node01 - 27386/0000 - alba/cli - 16 - debug - is it a kinetic?
2017-08-10 11:43:56 155383 +0200 - jef-node01 - 27386/0000 - alba/cli - 17 - debug - connecting to { Networking2.ips = ["10.100.69.120,10.100.69.130"]; port = 8602;;  transport = Net_fd.TCP; tls_config = None }
2017-08-10 11:43:56 155502 +0200 - jef-node01 - 27386/0000 - alba/cli - 18 - debug - Failed to connect to 10.100.69.120,10.100.69.130:8602: (Failure inet_addr_of_string); backtrace:; Raised by primitive operation at file "src/tools/networking2.ml", line 10, characters 11-38; Called from file "src/tools/networking2.ml", line 19, characters 16-36; Called from file "src/tools/networking2.ml", line 147, characters 9-51; Called from file "src/core/lwt.ml", line 703, characters 20-24
2017-08-10 11:43:56 158296 +0200 - jef-node01 - 27386/0000 - alba/cli - 19 - debug - probably not a kinetic...: (Failure inet_addr_of_string); backtrace:; Raised at file "format.ml", line 241, characters 41-52; Called from file "format.ml", line 482, characters 6-24
2017-08-10 11:43:56 158385 +0200 - jef-node01 - 27386/0000 - alba/cli - 20 - debug - sleeping for 0.400000
2017-08-10 11:43:56 555969 +0200 - jef-node01 - 27386/0000 - alba/cli - 21 - debug - attempt:i=3
2017-08-10 11:43:56 556131 +0200 - jef-node01 - 27386/0000 - alba/cli - 22 - debug - is it an asd?
2017-08-10 11:43:56 556243 +0200 - jef-node01 - 27386/0000 - alba/cli - 23 - debug - connecting to { Networking2.ips = ["10.100.69.120,10.100.69.130"]; port = 8602;;  transport = Net_fd.TCP; tls_config = None }
2017-08-10 11:43:56 556403 +0200 - jef-node01 - 27386/0000 - alba/cli - 24 - debug - Failed to connect to 10.100.69.120,10.100.69.130:8602: (Failure inet_addr_of_string); backtrace:; Raised by primitive operation at file "src/tools/networking2.ml", line 10, characters 11-38; Called from file "src/tools/networking2.ml", line 19, characters 16-36; Called from file "src/tools/networking2.ml", line 147, characters 9-51; Called from file "src/core/lwt.ml", line 703, characters 20-24
2017-08-10 11:43:56 556480 +0200 - jef-node01 - 27386/0000 - alba/cli - 25 - debug - probably not an asd...: (Failure inet_addr_of_string); backtrace:; Raised at file "format.ml", line 241, characters 41-52; Called from file "format.ml", line 482, characters 6-24
2017-08-10 11:43:56 556515 +0200 - jef-node01 - 27386/0000 - alba/cli - 26 - debug - is it a kinetic?
2017-08-10 11:43:56 556588 +0200 - jef-node01 - 27386/0000 - alba/cli - 27 - debug - connecting to { Networking2.ips = ["10.100.69.120,10.100.69.130"]; port = 8602;;  transport = Net_fd.TCP; tls_config = None }
2017-08-10 11:43:56 556663 +0200 - jef-node01 - 27386/0000 - alba/cli - 28 - debug - Failed to connect to 10.100.69.120,10.100.69.130:8602: (Failure inet_addr_of_string); backtrace:; Raised by primitive operation at file "src/tools/networking2.ml", line 10, characters 11-38; Called from file "src/tools/networking2.ml", line 19, characters 16-36; Called from file "src/tools/networking2.ml", line 147, characters 9-51; Called from file "src/core/lwt.ml", line 703, characters 20-24
2017-08-10 11:43:56 556723 +0200 - jef-node01 - 27386/0000 - alba/cli - 29 - debug - probably not a kinetic...: (Failure inet_addr_of_string); backtrace:; Raised at file "format.ml", line 241, characters 41-52; Called from file "format.ml", line 482, characters 6-24
2017-08-10 11:43:56 556775 +0200 - jef-node01 - 27386/0000 - alba/cli - 30 - debug - sleeping for 0.800000
2017-08-10 11:43:57 356064 +0200 - jef-node01 - 27386/0000 - alba/cli - 31 - debug - attempt:i=2
2017-08-10 11:43:57 356164 +0200 - jef-node01 - 27386/0000 - alba/cli - 32 - debug - is it an asd?
2017-08-10 11:43:57 356369 +0200 - jef-node01 - 27386/0000 - alba/cli - 33 - debug - connecting to { Networking2.ips = ["10.100.69.120,10.100.69.130"]; port = 8602;;  transport = Net_fd.TCP; tls_config = None }
2017-08-10 11:43:57 356528 +0200 - jef-node01 - 27386/0000 - alba/cli - 34 - debug - Failed to connect to 10.100.69.120,10.100.69.130:8602: (Failure inet_addr_of_string); backtrace:; Raised by primitive operation at file "src/tools/networking2.ml", line 10, characters 11-38; Called from file "src/tools/networking2.ml", line 19, characters 16-36; Called from file "src/tools/networking2.ml", line 147, characters 9-51; Called from file "src/core/lwt.ml", line 703, characters 20-24
2017-08-10 11:43:57 356617 +0200 - jef-node01 - 27386/0000 - alba/cli - 35 - debug - probably not an asd...: (Failure inet_addr_of_string); backtrace:; Raised at file "format.ml", line 241, characters 41-52; Called from file "format.ml", line 482, characters 6-24
2017-08-10 11:43:57 356655 +0200 - jef-node01 - 27386/0000 - alba/cli - 36 - debug - is it a kinetic?
2017-08-10 11:43:57 356729 +0200 - jef-node01 - 27386/0000 - alba/cli - 37 - debug - connecting to { Networking2.ips = ["10.100.69.120,10.100.69.130"]; port = 8602;;  transport = Net_fd.TCP; tls_config = None }
2017-08-10 11:43:57 356803 +0200 - jef-node01 - 27386/0000 - alba/cli - 38 - debug - Failed to connect to 10.100.69.120,10.100.69.130:8602: (Failure inet_addr_of_string); backtrace:; Raised by primitive operation at file "src/tools/networking2.ml", line 10, characters 11-38; Called from file "src/tools/networking2.ml", line 19, characters 16-36; Called from file "src/tools/networking2.ml", line 147, characters 9-51; Called from file "src/core/lwt.ml", line 703, characters 20-24
2017-08-10 11:43:57 356865 +0200 - jef-node01 - 27386/0000 - alba/cli - 39 - debug - probably not a kinetic...: (Failure inet_addr_of_string); backtrace:; Raised at file "format.ml", line 241, characters 41-52; Called from file "format.ml", line 482, characters 6-24
2017-08-10 11:43:57 356916 +0200 - jef-node01 - 27386/0000 - alba/cli - 40 - debug - sleeping for 1.600000
2017-08-10 11:43:58 956953 +0200 - jef-node01 - 27386/0000 - alba/cli - 41 - debug - attempt:i=1
2017-08-10 11:43:58 957037 +0200 - jef-node01 - 27386/0000 - alba/cli - 42 - debug - is it an asd?
2017-08-10 11:43:58 957110 +0200 - jef-node01 - 27386/0000 - alba/cli - 43 - debug - connecting to { Networking2.ips = ["10.100.69.120,10.100.69.130"]; port = 8602;;  transport = Net_fd.TCP; tls_config = None }
2017-08-10 11:43:58 957192 +0200 - jef-node01 - 27386/0000 - alba/cli - 44 - debug - Failed to connect to 10.100.69.120,10.100.69.130:8602: (Failure inet_addr_of_string); backtrace:; Raised by primitive operation at file "src/tools/networking2.ml", line 10, characters 11-38; Called from file "src/tools/networking2.ml", line 19, characters 16-36; Called from file "src/tools/networking2.ml", line 147, characters 9-51; Called from file "src/core/lwt.ml", line 703, characters 20-24
2017-08-10 11:43:58 957232 +0200 - jef-node01 - 27386/0000 - alba/cli - 45 - debug - probably not an asd...: (Failure inet_addr_of_string); backtrace:; Raised at file "format.ml", line 241, characters 41-52; Called from file "format.ml", line 482, characters 6-24
2017-08-10 11:43:58 957257 +0200 - jef-node01 - 27386/0000 - alba/cli - 46 - debug - is it a kinetic?
2017-08-10 11:43:58 957297 +0200 - jef-node01 - 27386/0000 - alba/cli - 47 - debug - connecting to { Networking2.ips = ["10.100.69.120,10.100.69.130"]; port = 8602;;  transport = Net_fd.TCP; tls_config = None }
2017-08-10 11:43:58 957336 +0200 - jef-node01 - 27386/0000 - alba/cli - 48 - debug - Failed to connect to 10.100.69.120,10.100.69.130:8602: (Failure inet_addr_of_string); backtrace:; Raised by primitive operation at file "src/tools/networking2.ml", line 10, characters 11-38; Called from file "src/tools/networking2.ml", line 19, characters 16-36; Called from file "src/tools/networking2.ml", line 147, characters 9-51; Called from file "src/core/lwt.ml", line 703, characters 20-24
2017-08-10 11:43:58 957367 +0200 - jef-node01 - 27386/0000 - alba/cli - 49 - debug - probably not a kinetic...: (Failure inet_addr_of_string); backtrace:; Raised at file "format.ml", line 241, characters 41-52; Called from file "format.ml", line 482, characters 6-24
2017-08-10 11:43:58 957396 +0200 - jef-node01 - 27386/0000 - alba/cli - 50 - debug - sleeping for 3.200000
2017-08-10 11:44:02 159681 +0200 - jef-node01 - 27386/0000 - alba/cli - 51 - debug - attempt:i=0
2017-08-10 11:44:02 159801 +0200 - jef-node01 - 27386/0000 - alba/cli - 52 - warning - (Failure "I don't think this is an OSD")

Similar to #773

@domsj
Copy link
Contributor

domsj commented Aug 17, 2017

fixed by #790

@domsj domsj closed this as completed Aug 17, 2017
@wimpers wimpers added this to the H milestone Aug 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants