Bug 1066459

Summary: [database] plpgsql language is not created although it should
Product: [Retired] oVirt Reporter: Alon Bar-Lev <alonbl>
Component: ovirt-engine-installerAssignee: Alon Bar-Lev <alonbl>
Status: CLOSED CURRENTRELEASE QA Contact: Barak Dagan <bdagan>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.4CC: acathrow, gklein, iheim, jbelka, pbenas, pstehlik, yeylon
Target Milestone: ---   
Target Release: 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: ovirt-3.4.0-rc Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-31 12:31:33 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:
Bug Depends On:    
Bug Blocks: 1037667, 1054226, 1057239    

Description Alon Bar-Lev 2014-02-18 13:16:53 UTC
Conditional within code is incorrect, should compare to 0 and not nothing.

Comment 1 Barak Dagan 2014-02-19 09:31:12 UTC
*** Bug 1064962 has been marked as a duplicate of this bug. ***

Comment 2 Sandro Bonazzola 2014-03-03 14:40:17 UTC
This BZ should be fixed in oVirt 3.4.0 RC

Comment 3 Barak Dagan 2014-03-09 13:13:13 UTC
Verified o av2.1 (codeChange):


        if statement.execute(
            statement="""
                select count(*)
                from pg_language
                where lanname=%(language)s;
            """,
            args=dict(
                language=language,
            ),
            ownConnection=True,
            transaction=False,
        )[0]['count'] == 0:

Comment 4 Sandro Bonazzola 2014-03-31 12:31:33 UTC
this is an automated message: moving to Closed CURRENT RELEASE since oVirt 3.4.0 has been released