Description of problem: Button groups created on orchestration type service catalog items are not seen on services based on this service catalog item Version-Release number of selected component (if applicable): Version 5.8.1.5.20170725160636_e433fc0 How reproducible: Create a button group on a service catalog item type orchestration Service -> Catalog Item -> Configuration -> Add new button group Steps to Reproduce: 1. Create a button group on a service catalog item type orchestration 2. Check services based on this catalog item Actual results: Button group created on the service catalog item is not seen Expected results: Button group and associated button(s) should be seen on services created from the service catalog item like any other service catalog template Additional info: ---
Can you reproduce this issue?
Shveta, can you take a peek here. Please see if you can reproduce and review our test coverage for any blind spots. THX!
Appliance : https://10.8.198.50. The issue can be seen in OPS UI too . Service -orchestration_Service . Button group is not seen. In SUI . Service is not displayed. Shows error .
Shveta. Can you create a bug for the API team because we are getting a http 500 error on that appliance with that Service you created. I think we should have them resolve that and get it to where the SUI doesn't throw an error before we dig further on why this button doesn't show up.
Here is a copy of the error we are seeing , URL : https://10.8.198.50/api/services/36?expand=vms%2Corchestration_stacks&attributes=name%2Cguid%2Ccreated_at%2Ctype%2Cdescription%2Cpicture%2Cpicture.image_href%2Cevm_owner.name%2Cevm_owner.userid%2Cmiq_group.description%2Call_service_children%2Caggregate_all_vm_cpus%2Caggregate_all_vm_memory%2Caggregate_all_vm_disk_count%2Caggregate_all_vm_disk_space_allocated%2Caggregate_all_vm_disk_space_used%2Caggregate_all_vm_memory_on_disk%2Cretired%2Cretirement_state%2Cretirement_warn%2Cretires_on%2Cactions%2Ccustom_actions%2Cprovision_dialog%2Cservice_resources%2Cchargeback_report%2Cservice_template%2Cparent_service%2Cpower_state%2Cpower_status%2Coptions%2Cvms.ipaddresses%2Cvms.snapshots%2Cvms.v_total_snapshots%2Cvms.v_snapshot_newest_name%2Cvms.v_snapshot_newest_timestamp%2Cvms.v_snapshot_newest_total_size%2Cvms.supports_console%3F%2Cvms.supports_launch_cockpit%3F Error: {"error":{"kind":"internal_server_error","message":"undefined method `keys' for nil:NilClass","klass":"NoMethodError"}}
Created https://bugzilla.redhat.com/show_bug.cgi?id=1496601
*** Bug 1496601 has been marked as a duplicate of this bug. ***
PR: https://github.com/ManageIQ/manageiq-api/pull/110
New commit detected on ManageIQ/manageiq-api/master: https://github.com/ManageIQ/manageiq-api/commit/ec54de6a85f15fb4bbf614e62378995c7ad8e863 commit ec54de6a85f15fb4bbf614e62378995c7ad8e863 Author: Jillian Tullo <jtullo> AuthorDate: Thu Oct 5 13:24:40 2017 -0400 Commit: Jillian Tullo <jtullo> CommitDate: Thu Oct 5 13:24:40 2017 -0400 https://bugzilla.redhat.com/show_bug.cgi?id=1496190 app/controllers/api/subcollections/orchestration_stacks.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
It is fixed in SUI . But I don't see this fixed in 5.9.0.20.20180206200727_d1873b9 in OPS UI appliance : https://10.8.196.135 Service : Orchestration. I can open a new bug for OPS UI if required.
From what I can tell, the OPS UI does not use the API for this particular part. I would suggest that there be an additional ticket for the OPS UI
Assigning to Bill as per https://github.com/ManageIQ/manageiq-api/pull/110#issuecomment-334547036