Greetings,
I’m trying to create custom button that will retire the service. I’m using the following code for that
$evm.root['service'].retire_now
Retirement tasks stars fine, but then just fails with the error below
[----] E, [2019-09-30T17:03:06.514415 #15974:3d6c4c] ERROR -- : <AEMethod start_retirement> Service retire task not found
[----] E, [2019-09-30T17:03:06.515153 #15974:3d6c4c] ERROR -- : <AEMethod start_retirement> The old style retirement is incompatible with the new retirement state machine.
[----] I, [2019-09-30T17:03:06.550244 #15974:358f54] INFO -- : <AEMethod [/ManageIQ/Service/Retirement/StateMachines/Methods/start_retirement]> Ending
[----] I, [2019-09-30T17:03:06.551093 #15974:358f54] INFO -- : Aborting instantiation because [Method exited with rc=MIQ_ABORT]
[----] E, [2019-09-30T17:03:06.551958 #15974:358f54] ERROR -- : State=<StartRetirement> running raised exception: <Method exited with rc=MIQ_ABORT>
Can anyone advise me how to start service retirement from automation datastore?
Version 5.10.8.0.20190729222758_e725e22