Mark Wu has uploaded a new change for review.
Change subject: Fix another mac address comparison issue caused by letter case. ......................................................................
Fix another mac address comparison issue caused by letter case.
Change-Id: I5f45e2698d929e59f5d5d78b6ca12cb6b8eba445 --- M vdsm/libvirtvm.py 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/96/1696/1 -- To view, visit http://gerrit.ovirt.org/1696 To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange Gerrit-Change-Id: I5f45e2698d929e59f5d5d78b6ca12cb6b8eba445 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Mark Wu wudxw@linux.vnet.ibm.com
Mark Wu has posted comments on this change.
Change subject: Fix another mac address comparison issue caused by letter case. ......................................................................
Patch Set 1:
I got the following exception before the fix. It happened because the network device in vm's conf was not updated with alias. But I am not sure why it's only happened after I upgraded vdsm.
File "/usr/share/vdsm/vm.py", line 534, in _startUnderlyingVm self._run() File "/usr/share/vdsm/libvirtvm.py", line 1280, in _run self._domDependentInit() File "/usr/share/vdsm/libvirtvm.py", line 1174, in _domDependentInit self._getUnderlyingVmDevicesInfo() File "/usr/share/vdsm/libvirtvm.py", line 1161, in _getUnderlyingVmDevicesInfo self._getUnderlyingUnknownDeviceInfo() File "/usr/share/vdsm/libvirtvm.py", line 1815, in _getUnderlyingUnknownDeviceInfo if not isKnownDevice(alias): File "/usr/share/vdsm/libvirtvm.py", line 1801, in isKnownDevice if dev['alias'] == alias: KeyError: 'alias'
-- To view, visit http://gerrit.ovirt.org/1696 To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment Gerrit-Change-Id: I5f45e2698d929e59f5d5d78b6ca12cb6b8eba445 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Mark Wu wudxw@linux.vnet.ibm.com Gerrit-Reviewer: Mark Wu wudxw@linux.vnet.ibm.com
Igor Lvovsky has posted comments on this change.
Change subject: Fix another mac address comparison issue caused by letter case. ......................................................................
Patch Set 1: Looks good to me, approved
Actually, the right thing is to convert and keep the MAC address as lower() in conf and remove all converts during comparisons
-- To view, visit http://gerrit.ovirt.org/1696 To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment Gerrit-Change-Id: I5f45e2698d929e59f5d5d78b6ca12cb6b8eba445 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Mark Wu wudxw@linux.vnet.ibm.com Gerrit-Reviewer: Igor Lvovsky ilvovsky@redhat.com Gerrit-Reviewer: Mark Wu wudxw@linux.vnet.ibm.com
Dan Kenigsberg has submitted this change and it was merged.
Change subject: Fix another mac address comparison issue caused by letter case. ......................................................................
Fix another mac address comparison issue caused by letter case.
Change-Id: I5f45e2698d929e59f5d5d78b6ca12cb6b8eba445 --- M vdsm/libvirtvm.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Dan Kenigsberg: Verified Igor Lvovsky: Looks good to me, approved
-- To view, visit http://gerrit.ovirt.org/1696 To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged Gerrit-Change-Id: I5f45e2698d929e59f5d5d78b6ca12cb6b8eba445 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Mark Wu wudxw@linux.vnet.ibm.com Gerrit-Reviewer: Dan Kenigsberg danken@redhat.com Gerrit-Reviewer: Igor Lvovsky ilvovsky@redhat.com Gerrit-Reviewer: Mark Wu wudxw@linux.vnet.ibm.com
Dan Kenigsberg has posted comments on this change.
Change subject: Fix another mac address comparison issue caused by letter case. ......................................................................
Patch Set 1: Verified
deja vu...
-- To view, visit http://gerrit.ovirt.org/1696 To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment Gerrit-Change-Id: I5f45e2698d929e59f5d5d78b6ca12cb6b8eba445 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Mark Wu wudxw@linux.vnet.ibm.com Gerrit-Reviewer: Dan Kenigsberg danken@redhat.com Gerrit-Reviewer: Igor Lvovsky ilvovsky@redhat.com Gerrit-Reviewer: Mark Wu wudxw@linux.vnet.ibm.com
vdsm-patches@lists.fedorahosted.org