AnsweredAssumed Answered

Qualys error on Centos machine

Question asked by Kundan Thakur on Nov 10, 2019
Latest reply on Nov 11, 2019 by Kundan Thakur

Hi,

I have installed qualys on all my instances(K8s nodes) but those node are not detectable from Qualys fronted. I am checked the log and found the following error. Could you please help ?

 

2019-11-11 04:55:32.877 [qualys-cloud-agent][1321]:[Information]:Next event: INTERVAL_EVENT_CAPI, time left: 100 seconds2019-11-11 04:57:12.878 [qualys-cloud-agent][1321]:[Warning]:Provision event skipped:  null customerID
2019-11-11 04:57:12.878 [qualys-cloud-agent][1321]:[Warning]:CAPI request failed: request payload error
2019-11-11 04:57:12.878 [qualys-cloud-agent][1321]:[Error]:CAPI event failed
2019-11-11 04:57:12.883 [qualys-cloud-agent][1321]:[Information]:Next event: INTERVAL_EVENT_CAPI, time left: 100 seconds2019-11-11 04:58:52.883 [qualys-cloud-agent][1321]:[Warning]:Provision event skipped:  null customerID
2019-11-11 04:58:52.884 [qualys-cloud-agent][1321]:[Warning]:CAPI request failed: request payload error
2019-11-11 04:58:52.884 [qualys-cloud-agent][1321]:[Error]:CAPI event failed
2019-11-11 04:58:52.889 [qualys-cloud-agent][1321]:[Information]:Next event: INTERVAL_EVENT_CAPI, time left: 100 seconds2019-11-11 05:00:32.889 [qualys-cloud-agent][1321]:[Warning]:Provision event skipped:  null customerID
2019-11-11 05:00:32.889 [qualys-cloud-agent][1321]:[Warning]:CAPI request failed: request payload error
2019-11-11 05:00:32.889 [qualys-cloud-agent][1321]:[Error]:CAPI event failed
2019-11-11 05:00:32.894 [qualys-cloud-agent][1321]:[Information]:Next event: INTERVAL_EVENT_CAPI, time left: 100 seconds2019-11-11 05:01:43.728 [qualys-cloud-agent][1321]:[Information]:Stopping cloud-agent
2019-11-11 05:01:43.803 [qualys-cloud-agent][31375]:[Information]:Ini log level: 3 mapped to information
2019-11-11 05:01:43.803 [qualys-cloud-agent][31375]:[Information]:Current path: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
2019-11-11 05:01:43.803 [qualys-cloud-agent][31375]:[Information]:Setting the new path: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
2019-11-11 05:01:43.921 [qualys-cloud-agent][31375]:[Information]:Switched user- active user:root, group:
2019-11-11 05:01:43.921 [qualys-cloud-agent][31375]:[Information]:Started cloud-agent
2019-11-11 05:01:43.922 [qualys-cloud-agent][31375]:[Information]:PTY master[4] slave[5]
2019-11-11 05:01:43.922 [qualys-cloud-agent][31375]:[Information]:pty name is : /dev/pts/0
2019-11-11 05:01:43.928 [qualys-cloud-agent][31375]:[Information]:Init config file path:/etc/qualys/cloud-agent/qualys-cloud-agent.conf
2019-11-11 05:01:43.928 [qualys-cloud-agent][31375]:[Information]:Ini log level: 3 mapped to information
2019-11-11 05:01:43.929 [qualys-cloud-agent][31375]:[Information]:OS details - OS Name: CentOS Linux 7.7.1908 (Core), OS version: 7.7.1908
2019-11-11 05:01:43.929 [qualys-cloud-agent][31375]:[Information]:Cloud agent version: 1.7.1-37, platform: CentOS Linux 7.7.1908 (Core)
2019-11-11 05:01:43.930 [qualys-cloud-agent][31375]:[Information]:Added cert:qagent-1.2.0#1, digest type:sha256
2019-11-11 05:01:43.930 [qualys-cloud-agent][31375]:[Information]:Added cert:qagent-1.2.0#2, digest type:sha1
2019-11-11 05:01:43.931 [qualys-cloud-agent][31375]:[Information]:Failover settings: server uri: https://qagpublic.qg1.apps.qualys.eu/CloudAgent, port: 443, useSecureChannel: true
2019-11-11 05:01:43.931 [qualys-cloud-agent][31375]:[Information]:Found configured provider name: AWS
2019-11-11 05:01:43.931 [qualys-cloud-agent][31375]:[Information]:Setting provider Name: AWS
2019-11-11 05:01:43.941 [qualys-cloud-agent][31375]:[Information]:Setting provider instanceId: i-0b8d83530ab03f778
2019-11-11 05:01:43.942 [qualys-cloud-agent][31375]:[Information]:Config db params - Activation ID: 00000000-0000-0000-0000-000000000000, customer ID: 00000000-0000-0000-0000-000000000000, LogFilePath: /var/log/qualys, LogLevel: 3, useSudoCommand: 0, SwitchUser: , SwitchGroup: , SudoCommand: sudo
2019-11-11 05:01:43.945 [qualys-cloud-agent][31375]:[Information]:Connection timeout: 60 seconds, Request timeout: 600 seconds
2019-11-11 05:01:43.946 [qualys-cloud-agent][31375]:[Information]:Cert OS: Centos, CA path:
2019-11-11 05:01:43.946 [qualys-cloud-agent][31375]:[Information]:Webservice uri: https://qagpublic.qg1.apps.qualys.eu/CloudAgent/
2019-11-11 05:01:44.084 [qualys-cloud-agent][31375]:[Information]:Finished curl request
2019-11-11 05:01:44.084 [qualys-cloud-agent][31375]:[Information]:Http request completed successfully: 404
2019-11-11 05:01:44.084 [qualys-cloud-agent][31375]:[Information]:Agent local IP:10.30.3.98
2019-11-11 05:01:44.112 [qualys-cloud-agent.provision][31375]:[Information]:HostID search path: /etc/qualys
2019-11-11 05:01:44.121 [qualys-cloud-agent.provision][31375]:[Information]:hostid not found: /etc/qualys/hostid
2019-11-11 05:01:44.121 [qualys-cloud-agent][31375]:[Information]:Max cmd execution timeout: 1800 seconds, current timeout: 900 seconds
2019-11-11 05:01:44.122 [qualys-cloud-agent][31375]:[Information]:Next event: INTERVAL_EVENT_CAPI, time left: 28 seconds2019-11-11 05:02:12.122 [qualys-cloud-agent][31375]:[Warning]:Provision event skipped:  null customerID
2019-11-11 05:02:12.122 [qualys-cloud-agent][31375]:[Warning]:CAPI request failed: request payload error
2019-11-11 05:02:12.122 [qualys-cloud-agent][31375]:[Error]:CAPI event failed
2019-11-11 05:02:12.127 [qualys-cloud-agent][31375]:[Information]:Next event: INTERVAL_EVENT_CAPI, time left: 100 seconds
2019-11-11 05:03:52.127 [qualys-cloud-agent][31375]:[Warning]:Provision event skipped:  null customerID
2019-11-11 05:03:52.127 [qualys-cloud-agent][31375]:[Warning]:CAPI request failed: request payload error
2019-11-11 05:03:52.127 [qualys-cloud-agent][31375]:[Error]:CAPI event failed
2019-11-11 05:03:52.133 [qualys-cloud-agent][31375]:[Information]:Next event: INTERVAL_EVENT_CAPI, time left: 100 seconds

Outcomes