Bug 1340075
| Summary: | "could not obtain a database connection within 5.000 seconds (waited 5.000 seconds)" when running automate scripts | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | John Prause <jprause> |
| Component: | Automate | Assignee: | mkanoor |
| Status: | CLOSED ERRATA | QA Contact: | Milan Falešník <mfalesni> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.5.0 | CC: | gmccullo, jhardy, mkanoor, obarenbo, simaishi, tfitzger |
| Target Milestone: | GA | Keywords: | ZStream |
| Target Release: | 5.5.5 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 5.5.5.2 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1334909 | Environment: | |
| Last Closed: | 2016-07-26 15:34:59 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: | 1334909 | ||
| Bug Blocks: | |||
|
Comment 1
mkanoor
2016-06-14 14:58:45 UTC
New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=0bebd665f19863f6a8df6a9e44ef84858bcba1ed commit 0bebd665f19863f6a8df6a9e44ef84858bcba1ed Merge: 5c117ff 2f7d9f4 Author: Greg McCullough <gmccullo> AuthorDate: Tue Jun 14 14:53:15 2016 -0400 Commit: Greg McCullough <gmccullo> CommitDate: Tue Jun 14 14:53:15 2016 -0400 Merge branch 'bugzilla_1340075_5_5_z' into '5.5.z' Wrap ar_method around Database calls https://bugzilla.redhat.com/show_bug.cgi?id=1340075 ar_method is responsible for releasing the connection to the database. It wasn't being called when creating tags and categories and also when checking for their existence. Clean Cherry Pick from https://github.com/ManageIQ/manageiq/pull/8669 See merge request !967 Checked in 5.5.5.2. I ran the reproducer script from the parent bug about 10 times and no error happened. Tags were copied as expected. 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-2016-1488.html |