Bug 1460348

Summary: manageiq.api_token failing in playbook when using a multi-appliance deployment
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ApplianceAssignee: Tim Wade <twade>
Status: CLOSED ERRATA QA Contact: luke couzens <lcouzens>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: abellott, cpelland, gtanzill, jhardy, kmorey, obarenbo, pakotvan, rspagnol, twade
Target Milestone: GAKeywords: ZStream
Target Release: 5.8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.8.1.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1459674 Environment:
Last Closed: 2017-08-02 17:29:29 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: 1459674    
Bug Blocks:    

Comment 2 CFME Bot 2017-06-09 19:36:30 UTC
New commit detected on ManageIQ/manageiq/fine:
https://github.com/ManageIQ/manageiq/commit/9503a9a3ac59fa77f3a2cf72e5a9fcc13735bfeb

commit 9503a9a3ac59fa77f3a2cf72e5a9fcc13735bfeb
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Tue May 30 18:09:58 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Fri Jun 9 15:32:10 2017 -0400

    Merge pull request #14947 from imtayadeway/api/add-sql-store-to-token-store
    
    Add SQL store option to token store
    (cherry picked from commit ffd89722751ebc3fb0498a24a288b90411eea2ac)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1460348

 app/models/session.rb                    |   4 +
 config/brakeman.ignore                   |  24 ++++-
 config/settings/test.yml                 |   2 +
 lib/token_store.rb                       |  14 +--
 lib/token_store/sql_store.rb             |  39 ++++++++
 spec/lib/token_store/sql_store_spec.rb   |  96 +++++++++++++++++++
 spec/models/session_spec.rb              |  34 +++++++
 spec/requests/api/authentication_spec.rb | 156 ++++++++++++++++---------------
 8 files changed, 285 insertions(+), 84 deletions(-)
 create mode 100644 lib/token_store/sql_store.rb
 create mode 100644 spec/lib/token_store/sql_store_spec.rb

Comment 6 luke couzens 2017-07-20 09:00:41 UTC
Verified in 5.8.1.2

Comment 8 errata-xmlrpc 2017-08-02 17:29:29 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.

https://access.redhat.com/errata/RHSA-2017:1758