openstackgerrit | Adrian Turjak proposed openstack/horizon master: rework memoized as a LRU cache with expiry https://review.openstack.org/614893 | 00:39 |
---|---|---|
*** phuongnh has joined #openstack-horizon | 00:48 | |
*** lblanchard has quit IRC | 00:59 | |
*** phuongnh has quit IRC | 01:32 | |
*** hoangcx has joined #openstack-horizon | 01:59 | |
*** hoangcx has quit IRC | 02:01 | |
*** hoangcx has joined #openstack-horizon | 02:05 | |
openstackgerrit | pengyuesheng proposed openstack/horizon master: prohibit click blank to close the mode box https://review.openstack.org/614908 | 02:05 |
openstackgerrit | Adrian Turjak proposed openstack/horizon master: expand memoized for more advanced caching https://review.openstack.org/608801 | 02:24 |
*** btully has joined #openstack-horizon | 03:13 | |
openstackgerrit | Adrian Turjak proposed openstack/horizon master: expand memoized for more advanced caching https://review.openstack.org/608801 | 03:13 |
*** btully has quit IRC | 03:18 | |
openstackgerrit | Adrian Turjak proposed openstack/horizon master: expand memoized for more advanced caching https://review.openstack.org/608801 | 03:23 |
*** david-lyle has joined #openstack-horizon | 04:08 | |
*** ChanServ sets mode: +o david-lyle | 04:08 | |
*** itlinux has quit IRC | 04:09 | |
*** dklyle has quit IRC | 04:09 | |
vishalmanchanda | hi anyone online? | 05:14 |
openstackgerrit | Adrian Turjak proposed openstack/horizon master: expand memoized for more advanced caching https://review.openstack.org/608801 | 05:38 |
adriant | vishalmanchanda: about to vanish, but I 'may' be able to help | 05:40 |
*** threestrands has quit IRC | 05:40 | |
vishalmanchanda | adriant: thanks for immediate response, I have started contributing in horizon so i have 1 question regarding log generation.Can you help me with figuring that out? | 05:42 |
*** cshen has joined #openstack-horizon | 05:48 | |
adriant | vishalmanchanda: you mean: https://github.com/openstack/horizon/blob/master/openstack_dashboard/local/local_settings.py.example#L543 ? | 05:49 |
vishalmanchanda | yes | 05:50 |
vishalmanchanda | adriant: | 05:50 |
adriant | mostly horizon doesn't do anything special there, it's just Django logging, which is just a way of representing standard python logging initialisation as dicts. So you'll mostly want to look at: https://docs.djangoproject.com/en/2.1/topics/logging/ and https://docs.python.org/3/library/logging.html#module-logging | 05:51 |
adriant | and potentially https://docs.python.org/3/library/logging.config.html#logging-config-dictschema | 05:52 |
adriant | vishalmanchanda: I don't mean to push you off to somewhere else, but the best place for getting help with a lot of that may even be #django itself | 05:55 |
adriant | questions about, what we are (or aren't) logging, someone in this channel can potentially help you with :) | 05:56 |
vishalmanchanda | adriant: thanks for this I 'll go through these link and revert you in case of any query;) | 05:56 |
*** cshen has quit IRC | 05:57 | |
adriant | vishalmanchanda: cool. :) I'm mostly giving you those options because this channel isn't that busy of late (and I'm about to vanish). Having alternative places to ask is good. Horizon is ultimately Django, we do use it weirdly, but unless it's very horizon specific you can probably get help from django people as a fall back if no one is around to h | 05:58 |
adriant | elp you here. :) | 05:58 |
vishalmanchanda | adriant: actually i am trying to understand the code flow of horizon. so for that i am seeing these logs tail -f /var/log/apache2/horizon_access.log but these only contain get put logs... | 06:00 |
adriant | yeah, those will be the mod_wsgi logs | 06:01 |
adriant | if you are doing dev, I'd actually more suggest you run horizon ourside of devstack, and point your horizon AT the devstack | 06:02 |
adriant | in... what is the file path, probably: "/opt/stack/horizon/openstack_dashboard/local/local_settings.py" you can find the way your devstack horizon is configured, but one option is to pull that file out into your own repo and trying spinning up horizon there | 06:03 |
adriant | one way I've done it is: "tox -e manage runserver" | 06:03 |
adriant | effectively letting tox install and build the environment for your horizon, and run the code in the repo itself | 06:04 |
adriant | you just need to make sure you have a local_setting.py file that correctly points to the keystone url of your devstack | 06:04 |
adriant | and running it that way will also give you all the logging output in your terminal where you run the command | 06:05 |
adriant | vishalmanchanda: not sure how much that helps you, or if you already knew about that. | 06:05 |
vishalmanchanda | adriant: no i don,t have any idea about that | 06:06 |
vishalmanchanda | adriant: | 06:06 |
vishalmanchanda | adriant: one more thing like i have done changes in many html files and restart apache server but those changes are not reflected on my horizon dashboard.I have to restart more services to see those changes? | 06:09 |
adriant | no, restarting apache should work. In fact you shouldn't even need a restart to have html files take affect | 06:12 |
adriant | but that may depend on how horizon is configured with template caching | 06:12 |
adriant | those are some of the reasons why running horizon through the development django server is often better because its a more dev friendly environment than how devstack installs and setups horizon | 06:13 |
adriant | vishalmanchanda: how are you running your devstack? A VM on your computer? | 06:14 |
vishalmanchanda | adriant: yes | 06:15 |
adriant | can you access keystone (and the other APIs) from the host computer? | 06:16 |
vishalmanchanda | adriant: yeah. | 06:18 |
adriant | if you can, then effectively all you need is a local_settings.py file in a repo on your host machine where are doing you dev, that points to the keystone url, and if the catalog entries are for the VM ip address, then you can make horizon run outside your devstack | 06:19 |
adriant | https://github.com/openstack/horizon/blob/master/openstack_dashboard/local/local_settings.py.example#L188 < that's the most important setting you need | 06:19 |
adriant | basically: clone repo on host, setup local_settings.py file, then run: "tox -e manage runserver" and horizon, after being setup, should now be running on http://localhost:8000 | 06:21 |
adriant | then you do dev in that repo, and the django development server will actually reload the code as you run it, or you can rerun the command yourself | 06:21 |
adriant | there are many different ways to do dev for horizon, but that's probably the fastest | 06:22 |
vishalmanchanda | adriant: ok ,thanks. | 06:24 |
openstackgerrit | Kim Bao Long proposed openstack/tempest-horizon master: Update the min version of tox to 2.0 https://review.openstack.org/615012 | 06:25 |
* adriant vanishes | 06:28 | |
openstackgerrit | Nguyen Hai Truong proposed openstack/xstatic-font-awesome master: Update min tox version to 2.0 https://review.openstack.org/615039 | 06:54 |
*** cshen has joined #openstack-horizon | 07:06 | |
*** pcaruana has joined #openstack-horizon | 07:20 | |
*** lennyb has quit IRC | 07:39 | |
*** lennyb has joined #openstack-horizon | 07:40 | |
*** hoangcx has quit IRC | 07:49 | |
*** betherly has joined #openstack-horizon | 08:30 | |
openstackgerrit | Kim Bao Long proposed openstack/tempest-horizon master: Update the min version of tox to 2.0 https://review.openstack.org/615012 | 08:32 |
*** rdopiera has joined #openstack-horizon | 08:35 | |
*** jpich has joined #openstack-horizon | 09:00 | |
*** cshen has quit IRC | 09:23 | |
openstackgerrit | KimMinsik proposed openstack/horizon master: Unable to retrieve list of volumes and retrieve volume snapshots https://review.openstack.org/615115 | 09:36 |
*** e0ne has joined #openstack-horizon | 09:51 | |
*** ChanServ sets mode: +o e0ne | 09:51 | |
*** cshen has joined #openstack-horizon | 10:06 | |
*** cshen has quit IRC | 10:11 | |
*** btully has joined #openstack-horizon | 10:29 | |
*** btully has quit IRC | 10:33 | |
*** cshen has joined #openstack-horizon | 10:50 | |
*** cshen has quit IRC | 11:59 | |
*** cshen has joined #openstack-horizon | 12:04 | |
*** btully has joined #openstack-horizon | 12:17 | |
*** btully has quit IRC | 12:22 | |
*** lblanchard has joined #openstack-horizon | 12:46 | |
*** cshen has quit IRC | 15:12 | |
*** cshen has joined #openstack-horizon | 15:16 | |
*** gyee has joined #openstack-horizon | 15:26 | |
*** cshen has quit IRC | 15:29 | |
*** btully has joined #openstack-horizon | 15:55 | |
*** btully has quit IRC | 16:00 | |
*** pcaruana has quit IRC | 16:17 | |
*** cshen has joined #openstack-horizon | 16:26 | |
openstackgerrit | Nguyen Hai Truong proposed openstack/xstatic-angular-notify master: Update min tox version to 2.0 https://review.openstack.org/615231 | 16:29 |
*** e0ne has quit IRC | 16:33 | |
openstackgerrit | Nguyen Hai Truong proposed openstack/xstatic-angular-material master: Update min tox version to 2.0 https://review.openstack.org/615238 | 16:42 |
openstackgerrit | Nguyen Hai Truong proposed openstack/xstatic-angular-vis master: Update min tox version to 2.0 https://review.openstack.org/615244 | 16:48 |
*** jpich has quit IRC | 17:22 | |
rdopiera | amotoki: do you think you could take a look at https://review.openstack.org/#/c/611387/2 when you have a moment? We need to also backport it to osp14 | 17:42 |
*** btully has joined #openstack-horizon | 17:44 | |
*** btully has quit IRC | 17:49 | |
*** itlinux has joined #openstack-horizon | 17:58 | |
*** itlinux has quit IRC | 18:06 | |
*** betherly has quit IRC | 18:08 | |
-openstackstatus- NOTICE: OpenStack infra's mirror nodes stopped accepting connections on ports 8080, 8081, and 8082. We will notify when this is fixed and jobs can be rechecked if they failed to communicate with a mirror on these ports. | 18:09 | |
*** pcaruana has joined #openstack-horizon | 18:27 | |
*** e0ne has joined #openstack-horizon | 18:34 | |
*** ChanServ sets mode: +o e0ne | 18:34 | |
-openstackstatus- NOTICE: The firewall situation with ports 8080, 8081, and 8082 on mirror nodes has been resolved. You can recheck jobs that have failed to communicate to the mirrors on those ports now. | 18:53 | |
*** e0ne has quit IRC | 19:05 | |
*** pcaruana has quit IRC | 19:08 | |
*** betherly has joined #openstack-horizon | 19:16 | |
openstackgerrit | Merged openstack/horizon master: rework memoized as a LRU cache with expiry https://review.openstack.org/614893 | 19:18 |
*** betherly has quit IRC | 19:21 | |
openstackgerrit | Merged openstack/horizon master: Creating volume prompt message always contain name https://review.openstack.org/614059 | 19:28 |
openstackgerrit | Merged openstack/horizon master: Fix documents in doc/source/install https://review.openstack.org/611479 | 19:28 |
*** betherly has joined #openstack-horizon | 19:46 | |
*** betherly has quit IRC | 19:50 | |
*** betherly has joined #openstack-horizon | 20:35 | |
*** betherly has quit IRC | 20:40 | |
*** betherly has joined #openstack-horizon | 21:37 | |
*** betherly has quit IRC | 21:41 | |
*** lblanchard has quit IRC | 22:00 | |
*** rdopiera has quit IRC | 23:00 | |
*** ianychoi has quit IRC | 23:02 | |
*** btully has joined #openstack-horizon | 23:11 | |
*** tsmith2 has quit IRC | 23:14 | |
*** tsmith2 has joined #openstack-horizon | 23:14 | |
*** btully has quit IRC | 23:15 | |
*** jtomasek has quit IRC | 23:31 | |
*** betherly has joined #openstack-horizon | 23:39 | |
*** betherly has quit IRC | 23:43 | |
*** gyee has quit IRC | 23:48 | |
*** ianychoi has joined #openstack-horizon | 23:55 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!