After some debugging it looks like an problem with the python part(ospd-openvas/ospd) or the openvas scanner itself. So the gvmd is not the source of the problem. I have open an bug report for it. When you have more information, please add it to it. Here the link of it:
Ah, thank you! I thought it was just mine! Same issue here. The task says “interrupted”, but the log file just says “finished” with no real suggestion of an error. Looks like it’s still an open issue on GitHub?
Same issue, here is my log
OpenvasDB.remove_list_item(self.ctx, key, value)
File “/usr/lib/python3/dist-packages/ospd_openvas/db.py”, line 230, in remove_list_item
ctx.lrem(key, count=LIST_ALL, value=value)
TypeError: lrem() got an unexpected keyword argument ‘count’
OSPD 2021-06-03 20:15:53,426: INFO: (ospd.ospd) d1418a5e-a35f-4507-8d8b-a1300b3c894c: Host scan finished. Progress: 0, Status: RUNNING
OSPD 2021-06-03 20:15:53,427: INFO: (ospd.ospd) d1418a5e-a35f-4507-8d8b-a1300b3c894c: Scan interrupted.
OSPD 2021-06-03 20:15:53,878: INFO: (ospd.ospd) d1418a5e-a35f-4507-8d8b-a1300b3c894c: Scan process is dead and its progress is 0
OSPD 2021-06-03 20:15:53,879: INFO: (ospd.ospd) d1418a5e-a35f-4507-8d8b-a1300b3c894c: Scan interrupted.
OSPD 2021-06-03 20:15:54,112: INFO: (ospd.ospd) d1418a5e-a35f-4507-8d8b-a1300b3c894c: Scan process is dead and its progress is 0
OSPD 2021-06-03 20:15:54,112: INFO: (ospd.ospd) d1418a5e-a35f-4507-8d8b-a1300b3c894c: Scan interrupted.
It seems some outdated python3 packages broke the ospd/db.py which causes the issue.
Currently I have able to fix the issue by simply updating the outdated python packages.
pip3 list --outdated --format=freeze | grep -v ‘^-e’ | cut -d = -f 1 | xargs -n1 sudo pip3 install -U
But i don’t know if it will work for you or not.
This is my log under /var/log/gvm/ospd-openvas.log
OSPD 2021-06-04 09:16:47,171: INFO: (ospd.main) Starting OSPd OpenVAS version 20.8.2.
OSPD 2021-06-04 09:19:45,146: INFO: (ospd.command.command) Scan 1156f12f-9ad8-4f42-9de6-1dca12a7304f added to the queue in position 1.
OSPD 2021-06-04 09:19:59,226: INFO: (ospd.ospd) Currently 1 queued scans.
OSPD 2021-06-04 09:19:59,427: INFO: (ospd.ospd) Starting scan 1156f12f-9ad8-4f42-9de6-1dca12a7304f.
Same issue, doing a pip update hasn’t helped (it tanked even quicker) however, I’ve had a stab on cpu resource. I’m running this on a VM with limited CPU cores, so I’ve set the concurrency to be less than the number of cores on host and it works fine.
These are not releases. You should only use the branches if you are able to fix problems by yourself for example build issues with cmake. Otherwise stay with the latest releases. And btw. it is planned to release new bugfix versions for the community this week. So there is no need to use the branches.
Yes, you’re right. I meant they should upgrade to those branches, not releases. The current official releases are broken when it comes to those issues. Now, if new official releases are coming this week, then obviously they should wait for it.