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

Add osd is rather subawesome when specifying ips #773

Closed
JeffreyDevloo opened this issue Aug 2, 2017 · 0 comments · Fixed by #790
Closed

Add osd is rather subawesome when specifying ips #773

JeffreyDevloo opened this issue Aug 2, 2017 · 0 comments · Fixed by #790
Assignees
Milestone

Comments

@JeffreyDevloo
Copy link

Problem description

Add osd can only take on host, so specifying multiple ips is kind of pointless without having maintenance to register the asds for you

ASD config

{"asd_id": "ANw7kQnwehOjHZ5PNQeRcsxe1f49kHam", "capacity": 16096692224, "multicast": null, "log_level": "info", "ips": ["10.100.69.120", "10.100.69.130"], "node_id": "FDOhGm8ZzFvPgGdxa0t1n18V6yOOmPgQ", "transport": "tcp", "home": "/mnt/alba-asd/NGZ2KVf2gCqQTlaf/ANw7kQnwehOjHZ5PNQeRcsxe1f49kHam", "port": 8601, "rocksdb_block_cache_size": 3929856}

Command attempt 1

alba add-osd --config arakoon://config/ovs/arakoon/mybackend-abm/config?ini=%2Fopt%2FOpenvStorage%2Fconfig%2Farakoon_cacc.ini --host 10.100.69.120,10.100.69.130 --port 8602 --node-id FDOhGm8ZzFvPgGdxa0t1n18V6yOOmPgQ --verbose

Output

2017-08-02 14:13:01 119703 +0200 - jef-node01 - 6141/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-02 14:13:01 120556 +0200 - jef-node01 - 6141/0000 - alba/cli - 1 - debug - attempt:i=5
2017-08-02 14:13:01 120574 +0200 - jef-node01 - 6141/0000 - alba/cli - 2 - debug - is it an asd?
2017-08-02 14:13:01 120611 +0200 - jef-node01 - 6141/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-02 14:13:01 120682 +0200 - jef-node01 - 6141/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-02 14:13:01 120715 +0200 - jef-node01 - 6141/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-02 14:13:01 120728 +0200 - jef-node01 - 6141/0000 - alba/cli - 6 - debug - is it a kinetic?
2017-08-02 14:13:01 121819 +0200 - jef-node01 - 6141/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-02 14:13:01 121877 +0200 - jef-node01 - 6141/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-02 14:13:01 121903 +0200 - jef-node01 - 6141/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-02 14:13:01 121951 +0200 - jef-node01 - 6141/0000 - alba/cli - 10 - debug - sleeping for 0.200000
2017-08-02 14:13:01 320075 +0200 - jef-node01 - 6141/0000 - alba/cli - 11 - debug - attempt:i=4
2017-08-02 14:13:01 320175 +0200 - jef-node01 - 6141/0000 - alba/cli - 12 - debug - is it an asd?
2017-08-02 14:13:01 320285 +0200 - jef-node01 - 6141/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-02 14:13:01 320397 +0200 - jef-node01 - 6141/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-02 14:13:01 320470 +0200 - jef-node01 - 6141/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-02 14:13:01 320505 +0200 - jef-node01 - 6141/0000 - alba/cli - 16 - debug - is it a kinetic?
2017-08-02 14:13:01 320576 +0200 - jef-node01 - 6141/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-02 14:13:01 320652 +0200 - jef-node01 - 6141/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-02 14:13:01 320715 +0200 - jef-node01 - 6141/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-02 14:13:01 320766 +0200 - jef-node01 - 6141/0000 - alba/cli - 20 - debug - sleeping for 0.400000
2017-08-02 14:13:01 720805 +0200 - jef-node01 - 6141/0000 - alba/cli - 21 - debug - attempt:i=3
2017-08-02 14:13:01 720866 +0200 - jef-node01 - 6141/0000 - alba/cli - 22 - debug - is it an asd?
2017-08-02 14:13:01 720922 +0200 - jef-node01 - 6141/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-02 14:13:01 720979 +0200 - jef-node01 - 6141/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-02 14:13:01 721009 +0200 - jef-node01 - 6141/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-02 14:13:01 721024 +0200 - jef-node01 - 6141/0000 - alba/cli - 26 - debug - is it a kinetic?
2017-08-02 14:13:01 721053 +0200 - jef-node01 - 6141/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-02 14:13:01 721082 +0200 - jef-node01 - 6141/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-02 14:13:01 721106 +0200 - jef-node01 - 6141/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-02 14:13:01 721133 +0200 - jef-node01 - 6141/0000 - alba/cli - 30 - debug - sleeping for 0.800000
2017-08-02 14:13:02 521468 +0200 - jef-node01 - 6141/0000 - alba/cli - 31 - debug - attempt:i=2
2017-08-02 14:13:02 521588 +0200 - jef-node01 - 6141/0000 - alba/cli - 32 - debug - is it an asd?
2017-08-02 14:13:02 521749 +0200 - jef-node01 - 6141/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-02 14:13:02 521901 +0200 - jef-node01 - 6141/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-02 14:13:02 521975 +0200 - jef-node01 - 6141/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-02 14:13:02 522002 +0200 - jef-node01 - 6141/0000 - alba/cli - 36 - debug - is it a kinetic?
2017-08-02 14:13:02 522058 +0200 - jef-node01 - 6141/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-02 14:13:02 522118 +0200 - jef-node01 - 6141/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-02 14:13:02 522184 +0200 - jef-node01 - 6141/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-02 14:13:02 522293 +0200 - jef-node01 - 6141/0000 - alba/cli - 40 - debug - sleeping for 1.600000
2017-08-02 14:13:04 122522 +0200 - jef-node01 - 6141/0000 - alba/cli - 41 - debug - attempt:i=1
2017-08-02 14:13:04 122598 +0200 - jef-node01 - 6141/0000 - alba/cli - 42 - debug - is it an asd?
2017-08-02 14:13:04 122674 +0200 - jef-node01 - 6141/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-02 14:13:04 122752 +0200 - jef-node01 - 6141/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-02 14:13:04 122799 +0200 - jef-node01 - 6141/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-02 14:13:04 122820 +0200 - jef-node01 - 6141/0000 - alba/cli - 46 - debug - is it a kinetic?
2017-08-02 14:13:04 122863 +0200 - jef-node01 - 6141/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-02 14:13:04 122908 +0200 - jef-node01 - 6141/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-02 14:13:04 122944 +0200 - jef-node01 - 6141/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-02 14:13:04 122979 +0200 - jef-node01 - 6141/0000 - alba/cli - 50 - debug - sleeping for 3.200000
2017-08-02 14:13:07 325827 +0200 - jef-node01 - 6141/0000 - alba/cli - 51 - debug - attempt:i=0
2017-08-02 14:13:07 325991 +0200 - jef-node01 - 6141/0000 - alba/cli - 52 - warning - (Failure "I don't think this is an OSD")

Command attempt 2

alba add-osd --config arakoon://config/ovs/arakoon/mybackend-abm/config?ini=%2Fopt%2FOpenvStorage%2Fconfig%2Farakoon_cacc.ini --host 10.100.69.120 --host 10.100.69.130 --port 8601
alba: option `--host' cannot be repeated
Usage: alba add-osd [OPTION]... 
Try `alba add-osd --help' or `alba --help' for more information.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants