Skip to content

[WIP] Handle nil storage domain store type#698

Open
agrare wants to merge 1 commit intoManageIQ:masterfrom
agrare:fix_storagedomain_store_type_nil
Open

[WIP] Handle nil storage domain store type#698
agrare wants to merge 1 commit intoManageIQ:masterfrom
agrare:fix_storagedomain_store_type_nil

Conversation

@agrare
Copy link
Member

@agrare agrare commented Oct 20, 2025

Handle the case where storagedomain store type is nil which would fall into the using the volume_group id for the location.

We do use Storage#store_type for other things (namely smartstate analysis) so I don't think we should just leave it blank but this fixes the exception blocking refresh.

Fixes #697

Handle the case where `storagedomain` store type is `nil` which would
fall into the using the volume_group id for the location.
@agrare agrare requested a review from Fryguy as a code owner October 20, 2025 18:01
@agrare agrare added the bug label Oct 20, 2025
@miq-bot miq-bot added the wip label Dec 5, 2025
@miq-bot
Copy link
Member

miq-bot commented Dec 30, 2025

Checked commit agrare@4dac59c with ruby 3.1.7, rubocop 1.56.3, haml-lint 0.64.0, and yamllint
1 file checked, 0 offenses detected
Everything looks fine. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

undefined method 'upcase' for nil during oVirt provider refresh

2 participants