403 error while trying to access custom horizon panel
Hello folks,
I am trying to create the plugin with python3 and testing it with devstack pike. Somehow, I am not able to access my panels through the horizon dashboard GUI. Panels are not visible there. I can see all panel files inside opensack enable folder. Still not able to get it on the dashboard.
When I try to access panels via url(direct accessing through url), I am getting 403 error and not 404. No issue of credentials. I am using the admin domain.
Check the apache and horizon logs. Devstack keeps logs in journald, so I guess for Horizon it would be something like
journalctl -u devstack@horizon
or similar.I suppose when you access the URL directly, you don’t provide credentials thus the 403.
By the way: Do you really mean admin domain? Not admin user or project? By default, there is only one domain, named Default (upper-case D).
yeah. its admin user.
one more weird thing I have observed. Somehow the panel files from local/enabled folder are not able to compile. Maybe that is the reason I am not able to see my panels? It has the user as 'root'. and another default file has user 'stack'.
You mean the Python files? Any error messages?
Admittedly, I don’t know much about adding pages to Horizon, but root ownership sounds wrong to me.
Do you follow https://docs.openstack.org/horizon/la... ?