Red Hat Bugzilla – Bug 1274673
"Eror during 'Provisioning': undefined method `match' for 2:Fixnum" during heat stack deployment
Last modified: 2015-12-08 08:39:48 EST
Created attachment 1085790 [details]
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.create a catalog item to deploy heat stack for openstack provider
2.order the service
"Eror during 'Provisioning': undefined method `match' for 2:Fixnum" displayed in UI. see attached screenshot.
should be able to provision
The timeout textfield is numeric type which does not and cannot have regular expression validator. The regular expression validator is removed by the following PR.
Any new service dialog created from an orchestration template using our automatic tool should no longer have this problem after this fix.
To fix the problem for an existing dialog, one should go to Automate/Customization/Dialog and manually edit the dialog:
1. Identify the dialog to be edited.
2. Select Timeout textfield
3. Change Validator Type to None
4. Clear Validate Rule
New commit detected on ManageIQ/manageiq/master:
Author: Bill Wei <firstname.lastname@example.org>
AuthorDate: Mon Oct 26 15:16:28 2015 -0400
Commit: Bill Wei <email@example.com>
CommitDate: Mon Oct 26 15:27:18 2015 -0400
Remove regex validator for timeout text field
Timeout text field is integer type that does not need a regex validator
app/services/orchestration_template_dialog_service.rb | 2 --
spec/services/orchestration_template_dialog_service_spec.rb | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)
Heat stack deployment successful.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.