Friday, 2015-05-29

*** p4tux has joined #openstack-containers00:00
*** p4tux has quit IRC00:05
*** jjlehr has quit IRC00:06
*** Kennan is now known as Kennan_00:06
*** Tango has quit IRC00:10
*** kebray has quit IRC00:19
*** suro-patz1 has quit IRC00:20
*** Drago has quit IRC00:25
openstackgerritLan Qi Song proposed openstack/magnum: Use oslo.log instead of oslo.incubator log module  https://review.openstack.org/18644700:26
sdake_madhuri ping00:27
*** diga has joined #openstack-containers00:28
*** jruano has joined #openstack-containers00:29
*** adrian_otto has quit IRC00:32
Kennan_sdake_00:34
sdake_sup kennan_00:34
Kennan_so for requirement, I will first add in global, right ?00:34
sdake_naked pings are evil btw :)00:34
sdake_yup00:35
Kennan_ok sdake_00:35
*** hongbin has joined #openstack-containers00:35
sdake_http://github.com/openstack/requirements I think00:35
Kennan_yes00:35
openstackgerritKai Qiang Wu(Kennan) proposed openstack/magnum: Use new docker exec call  https://review.openstack.org/18632300:36
*** sdake_ has quit IRC00:38
*** sdake has joined #openstack-containers00:38
*** dims_ has quit IRC00:42
Kennan_sdake_00:42
Kennan_ping00:42
sdakesdake ping subject :)00:42
sdakesup00:42
Kennan_I have added some comment https://blueprints.launchpad.net/magnum/+spec/configurable-coe-api-port00:43
sdakealot of cats ping it helps me to priortize :)00:43
Kennan_could you check that00:43
*** snrism has quit IRC00:44
*** jruano has quit IRC00:44
sdakecommented00:46
*** dims_ has joined #openstack-containers00:47
*** Kennan_ is now known as Kennan00:50
*** p4tux has joined #openstack-containers00:51
*** tobe has joined #openstack-containers00:52
eliqiao1hi sdake: I'd like to propose a changes to magnum conductor, and I'v registed a bp, could you help to check it?00:52
eliqiao1#link https://blueprints.launchpad.net/magnum/+spec/add-periodic-task00:52
*** sdake_ has joined #openstack-containers00:52
eliqiao1and I wonder do we need spec for magnum for now ?00:52
sdake_we dont use a spec process00:53
sdake_maybe in M00:53
sdake_madhuri when you get in can you test that change in the review queue for the python k8sclient00:55
*** p4tux has quit IRC00:56
eliqiao1sdake_: I'd registered a bp, then how can I get approved before landing patches to magnum?00:56
sdake_link?00:56
sdake_ask a core to review00:56
sdake_if its a nobrainer, it gets approved00:57
sdake_if it requires dsicussion it goes into discussion state00:57
*** sdake has quit IRC00:57
eliqiao1#link https://blueprints.launchpad.net/magnum/+spec/add-periodic-task00:57
sdake_i am wary of periodic tasks from a scalability POV00:58
sdake_but I also don't like our current heat thread thing00:58
sdake_so do you plan to get rid of the heat thread thing?00:58
sdake_and replace with periodic timer?00:58
*** Kennan has quit IRC00:58
*** Kennan has joined #openstack-containers00:59
sdake_eliqaio1?00:59
sdake_eliqiao1?00:59
sdake_got it :)00:59
eliqiao1sdake_: hi00:59
sdake_read above00:59
*** vahidh has quit IRC00:59
eliqiao1sdake_: hmm.. currently I don't want to change pulling heat things..01:00
sdake_what would the periodic task do then?01:00
eliqiao1like I say in the bp, if pulling heat worker done before heat create stack. then there is no change to update that bay01:01
eliqiao1so periodic task do some cleanup works.01:01
sdake_are you going to implement some of that cleanup work as well?01:02
eliqiao1another case is if conductor crashed when pulling heat...01:02
eliqiao1what I can see for now, cleanup work will only to watch the bays that in "IN_PROGRESS" status and pull heat to sync it.01:03
sdake_ok if you implement taht as well I'll approve the bp01:03
sdake_I dont want to add infrastructure if it doesn't have an immediate use case tho :)01:03
sdake_note also, I first had periodic timers inthe code and couldn't get conductor to work with oslo messaging with it01:04
eliqiao1sdake_: thanks I will try to get patch ready01:04
sdake_so you may be in for some challenge there01:04
sdake_can you make June 25th deadline?01:04
eliqiao1sdake_: hmm. I will try01:05
sdake_ok01:05
eliqiao1sdake_: thanks :)01:05
eliqiao1sdake_:  I used to work for nova, so there maybe something good code we can borrow from it.01:06
sdake_nice01:06
sdake_welcome aboard :)01:06
eliqiao1sdake_: thanks ^_^01:07
Kennansdake_ so you think we move apiserver_port from baymodel to bay01:09
Kennanis it ?01:09
sdake_kennan I htink that is a discussion for the mailing list01:09
sdake_I was justplaying devil's advocate :)01:09
Kennanso sdake_ I need send this as discussion in maillist ?01:10
sdake_I think that would be approrpiate yes01:10
KennanOK sdake_ thanks01:10
*** sdake_ has quit IRC01:17
*** vilobhmm has quit IRC01:17
*** sdake has joined #openstack-containers01:18
*** tobe has quit IRC01:22
*** jay-lau-513 has joined #openstack-containers01:28
sdakejay-lau-513 any chance you can test a patch for me?01:32
sdakemy devstack is busted01:32
jay-lau-513sdake ok, which one?01:33
sdakehttps://review.openstack.org/#/c/186287/01:33
sdakesomehow you have to use the pod read api call01:34
sdakeI'm not sure if that is implemented anywhere or not01:34
jay-lau-513let me check01:34
sdakeyou may have to hardcode something01:34
sdakesince we have no test cases for our client01:34
sdakethis is what I get for doign a git pull on devstack ;(01:35
*** madhuri_ has joined #openstack-containers01:35
*** dims_ has quit IRC01:35
sdakemadhuri_ ?01:35
madhuri_sdake: Good morning01:36
sdakehey jay I htink madhuri_ can test01:36
sdakeshe knows what to test :)01:36
sdakejay-lau-513 ^ :)01:36
jay-lau-513sdake ;-)01:36
madhuri_I took a leave today01:36
madhuri_Yes I will test now01:36
sdakeoh are you out of the office then?01:36
madhuri_And let you now01:36
madhuri_Yes01:36
madhuri_But I can access office machine01:36
sdakewell we get so few breaks I dont want to interrupt your day off01:37
madhuri_I will get back to you01:37
sdakek01:37
sdakehttps://review.openstack.org/#/c/186287/ is the review01:39
sdakeits passing the functioanl gate but our functioanl gate doesn't do any pod reading01:39
*** dims_ has joined #openstack-containers01:39
sdakejay-lau-513 ould appreciate a review tho :)01:40
sdakewould that is01:40
*** suro-patz has joined #openstack-containers01:40
jay-lau-513sdake sure01:40
sdakeit seemed to work in my test program01:40
*** dims_ has quit IRC01:45
*** erkules_ has joined #openstack-containers01:46
*** suro-patz has quit IRC01:46
*** snrism has joined #openstack-containers01:49
*** erkules has quit IRC01:49
*** erkules_ has quit IRC01:51
*** tobe has joined #openstack-containers01:52
*** bradjones has quit IRC01:52
*** erkules_ has joined #openstack-containers01:54
madhuri_sdake: It worked01:54
sdakeunbelievable :)01:54
madhuri_But I think we should add metadata to the model01:54
madhuri_What do you say?01:54
sdakeyou mean the key that is missing?01:55
madhuri_Yes01:55
sdakea separate patch I think01:55
sdakeshould regenerate the api01:55
madhuri_Agree01:55
sdakemake sure we get the latest key value stuff01:55
madhuri_Yes I will check for all readAPIs for pod/rc/service01:56
madhuri_And then give a +201:56
sdakenice01:56
*** bradjones has joined #openstack-containers01:56
sdakeI have to admit I had low confidence on the patch :)01:56
madhuri_There are few more issues for which I will submit a patch01:56
sdakeissues with that patch or something else?01:57
madhuri_No others01:57
sdakeit would be nice if you could get that implementation into the upstream swagger code01:57
sdakesince what they have is absolute garbage01:57
sdake(or some variant of that implementation)01:57
madhuri_And testing the kubernetes is really easy01:57
sdakeI dont like the naked exception01:58
sdakeI htin kwe should only expect KeyErrors01:59
sdakebut I am not sure01:59
madhuri_https://github.com/swagger-api/swagger-codegen/issues/595#issuecomment-9362540901:59
madhuri_I have logged an issue for this01:59
madhuri_But they want me to test on different branch01:59
madhuri_Yes more specific exception is good02:00
madhuri_KeyError02:00
sdakewell personally I think swagger can DIAF02:01
sdakethat project is a short term means to a long term end02:01
sdakeit is mor ework to deal with autogeneration then to make a proper client02:02
sdake(if your kubernetes community)02:02
sdakeIMNSHO :)02:02
*** eghobo has quit IRC02:04
madhuri_Agree02:05
*** unicell has quit IRC02:07
*** snrism has quit IRC02:12
madhuri_sdake: There is indentation issue in the patch02:21
sdakebummer I thought I got all those02:21
madhuri_2 spaces indentation issue02:22
*** snrism has joined #openstack-containers02:22
madhuri_Sorry 2 spaces indentation is used02:22
madhuri_If you want I can submit the running and tested patch02:23
sdakewierd02:24
sdakeok feel free02:24
sdakeactually let me02:24
sdakeso you can approve it02:24
sdakecan you git diff | paste02:24
sdakemadhuri_02:25
madhuri_Ok sure02:25
*** snrism has quit IRC02:25
madhuri_How to share the diff?02:27
openstackgerritSteven Dake proposed openstack/magnum: Implement secure deserialize function  https://review.openstack.org/18628702:27
sdakeif your on fedora you can git diff | fpaste02:28
sdakeotherwise not sure02:28
sdakehave a look at that patch and see if its fixed02:28
madhuri_I will check your patch02:28
sdakedid it work for all the object types?02:29
sdakei've got a demo of kolla tomorrow or i'd try getting devstack rolling today02:31
madhuri_sdake: I think you didn't change the identation02:32
madhuri_It's still the same02:32
sdakeshare diff plz02:32
madhuri_Ok please wait02:33
*** jruano has joined #openstack-containers02:35
sdakeindentation looks right in my patch i submitted02:35
*** jruano has quit IRC02:36
madhuri_May I mail you the diff or just paste is ok02:39
sdakepaste is fine02:39
sdakebrb02:40
madhuri_ok02:40
*** sdake_ has joined #openstack-containers02:40
madhuri_http://paste.openstack.org/show/243666/02:41
hongbinsdake, eliqiao1: About the periodic task BP, I have some concerns.02:42
*** sdake has quit IRC02:43
eliqiao1hongbin: sure02:43
*** sdake has joined #openstack-containers02:43
hongbinCheck this ML http://lists.openstack.org/pipermail/openstack-dev/2015-March/058898.html02:43
hongbinWe are going to change from polling to push02:43
openstackgerritSteven Dake proposed openstack/magnum: Implement secure deserialize function  https://review.openstack.org/18628702:43
hongbinThe idea is to let Heat to notify Magnum02:44
eliqiao1yes, I think we can do it parallelly02:44
hongbinIf we pursuit the notification direction, then it looks the periodic task is unnecessary.02:44
hongbinK. If you think it is necessary, then go ahead02:45
sdakethe code will be refactored 20 times in the next 6 months :)02:45
sdakehongbin but apologies i must have missed that thread02:46
hongbinNP02:46
hongbinwhat do you think. Is periodic task necessary?02:47
*** sdake_ has quit IRC02:47
sdakeIdidn't think it was necessary before I approved the blueprint02:47
sdakebut code comes and goes02:47
hongbinK02:48
sdakemost of the code I originally wrote in magnum is gone ;)02:48
sdakeor atleast heavily changed02:49
sdakemadhuri_ does that look better?02:49
hongbinI guess the DB and objects are still there02:49
sdakeI didnt' realize that code used 2 spaces vs 402:49
sdakeya look at the bright side hongbin :)02:49
hongbin:)02:49
sdakeits ok, it would have not been refactored if there wasn't something to refactor :)02:49
madhuri_sdake: Indentation error :D02:52
sdakeoh sadface02:53
sdakedid I mention I hate computers :)02:53
sdakemadhuri_ can you tell me where in the review (line !)02:55
sdake#)02:55
madhuri_Line 20502:55
sdakemake a comment in the review02:55
madhuri_Ok02:56
madhuri_Bad it seems not working02:56
madhuri_I will leave my comment02:56
openstackgerritSteven Dake proposed openstack/magnum: Implement secure deserialize function  https://review.openstack.org/18628702:57
sdakehow about now :)02:57
eliqiao1hongbin: for periodic bp, I think it is useful even we have heat notify magnum, nofication will be only triggered one time, so if magnum misses it. then the status will be get lost, so periodic task will be useful in this case02:57
openstackgerritSteven Dake proposed openstack/magnum: Implement secure deserialize function  https://review.openstack.org/18628702:59
*** snrism has joined #openstack-containers02:59
hongbineliqiao1: Sure. Could you write your comment to the BP, so that everyone can see your arguments.03:00
sdakeok that should be it madhuri_ :)03:00
sdake2 spaces for python idententation, another reason swagger can DIAF03:03
sdakeI'm keeping a list03:03
eliqiao1hongbin:  good idea, I will update it.03:03
*** snrism has quit IRC03:03
sdakeworst cae eliqiao1 will learn how the code works and make other improvements and we can remove if we really do the notification thing03:04
sdakeI'm not really sold that will work well ;)03:04
sdake(the notifications)03:04
sdakemadhuri_ can you give the latest patch a spin03:05
eliqiao1sdake: ah, thanks I get you.03:06
madhuri_There is some other issue sdake03:07
madhuri_I am checking03:07
madhuri_You can leave it for now03:07
madhuri_I will get back to you03:07
*** fawadkhaliq has joined #openstack-containers03:07
*** barra204 has quit IRC03:11
madhuri_sdake: https://github.com/openstack/magnum/blob/master/magnum/common/pythonk8sclient/client/models/V1beta3_Pod.py#L6703:11
madhuri_Can you see this?03:12
sdakegithub? yes03:12
sdakeis it not creating that object?03:12
madhuri_Yes03:13
*** barra204 has joined #openstack-containers03:13
sdakeyes it is not creating that object?03:13
sdakeor yes it is creating that object03:14
madhuri_Not creating that object03:14
madhuri_But it should03:14
sdakewas it prior?03:15
madhuri_I don't know when I tested it first it worked03:15
madhuri_ANd now not working03:15
madhuri_:(03:15
madhuri_Ahh I get it03:15
madhuri_Earlier the naked exception made it work03:16
sdakeare you getting an exception?03:16
madhuri_Yes03:16
sdakeif so, which03:16
madhuri_Please see my comments on patch03:19
madhuri_Generic exception could be so dangerous03:19
openstackgerritSteven Dake proposed openstack/magnum: Implement secure deserialize function  https://review.openstack.org/18628703:21
sdakehow about now :)03:21
sdakewhat do you mean generic exception, you mean generic KeyError?03:28
madhuri_No earlier in the patch it was Exception, that's why it passed earlier03:31
madhuri_But now changing to more specific error KeyError shows other error03:32
hongbinI am going to leave. Good night folks.03:37
*** hongbin has quit IRC03:38
eliqiao1sdake and all, if I need to pull heat, I need first to construct a osc with context, but the context(a fake admin context) has no auth_token, so how can I get the auth_token?03:40
sdakemadhuri_ what exception03:41
sdakeeliqiao1 it is in the context of the rpc03:41
madhuri_TypeError: 'str' object is not callable03:41
madhuri_It couldn't construct the subclasses03:42
eliqiao1no , I don't have context at all, since I am  not in a context, I am in a periodict task ... the context is not passed from rpc03:42
*** kenhui has joined #openstack-containers03:43
eliqiao1no request get called, and hooks was not get called, and I don't have context, so I create a fake admin context(without auth_token, I don't know wher can I get it)03:44
* eliqiao1 out for lunch 03:46
*** kenhui has left #openstack-containers03:46
*** achanda has joined #openstack-containers03:53
sdakemadhuri_ can you paste the dictionary again please03:55
sdakeI dont have it in my scrollback03:55
sdakeand what is the second parameter03:57
sdakeI'll break it out as a separate code and test and debug it here03:57
madhuri_Ok04:00
*** snrism has joined #openstack-containers04:00
madhuri_sdake: http://paste.openstack.org/show/243814/04:01
sdakeand the second parameter?04:02
*** snrism has quit IRC04:03
*** snrism has joined #openstack-containers04:04
*** eghobo has joined #openstack-containers04:04
sdakemadhuri_04:04
*** achanda has quit IRC04:05
*** achanda has joined #openstack-containers04:06
madhuri_<magnum.common.pythonk8sclient.client.models.V1beta3_PodStatus.V1beta3_PodStatus object at 0x7ff2d7cf62d0>04:08
madhuri_sdake: I tested my patch it is working04:09
sdakenice you goti to going?04:09
madhuri_But  I am not sure what to do when data is None04:09
madhuri_Yes04:09
sdakewhen data is None do nothing I think is what the old code did04:09
sdakegot a diff?04:10
madhuri_sdake: Just give me few min04:11
madhuri_I will share the diff04:11
*** achanda has quit IRC04:11
sdakesure04:11
sdakemadhuri_ are you using globals()?04:12
sdakewhen you get wrapped up, add yourself as a coauthor-by line and submit an update review04:14
madhuri_No04:17
sdakecool would love to see your patch04:24
*** sdake_ has joined #openstack-containers04:29
*** sdake has quit IRC04:33
*** snrism has quit IRC04:33
*** snrism has joined #openstack-containers04:37
*** snrism has quit IRC04:44
*** snrism has joined #openstack-containers04:48
*** tobe has quit IRC04:52
*** snrism has quit IRC04:56
*** achanda has joined #openstack-containers05:05
madhuri_sdake_: Around?05:05
*** vilobhmm has joined #openstack-containers05:10
eghobohongbin_desktop: I found Mesos proposals/discussions around networking (https://docs.google.com/document/d/1nqnV586QYl333kA0XUkkjpsRudGX0cMEBMz6FufcMn0/edit#heading=h.6rxvupd83ce3)05:10
eghobodo you think it make sense to add them to blueprint?05:10
*** tobe has joined #openstack-containers05:14
*** unicell has joined #openstack-containers05:18
sdake_madhuri_ shoot05:25
madhuri_Isn't there any utils in oslo to convert str to type05:29
madhuri_Similar to eval05:29
madhuri_We need eval05:30
madhuri_eval('int') returns type int05:30
madhuri_But that doesn't work with ast.literal_eval doesn't05:30
madhuri_use of eval here https://github.com/openstack/magnum/blob/master/magnum/common/pythonk8sclient/client/swagger.py#L21205:32
madhuri_is safe05:32
madhuri_But gate will not allow this right?05:32
madhuri_sdake_: ?05:32
sdake_madhuri_ use globals()05:41
sdake_yes gate wont allow eval05:41
sdake_the original code is way wrong with eval as it can create arbitrary stuff and has no type authentication05:42
*** vilobhmm has quit IRC05:43
sdake_klass = globals()["class_name"]05:43
sdake_instance = klass()05:43
sdake_cls = globals()[obj_type]05:43
sdake_obj = cls(value)05:43
sdake_try that05:43
sdake_eval ('rm -rf because I want to") will end badly05:45
sdake_someone could pass that as a type in the swagger api05:45
*** sdake has joined #openstack-containers05:46
*** tobe has quit IRC05:47
madhuri_For class type the import_class has worked05:47
madhuri_But for python literal types05:47
sdakeglobals()05:48
madhuri_For example int or str, it doesn't work05:48
sdaketry that?05:48
sdakeya it doesn't work on builtins05:48
*** sdake_ has quit IRC05:50
*** eghobo has quit IRC05:59
*** eghobo has joined #openstack-containers05:59
*** Tango has joined #openstack-containers06:08
sdakemadhuri_ this is problematic06:09
sdake       self.swaggerTypes = {06:09
sdake06:09
sdake            'Condition': 'list[v1beta3_PodCondition]',06:09
sdakemadhuri_ I've hit the wall its 11pm06:10
sdakeim headed to bed06:10
sdakeI'll sort this POS out tomorrow06:10
madhuri_Ya I know06:11
madhuri_Ok06:11
*** alex_klimov has joined #openstack-containers06:11
*** tobe has joined #openstack-containers06:15
*** destiny has joined #openstack-containers06:18
*** oro has joined #openstack-containers06:19
*** madhuri_ has quit IRC06:19
sdakeI can see why the swagger cats didn't do this job properly06:20
*** madhuri_ has joined #openstack-containers06:20
*** suro-patz has joined #openstack-containers06:30
sdakemadhuri_ http://ur1.ca/mo556 -> http://paste.fedoraproject.org/226812/4328810506:31
*** snrism has joined #openstack-containers06:33
*** suro-patz has quit IRC06:34
*** eghobo has quit IRC06:34
*** Tango has quit IRC06:43
sdakemadhuri can you give me  an example of a podstatus with multiple entries for one of the list items?06:50
sdake(a json blob)06:50
sdakeI need to know what it looks like to see if I'm parsing correctly06:50
*** unicell has quit IRC06:52
*** unicell has joined #openstack-containers06:52
sdakeI think this is close06:58
sdakehttp://ur1.ca/mo5bv -> http://paste.fedoraproject.org/226816/8826691406:58
sdakemadhuri the class names dont match the names in the swagger spec07:00
sdakeWHISKY TANGO FOXTROT07:00
madhuri_http://paste.openstack.org/show/244155/ here07:00
sdakeI'm pretty sure their parser is busted too07:00
madhuri_Yes you are right07:01
sdakehow does their parser deal with it?07:01
*** jay-lau-513 has quit IRC07:01
sdakeor is it just the swagger spec is busted07:01
*** jay-lau-513 has joined #openstack-containers07:01
madhuri_Just run find ./pythonk8sclient -name "*.py" | xargs sed -i 's/v1beta3_/V1beta3_/'07:01
madhuri_This is work07:02
sdakecan you make a commit for that please07:02
sdakeI find it highly unlikley their parser works07:04
sdakebut maybe they have some other mapping in the system07:05
sdakeuse a partial on my bug id07:05
openstackgerritMadhuri Kumari proposed openstack/magnum: Fixing import error in kubernetes client code  https://review.openstack.org/18666207:07
sdakedo the swagger cats know about this problem?07:09
sdakeor is this a kubernetes bug?07:09
madhuri_Yes07:11
sdakeyes to both? :)07:11
madhuri_I shared a bug link earlier with you07:11
sdakeright07:11
sdakeok07:11
madhuri_swagger-codegen issue07:11
madhuri_Not kubernetes07:11
madhuri_Your patch is ok07:11
sdakewhich one07:12
madhuri_But just need to add a check for None type07:12
*** oro has quit IRC07:12
madhuri_The last patch you shared07:12
sdakehttp://ur1.ca/mo5ga -> http://paste.fedoraproject.org/226821/1432883507:12
sdakethis is close07:12
sdakebut j.phase is printing out as None07:12
sdakeand j.phase is actually not none in the structure07:12
sdakealso I am dereferencing "status"07:12
sdakeI'm not sure where status is coming from07:13
madhuri_status is coming from PodStatus07:13
madhuri_sdake: My lunch has arrived07:13
sdakeenjoy07:13
madhuri_I will be right back07:13
sdaketake your time07:13
*** unicell1 has joined #openstack-containers07:15
*** unicell has quit IRC07:16
*** snrism has quit IRC07:20
*** achanda has quit IRC07:22
*** erkules_ is now known as erkules07:22
*** erkules has joined #openstack-containers07:22
sdakemadhuri_ the way swagger breaks things into a million objects is way overkill07:27
madhuri_sdake: Hmm07:30
openstackgerritSteven Dake proposed openstack/magnum: Implement secure deserialize function  https://review.openstack.org/18628707:30
sdakecan you give that a spin07:30
sdakethat works for my test object07:30
sdakeparses everything correctly07:31
madhuri_ok07:31
sdakewell that was helpful now I know how all that stuff works ;-)07:33
madhuri_Fails for None07:33
madhuri_That's great07:33
sdakewhere is none from07:33
sdakeI dont have an example of None07:33
sdakeis that an Object type?07:33
sdakeor a swagger type?07:34
madhuri_V1beta3_ResourceRequirements07:35
sdakeIs none what is "any" type ?07:35
sdakewhat is "any" type?07:35
*** unicell has joined #openstack-containers07:35
sdakeResourceRequirements uses any not none07:36
sdakefor the swaggerTypes07:36
madhuri_Yes any is also an error in swagger-spec07:36
sdakehas google fixed that?07:36
*** unicell1 has quit IRC07:36
madhuri_No07:36
sdakedo they know its a problem or don't think its a problem?07:37
madhuri_I haven't talk to them about it07:37
madhuri_I just got this error now07:37
sdakeplease yell at them07:37
madhuri_While working07:37
sdakeand flog the shit out of them for even thinking about code generation07:37
madhuri_I want to07:37
madhuri_On both swagger and kubernetes07:37
madhuri_:)07:37
sdakecan you get a commit up that sed any07:38
madhuri_Yes07:38
sdakepartial on my bug id07:38
sdakeyou said failure for none07:38
sdakewhere is example of None?07:38
sdakedo you mean if value == None?07:40
sdakerather v == None?07:40
madhuri_v1beta3_Volume is None07:42
sdakeso your getting none back from the rest api?07:43
sdakeI can fix that07:43
sdakemedium = tyep of str07:43
madhuri_Yes07:43
*** achanda has joined #openstack-containers07:44
openstackgerritSteven Dake proposed openstack/magnum: Implement secure deserialize function  https://review.openstack.org/18628707:45
sdakeoh groan07:45
openstackgerritSteven Dake proposed openstack/magnum: Implement secure deserialize function  https://review.openstack.org/18628707:49
sdakemadhuri_ give that one a spin07:49
sdakehow do you test this btw?07:49
madhuri_I will share the script07:49
sdakein the repo would be good07:50
sdakeif you wouldn't mind07:50
sdakeit doesn't have to gate07:50
sdakejust for manual testing07:50
sdakeuntil we sort out how to do the job on this properly07:50
madhuri_typo in your patch07:50
madhuri_setaddr07:50
openstackgerritSteven Dake proposed openstack/magnum: Implement secure deserialize function  https://review.openstack.org/18628707:53
sdakebrb07:54
madhuri_Also add a check for none in case of list[*07:54
*** sdake_ has joined #openstack-containers07:55
sdake_tell me we have victory madhuri :)07:56
sdake_madhuri_ taht is07:57
*** sdake has quit IRC07:59
madhuri_Yes we have it finally08:06
madhuri_I will submit few changes in other patch08:06
madhuri_I have added metadata key and change type any to dict in the models only which we need now08:06
madhuri_sdake_: Please submit a new patch with one more additional check08:08
madhuri_And also remove the sed change from your patch08:08
madhuri_sdake_: Here is the test script http://paste.openstack.org/show/244263/08:09
sdake_which one more dditional check?08:10
sdake_which sed change?08:10
madhuri_http://paste.openstack.org/show/244264/08:12
madhuri_Here is the diff08:12
madhuri_And sorry no sed change08:12
*** dims_ has joined #openstack-containers08:12
sdake_madhuri_ go ahead and submit an udpated review08:14
sdake_so we dont have to go back and forth teting again08:14
sdake_I did include the first none though in my last change08:14
*** alex_klimov has quit IRC08:14
sdake_I think you are getting none in a list entry as well08:14
sdake_which sems odd08:14
madhuri_We also need check in case type is list[*08:14
sdake_shardy pointed me at this article: http://stackoverflow.com/questions/9522627/get-built-in-function-from-the-function-name08:16
sdake_anyway i'm going to bed :)08:16
sdake_if you could get that review in teh queue before you head out I'd apprecaite iit :)08:16
sdake_or all of them neededt08:16
sdake_they all need backports08:16
sdake_i'll be around in t-7 hours :)08:17
*** sdake_ has quit IRC08:17
madhuri_Backports to stable kilo?08:17
*** dims_ has quit IRC08:18
madhuri_Can we merge the patches now so that I can once?08:18
madhuri_All together08:18
*** apuimedo has joined #openstack-containers08:19
*** snrism has joined #openstack-containers08:21
*** tobe has quit IRC08:23
*** snrism has quit IRC08:25
openstackgerritMadhuri Kumari proposed openstack/magnum: Fix the KeyError and change type 'any' in k8s client code  https://review.openstack.org/18667408:26
*** apuimedo has quit IRC08:27
openstackgerritMadhuri Kumari proposed openstack/magnum: Fix the KeyError and change type 'any' in k8s client code  https://review.openstack.org/18667408:28
*** tobe has joined #openstack-containers08:29
openstackgerritMadhuri Kumari proposed openstack/magnum: Implement secure deserialize function  https://review.openstack.org/18628708:34
*** achanda has quit IRC08:35
madhuri_sdake I have uploaded a new patch but I am not sure if have commited it correctly or not08:36
madhuri_I have added as co-authored-by08:36
*** fawadkhaliq has quit IRC08:36
*** alex_klimov has joined #openstack-containers08:37
*** oro has joined #openstack-containers08:44
*** achanda has joined #openstack-containers08:48
*** nshaikh has joined #openstack-containers08:52
*** achanda has quit IRC09:02
*** madhuri_ has quit IRC09:08
*** snrism has joined #openstack-containers09:21
*** snrism has quit IRC09:26
*** alex_klimov has quit IRC09:30
*** alex_klimov has joined #openstack-containers09:35
*** fawadkhaliq has joined #openstack-containers09:49
*** dims_ has joined #openstack-containers09:51
*** jay-lau-513 has quit IRC10:18
*** baohua has joined #openstack-containers10:25
*** alex_klimov has quit IRC10:25
openstackgerritLan Qi Song proposed openstack/magnum: Use oslo.log instead of oslo.incubator log module  https://review.openstack.org/18644710:27
*** achanda has joined #openstack-containers10:28
*** apuimedo has joined #openstack-containers10:29
*** apuimedo has quit IRC10:38
*** fawadkhaliq has quit IRC10:42
*** dims_ has quit IRC10:52
*** sankarshan_ is now known as sankarshan_away10:54
*** apuimedo has joined #openstack-containers10:55
*** juggler has quit IRC11:12
*** juggler has joined #openstack-containers11:14
*** jgjl has joined #openstack-containers11:24
openstackgerritTom Cammann proposed openstack/magnum: Backport "Avoid usage of deprecated properties"  https://review.openstack.org/18631811:26
openstackgerritTom Cammann proposed openstack/magnum: Backport "Cleanup the templates"  https://review.openstack.org/18631911:27
openstackgerritTom Cammann proposed openstack/magnum: Backport multiple template fixes  https://review.openstack.org/18632011:27
*** tobe has quit IRC11:39
*** fawadkhaliq has joined #openstack-containers11:43
*** EricGonczer_ has joined #openstack-containers11:45
*** rpothier has joined #openstack-containers11:46
*** fawadkhaliq has quit IRC11:48
*** dims_ has joined #openstack-containers11:50
*** jgjl has left #openstack-containers11:54
*** alex_klimov has joined #openstack-containers11:56
*** achanda has quit IRC12:07
*** tobe has joined #openstack-containers12:13
*** tobe has quit IRC12:14
openstackgerritMerged openstack/magnum: Use new docker exec call  https://review.openstack.org/18632312:23
openstackgerritMerged openstack/magnum: Fixing import error in kubernetes client code  https://review.openstack.org/18666212:26
*** EricGonczer_ has quit IRC12:44
*** apuimedo has quit IRC12:52
baohuais anyone on12:56
baohuafollowing the dev guildline at http://git.openstack.org/cgit/openstack/magnum/tree/doc/source/dev/dev-quickstart.rst. an error happens at the end12:56
baohua Syncing /opt/stack/magnum/requirements.txt12:56
baohua2015-05-29 12:50:28.075 | 'oslo.versionedobjects' is not in global-requirements.txt12:56
baohua2015-05-29 12:50:28.083 | + exit_trap12:56
baohua2015-05-29 12:50:28.083 | + local r=112:56
baohua2015-05-29 12:50:28.084 | ++ jobs -p12:56
baohua2015-05-29 12:50:28.085 | + jobs=12:56
baohua2015-05-29 12:50:28.085 | + [[ -n '' ]]12:56
baohua2015-05-29 12:50:28.085 | + kill_spinner12:56
baohua2015-05-29 12:50:28.085 | + '[' '!' -z '' ']'12:56
baohua2015-05-29 12:50:28.085 | + [[ 1 -ne 0 ]]12:56
baohua2015-05-29 12:50:28.085 | + echo 'Error on exit'12:56
baohua2015-05-29 12:50:28.085 | Error on exit12:56
baohua2015-05-29 12:50:28.085 | + [[ -z /opt/stack/logs ]]12:56
baohua2015-05-29 12:50:28.085 | + /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs12:56
baohua2015-05-29 12:50:28.122 | df: '/run/user/1000/gvfs': Permission denied12:56
baohua2015-05-29 12:50:28.165 | + exit 112:56
baohuarepeat several times, can anyone give some advice?12:57
baohuathanks12:57
*** alex_klimov has quit IRC12:57
*** apuimedo has joined #openstack-containers13:09
*** hongbin has joined #openstack-containers13:09
*** achanda has joined #openstack-containers13:14
*** fawadkhaliq has joined #openstack-containers13:14
*** alex_klimov has joined #openstack-containers13:18
*** fawadkhaliq has quit IRC13:19
*** rlrevell has joined #openstack-containers13:20
*** dboik has joined #openstack-containers13:24
*** madhuri_ has joined #openstack-containers13:29
openstackgerritLan Qi Song proposed openstack/magnum: Add bay snapshot object  https://review.openstack.org/18500513:38
*** jhova has joined #openstack-containers13:50
*** fawadkhaliq has joined #openstack-containers13:57
*** apuimedo has quit IRC14:00
*** baohua has quit IRC14:01
openstackgerritAccela Zhao proposed openstack/magnum: Fix method signatures unmatching in db api  https://review.openstack.org/18638714:01
*** snrism has joined #openstack-containers14:05
*** alex_klimov has quit IRC14:05
*** achanda has quit IRC14:10
*** snrism has quit IRC14:10
*** dims_ has quit IRC14:16
*** apuimedo has joined #openstack-containers14:16
openstackgerritTom Cammann proposed stackforge/heat-coe-templates: fixup! added script for dynamically registering a minion  https://review.openstack.org/18468314:19
openstackgerritTom Cammann proposed stackforge/heat-coe-templates: fix errors in pre-commit hook  https://review.openstack.org/18468214:19
openstackgerritTom Cammann proposed stackforge/heat-coe-templates: added script for dynamically registering a minion  https://review.openstack.org/18468114:19
openstackgerritTom Cammann proposed stackforge/heat-coe-templates: added required id: top-level key  https://review.openstack.org/18468614:19
openstackgerritTom Cammann proposed stackforge/heat-coe-templates: Replace CFN resources with heat native  https://review.openstack.org/18468514:19
openstackgerritTom Cammann proposed stackforge/heat-coe-templates: add new minions via stack-update  https://review.openstack.org/18468414:19
openstackgerritTom Cammann proposed stackforge/heat-coe-templates: Avoid usage of deprecated properties  https://review.openstack.org/18468814:19
openstackgerritTom Cammann proposed stackforge/heat-coe-templates: minor updates to README  https://review.openstack.org/18467914:19
openstackgerritTom Cammann proposed stackforge/heat-coe-templates: added some output descriptions  https://review.openstack.org/18467814:19
openstackgerritAccela Zhao proposed openstack/magnum: Fix continuation line under/over indented problems  https://review.openstack.org/18638814:21
tcammannbaohua: you may have to pull the requirements repo again. It seems like its out of date with upstream14:21
*** alex_klimov has joined #openstack-containers14:29
*** snrism has joined #openstack-containers14:30
*** snrism has quit IRC14:30
*** kebray has joined #openstack-containers14:36
*** kebray has quit IRC14:37
*** jjlehr has joined #openstack-containers14:37
*** kebray has joined #openstack-containers14:37
*** Tango has joined #openstack-containers14:39
*** sdake has joined #openstack-containers14:46
*** nshaikh has quit IRC14:51
*** jruano has joined #openstack-containers14:53
sdakemorning14:56
*** EricGonczer_ has joined #openstack-containers14:59
*** madhuri_ has quit IRC15:00
*** achanda has joined #openstack-containers15:00
*** snrism has joined #openstack-containers15:01
*** destiny has quit IRC15:04
*** EricGonczer_ has quit IRC15:06
*** snrism has quit IRC15:07
*** apuimedo has quit IRC15:07
*** EricGonczer_ has joined #openstack-containers15:09
*** snrism has joined #openstack-containers15:15
*** dims_ has joined #openstack-containers15:16
*** oro has quit IRC15:23
*** apuimedo has joined #openstack-containers15:24
*** sdake_ has joined #openstack-containers15:26
*** sdake has quit IRC15:30
*** fawadkhaliq has quit IRC15:30
*** snrism has quit IRC15:34
*** apuimedo has quit IRC15:38
*** Drago has joined #openstack-containers15:42
*** Drago has joined #openstack-containers15:42
*** alex_klimov has quit IRC15:42
*** dims_ is now known as dimsum__15:49
*** daneyon has joined #openstack-containers15:50
*** daneyon_ has joined #openstack-containers15:53
*** daneyon has quit IRC15:55
*** dhellmann has joined #openstack-containers16:05
dhellmannaotto: I would like to cut a release of python-magnumclient on Monday to unblock the work on dropping the oslo namespace packages. The changes that will be released are listed in http://paste.openstack.org/show/245107/ -- Does that work for you?16:06
dhellmannhrm, I don't see aotto online, are there any other cores around?16:07
dimsum__dhellmann: sdake_ may be around16:09
* dimsum__ wears his magnum core hat16:09
dhellmannhi, dimsum__16:09
dimsum__dhellmann: yes, the changes look good to me :)16:09
dhellmanncool16:09
*** unicell has quit IRC16:17
openstackgerritAccela Zhao proposed openstack/magnum: Fix continuation line under/over indented problems  https://review.openstack.org/18638816:17
*** vahidh has joined #openstack-containers16:18
*** adrian_otto has joined #openstack-containers16:20
*** nihilifer has joined #openstack-containers16:24
sdake_dhellmann I can help16:27
sdake_but I am not in magnum-release16:28
dhellmannsdake_: I can create the release, I just wanted to make sure it wasn't going to cause you problems16:28
sdake_all good from my perspective16:29
dhellmanncool, thanks16:29
sdake_adrian_otto would agree i'm sure16:29
sdake_he is here btw, but may be afk16:29
dhellmannaha! I had his nic as aotto16:29
dhellmannbased on the governance repo16:29
dhellmannI'll update that16:29
sdake_we need to get that fixed16:29
sdake_cool thanks ! :)16:29
sdake_do you need reviews from us16:30
sdake_or is master gtg?16:30
dhellmannsdake_: the 1 patch I need is in master, so I was going to release HEAD on Monday. If you want to land something before then, that's cool, but we can do releases frequently so there's no particular rush16:30
sdake_our client is slow moving and master usually works ;)16:31
dhellmannjust the way I like it16:31
dhellmannsdake_: https://review.openstack.org/#/c/186830/16:32
*** eghobo has joined #openstack-containers16:32
*** nihilifer has quit IRC16:34
*** kebray has quit IRC16:34
* adrian_otto notices something happening. Looking at scrollback.16:34
adrian_ottooh, my Launchpad id is "aotto", and my IRC nick is "adrian_otto"16:36
*** eghobo has quit IRC16:36
adrian_ottodhellmann: what belongs in the governance repo?16:37
dhellmannadrian_otto: oh, I thought that was irc, maybe I'm wrong16:37
*** snrism has joined #openstack-containers16:37
adrian_ottowell in Gerrit we go by LP id's16:37
dhellmannok, I'll let the rest of the TC figure out what we want there16:38
adrian_ottomaybe I should put an aotto irc bot up16:38
dhellmannheh16:38
dhellmannwe should probably document clearly what is desired there, too16:38
adrian_ottoI'll put a comment on the review16:38
*** snrism has quit IRC16:39
adrian_ottosdake: what would we like to release? stable/kilo ats2015.1.1?16:39
adrian_ottos/ats/as /16:39
*** snrism has joined #openstack-containers16:39
dhellmannadrian_otto: are you using date versioning for the client lib?16:40
adrian_ottono for the client we are using N.N.N16:41
*** eghobo has joined #openstack-containers16:41
adrian_ottofor magnum, we use NNNN.N.N16:41
dhellmannadrian_otto: ok, I have a list of unreleased changes in http://paste.openstack.org/show/245107/16:41
dhellmannok, I'm only interested in the client for now16:42
dhellmanngiven the requirements updates, the next release for python-magnumclient will be 0.3.016:42
adrian_ottoI can tag the client release right now16:42
adrian_ottoI'll get that done, it just takes a minute or two16:42
adrian_ottoit looks like the python-magnumclient pypi job is not set up right16:44
adrian_ottohttps://pypi.python.org/pypi/python-magnumclient16:44
adrian_ottohttp://tarballs.openstack.org/python-magnumclient/16:45
adrian_ottodhellmann: any chance you know how to fix that?16:45
adrian_ottoso that when I tag releases they will automatically show up on pypi?16:46
*** unicell1 has joined #openstack-containers16:46
*** Drago has quit IRC16:47
dhellmannadrian_otto: hrm, yeah, I can look into that for you after lunch16:49
dhellmannadrian_otto: did you use a signed tag?16:50
dhellmannbrb16:50
adrian_ottoyes. Signed tag.16:50
*** vilobhmm has joined #openstack-containers16:53
adrian_ottoOk, here is the new python-magnumclient release: https://github.com/openstack/python-magnumclient/releases/tag/0.2.116:54
adrian_ottoI will look at the setup in pypi to see if that is trusting OpenStack's utility users or whatever it needs16:55
*** fawadkhaliq has joined #openstack-containers16:59
*** mfalatic has joined #openstack-containers17:01
*** gose has joined #openstack-containers17:03
*** daneyon_ has quit IRC17:05
*** sdake has joined #openstack-containers17:09
*** kebray has joined #openstack-containers17:09
*** achanda has quit IRC17:10
*** achanda_ has joined #openstack-containers17:10
*** sdake_ has quit IRC17:12
sdakeneed to add openstackci to the admin role adrian_otto in pypi17:12
sdakewoudl be my guess at what the problem is17:12
*** suro-patz has joined #openstack-containers17:13
sdakehttp://docs.openstack.org/infra/manual/creators.html17:13
sdakesearch for "openstackci"17:13
sdakeI can't do it, I dont have access to the pypi for it17:13
adrian_ottook, I'll sort through it17:14
sdakeadrian_otto while I've  got you17:14
sdakecan you set liberty as the current focus of release17:14
adrian_ottoyes, will do.17:14
sdakeclick liberty, then click "focus of release yellow button"17:14
sdakeis our drivers team open or closed?17:14
sdakeif its closed, you can set maintainer to drivers so anyone can do this stuff :)17:15
dhellmannadrian_otto: ok, we need to get you using semver like everyone else. I'll be posting a cross-project spec next week to talk about standardizing library release management17:15
sdake(it should be closed)17:15
sdakedhellmann what is semver?17:15
dhellmannhttp://docs.openstack.org/developer/pbr/semver.html17:15
sdakeok we will need to find one of our python wizards to do that job :)17:16
sdakejay-lau-513 is probably a good candidate :)17:16
dhellmannin this case, because of the req changes the version should have been 0.3.017:16
sdakedhellmann is that the only case for increasing the y version?17:17
sdake(requirements change)17:17
dhellmannno, new features also call for a min version bump, the requirements change is just the easy one to spot in the list of unreleased changes17:17
sdakeya makes sense17:18
sdakethanks17:18
*** sdake_ has joined #openstack-containers17:20
*** kebray has quit IRC17:22
*** sdake has quit IRC17:23
*** sdake has joined #openstack-containers17:26
*** barra204 has quit IRC17:26
adrian_ottoaah, yes, good catch, dhellman17:27
*** kebray has joined #openstack-containers17:29
*** sdake_ has quit IRC17:29
*** nihilifer has joined #openstack-containers17:31
*** achanda_ has quit IRC17:32
*** achanda has joined #openstack-containers17:33
*** unicell has joined #openstack-containers17:34
*** unicell1 has quit IRC17:36
*** jruano has quit IRC17:37
*** jruano has joined #openstack-containers17:40
*** kebray has quit IRC17:40
*** EricGonc_ has joined #openstack-containers17:42
*** EricGonczer_ has quit IRC17:44
*** nihilifer has quit IRC17:48
*** gose is now known as hblixt17:50
*** achanda_ has joined #openstack-containers18:00
*** rlrevell1 has joined #openstack-containers18:01
*** achanda has quit IRC18:02
*** rlrevell has quit IRC18:03
*** kebray has joined #openstack-containers18:07
*** sdake_ has joined #openstack-containers18:07
*** barra204 has joined #openstack-containers18:08
*** Drago has joined #openstack-containers18:10
*** Drago has quit IRC18:10
*** Drago has joined #openstack-containers18:11
*** EricGonczer_ has joined #openstack-containers18:11
*** kebray has quit IRC18:12
*** sdake has quit IRC18:12
*** kebray has joined #openstack-containers18:12
*** EricGonc_ has quit IRC18:14
*** barra204 has quit IRC18:15
*** pradk has joined #openstack-containers18:15
*** barra204 has joined #openstack-containers18:20
*** pradk has quit IRC18:27
*** rlrevell1 has quit IRC18:27
*** barra204_ has joined #openstack-containers18:28
*** pradk has joined #openstack-containers18:30
*** barra204 has quit IRC18:31
*** rlrevell has joined #openstack-containers18:36
*** rlrevell has quit IRC18:38
*** barra204_ is now known as shakamunyi18:52
*** rlrevell has joined #openstack-containers19:02
*** adrian_otto has quit IRC19:13
*** snrism has quit IRC19:15
*** achanda_ has quit IRC19:23
*** adrian_otto has joined #openstack-containers19:33
*** sdake_ is now known as sdake19:43
*** sdake_ has joined #openstack-containers19:46
*** snrism has joined #openstack-containers19:46
*** sdake has quit IRC19:49
*** sdake has joined #openstack-containers19:49
*** snrism has quit IRC19:53
*** sdake_ has quit IRC19:53
*** openstack has joined #openstack-containers20:06
*** oro has joined #openstack-containers20:24
*** openstack has joined #openstack-containers20:31
*** adrian_otto has quit IRC20:33
*** sdake_ has joined #openstack-containers20:36
*** sdake has quit IRC20:40
*** adrian_otto has joined #openstack-containers20:41
*** adrian_otto1 has joined #openstack-containers20:44
*** vahidh has quit IRC20:44
*** adrian_otto has quit IRC20:46
*** vahidh has joined #openstack-containers20:46
*** oro has quit IRC20:48
*** alex_klimov has joined #openstack-containers20:49
*** sdake has joined #openstack-containers20:50
*** rpothier has quit IRC20:51
*** muralia has quit IRC20:51
*** sdake_ has quit IRC20:54
*** snrism has joined #openstack-containers20:54
*** openstackgerrit has quit IRC20:59
*** openstackgerrit has joined #openstack-containers20:59
*** snrism has quit IRC21:00
*** pradk has quit IRC21:02
*** fawadkhaliq has quit IRC21:05
*** julim has quit IRC21:07
*** rlrevell has quit IRC21:23
*** sdake is now known as steakache21:23
*** steakache is now known as sdake21:24
*** snrism has joined #openstack-containers21:25
*** shakamunyi has quit IRC21:26
*** jhova has quit IRC21:29
*** openstack has joined #openstack-containers21:32
*** hongbin has quit IRC21:37
*** snrism has quit IRC21:43
*** snrism has joined #openstack-containers21:46
*** dims_ has joined #openstack-containers21:53
*** dimsum__ has quit IRC21:55
*** jruano has quit IRC21:57
eghobosdake: are there any images except fedora/atomic which works with kub and magnun?22:02
eghoboping 10.0.0.322:02
eghobo-bash: /usr/bin/ping: Invalid argument22:02
sdakecoreos works22:02
sdakebut I havn't tested it22:02
sdakeif you want a proper ping, use scp to copy ping into the vm22:02
eghoboaha let me try, nodes cannot connect to etcd and I am not sure why22:03
eghobodo you know exact version of coreos?22:04
*** fawadkhaliq has joined #openstack-containers22:05
sdakediga diga_ is your man for that q22:07
eghobothx22:08
openstackgerritMerged openstack/magnum: Use oslo.log instead of oslo.incubator log module  https://review.openstack.org/18644722:09
*** fawadkhaliq has quit IRC22:11
openstackgerritSteven Dake proposed openstack/magnum: Implement secure deserialize function  https://review.openstack.org/18628722:14
*** EricGonc_ has joined #openstack-containers22:17
*** EricGonczer_ has quit IRC22:18
*** EricGonc_ has quit IRC22:19
sdakeeghobo in atomic?22:25
sdakeor in coreos22:25
sdake(the etcd thing)22:25
eghoboatomic22:26
sdakewhat does kubectl get minions show inside the vms?22:26
sdakeour functional gate is working on master, and it does this operation using atomic22:26
sdakeit does bay create22:27
sdakealthough I am not certain it actually tests the bay out :)22:27
eghoboempty list, it's expected because I see error at kublets that they cannot update state22:27
sdakecat /etc/resolv.conf for me22:28
sdakeare you running on devstack or other?22:28
eghobobay create was successful, devstack at fusion22:28
sdakewhat is fusion22:29
eghobovmware at macos22:32
sdakeyour running magnum in a vm?22:32
sdakeif so, how much ram?22:35
sdake(assignedt o vm)22:35
sdakeand your minions are created (can be seen via nova)22:35
sdakenova list22:35
sdakewill show them22:36
*** eghobo_ has joined #openstack-containers22:36
sdakeeghobo_ your running magnum in a vm?  If so, how much ram assigned to mv?  Are you sure your minions are created?  Nova list will show them (and the networks they are assigned)22:37
sdakepaste nova list output for me plz22:37
*** eghobo has quit IRC22:38
*** eghobo__ has joined #openstack-containers22:39
*** sdake_ has joined #openstack-containers22:39
*** eghobo_ has quit IRC22:43
*** sdake has quit IRC22:43
eghobo__sdake: 4G RAM and I setup oversubscription in nova22:43
sdake_you need 8gb ram for a devstack vm minimum22:43
sdake_you are probably getting an OOM problem of sosme sort22:43
eghobo__vms are fine from nova point of viev22:43
eghobo__why 8G?22:44
sdake_pretty sure tcammann said he required 8gb ram to get er to work22:44
eghobo__[minion@testbay2-f7oqnlixa4bm-kube-master-nia3nozuuwix ~]$ cat /etc/resolv.conf22:44
eghobo__# Generated by NetworkManager22:44
eghobo__search openstacklocal novalocal22:44
eghobo__nameserver 8.8.8.822:44
sdake_are you using neutron networking?22:45
sdake_it really looks like your using nova networking22:45
sdake_and kubectl get minions shows nothing on the master?22:45
sdake_systemctl | grep failed22:46
sdake_it should show the ips of the minions , if they can't communicate it will show "NotReady"22:47
sdake_(kubectl get minions)22:47
eghobo__[minion@testbay2-f7oqnlixa4bm-kube-master-nia3nozuuwix ~]$ kubectl get nodes22:47
eghobo__NAME      LABELS    STATUS22:47
sdake_use get minions22:47
eghobo__[minion@testbay2-f7oqnlixa4bm-kube-master-nia3nozuuwix ~]$  systemctl | grep failed22:48
eghobo__● var-lib-nfs-rpc_pipefs.mount                                                              loaded failed failed    RPC Pipe File System22:48
eghobo__get minions the same result22:48
sdake_brb22:48
*** sdake has joined #openstack-containers22:49
*** sdake has quit IRC22:49
*** sdake has joined #openstack-containers22:49
eghobo__and I pretty sure I run neutron, I see neutron output in screen ;)22:50
sdakecd /etc/kubernetes22:50
sdakeok22:50
sdakecat apiserver22:50
sdakepaste it somewhere handy22:50
sdakecat /etc/etcd/etcd.conf22:51
sdakepaste it somewhere handy22:51
sdakepoint me at the pastes22:51
sdakesome new place, or maybe just an old one22:52
sdakefuryia22:52
sdakeor something like that ;-)22:52
*** sdake_ has quit IRC22:52
eghobo__http://paste.openstack.org/show/245812/22:53
sdakecurl localhost:400122:53
sdakesee if it outputs stuff22:53
sdaketype something in like "hello" :)22:54
eghobo__I see '404 page not found' but I think it's right22:54
sdakein /var/log22:54
sdakethere is a cloud-init-output-final or something22:55
sdakecan you paste that22:55
sdakeand the api server in /etc/kubernetes as well22:55
sdakeare you running master of magnum?22:56
eghobo__cloud init http://paste.openstack.org/show/245823/22:57
eghobo__what do you mean "master of magnum"?22:58
sdakeare you running master or kilo branch22:58
sdakeeghobo_ there is a different cloudinit log file in /var/log?22:58
sdakeI need the other file22:58
sdakethere are two22:58
eghobo__master22:59
sdakeok22:59
sdakeso there is a different cloudinit log file in /var/log I think - thats the oen I need22:59
eghobo__there is cloud-init.log but it's empty22:59
sdakeinteresting22:59
sdakecd /var/lib/cloud22:59
sdakefind . -name part-001 -ls23:00
sdakefind that file23:00
sdakeand ls the directory it is in and show it to me23:00
sdake(the directory list)23:00
sdakeI am pretty sure you are out of memory23:00
sdakebut happy to debug further23:00
sdakeis more memory for your vm a possibility?23:00
sdakeit may be part-000123:01
sdakeI don't recall exactly23:01
eghobo__found ./instances/11451de5-01c3-4117-aa74-02dacdea331b/boothooks/part-00123:01
eghobo__#!/bin/sh23:01
eghobo__setenforce 023:01
eghobo__sed -i '23:02
eghobo__  /^SELINUX=/ s/=.*/=permissive/23:02
eghobo__' /etc/selinux/config23:02
eghobo__~23:02
sdakewhat I want to see is hte directory listing of that directory23:04
sdakether eshoudl be other part files23:04
sdakeit wont be in the boothooks directory23:04
sdakeit may be called part-00?23:04
eghobo__[minion@testbay2-f7oqnlixa4bm-kube-master-nia3nozuuwix cloud]$ ls -la23:05
sdakeI think its in the "scripts" directory23:05
eghobo__total 823:05
eghobo__drwxr-xr-x.  8 root root   98 May 29 22:32 .23:05
eghobo__drwxr-xr-x. 28 root root 4096 May 29 22:31 ..23:05
eghobo__drwxr-xr-x.  2 root root 4096 May 29 22:33 data23:05
eghobo__drwxr-xr-x.  2 root root    6 May 29 22:32 handlers23:05
eghobo__lrwxrwxrwx.  1 root root   61 May 29 22:32 instance -> /var/lib/cloud/instances/11451de5-01c3-4117-aa74-02dacdea331b23:05
eghobo__drwxr-xr-x.  3 root root   49 May 29 22:32 instances23:05
eghobo__drwxr-xr-x.  6 root root   68 May 29 22:32 scripts23:05
eghobo__drwxr-xr-x.  2 root root    6 May 29 22:32 seed23:05
eghobo__drwxr-xr-x.  2 root root   41 May 29 22:33 sem23:05
sdakecd instance23:05
sdakels23:05
eghobo__[minion@testbay2-f7oqnlixa4bm-kube-master-nia3nozuuwix instance]$ ls -la23:05
eghobo__total 6023:05
eghobo__drwxr-xr-x. 6 root root  4096 May 29 22:33 .23:05
eghobo__drwxr-xr-x. 3 root root    49 May 29 22:32 ..23:05
eghobo__-rw-r--r--. 1 root root    52 May 29 22:33 boot-finished23:05
eghobo__drwxr-xr-x. 2 root root    21 May 29 23:02 boothooks23:05
eghobo__-rw-------. 1 root root  2834 May 29 22:32 cloud-config.txt23:05
eghobo__-rw-r--r--. 1 root root    80 May 29 22:32 datasource23:05
eghobo__drwxr-xr-x. 2 root root     6 May 29 22:32 handlers23:05
eghobo__-r--------. 1 root root 13456 May 29 22:32 obj.pkl23:05
eghobo__drwxr-xr-x. 2 root root    79 May 29 22:32 scripts23:05
eghobo__drwxr-xr-x. 2 root root  4096 May 29 22:33 sem23:05
eghobo__-rw-------. 1 root root  6052 May 29 22:32 user-data.txt23:06
eghobo__-rw-------. 1 root root  6477 May 29 22:32 user-data.txt.i23:06
sdakecd scripts23:06
sdakels23:06
eghobo__-rw-------. 1 root root     4 May 29 22:32 vendor-data.txt23:06
eghobo__-rw-------. 1 root root   345 May 29 22:32 vendor-data.txt.i23:06
eghobo__[minion@testbay2-f7oqnlixa4bm-kube-master-nia3nozuuwix instance]$ cd scripts/23:06
eghobo__[minion@testbay2-f7oqnlixa4bm-kube-master-nia3nozuuwix scripts]$ ls -la23:06
eghobo__total 2423:06
eghobo__drwxr-xr-x. 2 root root   79 May 29 22:32 .23:06
eghobo__drwxr-xr-x. 6 root root 4096 May 29 22:33 ..23:06
eghobo__-rwx------. 1 root root  604 May 29 22:32 part-00423:06
eghobo__-rwx------. 1 root root  291 May 29 22:32 part-00523:07
eghobo__-rwx------. 1 root root  511 May 29 22:32 part-00623:07
eghobo__-rwx------. 1 root root  240 May 29 22:32 part-00923:07
eghobo__-rwx------. 1 root root   84 May 29 22:32 runcm23:07
sdakecat each of those files in a paste plz23:07
sdakeyour learning the internal mechanics of magnum ;)23:07
sdakethis is like a pro lesson for you  :)23:07
eghobo__actually it's nothing specific to magnum it's more how atomic/cloud-init works, right?23:08
sdakenope this is all magnum/heat23:08
sdakeheat puts those files in there23:08
sdakebased upon teh heat template23:08
sdakeand they are run to configure the bay23:09
sdakeobviously they are not doing the job23:09
sdakethe cloud init log you showed indicates some part handlers are not actually running23:09
eghobo__why I see all process running23:09
sdakethey may be running but are likely not configured correctly23:09
sdakestick with me, I'll show you the whole thing23:09
*** Marga_ has joined #openstack-containers23:10
eghobo__;)23:10
eghobo__do you want all files or lets review kub configs?23:11
sdakei want the part files first23:11
sdakein a paste23:11
sdakeI don't know what does what, need to see the part  files before we look at the kube config23:11
eghobo__1 sec23:11
sdakemake sure I know which part file is which in the paste plz :)23:12
eghobo__http://paste.openstack.org/show/245847/23:13
*** Marga_ has quit IRC23:16
sdakehttp://ur1.ca/moelh -> http://paste.fedoraproject.org/227130/3294144023:17
sdakerun with this diff plz23:17
sdakekill bay23:17
sdakecreate a fresh one after restarting conductor23:17
eghobo__ok, it will take some time, just fyi node journal has many errors like this23:20
eghobo__May 29 23:17:29 te-qj64gpcq2f-0-6rsltxsql7mj-kube-minion-jgj5v3fjlotu.novalocal kubelet[1116]: E0529 23:17:29.006833    1116 kubelet.go:1779] error updating node status, will retry: error getting node "10.0.0.4": minion "10.0.0.4" not found23:20
eghobo__May 29 23:17:29 te-qj64gpcq2f-0-6rsltxsql7mj-kube-minion-jgj5v3fjlotu.novalocal kubelet[1116]: E0529 23:17:29.011261    1116 kubelet.go:578] Unable to update node status: Update node status exceeds retry count23:20
sdakelets tackle one problem at a time23:21
sdakeetcd is the first problem23:21
eghobo__but I can reach api and etcd with curl23:21
sdakeetcd is running on 127.0.0.123:21
sdakeit needs to run on 0.0.0.0:4000123:21
sdakesed is not doing what it should23:21
sdakeI don't understand how master works for me and not you :)23:21
sdakebut sed is heavy wizardly :)23:21
eghobo__ok, but I can just restart etcd, can't i?23:22
sdakeI am not sure on that point23:23
sdakeI would preefer you restart the bay23:23
eghobo__my etcd.conf has ETCD_LISTEN_CLIENT_URLS="http://0.0.0.0:4001"23:25
sdakeis that what you pasted earlier?23:25
eghobo__yes23:25
*** rongze has joined #openstack-containers23:26
eghobo__and I can reach etcd with curl from minion, I doubt that etcd is the issue23:26
sdakehere is what you pasted: http://paste.openstack.org/raw/245812/23:26
sdakeETCD_LISTEN_CLIENT_URLS="http://localhost:4001"23:26
sdake127.0.0.1 will bind etcd to 127.0.0.1, not *all* interfaces23:27
sdakeit needs to be bound to all interfaces23:27
sdakecurl from your localhost works like a champ23:27
sdakebut it will not work from the minions23:27
sdakebecause the minons cannot get to 127.0.0.1 of your master23:28
eghobo__it's on minion23:28
sdakethat paste was from the minion?23:28
sdakeyou wer elogged into the master earlier :)23:29
eghobo__sorry, too many open shells23:29
sdakeso your master has http://0.0.0.0:4001?23:29
sdakein /etc/etcd/etcd.conf?23:29
sdakewhere the part handlers fro mthe master or minion?23:30
eghobo__parts from master, etcd.conf was from minion23:30
eghobo__sorry23:31
sdakeshow me etc.doncf on master23:31
sdakeok, lets just work on the master for now23:31
sdakeclose all your minion shells plz :)23:31
eghobo__# [member]23:32
eghobo__ETCD_NAME=default23:32
eghobo__ETCD_DATA_DIR="/var/lib/etcd/default.etcd"23:32
eghobo__#ETCD_SNAPSHOT_COUNTER="10000"23:32
eghobo__#ETCD_HEARTBEAT_INTERVAL="100"23:32
eghobo__#ETCD_ELECTION_TIMEOUT="1000"23:32
eghobo__#ETCD_LISTEN_PEER_URLS="http://localhost:2380,http://localhost:7001"23:32
eghobo__ETCD_LISTEN_CLIENT_URLS="http://0.0.0.0:4001"23:32
eghobo__#ETCD_MAX_SNAPSHOTS="5"23:32
eghobo__#ETCD_MAX_WALS="5"23:32
eghobo__#ETCD_CORS=""23:32
eghobo__#23:32
eghobo__#[cluster]23:32
eghobo__#ETCD_INITIAL_ADVERTISE_PEER_URLS="http://localhost:2380,http://localhost:7001"23:32
eghobo__# if you use different ETCD_NAME (e.g. test), set ETCD_INITIAL_CLUSTER value for this name, i.e. "test=http://..."23:32
eghobo__#ETCD_INITIAL_CLUSTER="default=http://localhost:2380,default=http://localhost:7001"23:32
eghobo__#ETCD_INITIAL_CLUSTER_STATE="new"23:32
eghobo__#ETCD_INITIAL_CLUSTER_TOKEN="etcd-cluster"23:32
eghobo__#ETCD_ADVERTISE_CLIENT_URLS="http://localhost:2379,http://localhost:4001"23:32
eghobo__#ETCD_DISCOVERY=""23:32
eghobo__#ETCD_DISCOVERY_SRV=""23:32
eghobo__#ETCD_DISCOVERY_FALLBACK="proxy"23:32
eghobo__#ETCD_DISCOVERY_PROXY=""23:32
eghobo__#23:32
eghobo__#[proxy]23:32
eghobo__#ETCD_PROXY="off"23:32
eghobo__#23:32
eghobo__#[security]23:32
eghobo__#ETCD_CA_FILE=""23:32
eghobo__#ETCD_CERT_FILE=""23:32
eghobo__#ETCD_KEY_FILE=""23:32
eghobo__#ETCD_PEER_CA_FILE=""23:32
eghobo__#ETCD_PEER_CERT_FILE=""23:32
eghobo__#ETCD_PEER_KEY_FILE=""23:32
sdakethis is master?23:33
eghobo__yep23:33
sdakekubectl get minons on master23:33
eghobo__yep23:33
sdakewhat output?23:33
eghobo__[minion@testbay2-f7oqnlixa4bm-kube-master-nia3nozuuwix scripts]$  kubectl get minions23:33
eghobo__NAME      LABELS    STATUS23:33
sdakecat apiserver on master23:34
sdake /etc/kubernetes/apiserver23:34
eghobo__[minion@testbay2-f7oqnlixa4bm-kube-master-nia3nozuuwix scripts]$ cat /etc/kubernetes/apiserver23:35
eghobo__###23:35
eghobo__# kubernetes system config23:35
eghobo__#23:35
eghobo__# The following values are used to configure the kube-apiserver23:35
eghobo__#23:35
eghobo__# The address on the local server to listen to.23:35
eghobo__KUBE_API_ADDRESS="--address=0.0.0.0"23:35
eghobo__# The port on the local server to listen on.23:35
eghobo__# KUBE_API_PORT="--port=8080"23:35
eghobo__# Port minions listen on23:35
eghobo__# KUBELET_PORT="--kubelet_port=10250"23:35
eghobo__# Comma separated list of nodes in the etcd cluster23:35
eghobo__KUBE_ETCD_SERVERS="--etcd_servers=http://127.0.0.1:4001"23:35
eghobo__# Address range to use for services23:35
eghobo__KUBE_SERVICE_ADDRESSES="--portal_net=10.254.0.0/16"23:35
eghobo__# default admission control policies23:35
eghobo__KUBE_ADMISSION_CONTROL="--admission_control=NamespaceAutoProvision,LimitRanger,ResourceQuota"23:35
eghobo__# Add you own!23:35
eghobo__KUBE_API_ARGS="--runtime_config=api/v1beta323:35
sdakepat files from master is the last past eyou showed me?23:36
sdakeor were from minons23:36
sdakepart handlers23:36
*** rongze has quit IRC23:36
eghobo__master23:36
*** rongze has joined #openstack-containers23:37
sdakewhen did you check out master23:39
eghobo__morning around 10am23:40
sdakeare you the cat tha tfiled the bluerptin around periodic?23:41
*** rongze has quit IRC23:41
sdakedo you know how to use git bisect?23:42
eghobo__no, but git log usually works ;)23:43
eghobo__eguz@ubuntu-vm:/opt/stack/magnum$  git log23:43
eghobo__commit 1246d3f7ac3b33a354bf6c51aec7b9b6154229f423:43
eghobo__Merge: 5e5f6d5 63c1b6f23:43
eghobo__Author: Jenkins <jenkins@review.openstack.org>23:43
eghobo__Date:   Thu May 28 05:04:57 2015 +000023:43
eghobo__    Merge "Backport "fixup! added script for dynamically registering a minion""23:43
sdakegit checkout bf42ec94ef3da3a37e1ab875251000b0b7794f8a23:44
sdakerestack23:44
sdakeor alternatively bay-delete23:44
sdakebaymodel-delete23:44
sdakekill conductor23:45
sdakekill api23:45
sdakestart api23:45
sdakestart conductor23:45
sdakepossible regression in master23:45
eghobo__ok let me cleanup everything, will be back in 15 min23:45
sdakemy devstack is busted so I can't test it23:45
eghobo__it's the reason why I am using vms, I can kill them anytime23:46
openstackgerritSteven Dake proposed openstack/magnum: Implement secure deserialize function  https://review.openstack.org/18628723:50
*** fawadkhaliq has joined #openstack-containers23:52
openstackgerritSteven Dake proposed openstack/magnum: Implement secure deserialize function  https://review.openstack.org/18628723:52
*** vilobhmm has quit IRC23:53
*** sdake_ has joined #openstack-containers23:56
*** fawadkhaliq has quit IRC23:56
*** jjlehr1 has joined #openstack-containers23:57
*** jjlehr1 has quit IRC23:57

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