Change in vdsm[master]: BZ#845994 VM failed to start after file injection.
ghammer at redhat.com
ghammer at redhat.com
Tue Aug 7 11:09:45 UTC 2012
Gal Hammer has posted comments on this change.
Change subject: BZ#845994 VM failed to start after file injection.
......................................................................
Patch Set 2: (3 inline comments)
....................................................
File vdsm_hooks/fileinject/before_vm_start.py
Line 34: sys.stderr.write('fileinject: [error in inject_file]: %s\n' % e)
I preferred not to change the function's behavior too much in one patch. The calling code expect the inject_file function not to fail and return a boolean value.
Line 46: try:
Done
Line 50: gfs.upload(temp.name, filepath)
Done. I've used the existing code and not too familiar with the GuestFS library's functions.
--
To view, visit http://gerrit.ovirt.org/6956
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibb705a7153b1d2662a1c113bbbb5c694c568cabd
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Gal Hammer <ghammer at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Gal Hammer <ghammer at redhat.com>
Gerrit-Reviewer: Shahar Havivi <shavivi at redhat.com>
More information about the vdsm-patches
mailing list