Bug 1802126

Summary: [CNV-2.3] SSP operator is failing to finish deployment
Product: Container Native Virtualization (CNV) Reporter: Lukas Bednar <lbednar>
Component: SSPAssignee: Karel Šimon <ksimon>
Status: CLOSED ERRATA QA Contact: Israel Pinto <ipinto>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 2.3.0CC: cnv-qe-bugs, fdeutsch, pelauter, ycui
Target Milestone: ---Keywords: TestBlocker
Target Release: 2.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kubevirt-ssp-operator-container-v2.3.0-24 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-04 19:10:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1785696    
Bug Blocks:    
Attachments:
Description Flags
ssp-operator-log none

Description Lukas Bednar 2020-02-12 12:19:30 UTC
Created attachment 1662657 [details]
ssp-operator-log

Description of problem:
{"level":"error","ts":1581508993.7877944,"logger":"runner","msg":"Traceback (most recent call last):\n  File \"/usr/lib/python2.7/site-packages/ansible_runner/__main__.py\", line 329, in main\n    res = run(**run_options)\n  File \"/usr/lib/python2.7/site-packages/ansible_runner/interface.py\", line 162, in run\n    r.run()\n  File \"/usr/lib/python2.7/site-packages/ansible_runner/runner.py\", line 93, in run\n    self.status_callback('starting')\n  File \"/usr/lib/python2.7/site-packages/ansible_runner/runner.py\", line 84, in status_callback\n    ansible_runner.plugins[plugin].status_handler(self.config, status_data)\n  File \"/usr/lib/python2.7/site-packages/ansible_runner_http/events.py\", line 38, in status_handler\n    urlpath=plugin_config['runner_path'])\n  File \"/usr/lib/python2.7/site-packages/ansible_runner_http/events.py\", line 18, in send_request\n    return session.post(url_actual, headers=headers, json=(data))\n  File \"/usr/lib/python2.7/site-packages/requests/sessions.py\", line 529, in post\n    return self.request('POST', url, data=data, json=json, **kwargs)\n  File \"/usr/lib/python2.7/site-packages/requests/sessions.py\", line 486, in request\n    resp = self.send(prep, **send_kwargs)\n  File \"/usr/lib/python2.7/site-packages/requests/sessions.py\", line 598, in send\n    r = adapter.send(request, **kwargs)\n  File \"/usr/lib/python2.7/site-packages/requests/adapters.py\", line 370, in send\n    timeout=timeout\n  File \"/usr/lib/python2.7/site-packages/urllib3/connectionpool.py\", line 587, in urlopen\n    timeout_obj = self._get_timeout(timeout)\n  File \"/usr/lib/python2.7/site-packages/urllib3/connectionpool.py\", line 302, in _get_timeout\n    return Timeout.from_float(timeout)\n  File \"/usr/lib/python2.7/site-packages/urllib3/util/timeout.py\", line 154, in from_float\n    return Timeout(read=timeout, connect=timeout)\n  File \"/usr/lib/python2.7/site-packages/urllib3/util/timeout.py\", line 94, in __init__\n    self._connect = self._validate_timeout(connect, 'connect')\n  File \"/usr/lib/python2.7/site-packages/urllib3/util/timeout.py\", line 127, in _validate_timeout\n    \"int, float or None.\" % (name, value))\nValueError: Timeout value connect was Timeout(connect=None, read=None, total=None), but it must be an int, float or None.\n","job":"5751776211841778805","name":"node-labeller-kubevirt-hyperconverged","namespace":"openshift-cnv","error":"exit status 1","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\tsrc/github.com/operator-framework/operator-sdk/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/operator-framework/operator-sdk/pkg/ansible/runner.(*runner).Run.func1\n\tsrc/github.com/operator-framework/operator-sdk/pkg/ansible/runner/runner.go:199"}



Version-Release number of selected component (if applicable):
kubevirt-ssp-operator-container-v2.3.0-1
OCP-4.4

How reproducible: 100


Steps to Reproduce:
1. Deploy CNV from rh-verified-operators
2.
3.

Actual results: Failing to proceed with deployment


Expected results: SSP operator complete deployment


Additional info:

Comment 1 Karel Šimon 2020-02-12 13:31:32 UTC
It may be caused by old ssp image. This bug occurs on kubevirt-ssp-operator-container-v2.3.0-1, but newest is kubevirt-ssp-operator-container-v2.3.0-17 (https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1083243)

Comment 4 Lukas Bednar 2020-02-12 15:43:39 UTC
After investigation of container version which is running on our environment, it turned out that we are consuming proper/latest image.

registry-proxy.engineering.redhat.com/rh-osbs/container-native-virtualization-kubevirt-ssp-operator@sha256:180975b42b3435b4127b85fd5c35593c96bdf29a383190eb7674e9e0e58a35e5

which is 2.3.0-17

Comment 7 Lukas Bednar 2020-02-13 13:00:00 UTC
I was able to verify it with     image: registry-proxy.engineering.redhat.com/rh-osbs/container-native-virtualization-kubevirt-ssp-operator@sha256:0d345f0f11b9f5941bb7467d908889b863529e50261318127e8d518fd8a78dc0


no errors in operator log, and I can see following pods running:

kubevirt-node-labeller-5xwwg                          1/1     Running   0          12m
kubevirt-node-labeller-cvhvm                          1/1     Running   0          12m
kubevirt-node-labeller-rdd52                          1/1     Running   0          12m
virt-template-validator-56bf96984b-6qvrr              1/1     Running   0          12m
virt-template-validator-56bf96984b-zrvkc              1/1     Running   0          12m

Comment 11 errata-xmlrpc 2020-05-04 19:10:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2020:2011