-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add storage format #463
Add storage format #463
Conversation
85a4749
to
5879f08
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but I would prefer some more people to review this one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code LGTM, can you please add a changelog?
964da70
to
3c8e7d8
Compare
Verified in [1] with [2] and current. The commit messages in [2] are not very up to date - to get to this success, I also had to put host-0 to maintenance and remove it, prior to taking the backup. Without current, something like [1] failed with the error message in the bug. With it, HE deploy succeeded. [1] failed later on adding host-1 (because it already exists). So current PR can be merged as-is. If you prefer to not include the middle patch, I don't mind removing it, or you can remove it too if you want. [1] https://redir.apps.ovirt.org/dj/job/ds-ost-baremetal_manual/32505 |
The middle commit contains code that looks similar to |
I'd remove it. |
Allow passing storage_format as is allowed by the Python SDK. Bug-Url: https://bugzilla.redhat.com/1932147
- Check the version of the cluster we are adding the host to - Fail if it's before 4.2. AFAICT the engine also does not support older storage domains - see [1] and other changes to VersionStorageFormatUtil.java . - Set storage_format to v4 if it's 4.2, otherwise to v5 [1] oVirt/ovirt-engine@373c3f8e
3c8e7d8
to
c893653
Compare
Ran OST, it passed HE deploy and failed later like before, as expected. So looks good to me, can be merged. https://redir.apps.ovirt.org/dj/job/ds-ost-baremetal_manual/32907 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Allow passing storage_format as is allowed by the Python SDK. * roles: hosted_engine_setup: Pass storage format - Check the version of the cluster we are adding the host to - Fail if it's before 4.2. AFAICT the engine also does not support older storage domains - see [1] and other changes to VersionStorageFormatUtil.java . - Set storage_format to v4 if it's 4.2, otherwise to v5 Bug-Url: https://bugzilla.redhat.com/1932147 [1] oVirt/ovirt-engine@373c3f8e
Allow passing storage_format as is allowed by the Python SDK.
Bug-Url: https://bugzilla.redhat.com/1932147