Skip to content

Conversation

glehmann
Copy link
Member

@glehmann glehmann commented Oct 8, 2025

based on #356

@glehmann glehmann force-pushed the gln/migration-integrity branch from 39d33c4 to 08eb3f9 Compare October 9, 2025 06:00
@glehmann glehmann force-pushed the gln/migration-integrity branch 2 times, most recently from 804519b to 4bbc22f Compare October 9, 2025 08:56
Signed-off-by: Gaëtan Lehmann <[email protected]>
@stormi stormi requested review from Nambrok, Wescoeur and ydirson and removed request for Wescoeur October 14, 2025 10:38
logging.info("Generate /dev/xvdb content")
vm.ssh("randstream generate -v /dev/xvdb")
logging.info("Validate /dev/xvdb")
vm.ssh("randstream validate -v --expected-checksum 65280014 /dev/xvdb")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

65280014: what is this number, and should it be a constant?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's the expected checksum—I hoped the --expected-checksum option would make it clear :)

We could use a different seed at each run to generate the content of the vdi. The checksum would change with it.
That would complicate the test though, and I'm not sure it would help to catch more problems.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So it looks like it should at least be a constant.

@glehmann glehmann force-pushed the gln/migration-integrity branch from 4bbc22f to f62c195 Compare October 14, 2025 12:17
@glehmann glehmann force-pushed the gln/migration-integrity branch from f62c195 to a14dae3 Compare October 14, 2025 19:18
The vdi uuid changes during migration, so we use its name to identify it

Signed-off-by: Gaëtan Lehmann <[email protected]>
@glehmann glehmann force-pushed the gln/migration-integrity branch from a14dae3 to bc22e1c Compare October 14, 2025 19:27
@glehmann glehmann force-pushed the gln/migration-integrity branch from bc22e1c to 6c7d966 Compare October 15, 2025 13:20
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