Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1664740

Summary: [CinderLib] - Added managed storage is moved to maintenance 5 minutes after it's created
Product: [oVirt] ovirt-engine Reporter: Avihai <aefrat>
Component: BLL.StorageAssignee: Eyal Shenitzky <eshenitz>
Status: CLOSED CURRENTRELEASE QA Contact: Shir Fishbain <sfishbai>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.3.0CC: bugs
Target Milestone: ovirt-4.3.1Flags: rule-engine: ovirt-4.3+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-13 16:39:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1539837    
Attachments:
Description Flags
engine log and rpms.txt none

Description Avihai 2019-01-09 14:40:18 UTC
Created attachment 1519514 [details]
engine log and rpms.txt

Description of problem:
An environment with 3 hosts connected to the same DC .

Added managed storage(UI/REST) is moved to maintenance 5 minutes after it's created as it was reported by all hosts in status UP as problematic.

Engine:
2019-01-09 16:32:01,302+02 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] (EE-ManagedThreadFactory-engine-Thread-7007) [] Domain '90bd245e-f4e6-446c-8177-e3cf07c12785:cinder_hp3par_UI' was reported by all hosts in status UP as problematic. Moving the domain to NonOperational.


Version-Release number of selected component (if applicable):
ovirt-engine-4.3.0-0.4.master.20190106162157.gitd96a412.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1. Add a managed storage via UI/REST - see its active and OK
2019-01-09 16:26:53,046+02 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-21) [b6b45d92-f07f-4fdc-a75a-9a52aefde985] EVENT_ID: USER_ADD_STORAGE_DOMAIN(956), Storage Domain cinder_hp3par_UI was added by admin@internal-authz


2.Wait for 5 minutes 


Actual results:
SD moves to maintenance:

2019-01-09 16:32:01,302+02 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] (EE-ManagedThreadFactory-engine-Thread-7007) [] Domain '90bd245e-f4e6-446c-8177-e3cf07c12785:cinder_hp3par_UI' was reported by all hosts in status UP as problematic. Moving the domain to NonOperational.

Expected results:
SD should not move to maintenance.


Additional info:

Comment 1 Sandro Bonazzola 2019-01-28 09:34:30 UTC
This bug has not been marked as blocker for oVirt 4.3.0.
Since we are releasing it tomorrow, January 29th, this bug has been re-targeted to 4.3.1.

Comment 2 Shir Fishbain 2019-03-06 14:25:38 UTC
Verified 

The 3 Cinderlib SD (hp3par, Kaminario, and Netapp) weren't moved to maintenance 5 minutes after they were created

Version (Cinderlib): 0.3.9
ovirt-engine-4.3.1.1-0.1.el7.noarch
vdsm-4.30.9-1.el7ev.x86_64

Comment 3 Sandro Bonazzola 2019-03-13 16:39:30 UTC
This bugzilla is included in oVirt 4.3.1 release, published on February 28th 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.3.1 release, it has been closed with a resolution of CURRENT RELEASE.

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