Thursday, 2021-05-06

*** tkajinam has quit IRC00:01
*** tkajinam has joined #openstack-horizon00:02
*** kevko has quit IRC00:35
*** andrein has quit IRC01:52
*** mloza has quit IRC01:52
*** andrein has joined #openstack-horizon01:54
*** mloza has joined #openstack-horizon01:54
*** openstackgerrit has quit IRC03:31
*** dave-mccowan has quit IRC04:31
*** rcernin has quit IRC04:35
*** rcernin has joined #openstack-horizon04:38
*** vishalmanchanda has joined #openstack-horizon05:57
*** ikanias has left #openstack-horizon06:06
*** dklyle has quit IRC06:18
*** rdopiera has joined #openstack-horizon07:10
*** rpittau|afk is now known as rpittau07:14
*** rcernin has quit IRC07:36
*** kevko has joined #openstack-horizon07:38
*** tosky has joined #openstack-horizon07:47
*** rcernin has joined #openstack-horizon08:01
*** rcernin has quit IRC08:07
*** e0ne has joined #openstack-horizon08:14
*** ChanServ sets mode: +o e0ne08:14
*** e0ne has quit IRC08:14
*** e0ne has joined #openstack-horizon08:16
*** ChanServ sets mode: +o e0ne08:16
*** kevko has quit IRC08:19
*** rcernin has joined #openstack-horizon08:20
*** rcernin has quit IRC08:26
*** kevko has joined #openstack-horizon08:33
*** rcernin has joined #openstack-horizon08:34
*** e0ne has quit IRC08:47
*** rcernin has quit IRC09:32
*** rcernin has joined #openstack-horizon10:24
*** rcernin has quit IRC10:25
*** rcernin has joined #openstack-horizon10:25
*** rcernin has quit IRC11:24
*** tmazur has joined #openstack-horizon12:55
*** kevko has quit IRC13:33
*** kevko has joined #openstack-horizon13:33
*** kevko has quit IRC13:46
*** kevko has joined #openstack-horizon13:50
*** dave-mccowan has joined #openstack-horizon14:04
andrewbogottI have questions about dump_default_policies!  In particular, I wondering what the correct workflow is for producing this file for projects that are not bundled directly with openstack_dashboard (e.g. trove or designate)14:07
andrewbogottShould I be generating them at deploy time, or should they be packaged with their respective dashboard projects (e.g. designate-dashboard.git)?14:08
andrewbogottAnd, finally -- I can't make 'manage.py dump_default_policies' work for basically anything, I assume because I don't have the primary service installed on the same box as horizon :(14:09
andrewbogottamotoki, looks like you're the last person to work with those files14:10
amotokiandrewbogott: https://docs.openstack.org/horizon/latest/contributor/topics/policy.html#policy-file-maintenance might help you14:11
amotokiandrewbogott: The expected workflow is that the upstream project generates the dumped defaut policy file and includes it as their deliverable.14:12
andrewbogottok, so that would be 'packaged with their respective dashboard projects' -- I'll see about adding that where it's missing14:13
andrewbogottthank you, I will read that doc a few more times :)14:13
amotokiandrewbogott: I can answer your more question indetail. feel free to ping me here14:13
andrewbogottthanks!14:13
andrewbogotthm, I think one of my question still stands:  with "python3 manage.py dump_default_policies" that's the manage.py that comes from Horizon, right?  But it needs to be run on a host that also has the project in question installed?14:14
amotokiandrewbogott: yes. my expexted steps are (1) create a virtualenv (2) install horizon and a target project code into the venv and (3) run python3 manage.py dump_default_policies for the target project.14:18
andrewbogottok14:18
amotokiandrewbogott: or you can run it in the devstack env (as all dependencies are installed as the system level)14:19
*** dklyle has joined #openstack-horizon14:56
*** vishalmanchanda has quit IRC14:56
*** rcernin has joined #openstack-horizon15:20
*** rcernin has quit IRC15:25
*** gyee has joined #openstack-horizon15:26
*** rpittau is now known as rpittau|afk15:42
*** rdopiera has quit IRC17:00
*** vishalmanchanda has joined #openstack-horizon17:42
andrewbogottamotoki: https://review.opendev.org/c/openstack/designate-dashboard/+/790140 and https://review.opendev.org/c/openstack/trove-dashboard/+/790137  <- right idea?18:28
vishalmanchandaandrewbogott: hi you can also take reference from heat-dashboard and manila-ui patches.18:33
vishalmanchandahttps://review.opendev.org/c/openstack/heat-dashboard/+/78042718:33
vishalmanchandahttps://review.opendev.org/c/openstack/manila-ui/+/78359818:33
andrewbogottvishalmanchanda: thanks!  those look quite similar to my patch but I didn't know about the local_settings.d thing, will add that18:35
andrewbogottIn e.g. manila_ui/local/local_settings.d/_90_manila_shares.py where does the '90' come from?  Is there a registry someplace?18:37
vishalmanchandaI have no idea about that but I think you can use _1600 for designate-dashboard.18:44
vishalmanchandanot _160018:45
vishalmanchandaI mean _170018:45
vishalmanchandasorry I am not sure what to use, please ignore my suggestion.18:46
andrewbogottI was going to use _17 and then noticed that all the trove panels also start with 1718:47
andrewbogottand in some cases use the same number as designate panels :(18:47
*** kevko has quit IRC18:48
johnsomThe enable files used for designate are here: https://github.com/openstack/designate-dashboard/tree/master/designatedashboard/enabled18:48
johnsom_1720, _1721, _172218:48
andrewbogottok that helps18:49
*** kevko has joined #openstack-horizon18:49
johnsomNot sure I have the full context of the question, but maybe helpful18:49
andrewbogottjohnsom: it's for unique naming of local_settings.d files18:49
andrewbogottI think they're probably named after the corresponding dashboard18:50
johnsomYes, those seem to align with the enable files18:51
andrewbogottyep.  Updated my patches accordingly :)18:52
*** rcernin has joined #openstack-horizon19:21
*** rcernin has quit IRC19:25
*** e0ne has joined #openstack-horizon19:29
*** ChanServ sets mode: +o e0ne19:29
*** kevko has quit IRC19:37
*** e0ne has quit IRC20:01
*** e0ne has joined #openstack-horizon20:03
*** ChanServ sets mode: +o e0ne20:03
*** kevko has joined #openstack-horizon20:34
*** e0ne has quit IRC20:42
*** e0ne has joined #openstack-horizon21:00
*** ChanServ sets mode: +o e0ne21:00
*** hoonetorg has joined #openstack-horizon21:05
*** hoonetorg has quit IRC21:05
*** vishalmanchanda has quit IRC21:12
*** rcernin has joined #openstack-horizon21:36
*** rcernin has quit IRC21:58
*** kevko has quit IRC22:41
*** tmazur has quit IRC22:48
*** rcernin has joined #openstack-horizon23:02
*** e0ne has quit IRC23:04
*** tosky has quit IRC23:17

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