Description of problem: Unable to add New Cloud Provider Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Navigate to Clouds -> Providers -> Configuration -> Add New Cloud Provider 2. 3. Actual results: [----] F, [2015-09-23T16:15:46.121608 #29451:2aecf43c7970] FATAL -- : Error caught: [NoMethodError] undefined method `invert' for #<Array:0x0055da01f34e28> /home/rblanco/devel/manageiq/app/views/shared/views/ems_common/angular/_form.html.haml:67:in `_app_views_shared_views_ems_common_angular__form_html_haml__667581869529807848_47197446191520' Expected results: Add a new Cloud Provider page should open up Additional info: Observed that it cannot be reproduced on all machines. It is quite likely that it can be recreated with ruby 2.2.2, but we do not have enough info to substantiate that.
PR - https://github.com/ManageIQ/manageiq/pull/4492 Was able to recreate the issue by having > 1 Zone in the DB
New commit detected on ManageIQ/miq_bot/master: https://github.com/ManageIQ/miq_bot/commit/bcaf126e194ee5fb09a399394c24eb552b9d4b83 commit bcaf126e194ee5fb09a399394c24eb552b9d4b83 Author: Aparna Karve <akarve> AuthorDate: Wed Sep 23 10:07:44 2015 -0700 Commit: Aparna Karve <akarve> CommitDate: Wed Sep 23 10:57:33 2015 -0700 Remove the .invert inadvertently applied to the array https://bugzilla.redhat.com/show_bug.cgi?id=1265750 #4486 app/views/shared/views/ems_common/angular/_form.html.haml | 2 +- spec/controllers/ems_cloud_controller_spec.rb | 1 - 2 files changed, 1 insertion(+), 2 deletions(-)
https://github.com/ManageIQ/manageiq/pull/4495
Detected commit referencing this ticket while ticket status is POST.
https://github.com/ManageIQ/manageiq-appliance/pull/26
https://github.com/ManageIQ/manageiq/pull/4496
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/bcaf126e194ee5fb09a399394c24eb552b9d4b83 commit bcaf126e194ee5fb09a399394c24eb552b9d4b83 Author: Aparna Karve <akarve> AuthorDate: Wed Sep 23 10:07:44 2015 -0700 Commit: Aparna Karve <akarve> CommitDate: Wed Sep 23 10:57:33 2015 -0700 Remove the .invert inadvertently applied to the array https://bugzilla.redhat.com/show_bug.cgi?id=1265750 #4486 app/views/shared/views/ems_common/angular/_form.html.haml | 2 +- spec/controllers/ems_cloud_controller_spec.rb | 1 - 2 files changed, 1 insertion(+), 2 deletions(-)
https://github.com/ManageIQ/manageiq/pull/4352
https://github.com/ManageIQ/manageiq/pull/4493
https://github.com/ManageIQ/manageiq/pull/4368
Verified against 5.5.0.5-beta1.1.20151007163855_ed40d96. Able to see "Add New Cloud Provider" form with 2 zones configured.
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. https://access.redhat.com/errata/RHSA-2015:2551