Embedded Ansible method timeout


#1

I am trying to run an Ansible playbook method in the provisioning state machines, but keep getting inactivity time out error because of the playbook takes more than 10 mins to run.

Blockquote
[----] E, [2018-05-15T21:42:10.929794 #24382:106f134] ERROR – : Q-task_id([miq_provision_12]) State= running raised exception: <job timed out after 321.949179032 seconds of inactivity. Inactivity threshold [300 seconds]>

I tried to increase the Max TTL to 20 mins and the Max Time in state machine to 1500 secs, but it is still timing out at 300 secs. Same behavior on both CloudForms 4.6 and ManageIQ Gaprindashvili-2.

Is there a way to get around this to allow long running playbook?

Thanks


#2

It was a bug, the TTL set was not honored - see the PR below for the fix

Also there is a bugzilla entry about this, waiting on POST - hopefully CFME 5.9.3 will have the fix.

https://bugzilla.redhat.com/show_bug.cgi?id=1581465


#3

Yeah. I opened the ticket with RH. They said the release (for CloudForm) could be coming late June.
Thanks.