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

[LeoGateway] No error log when setting an invalid IP of one of LeoManager nodes #1089

Closed
yosukehara opened this issue Jul 30, 2018 · 1 comment

Comments

@yosukehara
Copy link
Member

LeoGateway did not output error log when setting invalid IP of one of LeoManager nodes. However, LeoGateway's process was alive as below. The correct behavior of LeoGateway is that it outputs an error log and stops itself.

The process of LeoGateway node:

yosuke    5309  0.6  1.9 3968132 77948 pts/4   Ssl+ 16:10   0:01 
	/home/yosuke/dev/projects/leo-project/leofs/package/leo_gateway/erts-9.3.3/bin/beam.smp
		-secio true -zdbbl 32768 -scl true -A 32 -K true -P 1048576 -- -root
	/home/yosuke/dev/projects/leo-project/leofs/package/leo_gateway -progname leo_gateway
		-- -home /home/yosuke -- -heart -boot
	/home/yosuke/dev/projects/leo-project/leofs/package/leo_gateway/releases/1/leo_gateway
		-mode embedded -config
	/home/yosuke/dev/projects/leo-project/leofs/package/leo_gateway/etc/app.config
		-config ./snmp/snmpa_gateway_0/leo_gateway_snmp -smp enable
		-setcookie 401321b4 -name [email protected] -- console

The result of leofs-adm status command:

I confirmed that the result of leofs-adm status is correct, which means LeoManager handles that LeoGateway was not started.

 [State of Node(s)]
-------+--------------------------+--------------+---------+----------------+----------------+----------------------------
 type  |           node           |    state     | rack id |  current ring  |   prev ring    |          updated at
-------+--------------------------+--------------+---------+----------------+----------------+----------------------------
  S    | [email protected]      | running      |         | 433fe365       | 433fe365       | 2018-07-30 16:00:58 +0000
  G    | [email protected]      | stop         |         | -1             | -1             | 2018-07-30 16:07:35 +0000
-------+--------------------------+--------------+---------+----------------+----------------+----------------------------
@yosukehara
Copy link
Member Author

LINK: #1092

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

1 participant