Wednesday, 2017-03-22

*** gugl has joined #openstack-horizon00:02
guglr1chardj0n3s, sorry...had some system issues...back now, let me run again00:03
*** jlopezgu has quit IRC00:21
openstackgerritMerged openstack/horizon master: hacking: noqa cleanup in horizon  https://review.openstack.org/44711400:31
*** harlowja has joined #openstack-horizon00:42
*** MasterOfBugs has quit IRC00:48
guglr1chardj0n3s, http://pastebin.com/kuvX6WFb some errors from tox run00:49
r1chardj0n3sgugl: that's not a complete output, yeah? please just run one tox command (other than pep8 which succeeded, so perhaps "tox -e py27dj110") and paste a more complete log00:51
*** dave-mcc_ has joined #openstack-horizon00:52
*** tovin07 has quit IRC00:52
*** zhurong has joined #openstack-horizon00:53
guglr1chardj0n3s, ok, let me try again00:53
*** dave-mccowan has quit IRC00:53
*** tjones has joined #openstack-horizon00:56
tjoneshi - i am looking for a way to configure more verbose logging of the api request and response.  i havw already set DEBUG to true in local_settings but it is not verbose enough.  any hints?00:57
*** cody_ has joined #openstack-horizon01:00
r1chardj0n3stjones: when you say "not verbose enough" what else were you expecting to see?01:05
r1chardj0n3s(or rather hoping)01:06
guglr1chardj0n3s, http://pastebin.com/kz2QFYtE I can't paste verything...it is too large for the pastebin....it is just lots of those exceptions01:06
r1chardj0n3stjones: AFAICT there's no further detail we can provide if you're seeing the requests and responses including the JSON payloads01:06
r1chardj0n3sgugl: how did you set up your development environment? Is that a clean clone of the Horizon repos? It looks to me like there's conflicting versions of Horizon at play (line 38 exception should not happen in a clean checkout of Horizon)01:08
*** wolverin_ has quit IRC01:17
guglr1chardj0n3s, it is not a clean one...let me try to run on the clean one01:22
openstackgerritfengzhr proposed openstack/horizon master: Fix the bug in 'Delete Extra Spec'  https://review.openstack.org/44776501:24
r1chardj0n3sgugl: yeah, that code was recently refactored, so a mixed env will run into issues01:24
*** wolverineav has joined #openstack-horizon01:25
*** Daisy has joined #openstack-horizon01:25
*** wolverineav has quit IRC01:29
tjonesr1chardj0n3s: i see the GET and the POST but i was hoping to see the data returned01:34
r1chardj0n3stjones: hurm, you should see that, yeah. do you see a bunch of "REQ: curl -g -i -X GET...."01:35
tjonesthis is mitaka and i see this sort of thing01:35
tjones192.168.111.160 - - [22/Mar/2017:01:33:05 +0000] "POST /project/access_and_security/security_groups/3fdb8d6d-abfa-479a-8765-ed203fe50854/add_rule/ HTTP/1.1" 200 465 "https://192.168.112.160/project/access_and_security/security_groups/3fdb8d6d-abfa-479a-8765-ed203fe50854/" "Mozilla/5.0 (Windows NT 5.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36"01:35
r1chardj0n3stjones: right, there's no debug there ... and that looks like an apache log, not a django log01:36
tjonesohhhhh......01:36
tjonesit is the apache log01:36
tjonescan you point me to where i should look for the django log?01:37
tjonesi looked in var/log and i don't see anything like that01:37
r1chardj0n3stjones: the location should be configured in your local_settings.py logging config01:38
tjonesit is not specified…  so i guess that means it goes to /dev/null01:41
*** gyee has quit IRC01:45
*** wolverineav has joined #openstack-horizon01:46
tjonesr1chardj0n3s: thanks for your help - i found the django doc i needed01:49
r1chardj0n3stjones: \o/01:49
*** wolverineav has quit IRC01:50
*** dave-mccowan has joined #openstack-horizon01:58
*** dave-mcc_ has quit IRC02:00
*** tjones has quit IRC02:06
*** wolverineav has joined #openstack-horizon02:06
guglr1chardj0n3s, clean one is better...I removed .tox ...but still have some errors02:08
guglhttp://pastebin.com/3bB9PYET02:08
*** wolverineav has quit IRC02:10
r1chardj0n3sgugl: those errors look like it's still not clean, it looks like there's some stale pyc files from a previous version02:18
r1chardj0n3sPlease do a clean new clone of the repository and attempt a tox run then02:19
*** tjones has joined #openstack-horizon02:36
*** tjones has quit IRC02:42
*** tjones has joined #openstack-horizon02:43
*** tjones has quit IRC02:43
*** tjones has joined #openstack-horizon02:43
*** tjones has quit IRC02:44
*** tjones has joined #openstack-horizon02:44
*** tjones has quit IRC02:45
*** tjones has joined #openstack-horizon02:45
*** tjones has quit IRC02:46
*** tjones has joined #openstack-horizon02:46
*** tjones has quit IRC02:46
*** tjones has joined #openstack-horizon02:47
*** tjones has quit IRC02:47
*** tjones has joined #openstack-horizon02:47
*** tjones has quit IRC02:48
*** tjones has joined #openstack-horizon02:48
*** tjones has quit IRC02:49
*** Daisy has quit IRC02:49
*** tjones has joined #openstack-horizon02:49
*** tjones has quit IRC02:50
*** cody_ has quit IRC03:23
*** david-lyle has joined #openstack-horizon03:30
*** ChanServ sets mode: +o david-lyle03:30
*** faizy has joined #openstack-horizon03:34
*** harlowja has quit IRC03:35
*** david-lyle has quit IRC03:36
*** faizy has quit IRC03:39
*** cody_ has joined #openstack-horizon03:40
*** dave-mccowan has quit IRC03:51
*** udesale has joined #openstack-horizon04:12
*** adriant has quit IRC04:12
*** zhurong has quit IRC04:37
*** Administrator_ has joined #openstack-horizon04:38
*** zhugaoxiao has quit IRC04:41
*** rcernin has joined #openstack-horizon05:09
*** rcernin has quit IRC05:09
*** ratailor has joined #openstack-horizon05:18
*** faizy has joined #openstack-horizon05:19
*** faizy has quit IRC05:22
*** faizy has joined #openstack-horizon05:22
*** faizy_ has joined #openstack-horizon05:23
*** Jeffrey4l_ has quit IRC05:27
*** faizy_ has quit IRC05:27
*** faizy_ has joined #openstack-horizon05:27
*** faizy has quit IRC05:27
*** Jeffrey4l_ has joined #openstack-horizon05:29
*** faizy_ has quit IRC05:30
*** faizy_ has joined #openstack-horizon05:31
*** zhurong has joined #openstack-horizon05:32
*** udesale__ has joined #openstack-horizon05:46
*** udesale has quit IRC05:48
*** faizy_ has quit IRC06:07
*** faizy has joined #openstack-horizon06:08
*** faizy has quit IRC06:11
*** faizy has joined #openstack-horizon06:11
*** faizy has quit IRC06:15
*** faizy has joined #openstack-horizon06:15
*** faizy has quit IRC06:18
*** faizy has joined #openstack-horizon06:19
*** faizy has quit IRC06:21
*** faizy has joined #openstack-horizon06:22
*** revon has quit IRC06:23
*** cody_ has quit IRC07:00
*** wangbo has quit IRC07:10
*** zioproto has joined #openstack-horizon07:15
*** udesale__ has quit IRC07:16
*** udesale has joined #openstack-horizon07:16
*** ratailor has quit IRC07:21
*** wangbo has joined #openstack-horizon07:21
*** jprovazn has joined #openstack-horizon07:28
*** jtomasek has joined #openstack-horizon07:31
*** ratailor has joined #openstack-horizon07:34
*** pcaruana has joined #openstack-horizon07:39
*** jtomasek_ has joined #openstack-horizon07:43
*** jtomasek has quit IRC07:43
*** faizy has quit IRC07:54
*** tesseract has joined #openstack-horizon07:55
*** udesale__ has joined #openstack-horizon08:00
*** zhurong has quit IRC08:00
*** ratailor has quit IRC08:02
*** udesale has quit IRC08:03
*** zhurong has joined #openstack-horizon08:11
*** lifeless_ has joined #openstack-horizon08:13
*** lifeless has quit IRC08:14
*** amotoki has joined #openstack-horizon08:20
*** ratailor has joined #openstack-horizon08:23
*** amoralej|off is now known as amoralej08:45
*** masco has joined #openstack-horizon09:03
*** yohoffman has quit IRC09:13
*** fnordahl has quit IRC09:14
*** jtomasek_ is now known as jtomasek09:16
*** fnordahl has joined #openstack-horizon09:19
*** udesale has joined #openstack-horizon09:31
*** udesale__ has quit IRC09:33
*** zhurong has quit IRC09:52
openstackgerritAkihiro Motoki proposed openstack/horizon master: New input field with validation: MACAddressField  https://review.openstack.org/44702809:57
*** tosky has joined #openstack-horizon10:16
*** yohoffman has joined #openstack-horizon10:17
*** udesale__ has joined #openstack-horizon10:23
*** udesale has quit IRC10:25
openstackgerrithanwei proposed openstack/horizon master: get inappropriate information while failed to create host aggregates  https://review.openstack.org/44572410:41
openstackgerritBence Romsics proposed openstack/horizon master: Option to specify MAC address of port  https://review.openstack.org/44429610:41
*** udesale__ has quit IRC10:57
*** mine0901 has joined #openstack-horizon11:08
openstackgerritMerged openstack/horizon master: get inappropriate information while failed to create host aggregates  https://review.openstack.org/44572411:31
*** VAhl has joined #openstack-horizon12:00
*** masco has quit IRC12:13
*** ratailor has quit IRC12:14
*** mgould|afk is now known as mgould12:15
*** jtriley has quit IRC12:34
*** catintheroof has joined #openstack-horizon12:42
*** amoralej is now known as amoralej|lunch12:47
*** pbandark has joined #openstack-horizon13:03
*** lblanchard has joined #openstack-horizon13:16
mgouldhi everyone! trivial patch to review, already has 3x +1s and green CI: https://review.openstack.org/#/c/443716/13:19
*** jtriley has joined #openstack-horizon13:33
*** amoralej|lunch is now known as amoralej13:46
*** mtanino has joined #openstack-horizon13:50
*** wolverineav has joined #openstack-horizon13:51
*** Zombine has quit IRC14:00
*** zioproto has quit IRC14:01
*** udesale has joined #openstack-horizon14:02
*** honza has quit IRC14:03
*** honza has joined #openstack-horizon14:04
*** shu-mutou-AWAY has quit IRC14:04
*** honza is now known as Guest5418214:04
*** oomichi has quit IRC14:04
*** chlong has joined #openstack-horizon14:04
*** oomichi has joined #openstack-horizon14:06
*** zioproto has joined #openstack-horizon14:11
*** chlong has quit IRC14:12
*** chlong has joined #openstack-horizon14:13
*** dave-mccowan has joined #openstack-horizon14:25
openstackgerritDaniel Castellanos proposed openstack/horizon master: Implement "FILTER_DATA_FIRST" in angular views  https://review.openstack.org/42779414:31
*** mine0901 has quit IRC14:37
*** tjones has joined #openstack-horizon14:51
*** mtanino has quit IRC15:10
*** david-lyle has joined #openstack-horizon15:12
*** ChanServ sets mode: +o david-lyle15:12
*** mtanino has joined #openstack-horizon15:13
*** udesale has quit IRC15:17
*** zackf has joined #openstack-horizon15:18
*** zackf has quit IRC15:22
*** zackf has joined #openstack-horizon15:23
*** tjones has quit IRC15:25
*** zackf has quit IRC15:27
*** chlong has quit IRC15:30
*** tjones has joined #openstack-horizon15:32
*** chlong has joined #openstack-horizon15:34
*** zackf has joined #openstack-horizon15:38
*** zackf has quit IRC15:41
*** zackf has joined #openstack-horizon15:47
*** zackf has quit IRC15:51
*** tjones has quit IRC15:52
*** tjones has joined #openstack-horizon15:52
*** tjones has quit IRC15:53
*** tjones has joined #openstack-horizon15:53
*** tjones has quit IRC15:54
*** tjones has joined #openstack-horizon15:54
*** tjones has quit IRC15:54
*** tjones has joined #openstack-horizon15:55
*** tjones has quit IRC15:55
*** tjones has joined #openstack-horizon15:56
*** tjones has quit IRC15:56
*** tjones has joined #openstack-horizon15:56
*** tjones has quit IRC15:57
*** tjones has joined #openstack-horizon15:57
*** tjones has quit IRC15:58
*** tjones has joined #openstack-horizon15:58
*** tjones has quit IRC15:58
*** tjones has joined #openstack-horizon15:59
*** tjones has quit IRC15:59
*** tjones has joined #openstack-horizon15:59
*** tjones1 has joined #openstack-horizon16:00
*** tjones1 has quit IRC16:00
*** tjones1 has joined #openstack-horizon16:01
*** tjones1 has quit IRC16:01
*** tjones1 has joined #openstack-horizon16:02
*** tjones1 has quit IRC16:02
*** tjones1 has joined #openstack-horizon16:03
*** tjones1 has quit IRC16:04
*** tjones1 has joined #openstack-horizon16:04
*** tjones1 has quit IRC16:05
*** tjones1 has joined #openstack-horizon16:05
*** tjones1 has quit IRC16:06
*** harlowja has joined #openstack-horizon16:06
*** MasterOfBugs has joined #openstack-horizon16:07
*** tjones1 has joined #openstack-horizon16:16
*** Jeffrey4l_ has quit IRC16:22
*** Jeffrey4l_ has joined #openstack-horizon16:22
*** Jeffrey4l_ has quit IRC16:30
*** Jeffrey4l_ has joined #openstack-horizon16:30
*** gfhellma has joined #openstack-horizon16:32
*** Jeffrey4l_ has quit IRC16:32
*** Jeffrey4l_ has joined #openstack-horizon16:32
*** chlong has quit IRC16:45
*** chlong has joined #openstack-horizon16:52
tjones1i have a customer who wants to completly remove panels/tabs based on the users role.   for example, if the user is not admin they should not even see the create image button on the images tab.  is there a way to handle this cleanly?16:55
david-lyletjones1 editing the policy files in openstack_dashboard/conf is the best way to do that17:00
david-lyleall of the panels and actions make a policy check, so it's a matter of adjusting the rules in the policy files to meet the desired results17:01
tjones1david-lyle: awesome.  i'll play with that.  i thought it just caused the api to return an error - not actually removed anything17:01
david-lyletjones1, the horizon copy of the policy files17:04
david-lylenot the services' copies17:04
tjones1yep - very cool.  thanks17:04
guglr1chardj0n3s, thanks...will try again.17:05
tjones1david-lyle: so i changed the glance_policy.json file to have "add_image": "rule:admin", and i bounced apache2.  when i login as a non-admin account i still have the Create Image button on the images panel.  is that what you would expect?17:11
david-lyletjones1, no17:12
tjones1this is mitaka btw17:12
david-lylethe button should not be there17:12
david-lyletjones1, that should be either "role:admin" or "rule:context_is_admin"17:15
tjones1ok i'll try that17:15
david-lyle"rule:admin" will not resolve and thus will pass17:15
tjones1haha17:15
tjones1by bad17:15
tjones1perfect!!  thanks so much david-lyle17:17
david-lyletjones1, anytime17:18
*** tjones1 has quit IRC17:18
*** gfhellma has quit IRC17:23
*** gfhellma has joined #openstack-horizon17:23
openstackgerritMerged openstack/horizon master: New input field with validation: MACAddressField  https://review.openstack.org/44702817:30
*** mtanino has quit IRC17:33
tjonesso it seems like for consistency when an operator deploys openstack they should copy their /etc/<service>/policy.json to openstack-dashboard/conf/<service>_policy.json  is that correct?17:39
*** mvk has quit IRC17:39
david-lyletjones, that is the desired practice17:46
*** MasterOfBugs has quit IRC17:49
*** pbandark has quit IRC17:49
tjonesgreat17:49
david-lyleand if you wanted change the behavior for the API's directly and CLI, then you would want to change the server copy and then copy that to horizon17:50
tjonesmakes sense17:50
david-lylesome operators just want to alter horizon behavior, so it varies17:51
*** tjones1 has joined #openstack-horizon17:56
*** tjones has quit IRC17:56
*** mvk has joined #openstack-horizon18:08
*** gfhellma has quit IRC18:10
*** mtanino has joined #openstack-horizon18:12
*** gfhellma has joined #openstack-horizon18:17
*** mgould is now known as mgould|afk18:18
*** MasterOfBugs has joined #openstack-horizon18:23
*** tosky has quit IRC18:37
*** harlowja has quit IRC18:59
*** harlowja has joined #openstack-horizon19:00
*** harlowja has quit IRC19:01
*** edtubill has joined #openstack-horizon19:04
*** amoralej is now known as amoralej|off19:06
*** princenana has quit IRC19:40
*** princenana has joined #openstack-horizon19:41
*** princenana has quit IRC19:43
*** harlowja has joined #openstack-horizon19:45
*** princenana has joined #openstack-horizon19:47
*** zackf has joined #openstack-horizon20:03
*** gfhellma has quit IRC20:05
*** jlopezgu has joined #openstack-horizon20:12
*** zackf has quit IRC20:14
*** tesseract has quit IRC20:17
*** vishwanathj has quit IRC20:18
*** harlowja has quit IRC20:18
*** vishwanathj has joined #openstack-horizon20:18
*** zackf has joined #openstack-horizon20:23
openstackgerritAkihiro Motoki proposed openstack/horizon master: Remove all remaining vendor specific code  https://review.openstack.org/44503020:23
*** zackf has quit IRC20:27
*** adriant has joined #openstack-horizon20:50
*** lblanchard has quit IRC20:53
*** tjones has joined #openstack-horizon21:08
*** chlong has quit IRC21:08
*** jtriley has quit IRC21:12
r1chardj0n3so/21:12
*** tjones has quit IRC21:18
*** tjones has joined #openstack-horizon21:18
*** jprovazn has quit IRC21:23
*** harlowja has joined #openstack-horizon21:33
*** Jeffrey4l_ has quit IRC21:34
*** edtubill has quit IRC21:36
*** Guest73793 has quit IRC21:38
*** pumaranikar has quit IRC21:38
*** mpotdar has quit IRC21:38
openstackgerritAkihiro Motoki proposed openstack/horizon master: operation_log: Honor settings parameters  https://review.openstack.org/44879821:46
openstackgerritAkihiro Motoki proposed openstack/horizon master: operation_log: Log mask_fields only when exists in request  https://review.openstack.org/44879921:47
*** pcaruana has quit IRC21:47
*** princenana has quit IRC21:48
*** Jeffrey4l_ has joined #openstack-horizon21:48
*** tjones has quit IRC21:49
*** Jeffrey4l_ has quit IRC21:50
*** Jeffrey4l_ has joined #openstack-horizon21:50
*** david-lyle has quit IRC21:52
*** john51 has quit IRC21:54
*** john51 has joined #openstack-horizon21:55
*** john51 has quit IRC21:57
*** princenana has joined #openstack-horizon21:58
*** john51 has joined #openstack-horizon22:00
*** mrunge has quit IRC22:04
*** mrunge has joined #openstack-horizon22:07
*** david-lyle has joined #openstack-horizon22:15
*** ChanServ sets mode: +o david-lyle22:15
*** eandersson has quit IRC22:51
*** Guest54182 is now known as honza23:01
*** catintheroof has quit IRC23:01
*** eandersson has joined #openstack-horizon23:15
*** mtanino has quit IRC23:37
*** mnaser has quit IRC23:56
*** mnaser has joined #openstack-horizon23:57

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