Aerospike crash with telemetry disabled


#1

Hi All,

I am using aerospike version 3.14.1.1 on ubuntu 16.04. i configured paxos mesh networking and other configuration. all seems fine and service started properly with out any issue.

than i stopped aerospike service and after disabled telemetry service with below mentioned command.

sudo python /opt/aerospike/telemetry/telemetry.py /etc/aerospike/telemetry.conf --disable

after aerospike service unable to start and giving me exception.

sudo[2414]:   ubuntu : TTY=pts/0 ; PWD=/etc/aerospike ; USER=root ; COMMAND=/bin/systemctl start aerospike
systemd[1]: Starting Aerospike Server...
systemd[1]: Started Aerospike Telemetry Agent.
systemd[1]: Started Aerospike Server.
telemetry.py[2427]: * starting telemetry
telemetry.py[2427]: [07-27 11:42:31] p2427 INFO: (__init__.py:44) Aerospike Telemetry Agent 1.0.5 initialized.
telemetry.py[2427]: [07-27 11:42:31] p2427 INFO: (__init__.py:60) Starting to phone home.
telemetry.py[2427]: [07-27 11:42:31] p2427 INFO: (__init__.py:61) Options =
telemetry.py[2427]: {'cafile': 'None',
telemetry.py[2427]:  'config-file': '/etc/aerospike/aerospike.conf',
telemetry.py[2427]:  'disable': True,
telemetry.py[2427]:  'email': 'None',
telemetry.py[2427]:  'fgdaemon': True,
telemetry.py[2427]:  'group': 'aerospike',
telemetry.py[2427]:  'home-url': 'https://telemetry.aerospike.com',
telemetry.py[2427]:  'interval': 600.0,
telemetry.py[2427]:  'logfile': '/var/log/aerospike/telemetry.log',
telemetry.py[2427]:  'loglevel': 'info',
telemetry.py[2427]:  'proxy': 'None',
telemetry.py[2427]:  'sample': 'False',
telemetry.py[2427]:  'user': 'aerospike'}
telemetry.py[2427]: [07-27 11:42:31] p2427 INFO: (home.py:13) Using HTTPS proxy: None
telemetry.py[2427]: [07-27 11:42:31] p2427 INFO: (home.py:19) Using CA file: None
telemetry.py[2427]: Traceback (most recent call last):
telemetry.py[2427]:   File "/opt/aerospike/telemetry/telemetry.py", line 148, in <module>
telemetry.py[2427]:     daemon.start()
telemetry.py[2427]:   File "/opt/aerospike/telemetry/daemon/daemon.py", line 139, in start
telemetry.py[2427]:     self.run()
telemetry.py[2427]:   File "/opt/aerospike/telemetry/telemetry.py", line 142, in run_patch
telemetry.py[2427]:     run(opts)
telemetry.py[2427]:   File "/opt/aerospike/telemetry/phonehome/__init__.py", line 62, in run
telemetry.py[2427]:     telemetry_agent = TelemetryAgent(options)
telemetry.py[2427]:   File "/opt/aerospike/telemetry/phonehome/driver.py", line 22, in __init__
telemetry.py[2427]:     self.homeConnection = HomeLine(options['home-url'] + homeUrlPath, options['proxy'], options['cafile'])
telemetry.py[2427]:   File "/opt/aerospike/telemetry/phonehome/home.py", line 21, in __init__
telemetry.py[2427]:     ctx.load_verify_locations(cafile = cafile)
telemetry.py[2427]: IOError: [Errno 2] No such file or directory
systemd[1]: aerospike_telemetry.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: aerospike_telemetry.service: Unit entered failed state.
systemd[1]: aerospike_telemetry.service: Failed with result 'exit-code'.

To identry root cause i enabled telemetry service again with below mentioned command.

sudo python /opt/aerospike/telemetry/telemetry.py /etc/aerospike/telemetry.conf --enable
Configuration file [/etc/aerospike/telemetry.conf] successfully changed.

and started aerospike service again. that started successfully. any one aware about the situation. due to some reasons i need to disable this service. on previous version 3.10.x version this not causing any issue.

thanks in advance.

Regards, Laxman