Bug 951446 - Incorrect vdsm version if the vdsm.log.
Summary: Incorrect vdsm version if the vdsm.log.
Keywords:
Status: CLOSED DUPLICATE of bug 950677
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: vdsm
Version: 3.1.3
Hardware: Unspecified
OS: Unspecified
urgent
medium
Target Milestone: ---
: 3.2.0
Assignee: Barak
QA Contact: Pavel Stehlik
URL:
Whiteboard: infra
Depends On:
Blocks: 902971
TreeView+ depends on / blocked
 
Reported: 2013-04-12 09:25 UTC by Pavel Zhukov
Modified: 2016-02-10 19:05 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-15 10:48:50 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Pavel Zhukov 2013-04-12 09:25:08 UTC
Description:
There is vdsm-4.10-1.9 instead of 4.10.2-1.9 in the vdsm.log

Version-Release number of selected component (if applicable):
vdsm-4.10.2-1.9.el6ev.x86_64

How reproducible:
100%
  
Actual results:
MainThread::INFO::2013-04-12 04:31:52,093::vdsm::88::vds::(run) I am the actual vdsm 4.10-1.9 rhevh-4.gsslab.rdu2.redhat.com (2.6.32-358.2.1.el6.x86_64)


Expected results:
MainThread::INFO::2013-04-12 04:31:52,093::vdsm::88::vds::(run) I am the actual vdsm 4.10.2-1.9 rhevh-4.gsslab.rdu2.redhat.com (2.6.32-358.2.1.el6.x86_64)


Additional info:
# Setting software_version and software_revision in dsaversion.py
baserelease=`echo "%{release}" | sed 's/\([0-9]\+\(\.[0-9]\+\)\?\).*/\1/'`
baseversion=`echo "%{version}" | sed 's/\([0-9]\+\(\.[0-9]\+\)\?\).*/\1/'`
sed -i -e 's/^software_version =.*/software_version = "'"${baseversion}"'"/' \
       -e 's/^software_revision =.*/software_revision = "'"${baserelease}"'"/' vdsm/dsaversion.py

should be 
baseversion=`echo "%{version}"  | sed 's/\([0-9]\+\(\.[0-9]\+\)\?\)+.*/\1/'   ??

Comment 2 Itamar Heim 2013-04-15 10:48:50 UTC

*** This bug has been marked as a duplicate of bug 950677 ***


Note You need to log in before you can comment on or make changes to this bug.