Bug 1878513 - [Assisted-4.6] [Staging] host does not discovers properly after disable/enable
Summary: [Assisted-4.6] [Staging] host does not discovers properly after disable/enable
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: assisted-installer
Version: 4.5
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Rom Freiman
QA Contact: Yuri Obshansky
URL:
Whiteboard:
: 1878509 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-13 15:45 UTC by Lital Alon
Modified: 2022-08-28 08:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-28 08:45:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
node didnt discover proprly (163.94 KB, image/png)
2020-09-13 15:45 UTC, Lital Alon
no flags Details
install error (122.81 KB, image/png)
2020-09-13 16:00 UTC, Lital Alon
no flags Details

Description Lital Alon 2020-09-13 15:45:48 UTC
Created attachment 1714690 [details]
node didnt discover proprly

Description of problem:
I chose to disable a master node and then i enabled it.
The issue it that the Host had missing HW info, although it passed the Discovery stage. Moreover, host was know.
See attached example

How reproducible:
95%

Steps to Reproduce:
1. Boot nodes
2. Choose to disable random node
3. Choose to Enable the node

Actual results:
1. Node didn't discover properly, missing HW info
2. Host state was Known 

Expected results:
1. node re discovered after enable it
2. Host state cannot be known if HW info are missing

Comment 1 Lital Alon 2020-09-13 16:00:41 UTC
Created attachment 1714691 [details]
install error

Comment 2 Lital Alon 2020-09-13 16:01:43 UTC
Error when trying to Install in such state, attached

Comment 3 Lital Alon 2020-09-13 16:17:40 UTC
*** Bug 1878509 has been marked as a duplicate of this bug. ***

Comment 4 Michael Filanov 2020-09-14 07:35:41 UTC
None stop errors for refresh

{code}
time="2020-09-14T07:34:49Z" level=error msg="failed to refresh host 4aff4e22-0318-464d-b574-3e19afd2e7f0 state" func="github.com/openshift/assisted-service/internal/host.(*Manager).HostMonitoring" file="/go/src/github.com/openshift/origin/internal/host/monitor.go:46" error="no condition passed to run transition RefreshHost from state known" pkg=host-state request_id=66b97eb8-4c0c-49d9-a99f-443ae06ca8eb
{code}

Comment 5 Raz Regev 2020-09-14 12:45:47 UTC
fixed
https://github.com/openshift/assisted-service/pull/356

Comment 6 Lital Alon 2020-09-16 08:01:11 UTC
Verified on Staging, v1.0.39, Sep 16.


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