-
Notifications
You must be signed in to change notification settings - Fork 270
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
Look for InstanceID as well when reading internal OVFs #761
Conversation
Please reformat the commit message in accordance with oVirt standard. (You can take previous commits as an example.) And add more detailed explanation, how the patch fixes the problem. |
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.
@shubhaOracle thanks for posting this! your approach, checking both InstanceId and InstanceID, looks ok to me - but assuming this issue is specific to Oracle's product, I'd change the comment to avoid confusion and start with looking for InstanceId which is supposed to be there and then fall back to checking InstanceID
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ovf/OvfOvirtReader.java
Outdated
Show resolved
Hide resolved
cf26412
to
4e7222e
Compare
I have added 'Signed-off-by:' to my second commit. I am not sure why it is still flagged as a problem. |
I think it checks it on all commits. |
Issue: When attaching SD, VM Import tab doesn't show a VM if VM OVF has 'InstanceID' instead of 'InstanceId' property. The engine log shows the below error. 'Error parsing OVF due to OVF error: ol8-clone: cannot read 'rasd:InstanceId' with value: null'. Ref bug change https://bugzilla.redhat.com/show_bug.cgi?id=1850103 Fix: When reading/parsing VM OVF, check for both values 'InstanceID' and 'InstanceId'. Signed-off-by: Shubha Kulkarni <shubha.kulkarni@oracle.com>
4e7222e
to
10ba646
Compare
/ost |
Detach 4.3 SD and attach it to 4.5 env fails with error 'Error parsing OVF due to OVF error: ol8-clone: cannot read 'rasd:InstanceId' with value: null'. Ref bug change https://bugzilla.redhat.com/show_bug.cgi?id=1850103
Steps -