Hide Forgot
Description of problem: When adding an autogroup chart to the dashboard from the group resource tree via right click and Measurements -> Add to Dashboard X Version-Release number of selected component (if applicable): 3.1.2 and current master (presumably 3.2.0) How reproducible: Always Steps to Reproduce: 1. Pull up a resource group detail view 2. right click 3. select Measurements --> Add to Dashboard X 4. Go to that Dashboard Actual results: The portlet is added but nothing is shown in the view. Clicking on configuration only shows groups -- no autogroups to select from. Expected results: A graph should be rendered in the portlet Additional info: Did this ever work? Are we supposed to be able to do this for autogroups?
I think this was fixed upstream in Bug 1079225.
The bug fix above may have been required to make this work, but acouple of things: - We no longer have that right-click from the menu option. We add to the dash via the monitoring->graphs subtab - Although I think we can support autogroup metric charts because they are backed by real groups, I'm not 100% sure we should because the group membership is only updated implicitly, when the user clicks on that node in the tree. - regardless of whether it would work, the ability to add the graph is broken on the monitoring->graphs for autogroups. I'll take a quick look to see if it's something simple...
This is true for autoclusters as well. In short, the ResourceGroupD3GraphPortlet is not EntityContext-aware. And I'm not really sure it should be. I think what we should likely do is prevent adding AutoGroup/AutoCluster charts to the dash. They are really conveniences while navigating a resource or compatGroup tree, respectively. Their membership is not actively managed. Moving to ER03 for further consideration, but I think we should take the "AddToDash" widget away from the view for these special groups. Note, we could support this, but thew work on the portlet is mildly significant.
For the reasons above I don't think it's a good idea to add autogroup or autocluster charts to the dash. Removing the option since it never worked anyway.
master commit afb91cb6f70bd38a6e562da789add0bde3e21cbc Author: Jay Shaughnessy <jshaughn> Date: Tue Sep 16 14:54:49 2014 -0400 Disable the ability to add Autogroup or Autocluster metric graphs to the dashboard. It doesn't work because the portlets don't support them, and these types of implicit groups should not be referenced outside of their Tree navigation context. Despite being persisted they are maintained only at click-time. release/jon3.3.x commit b09ff2c85982f11e45283157f1836a25d334617a Author: Jay Shaughnessy <jshaughn> Date: Tue Sep 16 14:54:49 2014 -0400 (cherry picked from commit afb91cb6f70bd38a6e562da789add0bde3e21cbc) Signed-off-by: Jay Shaughnessy <jshaughn>
Moving to ON_QA as available for test with build: https://brewweb.devel.redhat.com/buildinfo?buildID=388959