*** jtriley has quit IRC | 00:05 | |
*** lnxnut has joined #openstack-horizon | 00:11 | |
*** yamamoto has joined #openstack-horizon | 00:18 | |
*** felipemonteiro has joined #openstack-horizon | 00:19 | |
*** pt_15 has quit IRC | 00:21 | |
*** lnxnut has quit IRC | 00:21 | |
*** yamamoto has quit IRC | 00:23 | |
*** felipemonteiro has quit IRC | 00:33 | |
*** gyee has joined #openstack-horizon | 00:36 | |
*** itlinux has joined #openstack-horizon | 00:36 | |
*** felipemonteiro has joined #openstack-horizon | 00:51 | |
flwang1 | ying_zuo: can I get an idea about this bug https://bugs.launchpad.net/horizon/+bug/1720915 ? | 00:57 |
---|---|---|
openstack | Launchpad bug 1720915 in OpenStack Dashboard (Horizon) "No loading icon on image (anjularjs) panel" [Undecided,In progress] - Assigned to Feilong Wang (flwang) | 00:57 |
flwang1 | how to add a loading image/icon for the image panel | 00:57 |
*** itlinux has quit IRC | 00:58 | |
*** tonygunk has quit IRC | 01:11 | |
*** lnxnut has joined #openstack-horizon | 01:18 | |
*** lnxnut has quit IRC | 01:29 | |
*** itlinux has joined #openstack-horizon | 01:35 | |
*** itlinux has quit IRC | 01:42 | |
*** gyee has quit IRC | 01:47 | |
*** catintheroof has joined #openstack-horizon | 02:03 | |
*** catintheroof has quit IRC | 02:19 | |
*** lnxnut has joined #openstack-horizon | 02:26 | |
*** yamamoto has joined #openstack-horizon | 02:28 | |
*** catintheroof has joined #openstack-horizon | 02:29 | |
*** lnxnut has quit IRC | 02:36 | |
*** MasterOfBugs has quit IRC | 02:56 | |
*** erlon has quit IRC | 03:01 | |
*** catintheroof has quit IRC | 03:09 | |
*** itlinux has joined #openstack-horizon | 03:23 | |
*** itlinux has quit IRC | 03:31 | |
*** itlinux has joined #openstack-horizon | 03:32 | |
*** lnxnut has joined #openstack-horizon | 03:34 | |
*** itlinux has quit IRC | 03:41 | |
*** udesale has joined #openstack-horizon | 03:44 | |
*** lnxnut has quit IRC | 03:44 | |
*** flwang1 has quit IRC | 03:59 | |
*** ratailor has joined #openstack-horizon | 04:09 | |
*** mnaser has quit IRC | 04:15 | |
*** mnaser has joined #openstack-horizon | 04:30 | |
*** lnxnut has joined #openstack-horizon | 04:40 | |
*** lnxnut has quit IRC | 05:06 | |
*** early has quit IRC | 05:16 | |
*** early has joined #openstack-horizon | 05:16 | |
*** lnxnut has joined #openstack-horizon | 05:33 | |
*** lnxnut has quit IRC | 05:37 | |
*** lajoskatona has joined #openstack-horizon | 05:39 | |
lajoskatona | whois lajoskatona | 05:57 |
*** lajoskatona_ has joined #openstack-horizon | 06:01 | |
*** lajoskatona_ has quit IRC | 06:04 | |
*** udesale__ has joined #openstack-horizon | 06:05 | |
*** udesale has quit IRC | 06:06 | |
*** flwang1 has joined #openstack-horizon | 06:08 | |
*** udesale__ has quit IRC | 06:25 | |
*** udesale__ has joined #openstack-horizon | 06:25 | |
*** rcernin has joined #openstack-horizon | 06:30 | |
*** lnxnut has joined #openstack-horizon | 06:34 | |
*** belmoreira has joined #openstack-horizon | 06:38 | |
*** pcaruana has joined #openstack-horizon | 06:48 | |
*** jtomasek has joined #openstack-horizon | 06:50 | |
*** udesale has joined #openstack-horizon | 06:51 | |
*** udesale__ has quit IRC | 06:53 | |
*** spectr has quit IRC | 06:54 | |
*** spectr has joined #openstack-horizon | 06:55 | |
*** lnxnut has quit IRC | 06:57 | |
*** udesale__ has joined #openstack-horizon | 07:02 | |
*** udesale has quit IRC | 07:04 | |
*** tesseract has joined #openstack-horizon | 07:16 | |
*** sdake_ has joined #openstack-horizon | 07:17 | |
*** sdake_ is now known as Guest52279 | 07:17 | |
*** Guest52279 has quit IRC | 07:17 | |
*** jpich has joined #openstack-horizon | 07:55 | |
*** udesale has joined #openstack-horizon | 08:02 | |
*** udesale__ has quit IRC | 08:03 | |
*** mrch has joined #openstack-horizon | 08:07 | |
*** itxaka has joined #openstack-horizon | 08:16 | |
*** lnxnut has joined #openstack-horizon | 08:28 | |
*** lnxnut has quit IRC | 08:47 | |
*** yamamoto has quit IRC | 09:01 | |
*** e0ne has joined #openstack-horizon | 09:22 | |
*** yamamoto has joined #openstack-horizon | 09:27 | |
*** tosky has joined #openstack-horizon | 09:44 | |
*** lnxnut has joined #openstack-horizon | 09:45 | |
openstackgerrit | Ivan Kolodyazhny proposed openstack/horizon master: Add license headers to openstack_dashboard/enabled/* files https://review.openstack.org/505170 | 09:50 |
*** lnxnut has quit IRC | 09:56 | |
*** pt_15 has joined #openstack-horizon | 10:13 | |
*** yamamoto has quit IRC | 10:30 | |
*** udesale has quit IRC | 10:32 | |
*** tesseract has quit IRC | 10:40 | |
*** tesseract has joined #openstack-horizon | 10:44 | |
*** yamamoto has joined #openstack-horizon | 10:51 | |
*** lnxnut has joined #openstack-horizon | 10:53 | |
*** mrunge_ has joined #openstack-horizon | 10:54 | |
*** mrunge has quit IRC | 10:55 | |
*** spectr-RH has joined #openstack-horizon | 10:59 | |
*** dave-mccowan has joined #openstack-horizon | 11:01 | |
*** spectr has quit IRC | 11:02 | |
*** lnxnut has quit IRC | 11:03 | |
*** v12aml has joined #openstack-horizon | 11:07 | |
*** dave-mcc_ has joined #openstack-horizon | 11:11 | |
*** dave-mccowan has quit IRC | 11:13 | |
*** tonygunk has joined #openstack-horizon | 11:16 | |
*** mrunge_ has quit IRC | 11:18 | |
*** mrunge has joined #openstack-horizon | 11:20 | |
*** tonygunk has quit IRC | 11:20 | |
*** wolverineav has joined #openstack-horizon | 11:39 | |
*** tonygunk has joined #openstack-horizon | 11:50 | |
*** horhell has joined #openstack-horizon | 11:56 | |
horhell | Greetings, I have a question about tables.DataTable . I am trying to implement server side filtering and I am having some issues | 11:58 |
*** lnxnut has joined #openstack-horizon | 12:00 | |
*** lnxnut has quit IRC | 12:11 | |
*** lblanchard has joined #openstack-horizon | 12:12 | |
*** itxaka has quit IRC | 12:19 | |
*** udesale has joined #openstack-horizon | 12:23 | |
*** ianychoi has quit IRC | 12:25 | |
*** ianychoi has joined #openstack-horizon | 12:26 | |
e0ne | horhell: hi. what issues do you have? | 12:31 |
*** e0ne has quit IRC | 12:31 | |
*** e0ne has joined #openstack-horizon | 12:32 | |
e0ne | horhell: hi. what issues do you have? | 12:33 |
horhell | e0ne I am trying to use the API for the filtering | 12:36 |
horhell | well, an API | 12:36 |
horhell | and I don't understand how can I add the filters to the query | 12:36 |
horhell | because the api is called in the get_page_data method of the datatable | 12:36 |
horhell | and the filtering is called in the filter method of FilterAction | 12:37 |
horhell | so... when I am filtering, first the table calls the API with no query params, and when I get to the filter method, I can call the table method for Server Filtering | 12:39 |
horhell | but I end up calling the API twice | 12:39 |
horhell | once with no params | 12:39 |
horhell | once with my params from the filter | 12:39 |
horhell | hope I am clear.... | 12:40 |
e0ne | horhell: what is get_page_data? I can't find it | 12:44 |
horhell | sorry... I didn't realize, it's a method defined by me | 12:47 |
horhell | this is the view https://codeshare.io/G7xQjn | 12:47 |
*** horhell_ has joined #openstack-horizon | 12:53 | |
horhell_ | sorry, my computer crashed | 12:53 |
horhell_ | I have added more code to the code share | 12:53 |
*** rodrigods has quit IRC | 12:54 | |
*** horhell has quit IRC | 12:54 | |
horhell_ | and the filterAction | 12:57 |
horhell_ | maybe I am using it wrong, or something.. | 12:57 |
*** spectr-RH has quit IRC | 13:00 | |
*** pcaruana has quit IRC | 13:02 | |
*** lbragstad has joined #openstack-horizon | 13:05 | |
*** itxaka has joined #openstack-horizon | 13:06 | |
*** ratailor has quit IRC | 13:07 | |
*** ratailor has joined #openstack-horizon | 13:08 | |
*** lnxnut has joined #openstack-horizon | 13:08 | |
*** ratailor has quit IRC | 13:12 | |
*** Tree_ has joined #openstack-horizon | 13:12 | |
*** spectr-RH has joined #openstack-horizon | 13:12 | |
*** pcaruana has joined #openstack-horizon | 13:15 | |
*** spectr-RH has quit IRC | 13:16 | |
*** Tree_ has quit IRC | 13:17 | |
*** lnxnut has quit IRC | 13:17 | |
*** spectr-RH has joined #openstack-horizon | 13:17 | |
*** mSherlock has joined #openstack-horizon | 13:19 | |
*** chlong_ has joined #openstack-horizon | 13:22 | |
*** lnxnut has joined #openstack-horizon | 13:23 | |
*** catintheroof has joined #openstack-horizon | 13:24 | |
*** yamamoto has quit IRC | 13:27 | |
*** horhell_ has quit IRC | 13:34 | |
*** horhell has joined #openstack-horizon | 13:34 | |
*** tonygunk has quit IRC | 13:46 | |
*** jtriley has joined #openstack-horizon | 13:54 | |
*** felipemonteiro_ has joined #openstack-horizon | 14:00 | |
*** felipemonteiro__ has joined #openstack-horizon | 14:01 | |
*** TravT has joined #openstack-horizon | 14:02 | |
*** TravT has quit IRC | 14:02 | |
*** yamamoto has joined #openstack-horizon | 14:03 | |
*** yamamoto has quit IRC | 14:03 | |
*** TravT has joined #openstack-horizon | 14:03 | |
*** felipemonteiro_ has quit IRC | 14:05 | |
*** jtriley has quit IRC | 14:07 | |
*** jtriley has joined #openstack-horizon | 14:08 | |
*** horhell has quit IRC | 14:09 | |
*** udesale has quit IRC | 14:32 | |
*** pcaruana has quit IRC | 14:33 | |
*** spectr-RH has quit IRC | 14:41 | |
*** spectr has joined #openstack-horizon | 14:42 | |
*** pcaruana has joined #openstack-horizon | 14:45 | |
*** jeremy_moffitt has quit IRC | 14:48 | |
*** jtriley has quit IRC | 14:48 | |
*** jeremy_moffitt has joined #openstack-horizon | 14:50 | |
*** tonygunk has joined #openstack-horizon | 14:55 | |
*** lnxnut_ has joined #openstack-horizon | 14:56 | |
*** lnxnut has quit IRC | 14:58 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/horizon master: Imported Translations from Zanata https://review.openstack.org/509498 | 15:01 |
*** yamamoto has joined #openstack-horizon | 15:04 | |
*** jtriley has joined #openstack-horizon | 15:06 | |
*** itxaka has quit IRC | 15:07 | |
*** jtriley has quit IRC | 15:10 | |
*** jamesbenson has joined #openstack-horizon | 15:10 | |
*** yamamoto has quit IRC | 15:13 | |
*** rcernin has quit IRC | 15:13 | |
*** jtriley has joined #openstack-horizon | 15:18 | |
*** lajoskatona has left #openstack-horizon | 15:23 | |
*** erlon has joined #openstack-horizon | 15:24 | |
*** pcaruana has quit IRC | 15:28 | |
*** tesseract has quit IRC | 15:29 | |
*** gyee has joined #openstack-horizon | 15:29 | |
*** belmoreira has quit IRC | 15:35 | |
*** mdavidson has quit IRC | 15:39 | |
*** jamesbenson has quit IRC | 15:42 | |
*** jamesbenson has joined #openstack-horizon | 15:49 | |
*** jamesbenson has quit IRC | 15:52 | |
*** jamesbenson has joined #openstack-horizon | 15:53 | |
*** jamesbenson has quit IRC | 15:54 | |
*** jamesbenson has joined #openstack-horizon | 15:55 | |
*** mrch has quit IRC | 16:00 | |
*** jamesbenson has quit IRC | 16:11 | |
*** jamesbenson has joined #openstack-horizon | 16:16 | |
openstackgerrit | Ivan Kolodyazhny proposed openstack/horizon master: Do not fail on AdminUpdateRow if tenant is not found https://review.openstack.org/496699 | 16:27 |
*** jpich has quit IRC | 16:32 | |
*** jamesbenson has quit IRC | 16:37 | |
*** e0ne has quit IRC | 16:40 | |
*** felipemonteiro__ has quit IRC | 16:44 | |
*** tonygunk has quit IRC | 16:50 | |
*** jtriley has quit IRC | 17:15 | |
*** jtriley has joined #openstack-horizon | 17:31 | |
*** lbragstad has quit IRC | 17:34 | |
*** tsmith has quit IRC | 17:34 | |
*** felipemonteiro_ has joined #openstack-horizon | 17:35 | |
*** felipemonteiro__ has joined #openstack-horizon | 17:36 | |
*** jtriley has quit IRC | 17:38 | |
*** marlinc has quit IRC | 17:38 | |
*** tosky has quit IRC | 17:38 | |
*** felipemonteiro_ has quit IRC | 17:40 | |
*** marlinc has joined #openstack-horizon | 17:45 | |
*** tsmith has joined #openstack-horizon | 17:47 | |
*** itlinux has joined #openstack-horizon | 17:49 | |
*** jamesbenson has joined #openstack-horizon | 17:50 | |
*** itlinux has quit IRC | 17:53 | |
*** lbragstad has joined #openstack-horizon | 17:57 | |
*** tosky has joined #openstack-horizon | 17:58 | |
*** MasterOfBugs has joined #openstack-horizon | 18:00 | |
*** itlinux has joined #openstack-horizon | 18:07 | |
*** itlinux has quit IRC | 18:12 | |
*** jtriley has joined #openstack-horizon | 18:12 | |
*** tonygunk has joined #openstack-horizon | 18:16 | |
*** e0ne has joined #openstack-horizon | 18:25 | |
*** jtriley has quit IRC | 18:26 | |
*** gary-smith_ has joined #openstack-horizon | 18:27 | |
*** gary-smith_ has quit IRC | 18:27 | |
*** pt_15 has quit IRC | 18:53 | |
*** MasterOfBugs has quit IRC | 18:59 | |
*** flwang1 has quit IRC | 19:00 | |
*** felipemonteiro__ has quit IRC | 19:04 | |
*** felipemonteiro__ has joined #openstack-horizon | 19:04 | |
*** oomichi is now known as oomichi_afk | 19:05 | |
*** TravT_ has joined #openstack-horizon | 19:08 | |
*** TravT_ has quit IRC | 19:08 | |
*** TravT has quit IRC | 19:12 | |
*** chlong_ has quit IRC | 19:16 | |
*** tonygunk has quit IRC | 19:20 | |
*** flwang1 has joined #openstack-horizon | 19:20 | |
*** tonygunk has joined #openstack-horizon | 19:23 | |
*** jtriley has joined #openstack-horizon | 19:23 | |
*** flwang1 has quit IRC | 19:23 | |
*** lbragstad has quit IRC | 19:35 | |
ying_zuo | Weekly Horizon meeting is starting in 15 minutes #openstack-meeting-3 | 19:45 |
ying_zuo | https://etherpad.openstack.org/p/horizon-bug-review | 19:45 |
*** jtomasek has quit IRC | 19:48 | |
openstackgerrit | Ivan Kolodyazhny proposed openstack/horizon master: WIP. Switch cinder-related tests to mock https://review.openstack.org/509618 | 19:57 |
*** TravT has joined #openstack-horizon | 19:58 | |
openstackgerrit | Ivan Kolodyazhny proposed openstack/horizon master: Do not fail on AdminUpdateRow if tenant is not found https://review.openstack.org/496699 | 20:05 |
*** felipemonteiro_ has joined #openstack-horizon | 20:08 | |
*** felipemonteiro__ has quit IRC | 20:11 | |
*** lbragstad has joined #openstack-horizon | 20:27 | |
*** flwang1 has joined #openstack-horizon | 20:41 | |
*** e0ne has quit IRC | 21:18 | |
*** felipemonteiro_ has quit IRC | 21:19 | |
*** felipemonteiro_ has joined #openstack-horizon | 21:19 | |
*** e0ne has joined #openstack-horizon | 21:19 | |
*** e0ne has quit IRC | 21:19 | |
*** e0ne has joined #openstack-horizon | 21:20 | |
*** e0ne has quit IRC | 21:20 | |
*** e0ne has joined #openstack-horizon | 21:21 | |
*** e0ne has quit IRC | 21:22 | |
*** e0ne has joined #openstack-horizon | 21:22 | |
*** e0ne has quit IRC | 21:23 | |
*** e0ne has joined #openstack-horizon | 21:23 | |
*** e0ne has quit IRC | 21:23 | |
flwang1 | ying_zuo: robcresswell: david-lyle: have time to discuss another potential improvement for the instance listing performance? | 21:24 |
robcresswell | Nope, its 10:30 and I am heading to bed :D | 21:25 |
robcresswell | But I will read the logs in the morning | 21:25 |
flwang1 | robcresswell: hah, 10:30AM? | 21:25 |
robcresswell | 22:30 ;) | 21:25 |
flwang1 | robcresswell: no problem, bro | 21:25 |
robcresswell | I get up at 6am so 10:30 pm feels late ha :p | 21:25 |
robcresswell | \o | 21:26 |
flwang1 | simple statement, I'd like to propose remove the image column on the instance list panel | 21:26 |
flwang1 | that's good habit, anyway | 21:26 |
flwang1 | good night | 21:26 |
ying_zuo | flwang1: that doesn't sound good :p | 21:28 |
flwang1 | ying_zuo: let me explain why | 21:28 |
flwang1 | #1. AWS is not doing this ;) | 21:29 |
ying_zuo | haha | 21:29 |
flwang1 | #2 It's useless for more of the case, because I pretty much sure most of the openstack deployment (65%+) is using ceph, and most of them will use volume-based instance instead of image-based | 21:30 |
flwang1 | so that said, with volume-based instances you can't see any image info on the list | 21:30 |
ying_zuo | right | 21:31 |
flwang1 | #3 The API call to glance is very heavy and no cache | 21:31 |
flwang1 | https://api.nz-por-1.catalystcloud.io:9292/v2/images?limit=1000&sort_key=created_at&sort_dir=desc | 21:31 |
flwang1 | pls skip the domain name, you get my point | 21:31 |
flwang1 | as a public cloud, we may have hundreds public images | 21:32 |
flwang1 | and each time horizon will try to list all of those public images and the private images of current tenant, even though all the instances are volume-based | 21:32 |
flwang1 | it's silly, TBH | 21:32 |
flwang1 | BTW, I will send an email to operator maillist and dev maillist to get more feedback based on the improvements I'm proposing | 21:33 |
david-lyle | flwang1, I never wanted the image column to begin with | 21:33 |
flwang1 | ying_zuo: see? ^ | 21:34 |
david-lyle | but was out voted way back :) | 21:34 |
flwang1 | I got a support now ;) | 21:34 |
* david-lyle here to cause trouble | 21:34 | |
david-lyle | it's a horribly expensive call for no real information, IMO | 21:34 |
flwang1 | david-lyle: that column could be useful before, but now, I don't think any user really care about it | 21:34 |
flwang1 | true, imagine you have 1000 public images and all instance are volume-based | 21:35 |
ying_zuo | what's changed? more and more instances are backed by volume? | 21:35 |
flwang1 | ying_zuo: exactly | 21:36 |
*** jtriley has quit IRC | 21:36 | |
flwang1 | I don't think any real user case is still using image based instance for production | 21:36 |
flwang1 | and especially, you can see the image name after click the instance to see the details | 21:37 |
ying_zuo | I would think they may want to filter the instances built with a specific image on the instances panel | 21:38 |
*** tonygunk has quit IRC | 21:39 | |
david-lyle | you can still do that by image name | 21:40 |
david-lyle | in the filter | 21:40 |
flwang1 | ying_zuo: they can still do that | 21:41 |
flwang1 | IIRC, the filter is done on server side, no? | 21:41 |
david-lyle | flwang1, yes | 21:41 |
*** catintheroof has quit IRC | 21:41 | |
flwang1 | we can get the image list based on the filter keyword instead of send a API call like this https://api.nz-por-1.catalystcloud.io:9292/v2/images?limit=1000&sort_key=created_at&sort_dir=desc | 21:42 |
flwang1 | which is scary | 21:43 |
ying_zuo | yes, I didn't know we need to make this api to get the image column | 21:44 |
flwang1 | in nova, only image id is saved, and there is no API in glance to query images like this /images?image_id=1&image_id=2&image_id=3 | 21:49 |
flwang1 | so to get the image name, horizon has to send a big call to get the list | 21:49 |
flwang1 | unfortunately, there is still chance the image you're trying to get not in the response, though the possibility is quite small | 21:50 |
ying_zuo | I see | 21:51 |
flwang1 | I know this is another small change, but I would say the instance panel is doing a lot this kind of stuff | 21:52 |
flwang1 | which makes the page slow | 21:52 |
ying_zuo | thanks for finding ways to optimize it | 21:53 |
flwang1 | ying_zuo: no problem, I'm happy to do this to save my customer's life | 21:53 |
flwang1 | we have got a lot comments like, the dashboard looks great, but, ahadsfljlasdfkladskjf;jkx..asdaf323@#Y@&*@, it's toooooooooo slow | 21:54 |
*** jamesbenson has quit IRC | 21:57 | |
*** felipemonteiro_ has quit IRC | 22:15 | |
*** jtriley has joined #openstack-horizon | 22:18 | |
*** lblanchard has quit IRC | 22:23 | |
*** jeremy_moffitt has quit IRC | 22:27 | |
*** lbragstad has quit IRC | 22:38 | |
*** lblanchard has joined #openstack-horizon | 22:44 | |
*** jeremy_moffitt has joined #openstack-horizon | 22:51 | |
*** lblanchard has quit IRC | 23:01 | |
*** felipemonteiro_ has joined #openstack-horizon | 23:20 | |
*** felipemonteiro__ has joined #openstack-horizon | 23:21 | |
*** felipemonteiro_ has quit IRC | 23:25 | |
*** jtriley has quit IRC | 23:36 | |
*** wolverineav has quit IRC | 23:43 | |
*** TravT has quit IRC | 23:59 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!