Bug 1767561 - HCO Operator issues with BareMetalPlatform=false
Summary: HCO Operator issues with BareMetalPlatform=false
Keywords:
Status: CLOSED DUPLICATE of bug 1767167
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Installation
Version: 2.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Ryan Hallisey
QA Contact: Irina Gulina
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-31 17:03 UTC by Asher Shoshan
Modified: 2019-11-04 11:19 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-31 23:21:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Step 1. Create ns in UI (186.14 KB, image/png)
2019-10-31 22:49 UTC, Irina Gulina
no flags Details
Step2. ns created (135.75 KB, image/png)
2019-10-31 22:50 UTC, Irina Gulina
no flags Details
Step 3. In operatorHub, locate HCO, click Install, pick 2.1 version and ns (199.89 KB, image/png)
2019-10-31 22:54 UTC, Irina Gulina
no flags Details
Step 4. Subscription is created (165.35 KB, image/png)
2019-10-31 22:55 UTC, Irina Gulina
no flags Details
Step 5. Create HCO CR, remove extra quotes (133.98 KB, image/png)
2019-10-31 22:57 UTC, Irina Gulina
no flags Details
Step 6. HCO CR created (149.03 KB, image/png)
2019-10-31 22:59 UTC, Irina Gulina
no flags Details
Step 7. Wath pods starting to run in UI (257.67 KB, image/png)
2019-10-31 22:59 UTC, Irina Gulina
no flags Details
Step 8. Watch pods starting to run in CLI (250.76 KB, image/png)
2019-10-31 23:02 UTC, Irina Gulina
no flags Details
Step 9. All pods are up and running in CLI (226.25 KB, image/png)
2019-10-31 23:05 UTC, Irina Gulina
no flags Details
Step 10. All pods are running in UI (234.34 KB, image/png)
2019-10-31 23:08 UTC, Irina Gulina
no flags Details
Step 11. The last one.... (30.65 KB, image/jpeg)
2019-10-31 23:10 UTC, Irina Gulina
no flags Details
hco operator log when BareMetalPlatform: "false" (3.24 KB, application/gzip)
2019-11-03 14:10 UTC, Asher Shoshan
no flags Details

Description Asher Shoshan 2019-10-31 17:03:26 UTC
Description of problem:

when BareMetalPlatform=false in HCO cr. HCO operator is not progressing.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Ryan Hallisey 2019-10-31 17:12:11 UTC
Have the logs from the operator?

Comment 2 Irina Gulina 2019-10-31 22:49:47 UTC
Created attachment 1631256 [details]
Step 1. Create ns in UI

Comment 3 Irina Gulina 2019-10-31 22:50:32 UTC
Created attachment 1631257 [details]
Step2. ns created

Comment 4 Irina Gulina 2019-10-31 22:54:47 UTC
Created attachment 1631258 [details]
Step 3. In operatorHub, locate HCO, click Install, pick 2.1 version and ns

Comment 5 Irina Gulina 2019-10-31 22:55:45 UTC
Created attachment 1631259 [details]
Step 4. Subscription is created

Comment 6 Irina Gulina 2019-10-31 22:57:50 UTC
Created attachment 1631260 [details]
Step 5. Create HCO CR, remove extra quotes

Comment 7 Irina Gulina 2019-10-31 22:59:01 UTC
Created attachment 1631261 [details]
Step 6. HCO CR created

Comment 8 Irina Gulina 2019-10-31 22:59:56 UTC
Created attachment 1631262 [details]
Step 7. Wath pods starting to run in UI

Comment 9 Irina Gulina 2019-10-31 23:02:00 UTC
Created attachment 1631263 [details]
Step 8. Watch pods starting to run in CLI

Comment 10 Irina Gulina 2019-10-31 23:05:12 UTC
Created attachment 1631264 [details]
Step 9. All pods are up and running in CLI

Comment 11 Irina Gulina 2019-10-31 23:08:34 UTC
Created attachment 1631265 [details]
Step 10. All pods are running in UI

Comment 12 Irina Gulina 2019-10-31 23:10:10 UTC
Created attachment 1631266 [details]
Step 11. The last one....

Comment 14 Asher Shoshan 2019-11-03 14:10:01 UTC
Created attachment 1632154 [details]
hco operator log when BareMetalPlatform: "false"

Comment 15 Asher Shoshan 2019-11-03 14:10:57 UTC
(In reply to Ryan Hallisey from comment #1)
> Have the logs from the operator?

See attached log hco_operator.log.gz

Comment 17 Asher Shoshan 2019-11-03 14:27:59 UTC
Ryan,

removing the quotes/double-quotes from (BareMetalPlatform: 'false'), seems to solve the issue..

AFAIK, it's ok to quote string values in yaml.
WDYT

Comment 18 Asher Shoshan 2019-11-03 14:41:52 UTC
I guess it's a boolean value, so the bug is in UI composing the cr.
Irina, pls reopen the bug (with different focus?).

Comment 19 Irina Gulina 2019-11-03 17:15:49 UTC
>> AFAIK, it's ok to quote string values in yaml.
Yes, if one needs to 
* escape a special char
* force a string value instead of the numeric one, or
* with yes/no to enforce string class instead of true/false class

and a couple of other cases. Otherwise, generally, they are not used. It's in YAML cookbook.

As far as I understand JSON parse takes quoted "false" as a string value, instead of true/false class.  

Anyway, 

The release and installation docs contain the note about quotas: https://github.com/openshift/openshift-docs/pull/17773
The issue itself has been fixed, i.e. the corresponding PR has been merged, it will be in 2.1.1 release: https://github.com/openshift/openshift-docs/pull/17773

Comment 20 Irina Gulina 2019-11-03 17:19:19 UTC
ops, the last link should be: https://github.com/kubevirt/hyperconverged-cluster-operator/pull/332

Comment 23 Irina Gulina 2019-11-04 11:19:00 UTC

*** This bug has been marked as a duplicate of bug 1767167 ***


Note You need to log in before you can comment on or make changes to this bug.