Friday, 2018-11-02

openstackgerritAdrian Turjak proposed openstack/horizon master: rework memoized as a LRU cache with expiry  https://review.openstack.org/61489300:39
*** phuongnh has joined #openstack-horizon00:48
*** lblanchard has quit IRC00:59
*** phuongnh has quit IRC01:32
*** hoangcx has joined #openstack-horizon01:59
*** hoangcx has quit IRC02:01
*** hoangcx has joined #openstack-horizon02:05
openstackgerritpengyuesheng proposed openstack/horizon master: prohibit click blank to close the mode box  https://review.openstack.org/61490802:05
openstackgerritAdrian Turjak proposed openstack/horizon master: expand memoized for more advanced caching  https://review.openstack.org/60880102:24
*** btully has joined #openstack-horizon03:13
openstackgerritAdrian Turjak proposed openstack/horizon master: expand memoized for more advanced caching  https://review.openstack.org/60880103:13
*** btully has quit IRC03:18
openstackgerritAdrian Turjak proposed openstack/horizon master: expand memoized for more advanced caching  https://review.openstack.org/60880103:23
*** david-lyle has joined #openstack-horizon04:08
*** ChanServ sets mode: +o david-lyle04:08
*** itlinux has quit IRC04:09
*** dklyle has quit IRC04:09
vishalmanchandahi anyone online?05:14
openstackgerritAdrian Turjak proposed openstack/horizon master: expand memoized for more advanced caching  https://review.openstack.org/60880105:38
adriantvishalmanchanda: about to vanish, but I 'may' be able to help05:40
*** threestrands has quit IRC05:40
vishalmanchandaadriant: 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-horizon05:48
adriantvishalmanchanda: you mean: https://github.com/openstack/horizon/blob/master/openstack_dashboard/local/local_settings.py.example#L543 ?05:49
vishalmanchandayes05:50
vishalmanchandaadriant:05:50
adriantmostly 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-logging05:51
adriantand potentially https://docs.python.org/3/library/logging.config.html#logging-config-dictschema05:52
adriantvishalmanchanda: 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 itself05:55
adriantquestions about, what we are (or aren't) logging, someone in this channel can potentially help you with :)05:56
vishalmanchandaadriant: thanks for this I 'll go through these link and revert you in case of any query;)05:56
*** cshen has quit IRC05:57
adriantvishalmanchanda: 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 h05:58
adriantelp you here. :)05:58
vishalmanchandaadriant: 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
adriantyeah, those will be the mod_wsgi logs06:01
adriantif you are doing dev, I'd actually more suggest you run horizon ourside of devstack, and point your horizon AT the devstack06:02
adriantin... 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 there06:03
adriantone way I've done it is: "tox -e manage runserver"06:03
adrianteffectively letting tox install and build the environment for your horizon, and run the code in the repo itself06:04
adriantyou just need to make sure you have a local_setting.py file that correctly points to the keystone url of your devstack06:04
adriantand running it that way will also give you all the logging output in your terminal where you run the command06:05
adriantvishalmanchanda: not sure how much that helps you, or if you already knew about that.06:05
vishalmanchandaadriant: no i don,t have any idea about that06:06
vishalmanchandaadriant:06:06
vishalmanchandaadriant: 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
adriantno, restarting apache should work. In fact you shouldn't even need a restart to have html files take affect06:12
adriantbut that may depend on how horizon is configured with template caching06:12
adriantthose 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 horizon06:13
adriantvishalmanchanda: how are you running your devstack? A VM on your computer?06:14
vishalmanchandaadriant: yes06:15
adriantcan you access keystone (and the other APIs) from the host computer?06:16
vishalmanchandaadriant: yeah.06:18
adriantif 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 devstack06:19
adrianthttps://github.com/openstack/horizon/blob/master/openstack_dashboard/local/local_settings.py.example#L188 < that's the most important setting you need06:19
adriantbasically: 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:800006:21
adriantthen 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 yourself06:21
adriantthere are many different ways to do dev for horizon, but that's probably the fastest06:22
vishalmanchandaadriant: ok ,thanks.06:24
openstackgerritKim Bao Long proposed openstack/tempest-horizon master: Update the min version of tox to 2.0  https://review.openstack.org/61501206:25
* adriant vanishes06:28
openstackgerritNguyen Hai Truong proposed openstack/xstatic-font-awesome master: Update min tox version to 2.0  https://review.openstack.org/61503906:54
*** cshen has joined #openstack-horizon07:06
*** pcaruana has joined #openstack-horizon07:20
*** lennyb has quit IRC07:39
*** lennyb has joined #openstack-horizon07:40
*** hoangcx has quit IRC07:49
*** betherly has joined #openstack-horizon08:30
openstackgerritKim Bao Long proposed openstack/tempest-horizon master: Update the min version of tox to 2.0  https://review.openstack.org/61501208:32
*** rdopiera has joined #openstack-horizon08:35
*** jpich has joined #openstack-horizon09:00
*** cshen has quit IRC09:23
openstackgerritKimMinsik proposed openstack/horizon master: Unable to retrieve list of volumes and retrieve volume snapshots  https://review.openstack.org/61511509:36
*** e0ne has joined #openstack-horizon09:51
*** ChanServ sets mode: +o e0ne09:51
*** cshen has joined #openstack-horizon10:06
*** cshen has quit IRC10:11
*** btully has joined #openstack-horizon10:29
*** btully has quit IRC10:33
*** cshen has joined #openstack-horizon10:50
*** cshen has quit IRC11:59
*** cshen has joined #openstack-horizon12:04
*** btully has joined #openstack-horizon12:17
*** btully has quit IRC12:22
*** lblanchard has joined #openstack-horizon12:46
*** cshen has quit IRC15:12
*** cshen has joined #openstack-horizon15:16
*** gyee has joined #openstack-horizon15:26
*** cshen has quit IRC15:29
*** btully has joined #openstack-horizon15:55
*** btully has quit IRC16:00
*** pcaruana has quit IRC16:17
*** cshen has joined #openstack-horizon16:26
openstackgerritNguyen Hai Truong proposed openstack/xstatic-angular-notify master: Update min tox version to 2.0  https://review.openstack.org/61523116:29
*** e0ne has quit IRC16:33
openstackgerritNguyen Hai Truong proposed openstack/xstatic-angular-material master: Update min tox version to 2.0  https://review.openstack.org/61523816:42
openstackgerritNguyen Hai Truong proposed openstack/xstatic-angular-vis master: Update min tox version to 2.0  https://review.openstack.org/61524416:48
*** jpich has quit IRC17:22
rdopieraamotoki: 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 osp1417:42
*** btully has joined #openstack-horizon17:44
*** btully has quit IRC17:49
*** itlinux has joined #openstack-horizon17:58
*** itlinux has quit IRC18:06
*** betherly has quit IRC18: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-horizon18:27
*** e0ne has joined #openstack-horizon18:34
*** ChanServ sets mode: +o e0ne18: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 IRC19:05
*** pcaruana has quit IRC19:08
*** betherly has joined #openstack-horizon19:16
openstackgerritMerged openstack/horizon master: rework memoized as a LRU cache with expiry  https://review.openstack.org/61489319:18
*** betherly has quit IRC19:21
openstackgerritMerged openstack/horizon master: Creating volume prompt message always contain name  https://review.openstack.org/61405919:28
openstackgerritMerged openstack/horizon master: Fix documents in doc/source/install  https://review.openstack.org/61147919:28
*** betherly has joined #openstack-horizon19:46
*** betherly has quit IRC19:50
*** betherly has joined #openstack-horizon20:35
*** betherly has quit IRC20:40
*** betherly has joined #openstack-horizon21:37
*** betherly has quit IRC21:41
*** lblanchard has quit IRC22:00
*** rdopiera has quit IRC23:00
*** ianychoi has quit IRC23:02
*** btully has joined #openstack-horizon23:11
*** tsmith2 has quit IRC23:14
*** tsmith2 has joined #openstack-horizon23:14
*** btully has quit IRC23:15
*** jtomasek has quit IRC23:31
*** betherly has joined #openstack-horizon23:39
*** betherly has quit IRC23:43
*** gyee has quit IRC23:48
*** ianychoi has joined #openstack-horizon23:55

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!