Description of problem:
After initiating SmartScan Analysis on a docker image the scan concludes with:
"cannot analyze non docker images" message
Version-Release number of selected component (if applicable):
5.7.0.10
How reproducible:
Always
Steps to Reproduce:
1. Add a docker.io image to a pod in OpenShift
2. Go to that container image and initiate a SmartScan Analysis
3.
Actual results:
The user will see the following message in Tasks menu:
"cannot analyze non docker images"
Expected results:
The scan should run successfully
Additional info:
The log shows the following information:
[----] E, [2016-11-16T04:41:39.731551 #2871:899144] ERROR -- : Q-task_id([d34c1cc2-abe0-11e6-a2c0-001a4a1697bb]) MIQ(ManageIQ::Providers::Kubernetes::ContainerManager::Scanning::Job#process_abort) job aborting, cannot analyze non docker images
[----] E, [2016-11-16T04:41:39.756713 #2871:899144] ERROR -- : Q-task_id([d34c1cc2-abe0-11e6-a2c0-001a4a1697bb]) MIQ(MiqQueue#deliver) Message id: [24904], Error: [undefined method `[]' for nil:NilClass]
[----] E, [2016-11-16T04:41:39.756921 #2871:899144] ERROR -- : Q-task_id([d34c1cc2-abe0-11e6-a2c0-001a4a1697bb]) [NoMethodError]: undefined method `[]' for nil:NilClass Method:[rescue in deliver]
[----] E, [2016-11-16T04:41:39.757103 #2871:899144] ERROR -- : Q-task_id([d34c1cc2-abe0-11e6-a2c0-001a4a1697bb]) /var/www/miq/vmdb/app/models/manageiq/providers/kubernetes/container_manager/scanning/job.rb:195:in `cleanup'