Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1184123

Summary: Uploading to nfs domain fails with UnboundLocalError
Product: Red Hat Enterprise Virtualization Manager Reporter: rhev-integ
Component: ovirt-engine-iso-uploaderAssignee: Yedidyah Bar David <didi>
Status: CLOSED ERRATA QA Contact: Jiri Belka <jbelka>
Severity: medium Docs Contact:
Priority: high    
Version: 3.4.4CC: didi, ecohen, iheim, juwu, lsurette, pstehlik, rbalakri, Rhev-m-bugs, sbonazzo, yeylon, ylavi
Target Milestone: ---Keywords: ZStream
Target Release: 3.5.0-1   
Hardware: x86_64   
OS: Linux   
Whiteboard: integration
Fixed In Version: rhevm-iso-uploader-3.5.0-3.el6ev Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1183095 Environment:
Last Closed: 2015-02-16 14:40:28 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: 1183095    
Bug Blocks:    

Comment 1 Jiri Belka 2015-01-22 12:40:22 UTC
ok, rhevm-iso-uploader-3.5.0-3.el6ev.noarch

# engine-iso-uploader -v --nfs-server=10.34.63.204:/home/iso/shared/0c78b4d6-ba00-4d3e-9f9f-65c7d5899d71/images/11111111-1111-1111-1111-111111111111 upload cd57-20150121.iso 
Uploading, please wait...
DEBUG: local NFS mount point is /tmp/tmp9CB0Gc
DEBUG: NFS mount command (/bin/mount -t nfs -o rw,sync,soft 10.34.63.204:/home/iso/shared/0c78b4d6-ba00-4d3e-9f9f-65c7d5899d71/images/11111111-1111-1111-1111-111111111111 /tmp/tmp9CB0Gc)
DEBUG: /bin/mount -t nfs -o rw,sync,soft 10.34.63.204:/home/iso/shared/0c78b4d6-ba00-4d3e-9f9f-65c7d5899d71/images/11111111-1111-1111-1111-111111111111 /tmp/tmp9CB0Gc
DEBUG: _cmds(['/bin/mount', '-t', 'nfs', '-o', 'rw,sync,soft', '10.34.63.204:/home/iso/shared/0c78b4d6-ba00-4d3e-9f9f-65c7d5899d71/images/11111111-1111-1111-1111-111111111111', '/tmp/tmp9CB0Gc'])
DEBUG: returncode(0)
DEBUG: STDOUT()
DEBUG: STDERR()
INFO: Start uploading cd57-20150121.iso 
DEBUG: Size of cd57-20150121.iso:       7700480 bytes   7520.0 1K-blocks        7.0 MB
DEBUG: Available space in /tmp/tmp9CB0Gc/:      70274514944 bytes       68627456.0 1K-blocks    67019.0 MB
DEBUG: euid(0) egid(0)
DEBUG: euid(0) egid(0)
DEBUG: Renaming /tmp/tmp9CB0Gc/.cd57-20150121.iso to /tmp/tmp9CB0Gc/cd57-20150121.iso
INFO: cd57-20150121.iso uploaded successfully
DEBUG: /bin/umount -t nfs -f  /tmp/tmp9CB0Gc
DEBUG: /bin/umount -t nfs -f  /tmp/tmp9CB0Gc
DEBUG: _cmds(['/bin/umount', '-t', 'nfs', '-f', '/tmp/tmp9CB0Gc'])
DEBUG: returncode(0)
DEBUG: STDOUT()
DEBUG: STDERR()

# ls -ltr /mnt/0c78b4d6-ba00-4d3e-9f9f-65c7d5899d71/images/11111111-1111-1111-1111-111111111111 | tail -n1
-rw-r-----. 1 vdsm kvm     7700480 Jan 22 13:37 cd57-20150121.iso

Comment 3 errata-xmlrpc 2015-02-16 14:40:28 UTC
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.

https://rhn.redhat.com/errata/RHBA-2015-0228.html