-
Notifications
You must be signed in to change notification settings - Fork 70
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
Fix storage location parsing for update collector #135
Conversation
Fix an issue where the storage location is parsed as "" causing creating of the storage records to fail.
# NFS on ESX has the path in the datastore instead: | ||
# 192.168.254.80:/shares/public | ||
datastore = inv["summary.datastore"].to_s.downcase | ||
return datastore.gsub(':/', '/') if datastore =~ /^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/ |
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.
ESXi has a half guid in the url also so this isn't needed
This should fix travis for this repo |
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.
Looks good, fixes CI
Marking for G-release because ManageIQ/manageiq#16408 is going to be backported |
Fix storage location parsing for update collector (cherry picked from commit 39f13af)
Gaprindashvili backport details:
|
Updated vm migration to report when an error occurs.
Fix an issue where the storage location is parsed as "" causing creating
of the storage records to fail.