Beginner question - Valid "Provisioning Entry Points"

I am new to manageIQ automation. I am stuck with an basic question:

What are valid Provisioning Entry Points to use in the service catalog?

Reason for asking:
With entry point /Infrastructure/VM/Provisioning/StateMachines/VMProvision_Template/clone_to_template the method
/Infrastructure/VM/Provisioning/StateMachines/VMProvision_Template/update_provision_status fails with
Method STDERR: <code: prov.message = status>:24:in <main>': undefined methodmessage=’ for nil:NilClass (NoMethodError)

When running update_provision_status I see no value in $evm.root[‘miq_provision’]

But I don’t know where this is supposed to be set.

Thanx for looking at a beginner question!

Hi @marioland,

You will want to use an instance from Service/Provisioning/StateMachines/ServiceProvision_Template namespace.

For a catalog item you can use: default, clone_to_service or CatalogItemInitialization.
For a catalog bundle: CatalogBundleInitialization

I also recommend checking out the following items:
Chapter 17 - Working with Services here:

Section 17.3 - Catalog{Item,Bundle}Initialization

1 Like

Thank you. This worked :slight_smile: