Bug 866533

Summary: 3.1 VDSM: some warning in upgrade of 4.9-113-3 to 4.9.6-36
Product: Red Hat Enterprise Linux 6 Reporter: Yaniv Kaul <ykaul>
Component: vdsmAssignee: Douglas Schilling Landgraf <dougsland>
Status: CLOSED ERRATA QA Contact: Pavel Stehlik <pstehlik>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.3CC: abaron, bazulay, chetan, iheim, ilvovsky, jbiddle, jkt, lpeer, sgrinber, ykaul
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard: infra
Fixed In Version: vdsm-4.9.6-40.0 Doc Type: Bug Fix
Doc Text:
Previously, the libvirt_password was created inside the spec file without the newline character (echo -n). Now, there is a file that contains the password but uses the newline character. This scenario makes the rpm upgrade finish with an incorrect warning message showing that the password has changed. This patch removes the newline character from the libvirt_password file and prevents incorrect warning messages.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 19:12:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yaniv Kaul 2012-10-15 15:01:30 UTC
Description of problem:
  Updating   : vdsm-4.9.6-36.0.el6_3.x86_64                                                                                                      5/11
warning: /etc/pki/vdsm/keys/libvirt_password created as /etc/pki/vdsm/keys/libvirt_password.rpmnew
 
[root@master-vds1 keys]# cat libvirt_password
shibboleth[root@master-vds1 keys]# cat libvirt_password.rpmnew
shibboleth
[root@master-vds1 keys]# diff libvirt_password libvirt_password.rpmnew
1c1
< shibboleth
\ No newline at end of file
---
> shibboleth
 
 
[root@master-vds1 ~]# rpm -qV vdsm
S.5....T.  c /etc/pki/vdsm/keys/libvirt_password
.....UG..    /rhev/data-center
missing     /var/lib/vdsm/netconfback


Version-Release number of selected component (if applicable):
vdsm-4.9.6-36

How reproducible:
Always

Steps to Reproduce:
1. Upgrade from VDSM (I did it via 'yum update') from 4.9-113.3 (3.0.x) to 4.9.6-36 (3.1's VDSM)
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Douglas Schilling Landgraf 2012-10-24 22:37:52 UTC
Hi Yaniv,

Thanks for the report, patch available upstream for review:
http://gerrit.ovirt.org/#/c/8796/

Comment 6 errata-xmlrpc 2012-12-04 19:12:47 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/RHSA-2012-1508.html