{"action":"created","issue":{"url":"https://api.github.com/repos/codership/galera/issues/312","labels_url":"https://api.github.com/repos/codership/galera/issues/312/labels{/name}","comments_url":"https://api.github.com/repos/codership/galera/issues/312/comments","events_url":"https://api.github.com/repos/codership/galera/issues/312/events","html_url":"https://github.com/codership/galera/issues/312","id":99682823,"number":312,"title":"Arbitrator \"garbd\" needs explicit port number, does not use the default","user":{"login":"fromdualjb","id":10120082,"avatar_url":"https://avatars.githubusercontent.com/u/10120082?v=3","gravatar_id":"","url":"https://api.github.com/users/fromdualjb","html_url":"https://github.com/fromdualjb","followers_url":"https://api.github.com/users/fromdualjb/followers","following_url":"https://api.github.com/users/fromdualjb/following{/other_user}","gists_url":"https://api.github.com/users/fromdualjb/gists{/gist_id}","starred_url":"https://api.github.com/users/fromdualjb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fromdualjb/subscriptions","organizations_url":"https://api.github.com/users/fromdualjb/orgs","repos_url":"https://api.github.com/users/fromdualjb/repos","events_url":"https://api.github.com/users/fromdualjb/events{/privacy}","received_events_url":"https://api.github.com/users/fromdualjb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/codership/galera/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"ayurchen","id":1644111,"avatar_url":"https://avatars.githubusercontent.com/u/1644111?v=3","gravatar_id":"","url":"https://api.github.com/users/ayurchen","html_url":"https://github.com/ayurchen","followers_url":"https://api.github.com/users/ayurchen/followers","following_url":"https://api.github.com/users/ayurchen/following{/other_user}","gists_url":"https://api.github.com/users/ayurchen/gists{/gist_id}","starred_url":"https://api.github.com/users/ayurchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ayurchen/subscriptions","organizations_url":"https://api.github.com/users/ayurchen/orgs","repos_url":"https://api.github.com/users/ayurchen/repos","events_url":"https://api.github.com/users/ayurchen/events{/privacy}","received_events_url":"https://api.github.com/users/ayurchen/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-08-07T16:27:46Z","updated_at":"2015-08-14T11:11:27Z","closed_at":null,"body":"Observed using galera-3-25.3.10-2.el6.x86_64.rpm:\r\n\r\n\"garbd\" consistently failed to start unless the configuration (I'm using \"/etc/sysconfig/garb\") explicitly provided the port number.\r\n\r\nThis line was insufficient:\r\n```\r\n  GALERA_NODES=\"192.168.0.71 192.168.0.72 192.168.0.73\"\r\n```\r\nThis is the resulting log file content:\r\n\r\n```\r\n  2015-08-05 15:41:36.754  INFO: CRC-32C: using \"slicing-by-8\" algorithm.\r\n  2015-08-05 15:41:36.754  INFO: Read config:\r\n          daemon:  1\r\n          name:    garb\r\n          address: gcomm://192.168.0.71\r\n          group:   Galera_Joerg_Test\r\n          sst:     trivial\r\n          donor:\r\n          options: pc.recovery=FALSE; gcs.fc_limit=9999999; gcs.fc_factor=1.0; gcs.fc_master_slave=yes\r\n          cfg:\r\n          log:     /tmp/garbd.log\r\n\r\n  2015-08-05 15:41:36.758  INFO: protonet asio version 0\r\n  2015-08-05 15:41:36.758  INFO: Using CRC-32C for message checksums.\r\n  2015-08-05 15:41:36.759  INFO: backend: asio\r\n  2015-08-05 15:41:36.759  INFO: skip pc recovery and remove state file\r\n  2015-08-05 15:41:36.759  INFO: GMCast version 0\r\n```\r\nThis is the last line - there is absolutely no indication what the problem is.\r\n\r\nAdding the port number made it work:\r\n```\r\n  GALERA_NODES=\"192.168.0.71:4567 192.168.0.72:4567 192.168.0.73:4567\"\r\n```\r\n\r\nThe comment in the config file template declares the port as optional:\r\n  # A space-separated list of node addresses (address[:port]) in the cluster "},"comment":{"url":"https://api.github.com/repos/codership/galera/issues/comments/131079398","html_url":"https://github.com/codership/galera/issues/312#issuecomment-131079398","issue_url":"https://api.github.com/repos/codership/galera/issues/312","id":131079398,"user":{"login":"ayurchen","id":1644111,"avatar_url":"https://avatars.githubusercontent.com/u/1644111?v=3","gravatar_id":"","url":"https://api.github.com/users/ayurchen","html_url":"https://github.com/ayurchen","followers_url":"https://api.github.com/users/ayurchen/followers","following_url":"https://api.github.com/users/ayurchen/following{/other_user}","gists_url":"https://api.github.com/users/ayurchen/gists{/gist_id}","starred_url":"https://api.github.com/users/ayurchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ayurchen/subscriptions","organizations_url":"https://api.github.com/users/ayurchen/orgs","repos_url":"https://api.github.com/users/ayurchen/repos","events_url":"https://api.github.com/users/ayurchen/events{/privacy}","received_events_url":"https://api.github.com/users/ayurchen/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T11:11:27Z","updated_at":"2015-08-14T11:11:27Z","body":"This is expected and not specific to garbd. Galera infers the port to listen from the port to connect. If one needs them different, he should use something like ```gmcast.listen_addr=tcp://0.0.0.0:<port of choice>```"}}