Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1428607 - Service : Ansible service request fails with error "`examine_request': undefined method `name' for nil:NilClass"
Service : Ansible service request fails with error "`examine_request': undefi...
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS (Show other bugs)
5.8.0
Unspecified Unspecified
high Severity high
: GA
: 5.8.0
Assigned To: mkanoor
Shveta
service:ansible
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-02 18:20 EST by Shveta
Modified: 2017-05-31 10:38 EDT (History)
8 users (show)

See Also:
Fixed In Version: 5.8.0.6
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-05-31 10:38:10 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
automation logs (58.15 KB, text/plain)
2017-03-02 18:20 EST, Shveta
no flags Details
Ansible catalog item (118.33 KB, image/png)
2017-03-03 16:08 EST, Shveta
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:1367 normal SHIPPED_LIVE Moderate: CFME 5.8.0 security, bug, and enhancement update 2017-05-31 14:16:03 EDT

  None (edit)
Description Shveta 2017-03-02 18:20:23 EST
Created attachment 1259353 [details]
automation logs

Description of problem:


Version-Release number of selected component (if applicable):
5.8.0.2-nightly.20170228141623_8710eed

How reproducible:


Steps to Reproduce:
1. Create an ansible service request .
2. request fails with below error in logs 
3. 

Actual results:


Expected results:


Additional info:
Comment 2 Greg McCullough 2017-03-03 13:41:21 EST
Shveta - Please clarify what type of Ansible catalog item you are creating as there are now 2 types supported in 5.8: Ansible Playbooks and AnsibleTower.

I believe this is an AnsibleTower catalog item where the Provider and JobTemplate values have not been specified.  It would help if you could include a screenshot of the catalog item you created.
Comment 3 Shveta 2017-03-03 16:08 EST
Created attachment 1259727 [details]
Ansible catalog item

Please check the entry point if its correct.
Comment 6 CFME Bot 2017-03-07 16:16:24 EST
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/fc768ed6236398bc69a6ea5143740fb94d46479e

commit fc768ed6236398bc69a6ea5143740fb94d46479e
Author:     Madhu Kanoor <mkanoor@redhat.com>
AuthorDate: Mon Mar 6 17:21:42 2017 -0500
Commit:     Madhu Kanoor <mkanoor@redhat.com>
CommitDate: Mon Mar 6 17:21:42 2017 -0500

    Incorrect source_type in has_many
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1428607
    
    Ansible Tower Services where failing trying to access the
    configuration_manager

 app/models/mixins/service_configuration_mixin.rb | 2 +-
 spec/models/service_ansible_tower_spec.rb        | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)
Comment 7 CFME Bot 2017-03-10 15:26:25 EST
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/6784bdee52ee18cfe47ae12eb86e5a489309c2ce

commit 6784bdee52ee18cfe47ae12eb86e5a489309c2ce
Author:     James Wong <jwong@redhat.com>
AuthorDate: Tue Mar 7 15:54:49 2017 -0500
Commit:     James Wong <jwong@redhat.com>
CommitDate: Wed Mar 8 11:34:45 2017 -0500

    migrate configuration_scripts to configuration_script_base in service_resources table
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1428607

 ...7203433_migrate_configuration_script_to_base.rb | 20 ++++++++++++
 ...33_migrate_configuration_script_to_base_spec.rb | 37 ++++++++++++++++++++++
 2 files changed, 57 insertions(+)
 create mode 100644 db/migrate/20170307203433_migrate_configuration_script_to_base.rb
 create mode 100644 spec/migrations/20170307203433_migrate_configuration_script_to_base_spec.rb
Comment 9 Shveta 2017-04-26 15:16:23 EDT
Fixed.
Verified in 5.8.0.12-rc1.20170425180304_4f35996
Comment 11 errata-xmlrpc 2017-05-31 10:38:10 EDT
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:1367

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