Bug 1516683 - Ordering Catalog from SSUI getting stuck in 'Pending' state - error - MiqAeServiceModelBase.ar_method raised: <TypeError>: <no implicit conversion of nil into String>
Summary: Ordering Catalog from SSUI getting stuck in 'Pending' state - error - MiqAeSe...
Keywords:
Status: CLOSED DUPLICATE of bug 1509977
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: GA
: cfme-future
Assignee: Tina Fitzgerald
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-23 09:27 UTC by Vatsal Parekh
Modified: 2017-12-05 15:03 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-27 18:08:16 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 2 Vatsal Parekh 2017-11-23 13:07:16 UTC
Greg, what info do you need?

Comment 3 Greg McCullough 2017-11-23 13:15:40 UTC
Vatsal - If you think the errors in the automation log are related it would be good to capture them here.

Comment 5 Vatsal Parekh 2017-11-24 07:38:30 UTC
(In reply to Greg McCullough from comment #3)
> Vatsal - If you think the errors in the automation log are related it would
> be good to capture them here.

Greg, I've attached the automation log with the request id 7, you can check more on the appliance.

Comment 6 Tina Fitzgerald 2017-11-27 18:08:16 UTC
Hi Vatsal,


There's an open ticket for this issue:
https://bugzilla.redhat.com/show_bug.cgi?id=1509977


Here's the error from the appliance automation.log-20171124 log file:

----] E, [2017-11-24T02:34:57.664397 #13124:94e2678] ERROR -- : The following error occurred during instance method <check_quota> for AR object <#<ServiceTemplateProvisionRequest id: 7, description: "Provisioning Service [test] from [test]", approval_state: "approved", type: "ServiceTemplateProvisionRequest", created_on: "2017-11-24 07:34:36", updated_on: "2017-11-24 07:34:53", fulfilled_on: nil, requester_id: 1, requester_name: "Administrator", request_type: "clone_to_service", request_state: "pending", message: "Service_Template_Provisioning - Request Created", status: "Ok", options: {:dialog=>{"dialog_test"=>"3"}, :workflow_settings=>{:resource_action_id=>45, :dialog_id=>34}, :initiator=>nil, :src_id=>1, :cart_state=>"cart", :requester_group=>"EvmGroup-super_administrator"}, userid: "admin", source_id: 1, source_type: "ServiceTemplate", destination_id: nil, destination_type: nil, tenant_id: 2, service_order_id: 3, process: true>>
[----] E, [2017-11-24T02:34:57.664584 #13124:94e2678] ERROR -- : MiqAeServiceModelBase.ar_method raised: <TypeError>: <no implicit conversion of nil into String>
[----] E, [2017-11-24T02:34:57.664653 #13124:94e2678] ERROR -- : /var/www/miq/vmdb/app/models/mixins/miq_provision_quota_mixin.rb:256:in `casecmp'
/var/www/miq/vmdb/app/models/mixins/miq_provision_quota_mixin.rb:256:in `block in quota_find_active_prov_request_by_owner'


The error is caused by the lack of an email address for the admin user.
Updating the admin user email address will resolve the issue, and/or changing the quota source to tenant or group.

Let me know if you have any questions.

Thanks,
Tina

*** This bug has been marked as a duplicate of bug 1509977 ***


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