You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have added a button pointing at "/ Service / Operations / Methods / provision_new_vms_to_service". When I use the button on a Service, I receive the following error message in the automate.log:
NoMethodError: undefined method `miq_request_tasks' for nil:NilClass
This occurs in the "create_provision_request_from_service_template_provision_task" function, when it is looking for "origional_vm_task = task.miq_request_tasks.first.miq_request_tasks.first".
The task var is:
task = $evm.vmdb('service_template_provision_task').find_by_destination_id(service.id)
The task is found, but there are no miq_request_tasks association with the task.
The Service I am using does have a VM attached to it. The Service and VM was provisioned using the code from RedHatConsulting_Satellite6 and RedHatConsulting_Utilities.
I have added a button pointing at "/ Service / Operations / Methods / provision_new_vms_to_service". When I use the button on a Service, I receive the following error message in the automate.log:
NoMethodError: undefined method `miq_request_tasks' for nil:NilClass
This occurs in the "create_provision_request_from_service_template_provision_task" function, when it is looking for "origional_vm_task = task.miq_request_tasks.first.miq_request_tasks.first".
The task var is:
task = $evm.vmdb('service_template_provision_task').find_by_destination_id(service.id)
The task is found, but there are no miq_request_tasks association with the task.
The Service I am using does have a VM attached to it. The Service and VM was provisioned using the code from RedHatConsulting_Satellite6 and RedHatConsulting_Utilities.