Wednesday, 2022-01-26

*** lajoskatona_ is now known as lajoskatona00:31
tabachaHi, we try to intgrate barbican-ui to the newest (git branch master) horizon. We have installed it but get error messages in Apache  Could not process panel group barbican: Dashboard with slug "barbican" is not registered. and Could not process panel secrets: Dashboard with slug "barbican" is not registered.07:45
tabachawhen we changed ../openstack_dashboard/local/enabled/_90_barbican_barbican_panelgroup.py PANEL_GROUP_DASHBOARD = 'barbican' and .../enabled/_91_barbican_barbican_secrets_panel.py PANEL_DASHBOARD = 'barbican' to project we can see a menĂ¼ in the project  tree, but it is not working.07:48
amotokitabacha: I don't think folks here are familiar with barbican-ui, but do you see any error message in horizon log? Otherwise nobody can help you.11:39
tabachaamotoki: Yes I see the Error:  "Could not process panel group barbican: Dashboard with slug "barbican" is not registered." I have looked in the source of barbican-ui and I beleive that they want a panel group called barbican and below that a panel called "secret". I have read the Plugin Documentation but did not found how to add a top level pannel group. Is this not allwoed?11:47
amotokitabacha: PANEL_GROUP needs to specify 'dashboard' which is registered. _90_barbican_barbican_panelgroup.py specifies 'barbican' as DASHBOARD, but I am afraid nobody registers 'barbican' as a dashboard.12:30
amotokitabacha: horizon assumes the sturecutre: dashboard->panel_group->panel12:30
amotokitabacha: so 'barbican' dashboard must be registered to make it work properly.12:31
amotokiI don't know why barbican-ui enabled files are configured such.12:31
amotokitabacha: horizon itself has no limitation to register a new dashboard. for example see openstack_dashboard/enabled/_3000_identity.py12:32
amotokithat's my analysis from horizon perspective. I don't know what it should be as I am not involved in barbican-ui development.12:34
amotokitabacha: at least if I changed PANEL_GROUP_DAHSBORAD and PANEL_DASHBOARD to 'project' in _90_.... and _91_... enabled files I can see "Barbican" menu under the "Project" dashboard. I won't investigate more as I am not sure "Barbican" dashboard is the right thing or not. It is up to the barbican-ui team.13:03
tabachaThank you, I will have a look to it.13:09

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!