After creating custom provisioning dialog, trying to provision vm it fails with error "undefined method `get_timezones' for #<MiqProvisionRedhatWorkflow:0x0000000bfe9b50> [vm_infra/pre_prov]"

Solution Verified - Updated -

Issue

  • After creating custom provisioning dialog, trying to provision vm it fails with error "undefined method `get_timezones' for # [vm_infra/pre_prov]"

  • I have done the settings according to the documentation:

1. Creating a Custom Provision Dialog [ Copy of "Sample VM Provisioning Dialog (Template)"]
2. Creating a Provisioning Profile Instance for a particular users group.
3. Creating an instance mapping in this new class to custom provisioning dialog.

But I get the following error when trying provisioning VM:

undefined method `get_timezones' for #<MiqProvisionRedhatWorkflow:0x0000000bfe9b50> [vm_infra/pre_prov]

Environment

  • Red Hat CloudForms Management Engine (CFME)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.