Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1221333 - Service request to "Reconfigure this service" fails with error
Service request to "Reconfigure this service" fails with error
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Provisioning (Show other bugs)
5.4.0
Unspecified Unspecified
medium Severity medium
: GA
: 5.6.0
Assigned To: Harpreet Kataria
Aziza Karol
service:catalog
:
: 1226850 (view as bug list)
Depends On:
Blocks: 1223892 1291707
  Show dependency treegraph
 
Reported: 2015-05-13 14:32 EDT by Shveta
Modified: 2016-06-29 10:55 EDT (History)
8 users (show)

See Also:
Fixed In Version: 5.6.0.0
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1223892 1291707 (view as bug list)
Environment:
Last Closed: 2016-06-29 10:55:04 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
read only page (55.02 KB, image/png)
2015-05-13 14:32 EDT, Shveta
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 14:50:04 EDT

  None (edit)
Description Shveta 2015-05-13 14:32:50 EDT
Created attachment 1025134 [details]
read only page

Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Create an orchestration service
2. Go to My service , select that service and "reconfigure this service"
3. The form is read only, no inputs can be given . 
4. Submit the request .Request fails
5. Click on the request : error 

Actual results:
1. No inputs can be given to reconfigure service
2. Once submitted, page do not navigate to request page
2. Request raised is not automatically approved
3. Request fails

Expected results:
1. Should be able to provide inputs to reconfigure
2. Page should naviagte to request page after request submitted
3. Request should be auto approved

Additional info:

[----] I, [2015-05-13T14:31:27.664797 #2357:62fea8]  INFO -- : Invoking [inline] method [/Default/System/Process/parse_provider_category] with inputs [{}]
[----] I, [2015-05-13T14:31:27.665726 #2357:62fea8]  INFO -- : <AEMethod [/Default/System/Process/parse_provider_category]> Starting 
[----] I, [2015-05-13T14:31:28.027195 #2354:7b17eb4]  INFO -- : Q-task_id([service_reconfigure_request_23]) <AEMethod get_request_type> Request Type:<ServiceReconfigureRequest>
[----] I, [2015-05-13T14:31:28.037633 #2354:711eac]  INFO -- : Q-task_id([service_reconfigure_request_23]) <AEMethod [/Default/System/Policy/get_request_type]> Ending
[----] I, [2015-05-13T14:31:28.037755 #2354:711eac]  INFO -- : Q-task_id([service_reconfigure_request_23]) Method exited with rc=MIQ_OK
[----] I, [2015-05-13T14:31:28.038344 #2354:711eac]  INFO -- : Q-task_id([service_reconfigure_request_23]) Following Relationship [miqaedb:/System/Process/parse_provider_category#create]
[----] I, [2015-05-13T14:31:28.040146 #2354:711eac]  INFO -- : Q-task_id([service_reconfigure_request_23]) Updated namespace [miqaedb:/System/Process/parse_provider_category#create  Default/System]
[----] I, [2015-05-13T14:31:28.046168 #2354:711eac]  INFO -- : Q-task_id([service_reconfigure_request_23]) Updated namespace [System/Process/parse_provider_category  Default/System]
[----] I, [2015-05-13T14:31:28.049889 #2354:711eac]  INFO -- : Q-task_id([service_reconfigure_request_23]) Invoking [inline] method [/Default/System/Process/parse_provider_category] with inputs [{}]
[----] I, [2015-05-13T14:31:28.050504 #2354:711eac]  INFO -- : Q-task_id([service_reconfigure_request_23]) <AEMethod [/Default/System/Process/parse_provider_category]> Starting 
[----] I, [2015-05-13T14:31:28.098969 #2357:72dd280]  INFO -- : <AEMethod parse_provider_category> Parse Provider Category Key: nil  Value: unknown
[----] I, [2015-05-13T14:31:28.107982 #2357:62fea8]  INFO -- : <AEMethod [/Default/System/Process/parse_provider_category]> Ending
[----] I, [2015-05-13T14:31:28.108077 #2357:62fea8]  INFO -- : Method exited with rc=MIQ_OK
[----] I, [2015-05-13T14:31:28.108647 #2357:62fea8]  INFO -- : Followed  Relationship [miqaedb:/System/Process/parse_provider_category#create]
[----] I, [2015-05-13T14:31:28.109508 #2357:62fea8]  INFO -- : Following Relationship [miqaedb:/System/Policy/ServiceReconfigureRequest_Approved#create]
[----] I, [2015-05-13T14:31:28.119255 #2357:62fea8]  INFO -- : Updated namespace [miqaedb:/System/Policy/ServiceReconfigureRequest_Approved#create  Default/System]
[----] I, [2015-05-13T14:31:28.119767 #2357:62fea8]  INFO -- : Instance [/Default/System/Policy/ServiceReconfigureRequest_Approved] not found in MiqAeDatastore - trying [.missing]
[----] I, [2015-05-13T14:31:28.124973 #2357:62fea8]  INFO -- : Followed  Relationship [miqaedb:/System/Policy/ServiceReconfigureRequest_Approved#create]
[----] I, [2015-05-13T14:31:28.125305 #2357:62fea8]  INFO -- : Followed  Relationship [miqaedb:/System/Policy/request_approved#create]
[----] I, [2015-05-13T14:31:28.125650 #2357:62fea8]  INFO -- : Followed  Relationship [miqaedb:/System/Event/request_approved#create]
[----] I, [2015-05-13T14:31:28.427906 #2354:7c09f5c]  INFO -- : Q-task_id([service_reconfigure_request_23]) <AEMethod parse_provider_category> Parse Provider Category Key: nil  Value: unknown
[----] I, [2015-05-13T14:31:28.435991 #2354:711eac]  INFO -- : Q-task_id([service_reconfigure_request_23]) <AEMethod [/Default/System/Process/parse_provider_category]> Ending
[----] I, [2015-05-13T14:31:28.436103 #2354:711eac]  INFO -- : Q-task_id([service_reconfigure_request_23]) Method exited with rc=MIQ_OK
[----] I, [2015-05-13T14:31:28.436605 #2354:711eac]  INFO -- : Q-task_id([service_reconfigure_request_23]) Followed  Relationship [miqaedb:/System/Process/parse_provider_category#create]
[----] I, [2015-05-13T14:31:28.436902 #2354:711eac]  INFO -- : Q-task_id([service_reconfigure_request_23]) Following Relationship [miqaedb:/System/Policy/ServiceReconfigureRequest_starting#create]
[----] I, [2015-05-13T14:31:28.685129 #2354:711eac]  INFO -- : Q-task_id([service_reconfigure_request_23]) Updated namespace [miqaedb:/System/Policy/ServiceReconfigureRequest_starting#create  Default/System]
[----] I, [2015-05-13T14:31:28.685637 #2354:711eac]  INFO -- : Q-task_id([service_reconfigure_request_23]) Instance [/Default/System/Policy/ServiceReconfigureRequest_starting] not found in MiqAeDatastore - trying [.missing]
[----] I, [2015-05-13T14:31:28.689756 #2354:711eac]  INFO -- : Q-task_id([service_reconfigure_request_23]) Followed  Relationship [miqaedb:/System/Policy/ServiceReconfigureRequest_starting#create]
[----] I, [2015-05-13T14:31:28.689992 #2354:711eac]  INFO -- : Q-task_id([service_reconfigure_request_23]) Followed  Relationship [miqaedb:/System/Policy/request_starting#create]
[----] I, [2015-05-13T14:31:28.690221 #2354:711eac]  INFO -- : Q-task_id([service_reconfigure_request_23]) Followed  Relationship [miqaedb:/System/Event/request_starting#create]
[----] I, [2015-05-13T14:31:34.224582 #2357:62fea8]  INFO -- : Q-task_id([service_reconfigure_task_38]) Instantiating [//Process/AUTOMATION?MiqServer%3A%3Amiq_server=1&ServiceReconfigureTask%3A%3Aservice_reconfigure_task=38&User%3A%3Auser=1&dialog_param_DBName=MyDatabase&dialog_param_InstanceType=m1.small&dialog_param_KeyName=dave&dialog_param_SSHLocation=0.0.0.0%2F0&dialog_stack_name=orchitemstack&dialog_stack_onfailure=ROLLBACK&object_name=AUTOMATION&password%3A%3Adialog_param_DBPassword=v2%3A%7BRNZC9%2F49XqS1gicyW9Jdxw%3D%3D%7D&password%3A%3Adialog_param_DBRootPassword=v2%3A%7BRNZC9%2F49XqS1gicyW9Jdxw%3D%3D%7D&password%3A%3Adialog_param_DBUser=v2%3A%7BRNZC9%2F49XqS1gicyW9Jdxw%3D%3D%7D&request=service_reconfigure&vmdb_object_type=service_reconfigure_task#create]
[----] E, [2015-05-13T14:31:34.225379 #2357:62fea8] ERROR -- : Q-task_id([service_reconfigure_task_38]) Class [/] not found in MiqAeDatastore
Comment 3 Shveta 2015-05-13 17:55:01 EDT
Dan , yes .. no fields are marked reconfigurable .
So , may be the option to Reconfigure should be greyed out .
Comment 7 CFME Bot 2015-05-21 10:16:25 EDT
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/f194cbdeed4173aef3dfe612e34cdb3412e56c80

commit f194cbdeed4173aef3dfe612e34cdb3412e56c80
Author:     Harpreet Kataria <hkataria@redhat.com>
AuthorDate: Wed May 20 13:16:36 2015 -0400
Commit:     Harpreet Kataria <hkataria@redhat.com>
CommitDate: Thu May 21 09:34:37 2015 -0400

    Made changes to code to not save blank resource action
    
    - Dont add a blank resource action when saving catalog item.
    - Delete empty/blank resource action when user has removed entry point while editing Catalog Item. Changed code that sets entry points to nil when displaying a Catalog Item, it was displaying incorrect values even after entry point was removed.
    - Added spec test to verify blank resource action does not get saved.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1221333

 vmdb/app/controllers/catalog_controller.rb       | 23 +++++++++-------
 vmdb/spec/controllers/catalog_controller_spec.rb | 34 ++++++++++++++++++++++++
 2 files changed, 48 insertions(+), 9 deletions(-)
Comment 8 CFME Bot 2015-05-22 10:00:59 EDT
New commit detected on cfme/5.3.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=034a6907c1b6c040bc695461059ef508cb4f9329

commit 034a6907c1b6c040bc695461059ef508cb4f9329
Author:     Harpreet Kataria <hkataria@redhat.com>
AuthorDate: Wed May 20 13:16:36 2015 -0400
Commit:     Harpreet Kataria <hkataria@redhat.com>
CommitDate: Thu May 21 15:33:04 2015 -0400

    Made changes to code to not save blank resource action
    
    - Dont add a blank resource action when saving catalog item.
    - Delete empty/blank resource action when user has removed entry point while editing Catalog Item. Changed code that sets entry points to nil when displaying a Catalog Item, it was displaying incorrect values even after entry point was removed.
    - Added spec test to verify blank resource action does not get saved.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1221333
    (cherry picked from commit f194cbd)
    https://bugzilla.redhat.com/show_bug.cgi?id=1223892

 vmdb/app/controllers/catalog_controller.rb       | 23 +++++++++-------
 vmdb/spec/controllers/catalog_controller_spec.rb | 34 ++++++++++++++++++++++++
 2 files changed, 48 insertions(+), 9 deletions(-)
Comment 9 CFME Bot 2015-05-22 10:01:06 EDT
New commit detected on cfme/5.3.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=b833e50b0db529310b1acddc28045cbbd09bff7e

commit b833e50b0db529310b1acddc28045cbbd09bff7e
Merge: e04ce1a 034a690
Author:     Greg McCullough <gmccullo@redhat.com>
AuthorDate: Fri May 22 09:56:33 2015 -0400
Commit:     Greg McCullough <gmccullo@redhat.com>
CommitDate: Fri May 22 09:56:33 2015 -0400

    Merge branch 'bz_53z_1221333' into '5.3.z'
    
    Made changes to code to not save blank resource action
    
    - Dont add a blank resource action when saving catalog item.
    - Delete empty/blank resource action when user has removed entry point while editing Catalog Item. Changed code that sets entry points to nil when displaying a Catalog Item, it was displaying incorrect values even after entry point was removed.
    - Added spec test to verify blank resource action does not get saved.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1221333
    (cherry picked from commit f194cbd)
    https://bugzilla.redhat.com/show_bug.cgi?id=1223892
    
    @gmccullough please review. https://github.com/ManageIQ/manageiq/pull/2961
    
    See merge request !81

 vmdb/app/controllers/catalog_controller.rb       | 23 +++++++++-------
 vmdb/spec/controllers/catalog_controller_spec.rb | 34 ++++++++++++++++++++++++
 2 files changed, 48 insertions(+), 9 deletions(-)
Comment 10 CFME Bot 2015-05-22 11:50:45 EDT
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=4f8339b0e2a56e90323622e5077ae43030f9afb7

commit 4f8339b0e2a56e90323622e5077ae43030f9afb7
Author:     Harpreet Kataria <hkataria@redhat.com>
AuthorDate: Wed May 20 13:16:36 2015 -0400
Commit:     Harpreet Kataria <hkataria@redhat.com>
CommitDate: Thu May 21 11:47:37 2015 -0400

    Made changes to code to not save blank resource action
    
    - Dont add a blank resource action when saving catalog item.
    - Delete empty/blank resource action when user has removed entry point while editing Catalog Item. Changed code that sets entry points to nil when displaying a Catalog Item, it was displaying incorrect values even after entry point was removed.
    - Added spec test to verify blank resource action does not get saved.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1221333
    (cherry picked from commit f194cbd)

 vmdb/app/controllers/catalog_controller.rb       | 23 +++++++++-------
 vmdb/spec/controllers/catalog_controller_spec.rb | 34 ++++++++++++++++++++++++
 2 files changed, 48 insertions(+), 9 deletions(-)
Comment 11 CFME Bot 2015-05-22 11:50:49 EDT
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=d68e48d45b11cc96fa7225b592d543cd45a3cc1f

commit d68e48d45b11cc96fa7225b592d543cd45a3cc1f
Merge: 673f996 4f8339b
Author:     Greg McCullough <gmccullo@redhat.com>
AuthorDate: Fri May 22 11:46:02 2015 -0400
Commit:     Greg McCullough <gmccullo@redhat.com>
CommitDate: Fri May 22 11:46:02 2015 -0400

    Merge branch '54z_1221333' into '5.4.z'
    
    Made changes to code to not save blank resource action
    
    - Dont add a blank resource action when saving catalog item.
    - Delete empty/blank resource action when user has removed entry point while editing Catalog Item. Changed code that sets entry points to nil when displaying a Catalog Item, it was displaying incorrect values even after entry point was removed.
    - Added spec test to verify blank resource action does not get saved.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1221333
    (cherry picked from commit f194cbd)
    
    @gmccullough please review.
    https://github.com/ManageIQ/manageiq/pull/2961
    
    See merge request !77

 vmdb/app/controllers/catalog_controller.rb       | 23 +++++++++-------
 vmdb/spec/controllers/catalog_controller_spec.rb | 34 ++++++++++++++++++++++++
 2 files changed, 48 insertions(+), 9 deletions(-)
Comment 12 Shveta 2015-06-02 17:21:33 EDT
*** Bug 1226850 has been marked as a duplicate of this bug. ***
Comment 17 CFME Bot 2015-12-15 21:31:23 EST
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/dbdae8478162b96f0d761b8e3810d5a1f36ce2ea

commit dbdae8478162b96f0d761b8e3810d5a1f36ce2ea
Author:     Harpreet Kataria <hkataria@redhat.com>
AuthorDate: Mon Dec 14 14:27:24 2015 -0500
Commit:     Harpreet Kataria <hkataria@redhat.com>
CommitDate: Mon Dec 14 14:51:29 2015 -0500

    Fixed code to redirect to Requests list after dialog is submitted.
    
    - Added spec test to verify redirect.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1221333

 .../application_controller/dialog_runner.rb        | 14 +++++--------
 .../application_controller/dialog_runner_spec.rb   | 24 ++++++++++++++++++++++
 2 files changed, 29 insertions(+), 9 deletions(-)
Comment 18 CFME Bot 2015-12-17 16:24:25 EST
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=1c638030576e15614031f0560c1823fdcf57f614

commit 1c638030576e15614031f0560c1823fdcf57f614
Merge: 0754121 ee9bb23
Author:     Dan Clarizio <dclarizi@redhat.com>
AuthorDate: Thu Dec 17 15:58:50 2015 -0500
Commit:     Dan Clarizio <dclarizi@redhat.com>
CommitDate: Thu Dec 17 15:58:50 2015 -0500

    Merge branch '55z_pr_5838' into '5.5.z'
    
    Fixed code to redirect to Requests list after dialog is submitted.
    
    - Added spec test to verify redirect.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1221333
    https://bugzilla.redhat.com/show_bug.cgi?id=1291707
    (cherry picked from commit dbdae84)
    
    @dclarizi please review, this is clean cherry-pick for https://github.com/ManageIQ/manageiq/pull/5838
    
    See merge request !635

 .../application_controller/dialog_runner.rb        | 14 +++++--------
 .../application_controller/dialog_runner_spec.rb   | 24 ++++++++++++++++++++++
 2 files changed, 29 insertions(+), 9 deletions(-)
Comment 19 CFME Bot 2015-12-17 16:24:41 EST
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=ee9bb232c141f040aea772d0623ab0f7768c36d8

commit ee9bb232c141f040aea772d0623ab0f7768c36d8
Author:     Harpreet Kataria <hkataria@redhat.com>
AuthorDate: Mon Dec 14 14:27:24 2015 -0500
Commit:     Harpreet Kataria <hkataria@redhat.com>
CommitDate: Thu Dec 17 10:06:01 2015 -0500

    Fixed code to redirect to Requests list after dialog is submitted.
    
    - Added spec test to verify redirect.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1221333
    https://bugzilla.redhat.com/show_bug.cgi?id=1291707
    (cherry picked from commit dbdae84)

 .../application_controller/dialog_runner.rb        | 14 +++++--------
 .../application_controller/dialog_runner_spec.rb   | 24 ++++++++++++++++++++++
 2 files changed, 29 insertions(+), 9 deletions(-)
Comment 20 Shveta 2016-04-20 14:34:55 EDT
Verification Blocked by https://bugzilla.redhat.com/show_bug.cgi?id=1328967
Comment 21 Shveta 2016-04-29 18:32:08 EDT
Works fine in 

5.6.0.4-beta2.3.20160421172650_719e256

Aziza. you can move it to Verified.
Comment 22 Aziza Karol 2016-05-02 01:16:41 EDT
Moving it to verified base on comment 21.
Comment 24 errata-xmlrpc 2016-06-29 10:55:04 EDT
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/RHBA-2016:1348

Note You need to log in before you can comment on or make changes to this bug.