NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Active IQ Unified Manager Discussions

WFA vCO package - state tracking bug with WFA 2.2

slideyneez
4,946 Views

Hi all,

Note this only pertains to WFA workflows driven by the "OnCommand Workflow Automation package for VMware vCenter Orchestrator".

Upon upgrading to WFA 2.2, I would sometimes see vCO workflows prematurely fail, complaining with "The requested job is in state 'PLANNING'.  The job was unsuccessful due to the current state.".  The backend WFA job would complete normally.

After a little digging it appears this is related to a new job status the vCO plugin wasn't expecting.  All of our jobs post-WFA-2.2 appear to start with this 'planning' state, and the plugin only considers 'pending' and 'scheduled' as valid non-running states - so if it happens to poll during that phase it will abort in vCO.  I sent a note over to goodrum with more particulars, but in short we've worked around this by modifying the job status scriptblock within the vCO-side workflow "Wait for WFA job to complete".  I can provide more detail if anyone is interested, just let me know.

Regards,

Milson

2 REPLIES 2

solal
4,946 Views

Hi slideyneez.

I stumbled into that problem.

Could you please advise with the workaround or if there's a new fix?

Thanks!

Solal.

solal
4,946 Views

Hi.

Found it.

Edited the vCO flow "Wait for WFA job to complete"  - Decision activity item "Is the job still running" - added another ELSEIF to check for "PLANNING".

Solal.

Public