Bug 1260428

Summary: [vdsm] Cannot upgrade storage pool when there was/is an unavailable domain
Product: [oVirt] vdsm Reporter: Liron Aravot <laravot>
Component: GeneralAssignee: Liron Aravot <laravot>
Status: CLOSED CURRENTRELEASE QA Contact: Kevin Alon Goldblatt <kgoldbla>
Severity: high Docs Contact:
Priority: high    
Version: ---CC: acanan, adevolder, alitke, amureini, bazulay, bugs, eedri, fromani, fsimonce, gickowic, gklein, laravot, lpeer, lsurette, mgoldboi, nlevinki, pkliczew, ratamir, rbalakri, rhodain, sbonazzo, s.kieske, srevivo, tnisan, ycui, ykaul, ylavi
Target Milestone: ovirt-4.0.2Flags: ykaul: ovirt-4.0.z+
rule-engine: planning_ack+
tnisan: devel_ack+
acanan: testing_ack+
Target Release: 4.18.9   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: v4.18.7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1242092 Environment:
Last Closed: 2016-08-12 14:23: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: 1260429    

Comment 1 Liron Aravot 2015-09-10 07:45:13 UTC
VDSM maintainers don't want to incorporate that fix for 3.5.5 as there is a workaround, after https://bugzilla.redhat.com/show_bug.cgi?id=1260429 is solved the user can deactivate the problematic domain and then proceed with the upgrade.

postponing to 3.6

Comment 2 Allon Mureinik 2016-03-27 14:52:57 UTC
Liron - the attached patch is abandoned. Is this something we'd EVER want to solve? The workaround seems sufficient to me - if there's really a problem accessing the domain, you can't use it, and should probably remove it from the pool.

Comment 3 Liron Aravot 2016-03-28 09:33:55 UTC
Allon, imo it is.
When we have a problematic domain it may become available later, so we won't always want to force the user to remove it and then add it again in order to perform an upgrade - the upgrade should be allowed regardless, when the domain will become available it'll be upgraded to the needed version (as happens today).

Comment 4 Mike McCune 2016-03-28 22:54:17 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 5 Sandro Bonazzola 2016-05-02 10:00:55 UTC
Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA.

Comment 6 Yaniv Lavi 2016-05-23 13:16:56 UTC
oVirt 4.0 beta has been released, moving to RC milestone.

Comment 7 Yaniv Lavi 2016-05-23 13:20:47 UTC
oVirt 4.0 beta has been released, moving to RC milestone.

Comment 8 Allon Mureinik 2016-07-08 09:30:31 UTC
Any news?

Comment 9 Allon Mureinik 2016-07-17 15:01:56 UTC
Upgrade is always a hot topic. Liron - can you please supply some doctext for this BZ? Thanks!

Comment 10 Yaniv Lavi 2016-07-21 12:18:25 UTC
Should this be ON_QA?

Comment 11 Kevin Alon Goldblatt 2016-07-25 16:25:12 UTC
Tested with the following code:
-------------------------------------
rhevm-4.0.2-0.1.rc.el7ev.noarch
vdsm-4.18.8-1.el7ev.x86_64

Verified with the following scenario:
-------------------------------------
Steps to Reproduce:
1. Create new v3.0 DC, Cluster, Add new host
2. Add new storage domain to DC
3. Move host to maintenance
4. block connection between the host and the non master domain
5. activate the host, wait for it to become the spm
6. try to upgrade the DC -> The upgrade is successfull


Actual results:
The DC upgrade is successfull


Moving to VERIFIED!