action #152827
Updated by livdywan 12 months ago
## Observation From /var/spool/mail/cvdupdate on both instances of the osd and o3 web UI: instances: ~~~ From cvdupdate@localhost Thu Dec 21 10:00:01 2023 Return-Path: <cvdupdate@localhost> X-Original-To: cvdupdate Delivered-To: cvdupdate@localhost Received: by localhost (Postfix, from userid 17307) id BC86134590; Thu, 21 Dec 2023 10:00:01 +0100 (CET) From: "(Cron Daemon)" <cvdupdate@localhost> To: cvdupdate@localhost Subject: Cron <cvdupdate@openqa> /home/cvdupdate/.local/bin/cvdupdate update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Auto-Submitted: auto-generated Precedence: bulk X-Cron-Env: <XDG_SESSION_ID=c21238> X-Cron-Env: <XDG_RUNTIME_DIR=/run/user/17307> X-Cron-Env: <DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/17307/bus> X-Cron-Env: <XDG_SESSION_TYPE=unspecified> X-Cron-Env: <XDG_SESSION_CLASS=background> X-Cron-Env: <LANG=en_US.UTF-8> X-Cron-Env: <SHELL=/bin/sh> X-Cron-Env: <HOME=/home/cvdupdate> X-Cron-Env: <PATH=/usr/bin:/bin> X-Cron-Env: <LOGNAME=cvdupdate> X-Cron-Env: <USER=cvdupdate> Message-Id: <20231221090001.BC86134590@localhost> Date: Thu, 21 Dec 2023 10:00:01 +0100 (CET) Traceback (most recent call last): File "/home/cvdupdate/.local/bin/cvdupdate", line 11, in <module> sys.exit(cli()) File "/home/cvdupdate/.local/lib/python3.6/site-packages/click/core.py", line 829, in __call__ return self.main(*args, **kwargs) File "/home/cvdupdate/.local/lib/python3.6/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/home/cvdupdate/.local/lib/python3.6/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/cvdupdate/.local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/cvdupdate/.local/lib/python3.6/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "/home/cvdupdate/.local/lib/python3.6/site-packages/click/decorators.py", line 21, in new_func return f(get_current_context(), *args, **kwargs) File "/home/cvdupdate/.local/lib/python3.6/site-packages/cvdupdate/__main__.py", line 259, in update_alias ctx.forward(db_update) File "/home/cvdupdate/.local/lib/python3.6/site-packages/click/core.py", line 628, in forward return self.invoke(cmd, **kwargs) File "/home/cvdupdate/.local/lib/python3.6/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "/home/cvdupdate/.local/lib/python3.6/site-packages/cvdupdate/__main__.py", line 100, in db_update m = CVDUpdate(config=config, verbose=verbose) File "/home/cvdupdate/.local/lib/python3.6/site-packages/cvdupdate/cvdupdate.py", line 119, in __init__ nameserver) File "/home/cvdupdate/.local/lib/python3.6/site-packages/cvdupdate/cvdupdate.py", line 184, in _read_config self.config = json.load(config_file) File "/usr/lib64/python3.6/json/__init__.py", line 299, in load parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw) File "/usr/lib64/python3.6/json/__init__.py", line 354, in loads return _default_decoder.decode(s) File "/usr/lib64/python3.6/json/decoder.py", line 339, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib64/python3.6/json/decoder.py", line 357, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) ~~~ ## Acceptance criteria * **AC1:** Clamav is no longer raising exceptions on o3 * **AC2:** Clamav is no longer raising exceptions on osd ## Suggestions - Remove clamav service - install on o3, remove from salt on osd