Bug 722882

Summary: Upgrade script does not report errors to stderr
Product: Red Hat Enterprise Linux 6 Reporter: cshao <cshao>
Component: ovirt-nodeAssignee: Alan Pevec <apevec>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: high    
Version: 6.2CC: apevec, bsarathy, dfediuck, gouyang, leiwang, mburns, mjenner, moli, ovirt-maint, ycui
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-node-2.0.1-0.3.git46a07b4.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 658113 Environment:
Last Closed: 2011-12-06 19:18:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 658113    
Bug Blocks:    

Comment 1 cshao 2011-07-18 11:08:10 UTC
The issue doesn't occur in rhev-hypervisor-5.7, so this is for rhevh 5.7 to 6.2
regression bug.

Comment 5 cshao 2011-07-25 07:42:17 UTC
Test version:
rhev-hypervisor-6.2-0.6.el6

Test step:
[root@localhost libexec]# cat /etc/redhat-release 
Red Hat Enterprise Virtualization Hypervisor release 6.2 (0.6.el6)
[root@localhost libexec]# ./ovirt-config-boot /mnt
installing the image.
source image not valid.
[root@localhost libexec]# ./ovirt-config-boot /mnt 2>/dev/null
installing the image.
source image not valid.
[root@localhost libexec]# grep log_error ovirt-config-boot
      log_error "cannot upgrade from $current_version to $VERSION."
            log_error "Boot partition not available"
          log_error "Could not create DM links"
          log_error "Root partition not available"
            log_error "root partition not available."
            log_error "$(ls -al /dev/disk/by-label)"
      log_error "unable to determine Root partition"
        log_error "version details copy failed."
        log_error "kernel image copy failed."
            log_error "squashfs image copy failed."
        log_error "boot loader install failed."
            log_error "umount /liveos failed."
[root@localhost libexec]# 

So change bug status to VERIFIED.

Comment 6 errata-xmlrpc 2011-12-06 19:18:12 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.

http://rhn.redhat.com/errata/RHBA-2011-1783.html