Bug 1740569

Summary: Bare Metal host page should check if stop maintenance action already started
Product: OpenShift Container Platform Reporter: Artem Hrechanychenko <ahrechan>
Component: Console Metal3 PluginAssignee: Jiri Tomasek <jtomasek>
Status: CLOSED DUPLICATE QA Contact: Udi Kalifon <ukalifon>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.2.0CC: aos-bugs
Target Milestone: ---   
Target Release: 4.2.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-13 14:32:22 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:
Attachments:
Description Flags
screenshot none

Description Artem Hrechanychenko 2019-08-13 09:39:24 UTC
Created attachment 1603258 [details]
screenshot

Description of problem:
From UI I request "Stop Maintenance action" . Host status wasn't automatically changed to "Under Maintenance" or "Stopping Maintenance" and I was able to request "Stop Maintenance" again and got next issue

"An error occurred
nodemaintenances.kubevirt.io "nm-m55fm" not found"

Version-Release number of selected component (if applicable):
registry.svc.ci.openshift.org/ocp/4.2-2019-07-31-123929@sha256:c8a69a3293c215194101108266f6eecd7806e7f9c3b6770302c0807292ae5c1a

How reproducible:
always

Steps to Reproduce:
1.Start Maintenance action
2.Wait until status changed to Under maintenance
3.Stop maintenance. do not refresh page. click start maintenance again

Actual results:

"An error occurred
nodemaintenances.kubevirt.io "nm-m55fm" not found"

Expected results:
Ui should block that action with notification that "stopping" in action

Additional info:

Comment 1 Jiri Tomasek 2019-08-13 14:32:22 UTC

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