Bug 1313917 - [RFE] allow NFS hosted-engine system started on 3.4 to upgrade its filebase metadata and lockspace area to a VDSM volume as for fresh deployments
Summary: [RFE] allow NFS hosted-engine system started on 3.4 to upgrade its filebase m...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-hosted-engine-setup
Classification: oVirt
Component: General
Version: ---
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ovirt-4.0.2
: 2.0.1.3
Assignee: Simone Tiraboschi
QA Contact: Jiri Belka
URL:
Whiteboard: integration
Depends On: 1364615
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-02 15:32 UTC by Simone Tiraboschi
Modified: 2017-12-05 17:10 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-08-12 14:25:05 UTC
oVirt Team: Integration
Embargoed:
ylavi: ovirt-4.0.z+
jbelka: testing_plan_complete-
mgoldboi: planning_ack+
sbonazzo: devel_ack+
pstehlik: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1521011 0 medium CLOSED ovirt-ha-broker fails to start after upgrade: metadata_image_UUID can't be '' 2022-02-25 11:24:31 UTC
oVirt gerrit 60369 0 master MERGED upgrade: migrate file based lockspace and metadata 2021-01-24 13:48:47 UTC
oVirt gerrit 61345 0 ovirt-hosted-engine-setup-2.0 MERGED upgrade: migrate file based lockspace and metadata 2021-01-24 13:48:47 UTC

Internal Links: 1521011

Description Simone Tiraboschi 2016-03-02 15:32:40 UTC
Description of problem:

At 3.4 time, hosted-engine could be deployed only on NFS.
HA metadata and lockspace was just two files inside the storage domain and they were created outside VDSM.

The file based approach would not work with block devices.
So, since with 3.5 where we started supporting also iSCSI, we wrote new code to use VDSM volumes for metadata and lockpspace; ovirt-hosted-engine-ha supports both file and volume based metadata and lockspace since 3.5.

hosted-engine-setup since 3.5 is always creating two VDSM volumes also for NFS deployment.
There was no explicit upgrade path between 3.4 and 3.5 so who started with 3.4 on NFS and upgraded to 3.5 (and also to 3.6) is still using the filebased metadata also on 3.5 or on 3.6.
Filebased metadata and lockspace are still there in 3.6 but by far less tested since all the new user from 3.5 and from 3.6 are already with volumes.

4.0 is probably the right moment to unify them moving everybody to volumes. 

A critical point is that it would not be possibile to mix hosts that are using lockspace and metadata on files with hosts that are already pointing to a volume that is not in sync with the files at all so this upgrade will probably require to stop all the hosted-engine hosts (and obviously the engine VM) at the same time.

The only way to test the full upgrade path from 3.4 to 4.0 is:
3.4/el6 -> 3.5/el6 -> 3.5/el7 -> 3.6/el7 -> 4.0/el7

Comment 1 Sandro Bonazzola 2016-05-02 09:50:47 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 2 Doron Fediuck 2016-06-09 10:59:05 UTC
Removed dependencies as this is not blocking recent versions (after 3.4).

Comment 3 Jiri Belka 2016-08-08 17:17:05 UTC
ok, 3.4 -> 3.5 -> 3.6 -> 4.0 (ovirt-hosted-engine-setup-2.0.1.3-1.el7ev.noarch)

with some workarounds during the flow and there were some issues discovered:

BZ1365242, BZ1364557, BZ1364564, BZ1364568, BZ1364543, BZ1364571, BZ1364615


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