Bug 627835
Summary: | libguestfs protocol loses synchronization if you 'upload' before mounting disks | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Jinxin Zheng <jzheng> |
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.1 | CC: | dallan, leiwang, llim, mbooth, mshao, rjones, syeghiay, virt-maint |
Target Milestone: | rc | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libguestfs-1.7.17-24.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 576879 | Environment: | |
Last Closed: | 2011-12-06 10:42:02 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 576879, 613593, 719879 | ||
Bug Blocks: | 584228, 591155, 591250 |
Description
Jinxin Zheng
2010-08-27 05:18:34 UTC
Will probably be fixed by the rebase. Needs QA to verify that. Going to claim that this is fixed by the rebase. QA please check this one carefully since there are lots of corner cases in the code, and we're not really sure that we have fixed all of them properly. This is found not completely fixed. Actually it looks even worse: guestfish <<EOF add test.img run upload test.txt /test.txt EOF it is getting hang running the above. so I would change this back to ASSIGNED. Fair enough, this isn't fixed. In fact we suspected this when the regression test started failing: https://bugzilla.redhat.com/show_bug.cgi?id=576879#c7 I think I'm going to leave this one and not fix it for 6.1. There's an easy workaround for users, and we can fix it for 6.2 instead. Development Management has reviewed and declined this request. You may appeal this decision by reopening this request. Should be fixed with: http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=cbd8da6d4dd2e4cbc3b87fbc7cb7d6129eb69172 http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=e34fc32092e18b38282306558dcef66263a0fb10 http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=65852011d8f5150c5c0bcbfeac90e2fd784905c5 http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=1e68f84c5a46f3ff650368a897bd4113bd3f4aea http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=dc8e4b057ecd3984d7c27c8ece54048b6a06d662 http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=7fb25f53f836172376c25b405b5f88f4ec37eed8 http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=c7368ce167d6dbfd3e69ba208301c5af3f17a8a1 http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=33b638109ed66ea360b53b80b1f407b3a5f5ec39 http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=f4d996fd26762053d68f46de5790aae893f03d38 Safest to fix this by rebasing (bug 719879). Actually we have included all the relevant commits so this should be fixed in 6.2. This is what the correct output should be (verified for me on RHEL 6.2 with libguestfs 1.7.17-24.el6): $ guestfish -N disk -- -tar-in /dev/nofile /blah : ping-daemon : echo OK libguestfs: error: open: /dev/nofile: No such file or directory OK Verified this using the reproducer in comment 10. $ guestfish -N disk -- -tar-in /dev/nofile /blah : ping-daemon : echo OK libguestfs-1.7.17-19: The script hangs after printing libguestfs: error: open: /dev/nofile: No such file or directory libguestfs-1.7.17-26: The scripts prints the following then exit. libguestfs: error: open: /dev/nofile: No such file or directory OK Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1512.html |