# Description of problem: Starting the SmartState Analysis is not handled in consistent way across providers. ### From `All datastores` page Compute -> Infrastructure -> Datastores; [Select one RHV DS from the list], [Click on Configure -> Start SSA] The button for starting the analysis of datastore on RHV providers is enabled, but the start is not sucesfull with message: "SmartState Analysis action does not apply to selected items". On vmware provider, the SSA starts fine. ### From Provider datastores page Compute -> Infrastructure -> Providers; [Select RHV provider], [Select Datastores], [Check one DS from the list], [Click on Configure -> Start SSA] The SSA starts on datastore of both -- vmware as well as RHV. Message `... scan successfully initiated when trying from the datastore Details page" is displayed.` ### From Datastore `Details` page: Compute -> Infrastructure -> Providers; [Select RHV provider], [Select Datastores from the table]. It seems no matter which navigation path is taken, The `Configure` button is disabled on RHV. It is enabled on vmware and works fine. # Version-Release number of selected component (if applicable): 5.11.6.0.20200526234234_3fcafeb 5.11.7.0.20200714215453_0da8a4 # How reproducible: 1/1 For each CFME version noted. It is important to note that when vmware provider is deleted, some items are archived, which can manifest as duplicated items (datastores for example) and that may cause a confusion. # Steps to Reproduce: 1. Add a RHV and vmware provider 2. Go to datastore trough provider and select it or select some DS from the All datastores page or display Details page of the datastore 3. Click on button for starting SSA # Actual results: When not going trough the provider, SSA is not allowed: SmartState Analysis action does not apply to selected items is displayed # Expected results: Hard to tell what should be expected. The compatibility matrix is not really populated for RHV in the documentation. The behaviour is not consistent even for single CFME version and single provider.
I forgot to open new issues upstream. I am closing this after I created https://github.com/ManageIQ/manageiq/issues/20367
Justin wants to track this in BZ as well. Reopening.
Created attachment 1701893 [details] RHV inconsistency
This is a problem in UI and we need to backport the following PR https://github.com/ManageIQ/manageiq-ui-classic/pull/6224 to ivanchuk to resolve it. Dennis, please advise if I should go ahead with the backport, since a plain cherry-pick won't be possible here: the changes in the code are non-trivial & there's a lot of conflicts in the specs.
Please work on the Backport.
https://github.com/ManageIQ/manageiq-ui-classic/pull/7241
In the CFME 5.11.8.0 I cannot click on the button no matter which way was taken. I am not sure is that intentional. I contacted Milan about that on gitter
Yes, this is very much intentional. Previously, you were able to see the button enabled in one of the scenarios, because the underlying object which was actually selected for the operation was incorrect. With this fix, correct object is selected and the button is disabled in both scenarios.
I removed the SSA Datastores tests that ran with RHV provider https://github.com/ManageIQ/integration_tests/pull/10324 the remaining vsphere test are working fine.
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 (Moderate: CloudForms 5.0.8 security, bug fix and enhancement update), 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-2020:4134