Friday, 2016-07-22

*** davidjd-gh has joined #openstack-security00:00
*** davidjd-gh has left #openstack-security00:00
*** JAHoagie has quit IRC00:10
*** jamielennox is now known as jamielennox|away00:14
*** sdake has quit IRC00:47
*** jerrygb has joined #openstack-security00:57
*** jerrygb has quit IRC01:02
*** dave-mccowan has joined #openstack-security01:16
*** davidjd-gh has joined #openstack-security01:20
*** davidjd-gh has left #openstack-security01:20
*** salv-orlando has joined #openstack-security01:29
openstackgerritOpenStack Proposal Bot proposed openstack/security-doc: Updated from openstack-manuals  https://review.openstack.org/34572501:38
*** salv-orlando has quit IRC01:46
*** markvoelker has joined #openstack-security01:49
openstackgerritOpenStack Proposal Bot proposed openstack/security-doc: Updated from openstack-manuals  https://review.openstack.org/34572502:01
*** davidjd-gh1 has joined #openstack-security02:18
*** davidjd-gh1 has left #openstack-security02:19
openstackgerritzhangyanxian proposed openstack/anchor: Fix some spelling mistakes  https://review.openstack.org/34573602:41
openstackgerritzhangyanxian proposed openstack/anchor: Fix some spelling mistakes  https://review.openstack.org/34573602:44
*** tmcpeak has quit IRC02:44
*** jerrygb has joined #openstack-security02:50
*** tmcpeak has joined #openstack-security02:54
*** elo has quit IRC03:01
*** davidjd-gh has joined #openstack-security03:06
*** davidjd-gh has left #openstack-security03:06
*** jerrygb has quit IRC03:19
*** yuanying has quit IRC03:21
*** salv-orlando has joined #openstack-security03:22
*** salv-orlando has quit IRC03:40
*** dave-mccowan has quit IRC03:48
*** markvoelker has quit IRC03:49
*** yuanying has joined #openstack-security03:50
*** tmcpeak has quit IRC03:55
openstackgerritMerged openstack/security-doc: Updated from openstack-manuals  https://review.openstack.org/34572504:01
openstackgerritOpenStack Proposal Bot proposed openstack/syntribos: Updated from global requirements  https://review.openstack.org/34576904:06
*** elo has joined #openstack-security04:07
*** elo has quit IRC04:09
*** elo has joined #openstack-security04:09
*** d0ugal has quit IRC04:34
*** d0ugal has joined #openstack-security04:36
*** salv-orl_ has joined #openstack-security04:42
*** markvoelker has joined #openstack-security04:50
*** markvoelker has quit IRC04:55
*** sdake has joined #openstack-security04:57
*** sdake_ has joined #openstack-security05:41
*** sdake has quit IRC05:43
*** nkinder has quit IRC05:49
*** markvoelker has joined #openstack-security05:51
*** markvoelker has quit IRC05:56
*** unrahul has joined #openstack-security05:57
*** tesseract- has joined #openstack-security06:45
*** markvoelker has joined #openstack-security06:52
*** markvoelker has quit IRC06:56
*** sdake has joined #openstack-security07:07
*** sdake_ has quit IRC07:07
*** salv-orl_ has quit IRC07:16
*** pcaruana has joined #openstack-security07:18
*** rcernin has joined #openstack-security07:20
*** d0ugal has quit IRC07:20
*** salv-orlando has joined #openstack-security07:28
*** d0ugal has joined #openstack-security07:52
*** jass93 has quit IRC08:11
*** jass93 has joined #openstack-security08:11
*** tsufiev has quit IRC08:11
*** yarkot1 has quit IRC08:11
*** openstackgerrit has quit IRC08:11
*** tsufiev has joined #openstack-security08:11
*** yarkot1 has joined #openstack-security08:14
*** openstackgerrit has joined #openstack-security08:14
*** sdake has quit IRC08:19
*** d0ugal has quit IRC08:30
*** jass93 has quit IRC08:45
openstackgerritMerged openstack/anchor: Fix some spelling mistakes  https://review.openstack.org/34573608:48
openstackgerritOpenStack Proposal Bot proposed openstack/security-doc: Updated from openstack-manuals  https://review.openstack.org/34592008:54
*** jass93 has joined #openstack-security09:00
*** bknudson has quit IRC09:01
openstackgerritMerged openstack/security-doc: Updated from openstack-manuals  https://review.openstack.org/34592009:07
*** d0ugal has joined #openstack-security09:22
*** redrobot has quit IRC09:37
*** redrobot has joined #openstack-security09:38
*** redrobot is now known as Guest1583209:38
*** unrahul has quit IRC09:42
*** salv-orlando has quit IRC09:49
*** salv-orlando has joined #openstack-security09:49
openstackgerritOpenStack Proposal Bot proposed openstack/anchor: Updated from global requirements  https://review.openstack.org/31434709:53
*** salv-orlando has quit IRC09:54
*** eric_lopez has joined #openstack-security10:17
*** elo has quit IRC10:20
*** divyakkonoor has joined #openstack-security10:40
*** d0ugal has quit IRC10:54
*** salv-orlando has joined #openstack-security11:07
*** jkf has joined #openstack-security12:15
*** markvoelker has joined #openstack-security12:27
*** yeison has joined #openstack-security12:43
*** yeison has left #openstack-security12:43
*** d0ugal has joined #openstack-security12:48
*** dave-mccowan has joined #openstack-security12:51
*** salv-orlando has quit IRC12:53
*** edmondsw has joined #openstack-security12:54
*** _elmiko is now known as elmiko13:00
*** krotscheck is now known as lolscheck13:12
*** cleong has joined #openstack-security13:15
*** tmcpeak has joined #openstack-security13:20
*** JAHoagie has joined #openstack-security13:28
*** lolscheck is now known as krotscheck13:31
*** d0ugal has quit IRC13:33
*** davidjd-gh has joined #openstack-security13:52
*** davidjd-gh has left #openstack-security13:53
*** mvaldes has joined #openstack-security14:01
*** salv-orlando has joined #openstack-security14:01
*** davidjd-gh has joined #openstack-security14:16
*** davidjd-gh has left #openstack-security14:17
*** JAHoagie has quit IRC14:19
*** deblike has joined #openstack-security14:29
*** unrahul has joined #openstack-security14:33
*** mvaldes1 has joined #openstack-security14:34
*** mvaldes1 has quit IRC14:34
*** mvaldes1 has joined #openstack-security14:34
*** mvaldes1 has quit IRC14:34
*** mvaldes1 has joined #openstack-security14:35
*** mvaldes has quit IRC14:36
*** mvaldes1 has quit IRC14:37
openstackgerritOpenStack Proposal Bot proposed openstack/security-doc: Updated from openstack-manuals  https://review.openstack.org/34606314:38
*** divyakkonoor has quit IRC14:38
*** mvaldes has joined #openstack-security14:39
*** vinaypotluri has joined #openstack-security14:47
*** bknudson has joined #openstack-security14:49
*** nkinder has joined #openstack-security14:51
*** JAHoagie has joined #openstack-security14:51
*** JAHoagie has quit IRC14:58
*** davidjd-gh has joined #openstack-security15:03
*** davidjd-gh has left #openstack-security15:03
*** tesseract- has quit IRC15:09
openstackgerritMerged openstack/security-doc: Updated from openstack-manuals  https://review.openstack.org/34606315:10
*** rcernin has quit IRC15:24
*** vinaypotluri has quit IRC15:39
*** tmcpeak has quit IRC15:39
*** amit213 has quit IRC15:39
*** tristanC has quit IRC15:39
*** gmurphy has quit IRC15:39
*** krotscheck has quit IRC15:39
*** mvaldes has quit IRC15:42
*** mvaldes has joined #openstack-security15:42
*** michaelxin has joined #openstack-security15:44
*** krotscheck has joined #openstack-security15:47
*** tristanC has joined #openstack-security15:47
*** gmurphy has joined #openstack-security15:47
*** woodburn has joined #openstack-security15:47
*** amit213 has joined #openstack-security15:48
*** vinaypotluri has joined #openstack-security15:48
*** pcaruana has quit IRC15:49
*** tmcpeak has joined #openstack-security15:49
*** JAHoagie has joined #openstack-security15:50
*** aastha has joined #openstack-security15:52
*** mdong has joined #openstack-security15:52
*** eric_lopez has quit IRC16:11
*** eric_lopez has joined #openstack-security16:11
*** jamielennox|away is now known as jamielennox16:16
vinaypotlurirahulunair ccneill mdong  when i running the SQL test i get this error16:28
vinaypotlurihttps://www.irccloud.com/pastebin/3Kwnn6JL/16:28
*** ccneill has joined #openstack-security16:29
vinaypotlurihttps://www.irccloud.com/pastebin/S8LL693t/16:30
unrahulhey vinaypotluri:  off the top, could you check the string_check CR to see if the slug variable is degined?16:30
ccneillvinaypotluri: sorry, just got on IRC. got a link for that error message?16:30
ccneillnice16:30
unrahuldefined*16:30
vinaypotluriccneill https://www.irccloud.com/pastebin/3Kwnn6JL/16:30
ccneillhmm16:31
ccneillso for the first one, I think I suggested that [0] hack, but I just realized that because that's getting called every time, the "FAILURE_STRINGS_PRESENT" slug won't always be there16:31
ccneillwell... hmm.16:32
ccneilldo you have the latest version in gerrit?16:32
vinaypotlurirahulunair yes it has slug defined16:32
vinaypotlurihttps://www.irccloud.com/pastebin/DB4FlWKj/16:32
vinaypotluriccneill yes. I rebased with master16:33
ccneillhmm, so you'll want to check that data["failure_strings"] has any contents before returning a signal16:33
ccneillnot sure why it's erroring on the slug? O_o16:34
ccneillthat's strange16:34
vinaypotluricool16:34
ccneillhave you done a pip install since making your changes?16:34
vinaypotlurilet me try that16:34
ccneillpip install --upgrade .16:34
vinaypotluriyes16:34
vinaypotluriyes ccneill16:34
ccneillhmm.. very strange16:34
vinaypotluriwill check if its returning something and let you know16:35
vinaypotlurihttps://www.irccloud.com/pastebin/e8Ph1XBu/16:39
vinaypotluriccneill  i tried print data["failure_strings"] and it returns an empty list16:39
ccneillvinaypotluri: looks like you need to change "slug" to "slugs" in the find() call16:53
ccneillhttps://github.com/openstack/syntribos/blob/master/syntribos/signal.py#L10416:53
*** user154752 has joined #openstack-security16:55
*** user154752 has left #openstack-security16:55
ccneilldepending on what you're testing against, you probably shouldn't see any failure strings, so it shouldn't return a signal at all16:57
*** davidjd-gh has joined #openstack-security17:04
vinaypotluriccneil: i just left it default as "slugs" in signal.py but not sure why its throwing the error17:04
*** davidjd-gh has left #openstack-security17:04
vinaypotlurisince its an empty list then i think i can ignore it17:04
*** mvaldes has quit IRC17:22
ccneillvinaypotluri: can you upload the latest version to gerrit? being able to download the whole patch and test it locally will help me see what's going on17:23
*** davidjd-gh has joined #openstack-security17:23
*** davidjd-gh has left #openstack-security17:23
*** salv-orlando has quit IRC17:23
*** sdake has joined #openstack-security17:26
*** mvaldes has joined #openstack-security17:37
*** mdong has quit IRC17:44
openstackgerritVinay Potluri proposed openstack/syntribos: Added string presence check  https://review.openstack.org/34448917:46
vinaypotluriHi ccneil i just uploaded my patch https://review.openstack.org/34448917:46
mvaldesccneill:  you around?17:58
ccneillsi17:59
ccneillvinaypotluri: if you hit "tab" after typing "cc" it will fill in my name for ya so you don't have to type it out, and I'll hear a notification17:59
mvaldeswell… question for anyone about syntribos17:59
mvaldesi have an extension18:00
mvaldesit queries an API for an object. gets the response, pulls out the object id18:00
mvaldesi can use this extension to populate the path without any issue18:00
mvaldes(id seems to be returned as  unicode type)18:01
mvaldesbut if i try to place the id in the request body, http client parser18:01
vinaypotluriccneill: +1  :D18:02
mvaldesraises Unknown Data Format exception18:02
ccneillo_O18:02
mvaldespresumably, because the json is somehow not valid18:02
ccneillwould you mind sending me a gist of the stacktrace? you can PM it to me18:03
*** zul_ has quit IRC18:06
*** zul has joined #openstack-security18:09
ccneillheating up some lunch, brb18:13
*** can8dnSix has joined #openstack-security18:23
*** zul has quit IRC18:44
*** sdake has quit IRC18:47
*** salv-orlando has joined #openstack-security18:49
*** salv-orl_ has joined #openstack-security18:50
*** salv-orlando has quit IRC18:51
*** salv-orlando has joined #openstack-security18:54
*** salv-orl_ has quit IRC18:55
*** zul has joined #openstack-security19:18
openstackgerritVinay Potluri proposed openstack/syntribos: Added string presence check  https://review.openstack.org/34448919:19
*** dave-mccowan has quit IRC19:25
*** salv-orlando has quit IRC19:28
*** davidjd-gh has joined #openstack-security19:34
openstackgerritRahul U Nair proposed openstack/syntribos: Adding request/response content compression  https://review.openstack.org/34499919:34
*** davidjd-gh has left #openstack-security19:34
*** davidjd-gh has joined #openstack-security19:40
*** davidjd-gh has left #openstack-security19:40
openstackgerritMerged openstack/syntribos: Updated from global requirements  https://review.openstack.org/34576919:40
*** mdong has joined #openstack-security19:41
*** sdake has joined #openstack-security19:53
mvaldesvinaypotluri: do you know what this error means20:01
mvaldesNo handlers could be found for logger "syntribos.config"20:01
unrahulmvaldes:20:01
unrahulyup20:01
unrahulthe conifig file20:01
unrahulhas to have a log_dir="..path.."20:01
unrahulhttps://www.irccloud.com/pastebin/BLMyjpt1/20:02
mvaldeslog_dir=/Users/xxx/.syntribos/logs20:02
unrahulyup.. is it there.. ?20:02
mvaldesyes.. does the path need quotes?20:03
unrahulnop20:03
unrahulno quotes20:03
unrahulmy config is like https://gist.github.com/rahulunair/4066fc3212d6769d05cb389dc2fdd5c020:04
mvaldeshm20:06
ccneillmvaldes: what file is that coming from?20:07
mvaldes~/.syntribos/syntribos.config20:07
unrahulmvaldes: and the command line is syntribos --config-file ~/.syntrbos/syntribos.config ??20:09
ccneillmvaldes: sorry, meant what file is that "no handlers found" error coming from?20:09
*** salv-orlando has joined #openstack-security20:09
mvaldes$ syntribos --test-types XSS20:10
mvaldesNo handlers could be found for logger "syntribos.config"20:10
unrahulnop20:10
unrahulmvaldes ccneill we need to give syntribos --config-file <config file path>20:10
unrahulryt?20:10
ccneillso.. this is super hacky, but for the moment this gets passed in as an override20:11
ccneillhttps://github.com/openstack/syntribos/blob/master/syntribos/runner.py#L13220:12
ccneillhttps://github.com/openstack/syntribos/blob/master/syntribos/runner.py#L11420:12
ccneillso if you put it there, you don't have to specify it20:12
ccneillwe need to fix the config file loading scheme though20:12
ccneilland describe it in docs/helpstrings20:12
mvaldesit works how unrahul says20:12
unrahuloh.. :D.. even i didn know that  need to do somethign about it..20:13
unrahulcool mvaldes  +120:13
mvaldesbut i thought ccneill said otherwise20:13
mvaldesalthough, the config file is ok, now i have an error with CAFE_CONFIG_FILE_PATH20:13
mvaldesoh wait20:13
mvaldeshm20:13
unrahulyeah.. the code is there.. and it should also..work like what ccneill  says..20:14
unrahuldoes the extensions u have use.. cafe..?20:14
unrahulfor models..?20:14
mvaldeshaha20:14
mvaldesprobaby :(20:14
mvaldesthe identity extension?20:14
ccneillmdong got rid of the cafe dependencies there I believe20:14
unrahuloh.. yeah!.. the vapi extenstions.. use cafe.. i havent changed it yet.. :D20:14
ccneillhave you done a pip uninstall syntribos && pip install --upgrade . ?20:14
*** davidjd-gh has joined #openstack-security20:14
*** davidjd-gh has left #openstack-security20:15
ccneilldo you have your code on github somewhere? I can take a look20:15
*** cleong has quit IRC20:16
mvaldesum, this is an install from git20:16
mvaldesi didnt uninstall20:17
mvaldesjust pull and pip install —upgrade.20:17
ccneillhrm.. that should do it..20:18
ccneilltry "git log origin/master..HEAD"20:19
mvaldesno output20:20
ccneillhmm, as it should be..20:20
mvaldesi can try the uninstall20:20
ccneill<_>20:20
ccneillyeah try that20:20
ccneillmay be old .pyc files or something20:20
mvaldesbut i should move my extensions?20:20
ccneillahh that's right you have an extension in there..20:22
ccneilldo pip uninstall syntribos && pip install -e .20:22
ccneillthat'll install it as a development package20:22
ccneillso that the files in that dir are the ones that it references20:22
ccneilland you don't have to do a pip install --upgrade every time to see the differences when you edit the code20:22
ccneilldo you have your extension on a separate branch?20:23
mvaldesno20:24
mvaldesi just copied them in and upgrade20:24
*** davidjd-gh has joined #openstack-security20:34
*** davidjd-gh has left #openstack-security20:34
openstackgerritRahul U Nair proposed openstack/syntribos: Adding unique_id to tests  https://review.openstack.org/34528620:35
unrahulthat should work.. the mvaldes ... the only reason it shouldnt if the data models still depends upon on CAFE.. :/20:36
unrahulthen*20:36
unrahulccneill:  I have opted to print the test_id and name in results log as well .. so as we had talked that day, there would be a dependency between results log and debug.. (Even though the results logs just have dots :/)20:37
unrahulccneill: what do you think of a progress bar for each test.. in the results log?20:41
*** dave-mccowan has joined #openstack-security20:41
*** jkf has quit IRC20:43
*** jkf has joined #openstack-security20:44
*** jkf has joined #openstack-security20:45
ccneillunrahul: not sure I understand?20:57
ccneillwhat kind of progress bar?20:57
mvaldesunrahul:  you're correct. ccneill helped me redo the extension to use oslo config instead of cafe20:57
unrahulgreat mvaldes !..20:58
ccneillalso, do you mean you're outputting it in the CLI output, or in the JSON / formatted output20:59
unrahulccneill:  for Test ids in the new CR I am printing in the CLI output and debug log as well..20:59
unrahulmdong  are doing the json conversion of the debug log..? if not.. I could start on it.. and add it to my test_id CR..21:01
*** tmcpeak has quit IRC21:01
ccneillyeah, that might work. maybe we only print it if the test failed? Iono, I'll have to see it21:01
mdongnah I can take the json conversion unrahul, don’t worry about it21:02
unrahulyup.. mdong  + 1..21:02
unrahulccneill:  mdong so my other question was instead of the dots.. that are now printed to the CLI, what do u think of printing a progress. bar effectively the same thing, but might look a bit better..21:03
unrahulwhen running the tests(21:04
ccneillI think it would be more useful than what we've got21:04
unrahulokay cool, I will start working on that..21:05
*** tmcpeak has joined #openstack-security21:06
mvaldesmdong:21:15
mvaldesin extensions/identity/client.py21:16
mvaldesactually21:16
mvaldeswell… in the syntribos config file, the auth endpoint is specified in the [auth] section21:17
mvaldesbut it looks like the identity extension looks for it in the [user] section21:17
mvaldesand there is no auth group21:18
mvaldesis that intended?21:18
openstackgerritRahul U Nair proposed openstack/syntribos: Adding unique_id to tests  https://review.openstack.org/34528621:20
*** yeison has joined #openstack-security21:21
*** yeison has quit IRC21:21
*** dave-mccowan has quit IRC21:26
ccneillit should be in "user" https://github.com/openstack/syntribos/blob/master/syntribos/config.py#L19721:28
ccneillmvaldes: ^21:28
mvaldesyes, but21:30
mvaldeshttps://github.com/openstack/syntribos/blob/master/examples/configs/keystone.config#L34-L4021:30
*** bknudson has left #openstack-security21:35
mvaldesthe auth endpoint was in the auth section.21:38
mvaldesif we arent using that anymore, we can remove it from the example config file21:39
*** user154752 has joined #openstack-security21:44
*** jamielennox is now known as jamielennox|away21:45
*** mvaldes has quit IRC21:49
ccneilloof. yeah, we need to update the example config21:59
*** deblike has quit IRC22:00
*** edmondsw has quit IRC22:00
*** elmiko is now known as _elmiko22:06
*** davidjd-gh1 has joined #openstack-security22:36
*** davidjd-gh1 has left #openstack-security22:37
*** edaught_ has joined #openstack-security22:44
*** edaught has quit IRC22:47
*** mdong has quit IRC22:51
*** edaught__ has joined #openstack-security22:53
*** edaught_ has quit IRC22:57
*** davidjd-gh has joined #openstack-security23:06
*** davidjd-gh has left #openstack-security23:06
*** jkf has left #openstack-security23:08
*** tmcpeak has quit IRC23:15

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