| Summary: | ERROR in CatalogItemInitialization if service_name is not specified | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Jerome Marc <jmarc> |
| Component: | Automate | Assignee: | William Fitzgerald <wfitzger> |
| Status: | CLOSED WORKSFORME | QA Contact: | Dave Johnson <dajohnso> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.6.0 | CC: | jhardy, jmarc, mkanoor, obarenbo, tfitzger |
| Target Milestone: | GA | ||
| Target Release: | cfme-future | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-01-05 21:32:58 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: | |
Jerome, I wasn't able to reproduce on master or on 5.6.3.0.20161108115816_66df924. Please advise. Thanks Billy Please assess the impact of this issue and update the severity accordingly. Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition. Not able to reproduce in CFME 5.7. |
Description of problem: ERROR in CatalogItemInitialization when service_name is not specified in the service dialog. CatalogItemInitialization check for blank? to generate a name but the value is nil? Version-Release number of selected component (if applicable): 5.6.2.2 How reproducible: always Steps to Reproduce: 1. Create a bundle with a service item 2. Associate a service dialog which does not contain a service_name element 2. Order your service and check automation.log Actual results: Error in automation.log [----] I, [2016-11-11T17:20:35.099470 #5916:545998] INFO -- : Q-task_id([service_template_provision_task_10000000000763]) Invoking [inline] method [/ManageIQ/Service/Provis ioning/StateMachines/Methods/CatalogItemInitialization] with inputs [{}] [----] I, [2016-11-11T17:20:35.100301 #5916:545998] INFO -- : Q-task_id([service_template_provision_task_10000000000763]) <AEMethod [/ManageIQ/Service/Provisioning/StateMac hines/Methods/CatalogItemInitialization]> Starting [----] E, [2016-11-11T17:20:35.561442 #5916:531bb4] ERROR -- : Q-task_id([service_template_provision_task_10000000000763]) <AEMethod catalogiteminitialization> [undefined me thod `name' for nil:NilClass] <code: log_and_update_message(:info, "Service: #{@service.name} Id: #{@service.id} Tasks: #{@task.miq_request_tasks.count}")>:243:in `<main>' [----] I, [2016-11-11T17:20:35.641698 #5916:545998] INFO -- : Q-task_id([service_template_provision_task_10000000000763]) <AEMethod [/ManageIQ/Service/Provisioning/StateMac hines/Methods/CatalogItemInitialization]> Ending [----] I, [2016-11-11T17:20:35.642080 #5916:545998] INFO -- : Q-task_id([service_template_provision_task_10000000000763]) Aborting instantiation because [Method exited with rc=MIQ_ABORT] [----] E, [2016-11-11T17:20:35.642393 #5916:545998] ERROR -- : Q-task_id([service_template_provision_task_10000000000763]) State=<pre1> running raised exception: <Method ex ited with rc=MIQ_ABORT> Expected results: No error and no MIQ_ABORT Additional info: