Skip to content

Use vmdk size from .ova files#29

Open
leust wants to merge 1 commit into
stable/train-m3from
train_ova_size
Open

Use vmdk size from .ova files#29
leust wants to merge 1 commit into
stable/train-m3from
train_ova_size

Conversation

@leust
Copy link
Copy Markdown

@leust leust commented May 23, 2022

Since .ova files contain more than just the .vmdk, the size reported by
glance is not the size of the actual upload. Since olso.vmware now has a
guard against not-finished uploads integrated, we cannot just use the
size from glance. Instead, we switch to using the size of the .vmdk as
reported by the tar file.

Ported from sapcc/nova@5d73d02

Since .ova files contain more than just the .vmdk, the size reported by
glance is not the size of the actual upload. Since olso.vmware now has a
guard against not-finished uploads integrated, we cannot just use the
size from glance. Instead, we switch to using the size of the .vmdk as
reported by the tar file.
@leust leust requested a review from joker-at-work May 23, 2022 12:24
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.

2 participants