Skip to content
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

core: fail storage domain attach if getImagesList fails #733

Merged
merged 1 commit into from
Nov 3, 2022

Conversation

bennyz
Copy link
Member

@bennyz bennyz commented Nov 2, 2022

If getImagesList fails due to an error we should not continue with attaching the SD assuming there no disks on the storage as this will corrupt the OVF stores.

Instead fail the attach operation and have the user retry once the issue is resolved.

Bug-Url: https://bugzilla.redhat.com/2126602

@bennyz bennyz requested a review from ahadas as a code owner November 2, 2022 15:54
@ahadas
Copy link
Member

ahadas commented Nov 3, 2022

@bennyz the failure in OST is related to this change:
2022-11-02 21:41:19,991Z ERROR [org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand] (default task-1) [] Exception: java.lang.RuntimeException: Failed to retrieve unregistered disks
can you please take a look?

@bennyz
Copy link
Member Author

bennyz commented Nov 3, 2022

/ost

If getImagesList fails due to an error we should not continue with
attaching the SD assuming there no disks on the storage as this will
corrupt the OVF stores.

Instead fail the attach operation and have the user retry once the issue
is resolved.

Bug-Url: https://bugzilla.redhat.com/2126602
Signed-off-by: Benny Zlotnik <bzlotnik@redhat.com>
@bennyz
Copy link
Member Author

bennyz commented Nov 3, 2022

/ost

@ahadas ahadas merged commit ae817da into oVirt:master Nov 3, 2022
@bennyz bennyz deleted the fail-sd-import branch November 5, 2022 09:32
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