Skip to content

sesparse: Accept reserved1 0x200 in seSparse headers#1

Open
roamingengineer311 wants to merge 1 commit into
storpool:masterfrom
roamingengineer311:master
Open

sesparse: Accept reserved1 0x200 in seSparse headers#1
roamingengineer311 wants to merge 1 commit into
storpool:masterfrom
roamingengineer311:master

Conversation

@roamingengineer311
Copy link
Copy Markdown

The current validation only accepts reserved1 = 0, so these snapshots fail immediately with:

unsupported values in hdr

This change accepts reserved1 values of either 0 or 0x200, while leaving the rest of the header validation unchanged.

Tested with an ESXi-generated seSparse snapshot. Before the change, sesparse failed during header validation. After the change, it reads the grain directory and applies the delta to the raw parent disk.

Signed-off-by: Dmitrii Gilev <dgilev@opennebula.io>
rsmontero pushed a commit to OpenNebula/website that referenced this pull request May 21, 2026
…663)

### Description

Adds a known issue for OneSwap delta migration on vCenter/ESXi 8 and
newer.

Delta migration may fail because the `sesparse` tool used to apply
VMware
`seSparse` snapshot deltas was tested against older vCenter/ESXi
versions.
  The known issue points users to the upstream fix:

  - storpool/any2kvm#1

It also notes that `sesparse` needs to be rebuilt with that patch and
installed
  in `/usr/bin/` on the conversion host.

### Branches to which this PR applies

- [x] master
- [x] one-7.2
- [X] one-7.2-maintenance

---------

Signed-off-by: Dmitrii Gilev <dgilev@opennebula.io>
Co-authored-by: mattrowe-opennebula <mrowe@opennebula.io>
rsmontero pushed a commit to OpenNebula/website that referenced this pull request May 21, 2026
…663)

### Description

Adds a known issue for OneSwap delta migration on vCenter/ESXi 8 and
newer.

Delta migration may fail because the `sesparse` tool used to apply
VMware
`seSparse` snapshot deltas was tested against older vCenter/ESXi
versions.
  The known issue points users to the upstream fix:

  - storpool/any2kvm#1

It also notes that `sesparse` needs to be rebuilt with that patch and
installed
  in `/usr/bin/` on the conversion host.

### Branches to which this PR applies

- [x] master
- [x] one-7.2
- [X] one-7.2-maintenance

---------

Signed-off-by: Dmitrii Gilev <dgilev@opennebula.io>
Co-authored-by: mattrowe-opennebula <mrowe@opennebula.io>
(cherry picked from commit 9208995)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant