Windows Azure Pack / SMA: How to fix when some VM Clouds Automation Triggers does not work

In WAP VM Clouds provider, we are able to set trigger on different actions.

 

image

Yesterday, in a new test environment, I had a problem that some of them would not trigger.

When I tested Subscription trigger, it worked fine, but none of the others worked.

 

Luckily I asked my MVP network for help, and fellow CDM MVP Stan showed me the path to the fix! (Check his blog here: http://www.systemcentercentral.com/author/slavizh/)

He said some actions are handled directly by WAP, and some are handled by SPF.

 

The SMA Web service has to use a valid certificate that is trusted by the SPF server!

 

It is described here https://technet.microsoft.com/en-us/library/dn457800.aspx

 

“For VM Clouds to trigger runbooks in Service Management Automation, the Service Management Automation web service certificate must be trusted on the computer running Service Provider Foundation. “


Comments (%):

  1. Alex says:

    Good morning, i have same issue? but in my case i have right trust betwenn servers and right membrship for sma group. spf analytic logs has next error:
    Component: Core

    Activity [Orchestrator::InvokeRunbookIfExists, id {8c90acf5-74d2-480c-8c9d-6a5ab0c43d6c}]
    Parent activity [SPF.Update, id {70c45640-6c40-4b71-bc12-9cd83ca33e60}]

    Elapsed: 8ms
    Context: {e92e6fab-54da-4a1a-bb99-0e70dd4009d6}

    InvokeRunbookIfExists Failed, error: An error occurred while executing the command definition. See the inner exception for details.. Inner error: at System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)
    at System.Data.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues)
    at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
    at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator()
    at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
    at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
    at Microsoft.SystemCenter.Foundation.Orchestrator.OrchestratorHelper.GetEnabledRunbooks(String resourceTypeName, String action)
    at Microsoft.SystemCenter.Foundation.Orchestrator.OrchestratorHelper.InvokeRunbookIfExists(HttpContext context, Object resource, String resourceTypeName, String action, Dictionary`2 propertyParams, PowerShell ps, Nullable`1 serializationDepth)

    May be does somebody have same issue?

Leave a Reply