Friday, 2012-11-09

*** vipul|away is now known as vipul00:02
aratalifeless: well, maybe OK. but I need check other members' opinions.00:03
aratalifeless: We will answer to you soon...00:04
vishyotherwiseguy: wow the output of the test is really interesting00:05
vishyotherwiseguy: it looks like wait isn't actually waiting00:05
vishyotherwiseguy: in the third case the returned value comes back before the error message00:06
*** lloydde has quit IRC00:06
otherwiseguyvishy: indeed.00:06
*** torandu has quit IRC00:06
vishyotherwiseguy: putting a time.sleep(0.1) between the Popen and teh wait fixes it00:07
openstackgerritA change was merged to openstack/swift: use Host: for location rewrites  https://review.openstack.org/1568100:09
*** sniperd has quit IRC00:10
*** gongysh has joined #openstack-dev00:10
otherwiseguyvishy: and using eventlet.green's subprocess00:10
* otherwiseguy glares at eventlet00:10
russellbmonkey_patch() doesn't make it do that already?00:11
russellb(use eventlet's subprocess)00:11
*** jimfehlig has joined #openstack-dev00:11
networkstaticsubprocess.Popen00:11
*** reed has quit IRC00:11
networkstaticx.wait() is win00:11
lifelessarata: thanks00:11
*** sniperd has joined #openstack-dev00:11
*** jcru|away is now known as jcru00:12
*** samkottler|food is now known as samkottler00:13
*** alexpilotti has quit IRC00:13
lifelessarata: I will put a patch together that documents how it might all work, and as much other stuff as happens to fit, and make a pull request, for you to assess.00:14
*** alexpilotti has joined #openstack-dev00:14
otherwiseguyrussellb: looks like monkey_patch just does specific modules, of which subprocess is not one00:15
* otherwiseguy is not an eventlet guru00:15
*** s0mik has joined #openstack-dev00:16
*** Sparks has quit IRC00:16
*** alexpilotti has quit IRC00:19
vishyotherwiseguy: got a fix00:19
vishyotherwiseguy: need to verify that it is correct00:19
*** maurosr has quit IRC00:20
otherwiseguyvishy: woot00:20
*** sunilthaha has joined #openstack-dev00:21
vishyotherwiseguy: so somehow waitpid is being called before the process has actually been created00:22
vishyotherwiseguy: so I have a hacky workaround looking for the right one00:23
lifelessvishy: whaaaat? Don't you need the pid for that ?00:23
lifelessvishy: or do you mean 'before the child has called exec()' ?00:23
dansmithlifeless: you can waitpid(-1) right?00:24
*** lloydde has joined #openstack-dev00:25
lifelessdansmith: thats a bad idea though, because you find out about any child00:26
*** jcru has quit IRC00:26
*** arosen has joined #openstack-dev00:26
*** jakedahn is now known as jakedahn_zz00:26
dansmithlifeless: well, depends on what you're aiming for :)00:26
lifelessdansmith: unless the code structure is ready to deal with that (e.g. has some way of calling back to the right handler for an arbitrary exited child)00:26
dansmithlifeless: well, you get the pid back of the exited child...00:27
lifelessyou do00:27
dansmithI'm just saying, lots of things waitpid(-1) ;)00:28
*** markmcclain has joined #openstack-dev00:28
dansmithI wasn't paying attention to the previous conversation though, so I should shut up :)00:28
vishyotherwiseguy: actually i think my fix is correct00:29
otherwiseguyvishy: then I shall say woot again.00:30
vishyotherwiseguy: fix is easy, I will get a diff00:30
otherwiseguyk00:30
*** winston-d has joined #openstack-dev00:31
*** maxiz has joined #openstack-dev00:33
*** s0mik has quit IRC00:36
*** alunduil has joined #openstack-dev00:37
vishyotherwiseguy: http://paste.openstack.org/show/25138/00:38
*** dims has quit IRC00:39
*** lloydde has quit IRC00:40
vishyotherwiseguy: here is the issue: https://bitbucket.org/which_linden/eventlet/issue/92/eventletgreen-override-of-oswaitpid00:40
*** sniperd has quit IRC00:40
otherwiseguyvishy: huh. that's been open quite a while.00:42
*** samkottler is now known as samkottler|out00:43
*** torandu has joined #openstack-dev00:43
*** tgall_foo has joined #openstack-dev00:44
*** patelna has quit IRC00:45
*** metral has quit IRC00:45
*** metral has joined #openstack-dev00:45
*** s0mik has joined #openstack-dev00:45
vishyjerdfelt: ping any thoughts on testing https://bitbucket.org/which_linden/eventlet/pull-request/24/fix-waitpid-returning-0-0/diff ?00:50
*** dims has joined #openstack-dev00:53
*** eglynn_ has joined #openstack-dev00:54
*** s0mik has quit IRC00:54
*** saurabhsurana_ has left #openstack-dev00:55
*** eglynn has quit IRC00:57
otherwiseguyvishy: I can verify that the issue with openssl zombies from quantum ( https://bugs.launchpad.net/quantum/+bug/1074257 ) goes away with the patch applied.00:57
uvirtbot`Launchpad bug 1074257 in quantum "quantum-server creates openssl zombies until process limit is reached" [Critical,In progress]00:57
vishyotherwiseguy: nifty00:57
otherwiseguyand now...dinner.00:58
*** FlaPer87 has quit IRC00:58
*** metral_ has joined #openstack-dev00:59
vishyjgriffith: real fix for eventlet issue: tests/greenio_test.py00:59
vishyjgriffith: err… https://bitbucket.org/which_linden/eventlet/pull-request/24/fix-waitpid-returning-0-0/diff00:59
*** s0mik has joined #openstack-dev01:00
*** colinmcnamara has joined #openstack-dev01:00
*** metral has quit IRC01:02
*** metral_ is now known as metral01:02
*** otherwiseguy has quit IRC01:05
*** colinmcnamara has quit IRC01:05
*** vipul is now known as vipul|away01:06
*** s0mik has joined #openstack-dev01:11
*** hemna_ has joined #openstack-dev01:12
*** juice has quit IRC01:13
*** tgall_foo has quit IRC01:13
*** hemna has quit IRC01:16
*** PaulM has left #openstack-dev01:17
*** sacharya has joined #openstack-dev01:19
*** epim has quit IRC01:22
*** sniperd has joined #openstack-dev01:24
*** vipul|away is now known as vipul01:30
*** jcmartin has quit IRC01:32
*** danwent has quit IRC01:32
*** danwent has joined #openstack-dev01:33
*** dims has quit IRC01:33
*** esp2 has left #openstack-dev01:33
*** adalbas has quit IRC01:35
openstackgerritA change was merged to openstack/keystone: Fix default port for identity.internalURL  https://review.openstack.org/1567801:38
openstackgerritA change was merged to openstack/horizon: Changed "Delete volume" success message text  https://review.openstack.org/1563301:38
openstackgerritA change was merged to openstack/horizon: When editing an image, correctly set the 'is_public' checkbox.  https://review.openstack.org/1564601:38
*** littleidea has quit IRC01:39
*** littleidea has joined #openstack-dev01:40
*** roge has quit IRC01:41
*** metral_ has joined #openstack-dev01:41
*** zaitcev has quit IRC01:42
*** dims has joined #openstack-dev01:42
*** nati_ueno has quit IRC01:44
*** metral has quit IRC01:45
*** metral_ is now known as metral01:45
*** nati_ueno has joined #openstack-dev01:45
*** maxiz has quit IRC01:49
*** lloydde has joined #openstack-dev01:50
*** thingee has quit IRC01:52
*** sacharya1 has joined #openstack-dev01:52
*** sacharya has quit IRC01:54
*** mrodden has joined #openstack-dev01:55
*** littleidea has quit IRC01:55
*** lloydde has quit IRC01:55
*** ZenFag has joined #openstack-dev01:56
*** metral_ has joined #openstack-dev01:56
*** arata has quit IRC01:57
*** ZenFag has quit IRC01:57
*** ZenFag has joined #openstack-dev01:58
*** metral has quit IRC01:59
*** metral_ is now known as metral01:59
*** ZenFag is now known as umadbro02:00
*** umadbro is now known as umad02:01
*** umad has quit IRC02:01
*** problem has joined #openstack-dev02:02
*** problem has left #openstack-dev02:02
*** Sparks has joined #openstack-dev02:06
*** pixelbeat has quit IRC02:06
*** jog0 has quit IRC02:08
*** littleidea has joined #openstack-dev02:09
*** nati_uen_ has quit IRC02:10
*** littleidea has left #openstack-dev02:10
*** roge has joined #openstack-dev02:11
*** gyee has quit IRC02:16
*** yidclare has joined #openstack-dev02:16
*** sniperd has quit IRC02:16
jgriffithvishy: yeah, saw your request on bit-bucket02:20
*** markmcclain has quit IRC02:21
*** epim has joined #openstack-dev02:25
*** epim_ has joined #openstack-dev02:25
*** Mandell has quit IRC02:26
*** crandquist has joined #openstack-dev02:26
openstackgerritA change was merged to openstack/keystone: Improve feedback on test failure  https://review.openstack.org/1567202:28
*** kobier has quit IRC02:28
*** epim has quit IRC02:29
*** epim_ is now known as epim02:29
*** Sparks has quit IRC02:31
*** stevebake has joined #openstack-dev02:34
*** danwent has quit IRC02:35
*** nati_ueno has quit IRC02:35
*** davidhadas has quit IRC02:40
*** SlickNik has quit IRC02:42
*** cp16net|away is now known as cp16net02:44
*** salv-orlando has quit IRC02:46
gongyshAkihiro Motoki?02:47
*** zbitter has joined #openstack-dev02:48
*** Gordonz has joined #openstack-dev02:49
*** matiu has joined #openstack-dev02:50
*** davidha has joined #openstack-dev02:51
*** zaneb has quit IRC02:52
openstackgerritA change was merged to openstack/nova: make diagnostics workable for libvirt with Xen  https://review.openstack.org/1566202:53
*** adjohn has quit IRC02:54
*** markmcclain has joined #openstack-dev02:55
*** s0mik has quit IRC02:55
*** s0mik has joined #openstack-dev02:56
*** mrodden has quit IRC02:56
*** mnewby has quit IRC02:58
*** Ruetobas has quit IRC02:58
gongyshzhong yue: ping02:59
openstackgerritA change was merged to openstack/python-keystoneclient: removing repeat attempt at authorization in client  https://review.openstack.org/1473002:59
*** sunilthaha has quit IRC02:59
*** novas0x2a|laptop has quit IRC03:00
*** spiffxp has quit IRC03:00
*** Ruetobas has joined #openstack-dev03:02
*** cp16net is now known as cp16net|away03:03
*** yidclare has quit IRC03:05
*** torandu has quit IRC03:07
*** sandywalsh has quit IRC03:12
*** anniec has quit IRC03:17
gongyshgaryk: ping03:19
*** metral_ has joined #openstack-dev03:20
*** metral has quit IRC03:22
*** metral_ is now known as metral03:22
*** metral_ has joined #openstack-dev03:24
*** metral has quit IRC03:28
*** metral_ is now known as metral03:28
*** lifeless has quit IRC03:29
*** maxiz has joined #openstack-dev03:32
*** jimfehlig has quit IRC03:33
*** sacharya has joined #openstack-dev03:38
*** zyluo has joined #openstack-dev03:39
*** sacharya1 has quit IRC03:39
*** ndipanov has quit IRC03:40
*** Gordonz has quit IRC03:41
*** mjfork has quit IRC03:47
*** ndipanov has joined #openstack-dev03:52
*** eglynn__ has joined #openstack-dev03:53
*** melwitt has quit IRC03:54
*** eglynn_ has quit IRC03:56
*** cp16net|away is now known as cp16net03:56
*** littleidea has joined #openstack-dev03:57
*** sunilthaha has joined #openstack-dev03:59
*** sacharya has quit IRC04:04
*** sacharya has joined #openstack-dev04:05
*** fungi has quit IRC04:07
*** dhellmann has joined #openstack-dev04:13
*** nati_ueno has joined #openstack-dev04:14
*** lifeless has joined #openstack-dev04:14
*** Mandell has joined #openstack-dev04:15
openstackgerritA change was merged to openstack/quantum: Fix openssl zombies  https://review.openstack.org/1564504:24
*** thingee has joined #openstack-dev04:25
*** sacharya1 has joined #openstack-dev04:25
*** nati_ueno_2 has joined #openstack-dev04:27
*** nati_ueno has quit IRC04:27
*** sacharya has quit IRC04:28
*** sacharya1 has quit IRC04:32
*** sacharya has joined #openstack-dev04:33
*** sacharya has quit IRC04:33
openstackgerritA change was merged to openstack/glance: Unit test remaining glance-replicator methods.  https://review.openstack.org/1554604:35
*** markwash has quit IRC04:49
*** aeperezt has quit IRC04:54
*** roge has quit IRC05:01
*** asalkeld has quit IRC05:13
*** littleidea has quit IRC05:17
*** markmcclain has quit IRC05:18
*** markwash has joined #openstack-dev05:25
*** adjohn has joined #openstack-dev05:30
*** tgall_foo has joined #openstack-dev05:36
*** spiffxp has joined #openstack-dev05:40
*** s0mik has quit IRC06:00
*** andrewbogott is now known as andrewbogott_afk06:01
*** mnewby has joined #openstack-dev06:03
*** fungi has joined #openstack-dev06:08
openstackgerritA change was merged to openstack/cinder: Scheduler API clean up and refactor  https://review.openstack.org/1413106:11
*** koolhead17 has joined #openstack-dev06:19
*** zyluo has quit IRC06:22
*** e1mer has quit IRC06:25
*** spiffxp has quit IRC06:25
*** lianhao has quit IRC06:27
*** tgall_foo has quit IRC06:28
*** tgall_foo has joined #openstack-dev06:29
*** e1mer has joined #openstack-dev06:31
*** colinmcnamara has joined #openstack-dev06:32
*** PaulM has joined #openstack-dev06:38
*** armaan has joined #openstack-dev06:38
*** asalkeld has joined #openstack-dev06:39
*** Mandell has quit IRC06:49
*** mrunge has joined #openstack-dev06:50
*** koolhead17 has quit IRC06:57
*** armaan has left #openstack-dev06:58
*** nati_ueno_2 has quit IRC06:58
*** e1mer has quit IRC07:01
*** rushiagr has joined #openstack-dev07:03
*** digantya has joined #openstack-dev07:06
*** afazekas has joined #openstack-dev07:06
*** thovden has joined #openstack-dev07:08
*** adjohn has quit IRC07:11
*** colinmcnamara has quit IRC07:14
*** reed has joined #openstack-dev07:16
*** Vek has quit IRC07:17
openstackgerritA change was merged to openstack/quantum: Clean up executable modules  https://review.openstack.org/1560907:28
openstackgerritA change was merged to openstack/quantum: Ensure that the anyjson version is correct.  https://review.openstack.org/1556007:29
*** thovden has quit IRC07:30
*** saurabh has joined #openstack-dev07:35
*** gongysh has quit IRC07:35
*** e1mer has joined #openstack-dev07:38
saurabhanyones got any idea how i'd run the quantum/tests/unit/test_extensions.py file? I want to use extensions for my plugin and feel that running the test_extensions.py is my only hope of understanding the flow07:38
*** markwash has quit IRC07:45
*** cmagina has quit IRC07:49
*** ndipanov has quit IRC07:49
*** e1mer has quit IRC07:52
*** Mandell has joined #openstack-dev07:53
*** reidrac has joined #openstack-dev07:55
*** e1mer has joined #openstack-dev07:58
*** mrunge has quit IRC08:00
*** nunosantos has quit IRC08:02
*** ndipanov has joined #openstack-dev08:02
*** FlaPer87 has joined #openstack-dev08:04
*** mrunge has joined #openstack-dev08:05
rushiagrjust run 'run_tests.sh test_extensions'08:05
*** ondergetekende has joined #openstack-dev08:09
*** jdurgin has quit IRC08:09
*** e1mer has quit IRC08:09
*** jdurgin has joined #openstack-dev08:11
*** e1mer has joined #openstack-dev08:13
*** mindpixel has joined #openstack-dev08:15
*** cmagina has joined #openstack-dev08:16
*** armaan has joined #openstack-dev08:17
*** jpich has joined #openstack-dev08:24
*** davidha has quit IRC08:28
digantyahi rushiagr:08:32
*** salv-orlando has joined #openstack-dev08:34
*** Mandell has quit IRC08:40
*** egallen has joined #openstack-dev08:41
*** yjiang5 has quit IRC08:46
*** yjiang5 has joined #openstack-dev08:49
*** PaulM has quit IRC08:54
*** PaulM has joined #openstack-dev08:55
rushiagrdigantya: hi08:55
*** winston-d has quit IRC08:56
digantyanow i am using ubuntu , can u tell me the procedure to setup and test the Nova  project  to fix bugs ?08:57
digantyarushiagr:   now i am using ubuntu , can u tell me the procedure to setup and test the Nova  project  to fix bugs ?08:58
*** maxiz has quit IRC09:05
*** aloga has quit IRC09:07
*** aloga has joined #openstack-dev09:09
*** PaulM has quit IRC09:09
*** pixelbeat has joined #openstack-dev09:11
*** Vek has joined #openstack-dev09:13
*** rafaduran has joined #openstack-dev09:14
*** PaulM has joined #openstack-dev09:14
digantyarushiagr:  may be busy now , can anyone tell me , the procedure to setup and test the Nova project on my local system ?09:15
*** s0mik has joined #openstack-dev09:18
janisgdigantya, try devstack09:18
*** egallen has quit IRC09:19
*** egallen has joined #openstack-dev09:24
*** egallen has quit IRC09:25
*** egallen has joined #openstack-dev09:26
*** egallen has left #openstack-dev09:27
*** derekh has joined #openstack-dev09:27
*** s0mik has quit IRC09:31
*** ociuhandu has quit IRC09:31
*** darraghb has joined #openstack-dev09:33
*** thingee has quit IRC09:34
*** s0mik has joined #openstack-dev09:35
*** rushiagr1 has joined #openstack-dev09:36
*** e1mer has quit IRC09:36
*** thingee has joined #openstack-dev09:37
*** s0mik has quit IRC09:37
rushiagr1digantya: try devstack is what i too will say, it is very simple to setup09:38
*** mmagr has joined #openstack-dev09:38
*** rushiagr has quit IRC09:39
digantyaactually i builded the nova code successfully  and then  ?09:40
*** Tross has joined #openstack-dev09:41
*** brucer is now known as brucer_out09:47
*** brucer_out has quit IRC09:49
*** gongysh has joined #openstack-dev09:52
*** Dorogs has joined #openstack-dev09:54
*** rha has quit IRC09:57
*** rha has joined #openstack-dev10:00
*** rha has quit IRC10:00
*** rha has joined #openstack-dev10:00
*** FlaPer87 has quit IRC10:03
saurabhwhen i try to run test_extensions .py i get an error .. any ideas?10:04
saurabhmachine131:~/devstack$ python /opt/stack/quantum/run_tests.py test_extensions nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$'] Failure     Failure: ImportError (No module named webtest)              ERROR  ====================================================================== ERROR: Failure: ImportError (No module named webtest) ---------------------------------------------------------------------- Tra10:05
*** e1mer has joined #openstack-dev10:05
*** Tross has quit IRC10:09
*** arata has joined #openstack-dev10:13
*** alexpilotti has joined #openstack-dev10:17
*** zing has joined #openstack-dev10:20
*** s0mik has joined #openstack-dev10:22
*** armaan has left #openstack-dev10:25
*** aloga has quit IRC10:26
openstackgerritA change was merged to openstack/quantum: Clean up quantum.api.v2.validators  https://review.openstack.org/1570610:27
*** s0mik has quit IRC10:33
*** aloga has joined #openstack-dev10:34
*** aloga has joined #openstack-dev10:34
*** eglynn__ is now known as eglynn10:38
*** ociuhandu has joined #openstack-dev10:48
*** maurosr has joined #openstack-dev10:52
*** ociuhandu has quit IRC10:52
*** mjfork has joined #openstack-dev10:53
rushiagr1digantya: what exactly you did to build the nova code?10:54
digantyapython setup.py install10:54
rushiagr1saurabh: the test files are not supposed to be run that way. go to openstack docs/quantum docs10:55
*** brucer has joined #openstack-dev10:55
rushiagr1digantya: check out the code from github, then go to the nova folder and then execute './run_tests.sh' as root user. when you see no virtual environment found, ask it to create one10:56
digantyaok after that  ?10:57
digantyanosetest command not found10:58
rushiagr1digantya: i am sorry, i give you instructions for running tests. you want a working openstack environment right?10:58
digantyayeah10:58
digantyarushiagr1:   my goal is to fix bug in nova11:06
gongyshsalvator: pping11:06
gongyshsalv-orlando: ping11:07
*** sniperd has joined #openstack-dev11:12
*** ociuhandu has joined #openstack-dev11:18
*** sniperd has quit IRC11:19
*** sniperd has joined #openstack-dev11:19
*** ociuhandu has quit IRC11:20
*** sniperd has quit IRC11:24
*** adalbas has joined #openstack-dev11:25
*** Dorogs has quit IRC11:31
*** rushiagr1 has left #openstack-dev11:35
*** \etc\bin has joined #openstack-dev11:48
*** e1mer has quit IRC11:48
*** zing has quit IRC11:52
*** Dorogs has joined #openstack-dev11:52
gongyshgaryk: ping11:54
*** marcus_ has joined #openstack-dev11:56
digantyahi  is there anyone  can tell me  the procedure to setup and test the  nova project  on my local machine , that i have downloaded from Github ?11:59
*** mnewby_ has joined #openstack-dev12:00
*** mnewby has quit IRC12:01
*** mnewby_ is now known as mnewby12:01
marcus_digantya: Have look at the documentation websie, that is at least a starting point http://docs.openstack.org/developer/nova/devref/development.environment.html12:11
digantyathanks marcus_   i am looking at it12:12
*** sagar_nikam has joined #openstack-dev12:24
*** mindpixel has quit IRC12:29
*** roge has joined #openstack-dev12:32
*** aloga has quit IRC12:38
*** littleidea has joined #openstack-dev12:42
*** markvoelker has joined #openstack-dev12:43
*** roadTripper has joined #openstack-dev12:44
*** davidha has joined #openstack-dev12:47
*** Sparks has joined #openstack-dev12:47
*** johngarbutt has quit IRC12:49
*** aloga has joined #openstack-dev12:51
*** anniec72 has joined #openstack-dev12:54
*** littleidea has quit IRC12:56
*** afazekas has quit IRC12:56
*** Dorogs has quit IRC12:58
*** mrodden has joined #openstack-dev12:58
*** markmc has joined #openstack-dev12:59
*** ociuhandu has joined #openstack-dev12:59
*** dolphm has joined #openstack-dev13:02
*** dolphm has quit IRC13:03
*** mrodden has quit IRC13:05
*** roge has quit IRC13:06
*** mrodden has joined #openstack-dev13:07
*** dolphm has joined #openstack-dev13:08
*** alunduil has quit IRC13:14
*** sagar_nikam has quit IRC13:16
*** jaypipes has joined #openstack-dev13:17
*** Dorogs has joined #openstack-dev13:18
*** sunilthaha has quit IRC13:22
*** arbrandes has joined #openstack-dev13:29
*** kgriffs has joined #openstack-dev13:30
*** radez_g0n3 is now known as radez13:31
*** Dr_Who has joined #openstack-dev13:35
*** Dr_Who has quit IRC13:35
*** Dr_Who has joined #openstack-dev13:35
*** aloga has quit IRC13:36
*** dolphm has quit IRC13:37
*** samkottler|out is now known as samkottler13:38
*** blamar has quit IRC13:41
*** samkottler is now known as samkottler|brb13:41
*** dolphm has joined #openstack-dev13:44
*** EmilienM has left #openstack-dev13:47
*** arata has quit IRC13:48
*** littleidea has joined #openstack-dev13:48
*** EmilienM has joined #openstack-dev13:48
*** corXi has joined #openstack-dev13:50
*** aloga has joined #openstack-dev13:51
*** dprince has joined #openstack-dev13:51
*** winston-d has joined #openstack-dev13:52
*** networkstatic has quit IRC13:52
*** networkstatic has joined #openstack-dev13:53
*** Dorogs has quit IRC13:55
*** tmishler has joined #openstack-dev13:55
*** Dr_Who has quit IRC13:57
*** m4xmr has joined #openstack-dev13:58
*** boden has joined #openstack-dev13:59
*** dave_mcn has quit IRC13:59
*** samkottler|brb is now known as samkottler14:01
*** alunduil has joined #openstack-dev14:05
*** PaulM has quit IRC14:06
*** jcru has joined #openstack-dev14:06
*** esheffield has joined #openstack-dev14:08
*** kbringard has joined #openstack-dev14:09
*** zbitter is now known as zaneb14:10
*** gongysh has quit IRC14:24
*** anniec72 has quit IRC14:24
*** jcru is now known as jcru|away14:24
*** aloga has quit IRC14:25
*** aloga has joined #openstack-dev14:25
*** gongysh has joined #openstack-dev14:25
*** jcru|away is now known as jcru14:25
gongyshgaryk: ping14:27
davidkranzCould some one on nova core please approve https://review.openstack.org/#/c/15655/  It is the last tempest blocker for now.14:37
russellbdavidkranz: done14:38
davidkranzrussellb: Thanks!14:38
*** nicromancer has joined #openstack-dev14:39
*** \etc\bin has quit IRC14:40
*** rkukura has joined #openstack-dev14:40
*** japage has joined #openstack-dev14:40
*** Dorogs has joined #openstack-dev14:41
*** sagar_nikam has joined #openstack-dev14:41
*** aeperezt has joined #openstack-dev14:42
*** garyk has quit IRC14:42
bodenayoung or dolphm -- either of you get a sec for a quick question?14:43
dolphmboden: what's up14:43
bodendolphm thanks... question about the service catalog behavior, specifically with the catalog return in a POST /v2.0/tokens response... it appears the catalog can contain at most 1 service of a given type... so for example you have 1 'compute' services registered, each has the type 'compute' but they have different names... it appears you only get back 1.14:45
bodenis this by design or maybe its a user error on my part...14:45
bodenbtw -- I meant to say "2 compute services register"14:46
*** rbasak has joined #openstack-dev14:47
dolphmboden: i think that's correct -- assuming you have multiple compute nodes deployed, they both provide the same service, but will have seperate sets of endpoints14:47
bodenthis would also appear to be what I see in the the get_catalog() method of the sql catalog driver too14:47
*** Dorogs has quit IRC14:47
*** aloga has quit IRC14:49
*** sacharya has joined #openstack-dev14:49
*** aloga has joined #openstack-dev14:49
*** ijw1 has joined #openstack-dev14:50
*** ijw1 is now known as ijw14:50
davidkranzharlowja: Josh, can you please rebase https://review.openstack.org/#/c/15655/14:51
dolphmboden: from a specification perspective, i'm pretty sure you can have multiple services with the same type14:51
davidkranzjaypipes: I have everything working locally. Just waiting for https://review.openstack.org/#/c/15655/ to merge and we should be good to go.14:52
dolphmboden: however, i'm not sure the current keystoneclient would behave as expected with such a response (if i remember the service-finding code correctly, it'll return the first matching service type it finds)14:53
davidkranzjaypipes: Don't know what happend with your glance issue but my theory of the world works without it.14:53
*** rnirmal has joined #openstack-dev14:53
davidkranzjaypipes: The next step is to turn on the full gate.14:53
*** aloga has quit IRC14:54
davidkranzjaypipes: I profiled the tests and I think if we just mark a few of them as 'slow' we can take the next step.14:54
davidkranzjaypipes: The evidence from the last week is that we really need the full gate.14:54
*** gongysh has quit IRC14:54
*** sagar_nikam has quit IRC14:55
*** jcru is now known as jcru|away14:56
*** gongysh has joined #openstack-dev14:56
*** adepti37 has joined #openstack-dev14:57
*** sacharya has quit IRC14:57
*** brucer is now known as brucer_afk14:58
*** jcru|away is now known as jcru15:01
*** torandu has joined #openstack-dev15:01
*** mrodden has quit IRC15:03
*** Dr_Who has joined #openstack-dev15:03
*** Dr_Who has quit IRC15:03
*** Dr_Who has joined #openstack-dev15:03
bodendolphm thanks... based on what we are seeing, you only get 1 of the services (and its endpoints) back... we are using the REST APIs directly... based on where I'm sitting, this looks like a bug15:05
*** annegentle_ has joined #openstack-dev15:05
dolphmboden: that's what i would expect -- what kind of metadata are you using to differentiate the two services of the same type?15:06
bodendolhm -- they have the same type but different names and thus i would expect them to differ by name15:06
bodendolphm ^^15:06
dolphmboden: and you expect clients to look for a particular service name? name *really* isn't intended to be machine-cansumable metadata15:08
bodendolphm -- we had assumed it was... how else can one register multiple services of the same type and differentiate them in a service catalog response?15:09
dolphmboden: that's why i'm asking about your specific use case -- what actually differentiates the two services?15:11
*** aloga has joined #openstack-dev15:11
*** markmcclain has joined #openstack-dev15:12
jaypipesdavidkranz: I solved my glance issue but still get masses of errors and failures (in images_client and volume stuff) :(15:14
gongyshgaryk: ping15:15
openstackgerritA change was merged to openstack/nova: Another case of dictionary access  https://review.openstack.org/1565515:15
bodendolphm -- under the covers one is the actual glance service and 1 is a custom provider which implements the glance APIs.. we are looking to differentiate them... we could probably add an 'extra' metadata to the non-glance service but I don't think that 'shows through' on the CLI -- only the REST API15:15
*** davidha has quit IRC15:16
*** apevec has joined #openstack-dev15:16
*** apevec has left #openstack-dev15:16
*** kgriffs has quit IRC15:16
*** kgriffs has joined #openstack-dev15:16
*** brucer_afk has quit IRC15:17
dolphmboden: you probably want two sets of endpoints for the same service -- the appropriate attribute you should use depends on your use case -- here's the spec https://github.com/openstack/identity-api/blob/master/openstack-identity-api/src/docbkx/common/xsd/endpoints.xsd15:17
*** jcru has quit IRC15:17
*** gongysh has quit IRC15:17
*** ondergetekende has quit IRC15:17
dolphmboden: if the client doesn't support filtering endpoints by one of those attributes, it's definitely a bug :) (and honestly i have no idea if it does, beyond region)15:17
*** jcru has joined #openstack-dev15:17
*** mrodden has joined #openstack-dev15:19
*** mjfork has quit IRC15:24
*** roge has joined #openstack-dev15:25
*** imsplitbit has joined #openstack-dev15:25
*** aloga has quit IRC15:27
openstackgerritA change was merged to openstack/nova: Make utils.mkfs() set label when fs=swap  https://review.openstack.org/1571415:27
*** aloga has joined #openstack-dev15:29
*** sacharya has joined #openstack-dev15:31
*** oneiroi has joined #openstack-dev15:40
*** littleidea has quit IRC15:43
jaypipesdtroyer, bcwaldon: if you get a chance... https://review.openstack.org/1573515:43
*** markwash has joined #openstack-dev15:43
*** nicromancer has quit IRC15:44
*** marcus_ has quit IRC15:44
*** winston-d has quit IRC15:44
*** armaan has joined #openstack-dev15:44
*** armaan has left #openstack-dev15:44
*** jcru is now known as jcru|away15:45
*** davidhadas has joined #openstack-dev15:50
*** apevec has joined #openstack-dev15:52
*** apevec has joined #openstack-dev15:52
*** hemna_ has quit IRC15:53
*** winston-d has joined #openstack-dev15:57
*** anniec72 has joined #openstack-dev15:58
*** jcru|away is now known as jcru16:00
*** Mandell has joined #openstack-dev16:00
*** marcus_ has joined #openstack-dev16:02
*** Dr_Who has quit IRC16:03
*** Dr_Who has joined #openstack-dev16:04
*** Dr_Who has joined #openstack-dev16:04
*** aloga has quit IRC16:04
*** reidrac has quit IRC16:06
*** Dorogs has joined #openstack-dev16:08
*** Mandell has quit IRC16:11
ayoungdolphm, boden if the two services are fundamentally different, they should probably be registered as two different services.  It sounds like boden has found a point where maybe the glance service is too granular, at least for their use case.  I wonder if the "service" abstraction is really a useful abstraction, or if instead it should be endpoints and attributes?  Maybe I've just been reading the Federation spec for too long.16:12
*** colinmcnamara has joined #openstack-dev16:14
bodenayoung -- I tend to think of a 'sevice' as a definition of capabilities... i.e. I'm an 'image' service and can do the things from the 'image api contract'.. where as endpoints are actual 'locations' of services implementing those capabilities16:14
davidkranzjaypipes: What's going on with the one remaining failure in http://logs.openstack.org/15653/1/gate/gate-tempest-devstack-vm/17878/console.html16:15
*** datsun180b has joined #openstack-dev16:15
davidkranzjaypipes: This test passes for me locally unless this broke in the past day or two. I will resync and see.16:15
bodenayoung -- so I think our use case is really about -- ok so I know these endpoints have the 'image' capabilities, how can I make some distinction between the endpoints16:15
ayoungboden, I realize that.  But I don;t like it.  I think that it might prov to be too rigid a framework over time16:15
ayoungboden, right.16:15
ayoungso you have to provide attributes to differentiate16:15
ijwboden: specification versus implementation, basically then16:16
*** metral has quit IRC16:16
*** metral has joined #openstack-dev16:16
ayoungand now you have two ways of designating purpose.  I'm just muttering here, but I also don't like the confusion of calling them services.  In kerberos, a service is what we call and endpoint.16:16
bodenayoung -- yes, but it seems awkward that the catalog only returns 1 serivce and associated endpoint when you have more than 1 service of the same name... maybe its for good reason, but was not as expected16:17
jaypipesdavidkranz: I see that locally as well.16:18
ayoungboden, yeah, that is not a good setup.  It prechooses for the end user, among other things, which to go to.  I'm not sure what the right solution is, though16:18
jaypipesdavidkranz: looks to be a problem with the tools/configure_tempest.sh script in devstack. I will investigate further.16:19
*** metral_ has joined #openstack-dev16:19
jaypipesdavidkranz: FYI.. the infinite loop glance workaround for devstack is here: https://review.openstack.org/#/c/15735/16:19
*** corXi has quit IRC16:20
*** Mandell has joined #openstack-dev16:21
*** andrewbogott_afk is now known as andrewbogott16:22
*** metral has quit IRC16:23
*** metral_ is now known as metral16:23
*** garyk has joined #openstack-dev16:23
*** colinmcnamara has quit IRC16:26
davidkranzjaypipes: This db problem happend very recently. After updating I see it too.16:27
*** mrunge has quit IRC16:27
*** colinmcnamara has joined #openstack-dev16:27
*** danwent has joined #openstack-dev16:29
jaypipesdavidkranz: got it. pushing a fix to devstack shortly.16:30
*** Dr_Who has quit IRC16:30
davidkranzjaypipes: Thx16:30
*** edygarcia has joined #openstack-dev16:31
jaypipesdavidkranz: np16:32
*** markwash has quit IRC16:33
*** jtran has joined #openstack-dev16:34
*** maoy has joined #openstack-dev16:36
*** AnilV4 has quit IRC16:37
*** maurosr has quit IRC16:38
*** brucer has joined #openstack-dev16:39
*** maurosr has joined #openstack-dev16:41
*** jcooley has joined #openstack-dev16:41
*** jcru is now known as jcru|away16:42
enikanorov_folks, how to fix the comments posted on review? I mean do i need to post another diff with fixes according to comments? or somehow differently?16:43
*** jcru|away is now known as jcru16:44
*** maurosr has quit IRC16:44
*** maurosr has joined #openstack-dev16:44
devanandavishy: since the nova volume code is getting cut, is the snapshot code also going away?16:45
*** colinmcnamara has quit IRC16:46
*** brucer has quit IRC16:46
*** kmartin has quit IRC16:47
clarkbenikanorov_: typically you will amend the existing commit then push the changes back to gerrit16:48
openstackgerritA change was merged to openstack/nova: clean up dnsdomain_unregister  https://review.openstack.org/1558016:48
clarkbenikanorov_: http://wiki.openstack.org/GerritWorkflow describes the process16:49
openstackgerritA change was merged to openstack/nova: add missing opts to test_db_api.py  https://review.openstack.org/1566116:49
*** saurabhsurana has joined #openstack-dev16:49
*** saurabhsurana has left #openstack-dev16:50
*** danpb has joined #openstack-dev16:50
*** egallen has joined #openstack-dev16:51
openstackgerritA change was merged to openstack/quantum: Explicitly include versioninfo in tarball.  https://review.openstack.org/1573616:52
*** marcus_ has quit IRC16:54
*** gyee has joined #openstack-dev16:55
*** maurosr has quit IRC16:56
*** arbrandes has quit IRC16:58
*** maurosr has joined #openstack-dev16:59
*** egallen has quit IRC16:59
*** maurosr has quit IRC16:59
*** markwash has joined #openstack-dev17:00
*** maurosr has joined #openstack-dev17:01
*** maurosr has quit IRC17:01
*** maurosr has joined #openstack-dev17:02
*** Dr_Who has joined #openstack-dev17:03
*** Dr_Who has quit IRC17:03
*** Dr_Who has joined #openstack-dev17:03
*** saurabhs has joined #openstack-dev17:03
*** littleidea has joined #openstack-dev17:04
*** mmagr has quit IRC17:09
*** jcmartin has joined #openstack-dev17:09
*** saurabhs has left #openstack-dev17:10
*** Mandell has quit IRC17:10
*** daddyjoseph97 has joined #openstack-dev17:12
*** daddyjoseph97 has quit IRC17:12
*** maurosr has quit IRC17:13
*** maurosr has joined #openstack-dev17:13
*** eharney has joined #openstack-dev17:19
*** maurosr has quit IRC17:19
*** blamar has joined #openstack-dev17:19
*** EmilienM has left #openstack-dev17:19
*** maurosr has joined #openstack-dev17:20
openstackgerritA change was merged to openstack/quantum: Add indication when quantum server started.  https://review.openstack.org/1569517:20
*** darraghb has quit IRC17:20
*** blamar has quit IRC17:21
*** anniec has joined #openstack-dev17:23
jaypipesdavidkranz: https://review.openstack.org/1574417:25
jaypipesdtroyer: ^^17:25
*** s0mik has joined #openstack-dev17:25
*** crandquist has quit IRC17:26
*** hemna has joined #openstack-dev17:26
alexpilottirussellb: hi17:26
alexpilottirussellb: just saw your comment17:26
alexpilottirussellb: on https://review.openstack.org/#/c/15743/17:27
*** crandquist has joined #openstack-dev17:27
alexpilottirussellb: since the bug fixes listed are required to pass the tests in the rest of the code17:28
openstackgerritA change was merged to openstack/nova: Remove nova-volume DB  https://review.openstack.org/1560217:28
alexpilottirussellb: should I commit the bug fixes, wait for them to get approved and only afterwards commit the rest?17:28
*** jcooley has quit IRC17:28
*** anniec has quit IRC17:29
*** s0mik has quit IRC17:30
russellbalexpilotti: you can submit them all at once.  if the commits are all in the same branch and you submit them all at the same time, gerrit knows the patch dependencies17:32
russellbso it won't let one merge before the other if it shouldn't17:32
*** marcus__ has joined #openstack-dev17:33
russellband patches will only get tested with all of the patches they depend on, if that makes sense17:33
*** maurosr has quit IRC17:33
*** maurosr has joined #openstack-dev17:33
*** maurosr has quit IRC17:33
alexpilottirussellb: so separate commits in the same branch and a single "git review" at the end. It makes definitely sense!17:33
*** esp2 has joined #openstack-dev17:33
russellbalexpilotti: yep, that's it!  thanks17:34
russellbit will make it a lot easier to review each bug fix17:34
russellband hopefully get the code in faster overall17:34
*** esp2 has left #openstack-dev17:34
alexpilottirussellb: any idea about how to solve the "Please rebase your change and upload a new patchset." error that Jenkins gives?17:34
*** anniec72 has left #openstack-dev17:35
alexpilottirussellb: I did a git pull in master and a git rebase in the new branch17:35
dansmithalexpilotti: did you get actual changes in your master branch?17:35
alexpilottirussellb: no, otherwise git would ask to stash them I guess17:36
*** maurosr has joined #openstack-dev17:36
devanandarussellb: what would it take to convince you to review baremetal patch #1 today? (13920)17:36
dansmithand, you did "git rebase master" in your topic branch, right?17:36
dansmitheh?17:36
dansmithalexpilotti: what I meant was, when you did "git checkout master && git pull origin master" did you see it pull in a bunch of changes?17:36
alexpilottidansmith: yep17:37
dansmithalexpilotti: is that a 'yep' to the rebase question above as well?17:37
alexpilottidansmith: to the latter, I'm going to redo a "git rebase master". My doubt is that I did a "git rebase" instead17:38
dansmithI think you definitely want the former :)17:38
*** imsplitbit has quit IRC17:38
openstackgerritA change was merged to openstack/nova: Remove generic topic support from filter scheduler  https://review.openstack.org/1571617:40
*** jcooley has joined #openstack-dev17:40
dtroyerjaypipes: will Tempest work with postgresql?17:41
*** datsun180b has quit IRC17:41
alexpilottidansmith: before the next git review, based on russellb suggestion I need to split the commits in 3 separate ones17:41
alexpilottidansmith: I'm quite new to git, so thanks for helping :-)17:41
*** timello has quit IRC17:42
dansmithalexpilotti: split commits, or pull three commits into three separate branches?17:42
*** timello has joined #openstack-dev17:42
alexpilottidansmith: in the same branch17:42
dansmithalexpilotti: is this 15743?17:42
alexpilottidansmith: yes: https://review.openstack.org/#/c/15743/17:43
*** maurosr has quit IRC17:43
dansmithalexpilotti: so, if you want to split based on file changes, this is pretty easy17:43
dansmithis that the case?17:43
alexpilottidansmith: yes, being simple fixes is just one file per commit17:44
*** maurosr has joined #openstack-dev17:44
dansmithalexpilotti: no, what I mean is, you touch a bunch of files.. are your three commits going to be purely groupings of your existing files?17:45
dansmithfor example:17:45
dansmithcommit1: nova/api/*17:45
dansmithcommit 2: nova/virt/*17:45
dansmithcommit 3: nova/tests/*17:45
dansmith?17:45
alexpilottidansmith: commit 1: nova/api/metadata/base.py17:45
*** aeperezt has quit IRC17:45
alexpilottidansmith: commit 2: nova/utils.py17:45
*** jpich has left #openstack-dev17:45
*** derekh has quit IRC17:45
alexpilottidansmith: commit 3: all the rest17:46
dansmithokay, perfect17:46
dansmithso here's what I'd do:17:46
*** koolhead17 has joined #openstack-dev17:46
*** timello has quit IRC17:46
dansmithpull out the changes that will be the first commit, and then pull out those that will be the second,17:46
*** roz has quit IRC17:46
dansmiththen ammend your current patch to be everything else without those17:46
*** timello has joined #openstack-dev17:46
*** marcus__ has quit IRC17:46
dansmiththen create two commits with each of those changes and then get them all lined up, sound good?17:47
dansmithalexpilotti: if so, this is what I'd do:17:47
*** maurosr has quit IRC17:47
dansmithgit show nova/api > api_changes.patch17:47
dansmithgit show nova/utils.py > utils_changes.patch17:47
dansmithpatch -p1 -R < api_changes.patch17:47
dansmithpatch -p1 -R < utils_changes.patch17:47
dansmithgit commit -a --amend17:47
*** maurosr has joined #openstack-dev17:48
dansmithpatch -p1 < api_changes.patch17:48
dansmithgit commit -a17:48
dansmithpatch -p1 < utils_changes.patch17:48
*** SlickNik has joined #openstack-dev17:48
dansmithgit commit -a17:48
dansmithgit rebase -i HEAD ^^^17:48
*** jcooley has quit IRC17:48
dansmithand change the order around so they look like you want17:48
dansmith3. Profit!17:48
alexpilottidansmith: thanks! :-)17:48
dansmithnp, let me know how it works :)17:48
alexpilottidansmith: going to do it right away!17:49
dansmithoops, above "HEAD ^^^" should be "HEAD^^^"17:49
openstackgerritA change was merged to openstack/keystone: Fix transient test failures (bug 1077065, bug 1045962)  https://review.openstack.org/1574217:49
uvirtbot`Launchpad bug 1077065 in keystone "Transient test failures: test_service.RemoteUserTest" [Medium,In progress] https://launchpad.net/bugs/107706517:49
uvirtbot`Launchpad bug 1045962 in keystone "Transient test failure: test_token_expiry_maintained" [Low,In progress] https://launchpad.net/bugs/104596217:49
*** timello has quit IRC17:51
bcwaldonjaypipes: thoughts on https://review.openstack.org/#/c/15735/ ?17:51
*** saurabhs has joined #openstack-dev17:51
*** danpb has quit IRC17:52
alexpilottidansmith: so "git commit -a --amend" is executed first but contains the last commit, is this correct?17:52
alexpilottidansmith: I mean, the nova/api and nova/utils bug fixes are required by the rest of the code17:54
alexpilottidansmith: should I invert it?17:54
russellbdevananda: HM.  How about ... an IOU for a beer.  Nah, nothing ... I'll try to review it today.17:57
*** timello has joined #openstack-dev17:57
devanandarussellb: i'll gladly buy you a beer at the next summit :)17:57
russellbi'm sure i'll bug you for a review one day and we'll be even17:57
*** Sparks has quit IRC17:57
devanandabut really, once that patch is merged, we (hp folks) should be able to work a lot quicker with the rest of the baremetal driver17:57
vishydevananda: snapshot db code? yes17:57
dansmithalexpilotti: yeah17:57
dansmithalexpilotti: when you do the last step,17:57
dansmithyou'll reorder the commits so they're right (and so the current one with the tests is last)17:57
devanandavishy: thanks17:57
dansmithalexpilotti: invert what? maybe I'm confused. what step are you on above?17:58
*** colinmcnamara has joined #openstack-dev17:58
*** timello has quit IRC17:58
vishysmoser: ping17:58
*** timello has joined #openstack-dev17:58
dansmithalexpilotti: you're on "commit -a --amend" above, right? when you do that, you should see the old commit message, and the file list should _just_ show the files that will eventually be commit #317:58
vishydevananda: in fact i think jog0 has a patch in review that removes it.17:58
alexpilottidansmith: the commits should be in order: 1,2, 3 as 3 depends on 1 and 217:58
dansmithalexpilotti: I know.. we'll fix the order at the end17:59
*** maurosr has quit IRC17:59
*** andrewbogott is now known as andrewbogott_afk17:59
*** otherwiseguy has joined #openstack-dev17:59
alexpilottidansmith: cool! I start liking git! ;-)17:59
dansmithalexpilotti: I promise :D17:59
*** maurosr has joined #openstack-dev17:59
dansmithat the end, the "rebase -i" part will let you arbitrarily re-order what you've done18:00
*** aeperezt has joined #openstack-dev18:00
devanandavishy: ah, i didn't see that review linked onthe no-volume bp18:00
*** jcmartin_ has joined #openstack-dev18:01
*** colinmcnamara has quit IRC18:02
devanandavishy: any chance i can also convince you to review the first baremetal patch (13920) again today? getting that into trunk should unblock us enough to work on the other ones18:02
*** jcmartin has quit IRC18:02
*** jcmartin_ is now known as jcmartin18:02
vishydevananda: sure, will do18:02
*** annegentle_ has quit IRC18:03
devanandaawesome, ty18:03
alexpilottidansmith: in the commit message of the last 2 "git commit -a", I don't have to put the change-id from the 15743 review, correct?18:04
openstackgerritA change was merged to openstack/nova: Fix import ordering in /bin scripts.  https://review.openstack.org/1574818:05
dansmithalexpilotti: right, don't do that so that they'll get new ones automatically18:06
*** jcru is now known as jcru|away18:06
*** apevec has quit IRC18:07
*** armaan has joined #openstack-dev18:07
alexpilottidansmith: git rebase -i HEAD^^^ gives: fatal: Needed a single revision18:08
alexpilottidansmith: and "invalid upstream HEAD^ "18:08
*** timello has quit IRC18:08
*** timello has joined #openstack-dev18:08
dansmithalexpilotti: ...works for me18:09
dansmithalexpilotti: what shell and what version of git?18:09
alexpilottigit 1.71118:09
alexpilottidansmith: 1.7.11, sorry18:09
alexpilottidansmith: shell: cmd.exe ;-)18:09
dansmithalexpilotti: is your shell interpreting the ^ chars? some unix shells will, and mess up that command18:10
russellbcan do HEAD~3 syntax instead18:10
russellbif so18:10
*** eglynn has quit IRC18:10
*** zaitcev has joined #openstack-dev18:10
*** gatuus has joined #openstack-dev18:10
*** timello has quit IRC18:11
alexpilottidansmith: good point! it worked with: git rebase -i "HEAD^^^"18:11
*** timello has joined #openstack-dev18:11
dansmithalexpilotti: cool18:12
alexpilottidansmith: now I'm in vi, with one line per debug starting with "pick"18:12
alexpilottidansmith: do I have to reorder the lines?18:12
dansmithalexpilotti: right, reorder the lines18:12
alexpilottidansmith: and then simply :wq? wow18:12
* dansmith boggles at git and vi in cmd.exe18:12
dansmithalexpilotti: yep18:12
dansmiththen look at git log18:12
russellb*magic*18:13
*** eglynn has joined #openstack-dev18:13
*** torandu has quit IRC18:14
*** dspano has joined #openstack-dev18:14
openstackgerritA change was merged to openstack/nova: Make tox.ini run pep8/hacking checks on bin.  https://review.openstack.org/1574918:14
*** annegentle_ has joined #openstack-dev18:15
jaypipesbcwaldon: I don't think that's easier actually :) I think it's easier to just use what's already there :)18:15
alexpilottidansmith: the git log should be in .git?18:16
dansmithno, run "git log"18:17
alexpilottidansmith: got it :-)18:17
alexpilottidansmith: the patches are in correct order (last one on top)18:17
dansmithalexpilotti: excellent!18:18
alexpilottidansmith: should I go with "git review"?18:18
dansmithalexpilotti: yeah, so when you do git review,18:18
dansmithit's going to ask if you really want to submit three things18:18
dansmithjust say yes, and you'll have three new reviews up there18:18
*** colinmcnamara has joined #openstack-dev18:20
*** colinmcnamara has quit IRC18:21
alexpilottidansmith: you earned 3 beers (one per commit) :-)18:22
bcwaldonjaypipes: ok, then I'm fine with it18:22
dansmithalexpilotti: sweet! :D18:22
alexpilottidansmith: seriously, tx for the accelerated git training!!18:22
alexpilottidansmith: normally I'd have gone with a git clone reapplying all the steps manually18:22
dansmithalexpilotti: no problem :)18:22
dansmithalexpilotti: hah :)18:22
*** colinmcnamara has joined #openstack-dev18:23
*** annegentle_ has quit IRC18:23
davidkranzjaypipes: Did you see Dean's comment about postgres in https://review.openstack.org/#/c/15744/118:24
*** colinmcnamara has quit IRC18:24
*** jcooley has joined #openstack-dev18:24
*** daddyjoseph97 has joined #openstack-dev18:24
jaypipesdavidkranz: yup, already pushed a fix.18:24
*** jog0 has joined #openstack-dev18:24
alexpilottidansmith: In case some reviewers should ask to change something in commit 1 or 218:24
davidkranzjaypipes: Ah. Stale browser. Sorry.18:25
alexpilottidansmith: that would bo beyond my knowledge of "git commit -a --amend"18:25
dansmithalexpilotti: do the rebase -i command again, but change the "pick" to "edit"18:25
dansmiththen it will stop at that commit,18:25
dansmithlet you commit -a --amend, and then "git rebase --continue" again18:25
alexpilottidansmith: wow18:25
dansmithso you can kinda "replay" the commits, but stop on the desired one to amend some changes18:25
alexpilottidansmith: tx again! Now I have to look for some reviewers ;-)18:26
dansmithalexpilotti: that's the hard part :)18:26
*** Mandell has joined #openstack-dev18:27
*** SlickNik has quit IRC18:28
*** koolhead17 has quit IRC18:30
driptondevananda: https://review.openstack.org/#/c/15651/ is the patch I mentioned yesterday at the nova-db meeting.  PTAL.18:30
devanandadripton: great! Yea, i have poked at nearly all of those functions and wondered if they were in use anywhere18:31
devanandaglad to see them getting cut18:31
*** rafaduran has left #openstack-dev18:31
davidkranzdtroyer: Can you take a look at Jay's fix on https://review.openstack.org/#/c/15744/2 ? This is the last issue breaking the tempest gate.18:32
devanandadripton: though i probably should go abandon a change or two that i just submitted now ... heh18:32
*** saurabhs has left #openstack-dev18:33
driptondevananda: yes, I had the same problem since Joe was removing things at the same time I was.18:33
ociuhandusmoser: ping18:33
devanandadripton: what are you using to verify that a function isn't in use any more?18:33
*** saurabhs has joined #openstack-dev18:33
dtroyerdavidkranz: +218:33
driptondevananda: git grep, then ack from the top of my git trees18:34
davidkranzdtroyer: Thx. Who can approve it?18:34
devanandadripton: ftr, https://review.openstack.org/#/c/15738/18:34
*** saurabhs has left #openstack-dev18:34
driptondevananda: the only way to get a false positive is if someone is being tricky with getattr and building function names from partial strings.  I hit one of those but the unit tests caught it.18:34
*** saurabhs has joined #openstack-dev18:34
devanandadripton: ok, so i'm still wrapping my head around some of the API / RPC stuff. can something outside of openstack/nova be calling these? or are you searching multiple projects?18:35
*** ewindisch has quit IRC18:35
devanandaif so which ones :)18:35
*** nati_ueno has joined #openstack-dev18:35
*** ewindisch has joined #openstack-dev18:36
*** annegentle_ has joined #openstack-dev18:36
alexpilottidansmith: about your comment request for a bug opened.  Does it mean that I have to commit it in a separate branch?18:36
driptondevananda: I believe they should only be called from inside nova, and cross-project usage is supposed to go through the http API.18:36
dansmithalexpilotti: no, just put the bug in the commit message, like "Fixes bug #1234"18:36
uvirtbot`Launchpad bug 1234 in launchpad "Gina is an unmaintainable mess of command line options, environment variables and shell scripts" [Medium,Fix released] https://launchpad.net/bugs/123418:36
*** stevebake has quit IRC18:37
alexpilottidansmith: sure.18:37
driptondevananda: some storage functions were moved to Cinder, so there were hits on the same name there.18:37
dtroyerdavidkranz: bcwaldon got it18:37
*** gatuus has quit IRC18:38
bodenayoung or dolphm -- do you guys consider it a bad practice to use the 'admin_token' (shared secret) for non openstack services integrating with Keystone that need to perform admin type operations?18:38
driptondevananda: the backstop test is to clone every OpenStack git repo under one directory, then use ack from there.  But I don't think it's actually needed since these functions are not supposed to be called across projects.  (If we're doing that then we're in deep trouble.)18:38
ayoungboden, one moment18:38
*** sniperd has joined #openstack-dev18:40
*** littleidea has quit IRC18:40
*** echohead has joined #openstack-dev18:40
*** littleidea has joined #openstack-dev18:40
*** armaan has left #openstack-dev18:40
dolphmboden: yes 110%18:41
*** saurabhs has left #openstack-dev18:42
*** eglynn_ has joined #openstack-dev18:42
*** eglynn has quit IRC18:42
dolphmboden: admin_token is not associated with a user, it therefore has no roles, etc. using it for anything other than bootstrapping an admin in keystone is bad practice18:42
bodendolphm ayoung -- ok thanks... I kind of assumed that but the .conf comments and docs dont necessarly paint the full picture18:43
*** tmishler has quit IRC18:43
*** littleidea has quit IRC18:43
*** annashen has quit IRC18:45
*** littleidea has joined #openstack-dev18:45
russellbarosen: hey ... i see that you added me to some reviews, but they are for stable/folsom.  i can't review those.  For stable branches it's the people on the openstack-stable-maint team.18:46
russellbhttp://launchpad.net/~openstack-stable-maint18:47
russellbshould be able to see the member list there18:47
*** pabelanger has joined #openstack-dev18:47
*** adalbas has quit IRC18:47
arosenrussellb: yup I can see the list. Thanks18:49
*** jakedahn_zz is now known as jakedahn18:51
*** s0mik has joined #openstack-dev18:52
*** gatuus has joined #openstack-dev18:54
*** annegentle_ has quit IRC18:55
devanandadripton: gotcha, thanks18:55
dansmithalexpilotti: nice, eh?18:55
alexpilottidansmith: you mean the git rebasing trick? I love it! :-)18:56
dansmithalexpilotti: I mean the rebasing trick to address feedback, turn around changes before the reviewer gets distracted, resulting in merges-in-minutes like you just got :)18:56
alexpilottidansmith: about the bugs and descriptions, if you look at my other commits I always put proper descriptions, it this case I just took teh lines out of the initial "macro" commit, my bad18:57
*** jeblair is now known as one_at_998518:57
dansmithalexpilotti: no problem, just gotta make sure the commits stand on their own18:57
*** one_at_9985 is now known as jeblair18:57
alexpilottidansmith: opened a bug for the normpath() one as well: https://review.openstack.org/#/c/15763/18:58
dansmithalexpilotti: yep, cool18:58
*** thingee has quit IRC18:58
*** saurabhs has joined #openstack-dev18:59
*** jcru|away is now known as jcru19:00
*** jcmartin has quit IRC19:00
alexpilottidansmith: I lost your posix normpath alternative. Can you please retype it?19:00
openstackgerritA change was merged to openstack/glance: Pep8 fixes to bin/glance* scripts.  https://review.openstack.org/1575319:00
alexpilottidansmith: got it, it was actually jerdfelt's comment19:01
alexpilottijerdfelt: Hi19:02
*** datsun180b has joined #openstack-dev19:02
alexpilottijerdfelt: posixpath.normpath() works fine!19:02
alexpilottijerdfelt: do you see potential issues w replacing all url normpath's in Nova and other projects?19:03
*** adalbas has joined #openstack-dev19:04
*** dolphm has quit IRC19:05
alexpilottismoser: hi!19:10
*** s0mik has quit IRC19:11
openstackgerritA change was merged to openstack/quantum: Adds test scripts for _validate_values  https://review.openstack.org/1569619:12
*** jimfehlig has joined #openstack-dev19:12
garyknati_ueno: ping19:13
nati_uenogaryk: pong19:14
garyknati_ueno: hi, how are you? can you please update https://review.openstack.org/#/c/15156/ - minor issue19:14
nati_uenoI got it!19:15
*** timello has quit IRC19:15
nati_uenoBut it looks "I would prefer that you didn't merge this; Approved" ... I'm little bit confused19:15
nati_uenoIt looks starting gate jobs19:15
*** timello has joined #openstack-dev19:15
garykthanks. i may have approved by mistake19:15
garykmy bad.19:16
nati_uenoI got it19:16
*** arosen has quit IRC19:16
*** s0mik has joined #openstack-dev19:16
*** arosen has joined #openstack-dev19:16
nati_uenoI'll fix this order issue on next patch about security groups19:16
garykok. sorry for the mess19:17
nati_uenoSorry for this bug. I mistook order of alphabetic order19:18
*** eglynn_ has quit IRC19:18
alexpilottijerdfelt: I resubmitted using posipath.normpath(): https://review.openstack.org/#/c/15763/19:19
openstackgerritA change was merged to openstack/nova: Fixes a bug in nova.utils, due to Windows compatibility issues.  https://review.openstack.org/1576219:21
openstackgerritA change was merged to openstack/swift: give swob default content-type  https://review.openstack.org/1576519:22
openstackgerritA change was merged to openstack/quantum: Import lockutils and fileutils from openstack-common  https://review.openstack.org/1515619:22
*** kmansel has joined #openstack-dev19:23
*** relateable has quit IRC19:24
*** Mandell has quit IRC19:24
*** colinmcnamara has joined #openstack-dev19:24
*** colinmcnamara has quit IRC19:24
*** Shrews has quit IRC19:24
*** Shrews has joined #openstack-dev19:25
*** eglynn_ has joined #openstack-dev19:26
*** otherwiseguy has quit IRC19:26
*** m4xmr has left #openstack-dev19:27
*** jcru is now known as jcru|away19:29
*** vipul is now known as vipul|away19:31
*** jcru|away is now known as jcru19:33
*** ndipanov has quit IRC19:33
*** novas0x2a|laptop has joined #openstack-dev19:35
*** daddyjoseph97 has quit IRC19:35
*** jog0_ has joined #openstack-dev19:35
*** jog0_ has quit IRC19:35
*** Mandell_ has joined #openstack-dev19:36
*** jog0_ has joined #openstack-dev19:39
*** jog0 has quit IRC19:39
*** jog0_ is now known as jog019:39
*** eglynn_ has quit IRC19:39
*** Aaton has quit IRC19:42
*** Aaton has joined #openstack-dev19:43
*** Aaton is now known as EntropyWorks19:43
*** melwitt has joined #openstack-dev19:45
*** eglynn_ has joined #openstack-dev19:45
*** andrewbogott_afk is now known as andrewbogott19:47
*** colinmcnamara has joined #openstack-dev19:47
alexpilottimikal: Hi!19:47
*** colinmcnamara has quit IRC19:48
openstackgerritA change was merged to openstack/quantum: Make tox.ini run pep8 checks on bin.  https://review.openstack.org/1576419:48
*** annegentle_ has joined #openstack-dev19:48
*** eglynn__ has joined #openstack-dev19:51
*** eglynn_ has quit IRC19:52
*** dolphm has joined #openstack-dev19:54
*** eglynn has joined #openstack-dev19:56
*** eglynn__ has quit IRC19:56
davidkranzjaypipes: We need to do something about https://review.openstack.org/#/c/15554/. notmyname didn't like the fact that the test is checking specifically for the documented return code.19:57
davidkranzjaypipes: And it looks like the gate is back up!19:57
*** nunosantos has joined #openstack-dev20:00
*** edygarcia has quit IRC20:01
*** maurosr has quit IRC20:04
*** aeperezt has quit IRC20:05
*** jcooley has quit IRC20:05
*** s0mik has quit IRC20:05
*** esp2 has joined #openstack-dev20:06
*** Kaiwei has joined #openstack-dev20:06
*** Kaiwei has left #openstack-dev20:06
*** s0mik has joined #openstack-dev20:07
*** annashen has joined #openstack-dev20:07
*** aeperezt has joined #openstack-dev20:08
*** s0mik has quit IRC20:09
jaypipesdavidkranz: for the swift one, what are you suggesting we do exactly?20:12
*** markwash has quit IRC20:12
*** littleidea has quit IRC20:13
*** otherwiseguy has joined #openstack-dev20:13
jaypipesnotmyname: any comment on davidkranz' question re: the documented return codes?20:13
*** littleidea has joined #openstack-dev20:13
jaypipesnotmyname: just want to make sure we understand what your expectations are.20:13
davidkranzWell, tempest in general checks for document return codes. John says don't do that, check for 2xx. I'm not sure what the reasoning behind that is.20:14
*** jog0 has quit IRC20:15
jaypipesdavidkranz: I suspect because that's what the swift unit tests do... but let's check with him first :)20:16
openstackgerritA change was merged to openstack/swift: Make DELETE requests to expired objects return 404.  https://review.openstack.org/1568720:17
*** vipul|away is now known as vipul20:18
notmynamedavidkranz: jaypipes: I think I marked that on a DELETE, which isn't as big of a deal. but for PUTs, eg, you may not always get a 201. sometimes you may get a 202. the class of 2xx responses is "the request was good and the server did the right thing". (3xx=redirect,4xx=client error,5xx=server error)20:19
notmynamedavidkranz: jaypipes: and so the general idea that clients should check for a class of errors is recommended over checking for a particular response code20:20
davidkranznotmyname: Understood. But in tempest we just check for what the spec says. If the spec says, some 2xx code, that is what we check for.20:20
davidkranznotmyname: If the spec says 202, we check for that.20:20
davidkranznotmyname: The point is that a user will see the spec and write code that may depend on that value.20:21
davidkranznotmyname: Tempest is specifically trying to catch changes in specified behavoir.20:21
*** jcooley has joined #openstack-dev20:22
notmynamedavidkranz: yes, but I'd actually prefer that the docs mention 2xx rather than 204, for example. (and to some extent, that depends on if you consider those to be a "spec" or a description)20:23
davidhadashey, anyone from the keystone core team around?20:23
dolphmdavidkranz: o/20:24
dolphmdavidhadas: *20:24
*** PaulM has joined #openstack-dev20:24
*** PaulM has left #openstack-dev20:24
davidhadasdolphm: Hi20:24
davidkranzdolphm: Looking for me, or davidhadas ?20:24
*** markwash has joined #openstack-dev20:24
*** colinmcnamara has joined #openstack-dev20:24
jaypipesnotmyname: I don't think either davidkranz or I have any objection to making the docs say 2xx, but typically what we do is code the tests in tempest to match the docs... and mark a @skip if there is some temporary change in either the docs/spec and the behaviour of the implementation20:24
dolphmdavidkranz: davidhadas20:25
jaypipeshehe20:25
*** PaulM has joined #openstack-dev20:25
davidhadasdolphm: reg tenant anmes and tenant ids - and I know it is all changing in v320:25
davidhadasdolphm: but I am trying to understand the past so I can figure out what is changing... :)20:25
jaypipesnotmyname: so what we'd do is submit a doc-impact bug to openstack-manuals to s/201/2XX where appropriate and then mod the test case method in question to correspond to the changed spec.20:25
dolphmdavidhadas: id/names will certainly stick around20:26
vishyjgriffith: I don't know if you saw but i spent some time tracking down the dd isssue20:26
davidhadasdolphm: when creating a tenat one gives a tenant_Name  - than after all other actions are done by tenant_id20:26
notmynamejaypipes: :-) that's where we disagree. I don't consider the docs to be a spec20:26
jaypipesnotmyname: so, short story, would you go back on your resistance on that particular point in your comment if we submitted that doc bug?20:26
vishyjgriffith: it only appears to happen with loopback devices so i think we are ok on real hardware20:26
davidhadasdolphm: yet, tenant_name is unique20:26
*** john5223 has joined #openstack-dev20:26
davidkranznotmyname: So where is the spec?20:26
jaypipesnotmyname: what do you consider to be a spec? we'll use what that is.20:26
davidkranznotmyname: Please don't say it's the code.20:27
*** pabelanger has quit IRC20:27
davidhadasdolphm: whats troubling me is 1. why use tenant_id at all (when facing the client) - why not use tenant_name - which was teh anme that the tenant had chosen20:27
notmynamejaypipes: I think that if you are eventually going to use 2xx then it doesn't make sense to use 201 right now20:27
davidhadasdolphm: this also introduces a similat problem in swift... but lets start with pure keystone20:28
jaypipesnotmyname: the tempest tests are a representation of the spec as it currently exists, not what it will be...20:28
jaypipesnotmyname: which is why we're interested in what you consider to be the spec.20:29
davidkranznotmyname: FWIW I think there is a big disconnect between your view about this and http://wiki.openstack.org/APIChangeGuidelines20:29
jaypipesnotmyname: and we'll use whatever that is to determine these things if it's not the dfocs20:29
*** Dr_Who has quit IRC20:29
notmynamedavidkranz: the docs can't be the spec because the docs follow the code. I don't think there is a "spec document" for swift. in part, this is because "swift" isn't and API that happens to have an openstack implementation. swift is the implementation+the API20:29
annegentle_jaypipes: just a gentle reminder that all API doc bugs now get logged at https://bugs.launchpad.net/openstack-api-site20:30
*** jog0 has joined #openstack-dev20:30
dolphmdavidhadas: valid question... the API (& ID's) are intended to be machine-consumed. we support queries by name, but the CLI got stuck in a rut of requiring an ID as a positional argument.. hoping to change that with openstackclient20:30
notmynamedavidkranz: the swift API hasn't changed in about 4 years (things have been added, but existing behavior hasn't changed)20:31
jaypipesannegentle_: ah, cheers. thx.20:31
davidhadasdolphm: Is it agreeable by all that tenant_name is unique?20:31
dolphmdavidhadas: that's a popular debate :)20:31
davidhadasdolphm: (It is currently enforced)20:31
jaypipesnotmyname: so what is Cloud files then? Swift? the Swift API? the Swift API on specific hardware?20:32
dolphmdavidhadas: unique, yes -- but in what context is debatable20:32
jaypipesnotmyname: nm, we're getting off track here :)20:32
davidkranznotmyname: I know that and am not expecting it to change. But if not, what's wrong with checking for 201?20:32
davidhadasdolphm: In v2 it is enforced, will domain name be eforced in v3?20:32
jaypipesnotmyname: david and I just need to know how to determine what the official API specification for Swift is...20:32
davidhadasdolphm: I mean domain name uniqeness20:32
*** esp2 has quit IRC20:32
dolphmdavidhadas: for example, we use UUID's as ID's in part to ensure that two isolated keystone deployments won't collide... names could collide there today20:32
notmynamejaypipes: cloud files is a product built on swift that includes vale add feature and integration with a company's larger product suite ;-)20:32
jaypipesnotmyname: :)20:32
dolphmdavidhadas: yes, domain names are definitely unique20:32
davidhadasdolphm: at least we have a starting point :)20:33
dolphmdavidhadas: in v3, we've talked about tenant/project names only being unique within their owning domain, although that probably won't happen in v3, probably more like v3.120:33
notmyname /phone call20:33
jaypipesk20:33
davidhadasdolphm: I certenly do not think project names or user names or any name should be unique between domains!20:34
davidhadasdolphm: this is what a domain is all about -it is a namespace (and a secutiry zone etc)20:34
*** pabelanger has joined #openstack-dev20:35
*** esp2 has joined #openstack-dev20:35
davidhadasdolphm: What I means is that domain.project should be unique but you could have domain1.,yproject and domain2.myproject, and you could have domain1.myuser and domain2.myuser etc.20:36
dolphmdavidhadas: the complication is that you'll also need to specify your domain name to authenticate, which has impact across openstack... so we're not making that jump today20:36
davidhadasdolphm: You need to specify you doamin name in every API - right - this what makes it a domain :)20:37
davidhadasdolphm: but if this is where you guys are heading, it is good news to me at least :)20:37
dolphmdavidhadas: the impact of introducing domains in v3 is entirely limited to keystone, and it will actually be optional out of the box (we'll create a default domain for you with a migration, and you can stick with that if you'd like)20:38
dolphm(after all, not everyone has a use case for domains)20:38
davidhadasdolphm: ok, so this is exactly where I am - trying to figure out how this affects swift :)20:38
davidhadasdolphm: but I would like to go back to names vs. IDs20:39
davidhadasdolphm: if a domain name is unique, doe sit really make sense to have a domain id?20:39
dolphmdavidhadas: we'll start making other projects aware of domains via middleware (e.g. X_DOMAIN_ID X_DOMAIN_NAME) but there's no reason why swift would suddenly *have* to use that data suddenly20:39
davidhadasdolphm: well, v3 eliminates tenants right?20:40
dolphmdavidhadas: i'd rather domain names be unique, freeform unicode, and keep system-generated ID's as consistent, reliable, guaranteed-to-be-URL-friendly identifiers20:40
dolphmdavidhadas: our impl doesn't allow you to change ID's either, whereas names are mutable20:41
dolphmdavidhadas: v3 does *not* eliminate tenants20:41
dolphmdavidhadas: just renamed them to "projects"20:41
davidhadasdolphm: ok, so you bring up a new argument - stating that one may choose a name which is not url freindly - is this the reason why we have ids?20:41
dolphmdavidhadas: it's one, yes20:42
davidhadasdolphm: any other?20:42
*** colinmcnamara has quit IRC20:42
openstackgerritA change was merged to openstack/nova: Simplify topic handling in network rpcapi.  https://review.openstack.org/1563620:43
dolphmdavidhadas: id's are currently url-friendly, system-generated, immutable, and unique even among isolated deployments20:43
openstackgerritA change was merged to openstack/nova: Remove unused functions.  https://review.openstack.org/1565120:43
dolphmdavidhadas: names are the exact opposite- freeform, user-supplied & mutable20:44
openstackgerritA change was merged to openstack/nova: Validate is-public parameter to flavor creation  https://review.openstack.org/1505520:44
davidhadasdolphm: but at the same time you force the client to use a system gerenated ID instead of his own20:44
dolphmdavidhadas: no- the current CLI implementation forces that20:45
davidhadasdolphm: So whats the purpose of providing a tenantd_name to begin with?20:45
dolphmdavidhadas: but you're otherwise correct... that pattern on the CLI is completely broken20:46
davidhadasdolphm: I see - so a tenant name is unique - within a keystone but not between keystones and  a concern is two keystones may serve the same openstack cloud and choose allow the nsame name to be created20:46
dolphmdavidhadas: ID's *should* ideally be completely hidden from users20:46
davidhadasdolphm: I would vote for hidden IDs20:46
davidhadasdolphm: now for swift in v220:47
dolphmdavidhadas: on your last point, federation is the primary concern20:47
davidhadasdolphm: ok20:47
davidhadasdolphm: swith - the tenant_id is today being used by swift as a "reseller prefix"20:48
dolphmdavidhadas: ah, you're wondering if that should be the domain_id moving forward?20:48
davidhadasdolphm: yes - I am wondering 1. why tenant_id and not tenant)name in v2  and 2. what will it be in the upcoming release :)20:49
*** juice has joined #openstack-dev20:49
*** crandquist has quit IRC20:49
*** crandquist has joined #openstack-dev20:49
*** gyee has quit IRC20:49
davidhadasdolphm: back to v2 - why tenant_id and not tenant_name20:49
dolphmdavidhadas: tenant_id will map directly to project_id ... i'm sure we'll provide the same value via middleware under both keys20:50
*** apevec has joined #openstack-dev20:50
*** apevec has joined #openstack-dev20:50
dolphmdavidhadas: i think swift used tenant_name at some point, and switched to tenant_id?20:50
dolphmdavidhadas: ~diablo20:50
davidhadasdolphm: but why id - this is horrific20:50
dolphmdavidhadas: why is it a prefix?20:51
*** e1mer has joined #openstack-dev20:51
ayoungdolphm, I was just looking at https://review.openstack.org/#/c/12111/4  .  I think that is going to depend on https://review.openstack.org/#/c/15770/20:51
davidhadasdolphm: you force a 74398723863285809483298493 id as part of any object url instead of the human readble tenant_name20:51
dolphmdavidhadas: there's a conversation on the mailing list about that right now20:51
dolphmayoung: ha, that review is abandoned, and i just did the same work in your other review20:52
ayoungdolphm, did you submit that ?20:52
dolphmayoung: https://review.openstack.org/#/c/15724/ <-- the dependencies there are exactly as you'd expect20:52
dolphmayoung: ripe for your approval :P20:53
ayoungdolphm, great.  Still want to put the extra check in first.20:53
davidhadasdolphm: whats the subject used for the discussion in the mailing list?20:53
ayoungdolphm, https://review.openstack.org/#/c/15769/20:54
ayoungthat makes sure that we can insert data into the table.  A minor check, but I also use the logic later in the upgrade tests20:54
dolphmayoung: sold +220:54
dolphmdavidhadas: [openstack-dev] Specifying Tenant-ID in Openstack REST API URLs and Quatum 2.0 APIs20:55
ayoungdolphm, Let me give yours a little close look.  There were some details around pkeys and the such that I want to make sure we get right20:55
dolphmayoung: i'm also making intra-driver foreignkey's proper foreignkeys in the domain review, as you asked20:57
ayoungNot sure if I still stand by that. It does mean that those drivers all need to be in sync, I think.  If you do that, and use LDAP, will it break the other domains.20:57
ayoung?20:57
dolphmayoung: *intra*-driver foreign keys?20:58
ayoungah, ok20:58
dolphmayoung: not catalog to policy, for example20:58
ayoungI just was thinking like catalog onto tenants type stuff.  Intra is correct.20:58
dolphmayoung: cool20:59
*** dprince has quit IRC21:04
*** alexpilotti has quit IRC21:04
davidhadasdolphm: why do you consider the swift reseller prefix as a project under v3 - isnt it a domain?21:04
dolphmdavidhadas: i'm just saying existing tenant_id's are going to literally be project_id's21:05
*** thingee has joined #openstack-dev21:05
dolphmdavidhadas: however, the "billable entity" in v2 is the tenant (hence the name), whereas in v3 (i imagine) that will become the domain for most people21:06
*** s0mik has joined #openstack-dev21:06
davidhadasdolphm: yes - I think v3 domains is closer to what I call a tennat :)  - we would need domains to be unique and hve their own seperate namespaces in orde rto be a real tenant (under my terminology)21:08
*** jimfehlig has quit IRC21:09
gatuusOne more on windows passwords provisioning... How to do that??? With linux images a Got a SSH key.. but in windows?? what to do???21:09
dansmithgatuus: install linux!!!21:09
gatuusI need to... we are going to offer windows!! on our OScloud21:10
dansmith:)21:10
gatuusHP does it.. how? I don't know!21:10
davidhadasdolphm: I guess under v3 -  pepole who seek to offer sharing between groups of users would use  'projects' and those who require isolation between groups work with 'domains'21:10
*** s0mik has quit IRC21:11
*** danwent has quit IRC21:11
*** dolphm has quit IRC21:11
*** s0mik has joined #openstack-dev21:12
*** lloydde has joined #openstack-dev21:13
*** jog0 has quit IRC21:13
*** jog0 has joined #openstack-dev21:14
*** jog0 has quit IRC21:14
*** jog0 has joined #openstack-dev21:14
*** s0mik has quit IRC21:16
vishyayoung: ping21:17
vishyjerdfelt: ping21:17
ayoungvishy, yes21:18
vishyayoung: so using eventlet.green.subprocess is a necessary workaround for this bug:21:18
*** markvoelker has quit IRC21:19
vishyhttps://bitbucket.org/which_linden/eventlet/pull-request/24/fix-waitpid-returning-0-0-and-add-test/diff21:19
ayoungvishy, yes.  Which is what I posted for review.21:19
vishyayoung: oh i haven't seen it yet21:19
vishy(i'm not subscribed to keystone reviews) link?21:20
ayoungvishy, it was a while ago...let me post21:20
ayoungvillep, https://review.openstack.org/#/c/15429/21:20
ayoungvishy ^^21:20
vishyoh eventlet merged my upstream fix :)21:20
vishyayoung: eww, that is nasty21:21
ayoungvishy, as it should be.  We are so dependent on Eventlet, we need to be good community members21:21
vishyayoung: we have to do that in all workers21:21
ayoungvishy, So is eventle.21:22
*** japage has quit IRC21:22
vishyayoung: you didn't change it in auth_middleware21:22
ayoungvishy, no.  I want to be able to run auth_token middleware in Apache.  I think Apache should be the default web server over time, and I don't want to build in additional eventlet dependencies21:23
vishyayoung: but you are catching the exception..21:23
vishyin auth_token21:23
ayoungTHat is a a subprocess excpetion from standard, not green21:24
vishythe subprocess exception is not the same ass the eventlet.green subprocess exception21:24
ayoungvishy, I think they are.  One sec21:24
ayoungvishy, https://bitbucket.org/which_linden/eventlet/src/112a73783baf6027cd727fad33b4b4928571b173/eventlet/green/subprocess.py?at=default21:25
ayoungIt just reuses the standard impls for everything, but does its own thing with Popen21:25
ayoungvishy, I think the magic is in line 10 or so21:26
vishyayoung:  hmm, just tried this21:27
vishyayoung let me try again21:27
*** e1mer has quit IRC21:28
*** utlemming has quit IRC21:28
*** steveleon has joined #openstack-dev21:28
*** maoy has quit IRC21:29
*** blamar has joined #openstack-dev21:29
notmynamettx: ping (re milestone-proposed branch)21:30
vishyayoung: yeah, no worky21:31
*** imsplitbit has joined #openstack-dev21:32
*** mnewby_ has joined #openstack-dev21:32
*** maurosr has joined #openstack-dev21:33
notmynamettx: nm21:33
ayoungvishy, hrm.21:33
openstackgerritA change was merged to openstack/swift: Make swift-bench use less memory with large object sizes.  https://review.openstack.org/1567721:33
*** mnewby has quit IRC21:34
*** mnewby_ is now known as mnewby21:34
vishyayoung: ok i see it works with your fix because you are raising subprocess.CalledProcessError21:34
*** sniperd has quit IRC21:35
vishyayoung: but with your fix we have to modify every api executable to monkeypatch subprocess21:36
ayoungvishy, which is good.21:36
vishywhich is really nasty21:36
ayoungTHat way we audit all of the eventlet usage and get it into one place.21:36
ayoungThen we light that place on fire.21:36
ayoungSeriously, anything we do that is eventlet specific needs to be in one part of the code.21:37
vishyayoung: i think we can make auth_token_middleware detect if anything is monkeypatched21:37
ayoungI tried21:37
*** maurosr has quit IRC21:37
ayoungit has to happen after load time;\21:37
*** blamar has quit IRC21:37
ayoungvishy, if you try to do it when the code is initially loaded, it fails as it has not been monkeypatched yet21:37
*** maurosr has joined #openstack-dev21:38
ayoungWe can't just check for the presence of eventlet on the system21:38
ayoungso, while I am open to a better solution, this was the best I found.21:38
*** pabelanger has quit IRC21:39
russellbdevananda: first baremetal patch approved21:39
*** saurabhs has left #openstack-dev21:39
* devananda dances21:39
devanandagah. rebase ...21:40
russellbheh21:40
russellbdevananda: you up for doing it now?21:40
devanandayep21:40
*** Dorogs has quit IRC21:41
russellbif it's a trivial rebase (no conflicts require code change) it'll automatically re-add the +2s21:41
devanandataking a look21:41
russellbk21:41
devanandai haven't edited someone else's review before so may take a bit extra to figure that bit out21:41
russellbit doens't seem to automatically re-hit approve, so ping me21:41
russellbnothing special needed really ... use the git command it gives you to pull down the patch for that review21:41
russellbrebase and run "git review"21:42
devanandak21:42
russellbauthor of the commit is retained unless you tell git to change it21:42
russellbit'll show that you uploaded it, but it's fine, we do it all the time in gerrit21:42
*** eharney has quit IRC21:42
ayoungvishy, so I think the "right" fix is to make Popen separately monkey_patchable, which is, again, an upstream eventlet fix21:43
*** maurosr has quit IRC21:43
*** gatuus has quit IRC21:43
*** Tross has joined #openstack-dev21:44
ayoungI thik the problem is that the Popen code is written right now to require the origianal Popen code to correctly resolve.  When I tried monkeypatching it away, I got an endless recursion scenario21:44
devanandarussellb: non-trivial changes in scheduler/host_manager21:45
*** maurosr has joined #openstack-dev21:45
*** jaypipes has quit IRC21:46
russellbdevananda: ah, k.  well i'm about to be away for a bit, but i'll look at what changed once i get back and +2 again if everything looks sane21:46
devanandak21:46
ayoungI think, If I under stand this comment correctly, the problem was that they don't want to rewrite subprocess.call and subprocess.check_call https://bitbucket.org/which_linden/eventlet/src/112a73783baf6027cd727fad33b4b4928571b173/eventlet/green/subprocess.py?at=default#cl-6721:46
*** radez is now known as radez_g0n321:46
* mordred apologizes for the flood of patches he's submitting - he just got off a plane21:48
*** anniec72 has joined #openstack-dev21:48
*** echohead has quit IRC21:50
*** yidclare has joined #openstack-dev21:51
vishyayoung: the following works: http://paste.openstack.org/show/25341/21:51
vishyfyi21:51
*** anniec72 has quit IRC21:52
vishyayoung: i don't think the late load is even necessary if monkeypatch is called before other impoarts21:53
vishyayoung: testing now21:53
ayoungvishy  why except cms.subprocess.CalledProcessError ?21:54
vishyso i don't have to do the same logic in auth_token21:54
ayoungvishy, but by the time this code is executed, won;t the right subprocess be in this .pyc's globalnamespace?21:55
*** dani4571 has joined #openstack-dev21:55
ayoungah, OK I see, different file21:55
vishyyeah21:55
ayoungOK, that is cool21:55
vishyfyi it works without the special method21:55
*** gatuus has joined #openstack-dev21:56
ayoungvishy, I'm game for a better solution.21:56
vishyayoung: this one ok? http://paste.openstack.org/show/25342/21:56
ayoungvishy, I don't think so21:57
vishyi just verified that it works fyi21:57
ayoungIIUC that is going to fail, as that code might get evaluated before the monkeypatch, depending on how it is imported21:57
ayoungI tried something like that in Keystone and it didn't work, as the cms file was in the import chain before monkeypatch was called21:58
*** roge has quit IRC21:58
*** lloydde has quit IRC21:59
*** lloydde has joined #openstack-dev21:59
*** lloydde has quit IRC22:00
*** lloydde has joined #openstack-dev22:00
vishyayoung monkeypatch should be called first in all binaries22:01
vishyany other usage is likely to fail22:01
*** roge has joined #openstack-dev22:01
vishyall of our binaries do:22:01
vishyimport eventlet22:01
vishyeventlet.monkey_patch()22:02
vishyas the first and second lines22:02
ayoungvishy, in the case of Keystone (the only one I checked) we import all of the files starting at keystone-all.  Then we parse the command line parameters, because of patching thread messing up the debugger22:02
vishybut if you want the safer  ensure_subprocess that is ok22:02
vishyayoung: sigh that sucks well we can use my late import version if you prefer22:03
ayoungyeah, I think that is the best of a bad situation22:03
vishyanother way to do it is to only import subprocess if it isn't in sys.modules so if one of the callers has imported subprocess it will use that version22:03
*** echohead has joined #openstack-dev22:03
*** lloydde_ has joined #openstack-dev22:04
*** lloydde has quit IRC22:05
ayounglets go with your late import version. I think it is less 'magic'22:05
annegentle_anyone going on a word journey with me? What are calculs? http://docs.openstack.org/trunk/openstack-compute/admin/content/ceph-rados.html22:05
ayoungvishy, are greenthreads and Eventlet really the right way to develop this kind of application?22:06
ayoungannegentle_, they are people elected to do Calculus, of course22:07
*** danwent has joined #openstack-dev22:07
* annegentle_ boggles some more22:07
annegentle_I'm really boggling not googling22:08
vishyayoung: hmm actually that doesn't seem to work i suppose some other dependency is importing subprocess somewhere22:09
*** boden has quit IRC22:10
*** rnirmal has quit IRC22:10
*** samkottler is now known as samkottler|bbl22:11
*** Dr_Who has joined #openstack-dev22:13
*** Dr_Who has quit IRC22:13
*** Dr_Who has joined #openstack-dev22:13
vishyayoung: that is an interesting question but we don't have an alternative yet.22:13
vishyayoung: https://review.openstack.org/1579122:13
*** jcooley has quit IRC22:14
*** edygarcia has joined #openstack-dev22:15
*** dolphm has joined #openstack-dev22:18
*** markwash has quit IRC22:18
ayoungvishy, Actually, we do.  We can run in Apache HTTPD.  It gets us a lot (as I have ranted about on more than one occasion) but I want to make sure I am not missing anything that drives us toward Eventlet.  Eventlet seems to be a bad match for our usage patterns.22:19
vishyfor the api worker you could be correct22:19
*** gyee has joined #openstack-dev22:19
*** esheffield has quit IRC22:20
vishybut using eventlet has the advantage of being easily runnable and matching the other workers...22:20
ayoungvishy, I guess it kind of gets into that whole "Threading in Python is ugly" discussion.22:21
*** gyee has quit IRC22:22
*** dolphm has quit IRC22:23
*** gyee has joined #openstack-dev22:26
ayoungvishy, I'm guessing that you change failed due to what happens in keystone-all. I think you need to disable the monkeypatch of Popen in there, too22:28
vishyayoung: ah ok22:28
ayoungvishy, and pep822:28
vishyayoung: are you ok using regular popen in the rest of keystone?22:28
ayoungrun_test.sh --pep822:28
ayoungvishy, let me check22:29
ayoungvishy, yeah, none of the rest is called at runtime.  Just from utilites and packing and docs etc22:30
devanandarussellb: still working on the rebase. lots of conflicts in tests/ due to https://review.openstack.org/#/c/15716/22:33
*** EntropyWorks has quit IRC22:36
*** steveleon has quit IRC22:36
openstackgerritA change was merged to openstack/nova: Removed two unused imports.  https://review.openstack.org/1493422:39
*** markmcclain has quit IRC22:43
*** spiffxp has joined #openstack-dev22:44
*** jcru is now known as jcru|away22:45
ayoungvishy, also, unit tests are failing with that change....hmm22:45
vishyayoung: will look at unit tests next22:46
ayoungvishy, I am getting a 401 from the client test.  Are you seeing that?22:47
*** EntropyWorks has joined #openstack-dev22:47
*** aravindp has joined #openstack-dev22:48
*** alunduil has quit IRC22:48
*** john5223 has quit IRC22:50
ayoungvishy,  if patcher.already_patched.get('os'): seems to be failing somehow.22:50
ayoungvishy, ah, ok, so that if statement is evaluating to false for me22:51
ayoungand since there is no corresponding else,  no import22:51
vishyayoung: ah yeah i only catch instead of dealing with false22:52
ayoungvishy,  I think that, with a small addition I can get your change to work, it might not be getting exercised by the unit test here.22:52
ayoungvishy, I'm going to post an updated patch.  I fixed pep 8 as well22:52
devanandarussellb: just about done with the rebase22:53
vishyayoung:22:53
vishyi just reposted22:53
vishyayoung: see if you did the same thing22:53
vishyayoung dangit you clobbered me :)22:54
ayoungvishy, yours is wrong anyway22:54
ayoungyou left in the call to monkeypatch_cms22:55
ayoungI also left in an import22:55
ayoungI'll take out import keystone common cms22:55
vishyayoung: yeah we both had an extra line :)22:55
ayoungyeah, but mine ran...heh22:56
vishygood point22:56
vishy:o22:56
ayoungvishy, I'll let you post the updated version.  Just, before you do, run bin/keystone-all from the command line, too22:57
vishyayoung: no its fine you can post22:58
ayoungOK22:58
vishyyours was one line away :)22:58
*** dspano has quit IRC22:59
ayoungvishy, just made sure keystone still worked.  I'm going to fire up devstack and see what happens, too.23:01
*** nati_ueno_2 has joined #openstack-dev23:01
*** alexpilotti has joined #openstack-dev23:03
*** Dr_Who has quit IRC23:03
*** littleidea has quit IRC23:05
*** steveleon has joined #openstack-dev23:05
*** otherwiseguy has quit IRC23:06
*** annegentle_ has quit IRC23:08
*** jcru|away is now known as jcru23:08
*** edygarcia has quit IRC23:09
*** sunilthaha has joined #openstack-dev23:10
vishyjgriffith: fyi, i tested the dm-zero strategy and the performance is terrible23:11
vishyjgriffith: so unless I'm doing something really silly, that will not work as a strategy23:11
*** kobier has joined #openstack-dev23:14
*** crandquist has quit IRC23:15
*** arata has joined #openstack-dev23:16
*** lloydde_ has quit IRC23:18
*** lloydde has joined #openstack-dev23:19
*** littleidea has joined #openstack-dev23:19
*** EntropyWorks_ has joined #openstack-dev23:21
*** EntropyWorks_ has quit IRC23:21
*** lloydde has quit IRC23:24
*** jcru has quit IRC23:27
*** roge has quit IRC23:28
*** reed has quit IRC23:31
*** jcooley has joined #openstack-dev23:31
*** s0mik has joined #openstack-dev23:32
*** jcru has joined #openstack-dev23:33
*** andrewbogott is now known as andrewbogott_afk23:34
zodiakhrm. anyone good with tempest around here ? wondering why I can't jst run; nosetests -v tempest.tests.compute.servers.test_server_actions23:36
openstackgerritA change was merged to openstack/swift: fix error with setting max age and incorrect tests  https://review.openstack.org/1579423:36
zodiakwell, I mean, I know why, because flavor is never set anywhere in the setup, but, I mean rather, what is the 'correct way' to run single tests in tempest then23:37
*** gatuus has quit IRC23:37
*** kmansel has quit IRC23:38
*** gongysh has joined #openstack-dev23:39
*** ayoung has quit IRC23:42
*** nati_uen_ has joined #openstack-dev23:42
*** apevec has quit IRC23:44
*** nati_ueno_2 has quit IRC23:44
*** jcru has quit IRC23:47
*** sacharya has quit IRC23:48
*** adjohn has joined #openstack-dev23:48
*** Dr_Who has joined #openstack-dev23:50
*** Dr_Who has quit IRC23:50
*** Dr_Who has joined #openstack-dev23:50
*** alunduil has joined #openstack-dev23:50
*** markwash has joined #openstack-dev23:52
*** nati_uen_ has quit IRC23:54
*** nati_ueno_2 has joined #openstack-dev23:54

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