Thursday, 2016-07-21

*** mtanino has quit IRC00:03
openstackgerritMotohiro/Yuanying Otsuka proposed openstack/python-magnumclient: Use os-client-config in shell  https://review.openstack.org/33874200:05
*** vijendar1 has joined #openstack-containers00:07
*** vijendar has quit IRC00:07
*** Drago has quit IRC00:11
*** vijendar1 has quit IRC00:12
*** Drago has joined #openstack-containers00:14
*** vijendar has joined #openstack-containers00:20
openstackgerritVijendar Komalla proposed openstack/magnum: Support for async bay operations  https://review.openstack.org/33077100:20
*** banix has joined #openstack-containers00:36
*** jerrygb has joined #openstack-containers00:36
*** dimtruck is now known as zz_dimtruck00:37
*** mbound has joined #openstack-containers00:38
*** jerrygb has quit IRC00:41
*** vijendar has quit IRC00:41
*** mbound has quit IRC00:43
*** kevin_zh has joined #openstack-containers00:46
*** harshs has quit IRC00:47
*** shu-mutou-AFK is now known as shu-mutou00:52
openstackgerritMerged openstack/python-magnumclient: Updated from global requirements  https://review.openstack.org/34338200:53
*** trananhkma has joined #openstack-containers01:06
*** hongbin has joined #openstack-containers01:10
*** banix has quit IRC01:11
hongbinyuanying: ping01:13
*** mtanino has joined #openstack-containers01:17
openstackgerritMerged openstack/python-magnumclient: Display baymodel info with bay-show command  https://review.openstack.org/34202501:17
yuanyinghongbin: pong01:19
hongbinyuanying: Just comment on your patch: https://review.openstack.org/#/c/338742/6/magnumclient/v1/client.py01:19
yuanyinghongbin: hmm, ok01:20
yuanyinghongbin: but actually,, I don't like this style..01:23
yuanyingAnyway I'll fix01:24
*** muralia has quit IRC01:24
*** muralia has joined #openstack-containers01:24
hongbinyuanying: :)01:25
eliqiaoI found a bug of gerrit, there is no patch set 7 on https://review.openstack.org/#/c/338742/801:26
yuanyingeliqiao: About patch set 7, It seems my push is failed at client side.01:28
eliqiaoyuanying: :) haha, good to know01:28
yuanying"error: failed to push some refs to 'ssh://yuanying@review.openstack.org:29418/openstack/python-magnumclient.git'"01:28
*** hongbin has quit IRC01:33
*** harlowja has joined #openstack-containers01:35
*** harlowja has quit IRC01:35
*** harlowja has joined #openstack-containers01:36
openstackgerritPanFengyun proposed openstack/magnum: Fix get_removal_nodes() of scale_manager.py  https://review.openstack.org/34331101:36
*** jerrygb has joined #openstack-containers01:37
*** daneyon has joined #openstack-containers01:39
*** jerrygb has quit IRC01:42
*** daneyon has quit IRC01:43
openstackgerritMotohiro/Yuanying Otsuka proposed openstack/python-magnumclient: Use os-client-config in shell  https://review.openstack.org/33874201:49
*** EricGonczer_ has quit IRC02:06
*** abelur_ has joined #openstack-containers02:08
openstackgerritMotohiro/Yuanying Otsuka proposed openstack/python-magnumclient: Use os-client-config in shell  https://review.openstack.org/33874202:09
*** praneshp has joined #openstack-containers02:10
openstackgerritMerged openstack/magnum: Add check on docker_volume_size  https://review.openstack.org/34410202:16
openstackgerritMotohiro/Yuanying Otsuka proposed openstack/python-magnumclient: Use os-client-config in shell  https://review.openstack.org/33874202:20
*** jerrygb has joined #openstack-containers02:21
*** zz_dimtruck is now known as dimtruck02:21
*** praneshp has quit IRC02:21
*** jberkus has quit IRC02:34
*** Drago has quit IRC02:35
*** jberkus has joined #openstack-containers02:42
*** praneshp has joined #openstack-containers02:42
*** hongbin has joined #openstack-containers02:44
*** hongbin has quit IRC02:44
*** yamamoto_ has joined #openstack-containers02:46
*** harlowja has quit IRC02:46
*** yuanying has quit IRC02:46
*** anushkrishnamurt has joined #openstack-containers02:55
*** praneshp has quit IRC02:55
*** praneshp has joined #openstack-containers02:56
*** praneshp has quit IRC03:00
*** anushkrishnamurt has quit IRC03:19
*** kushal has joined #openstack-containers03:24
*** dave-mccowan has quit IRC03:27
*** harshs has joined #openstack-containers03:27
*** yamamoto_ has quit IRC03:31
*** julim has quit IRC03:31
*** vimal has joined #openstack-containers03:43
*** julim has joined #openstack-containers03:44
*** yuanying has joined #openstack-containers03:48
*** harshs has quit IRC03:57
*** dimtruck is now known as zz_dimtruck04:01
openstackgerritShu Muto proposed openstack/magnum-ui: Use Horizon's Angular registry of Actions and Views  https://review.openstack.org/32628904:01
*** yuanying_ has joined #openstack-containers04:03
*** diga has joined #openstack-containers04:04
*** diga has quit IRC04:05
*** julim has quit IRC04:05
*** diga has joined #openstack-containers04:06
*** yuanying has quit IRC04:06
openstackgerrithuang.huayong proposed openstack/magnum: fix bug for configure-kubernetes-minion.sh  https://review.openstack.org/34514804:07
*** jberkus has quit IRC04:15
*** vimal has quit IRC04:22
*** yamamoto_ has joined #openstack-containers04:29
*** diga has quit IRC04:29
*** kushal has quit IRC04:31
*** vimal has joined #openstack-containers04:41
*** mkrai has joined #openstack-containers04:41
*** kdas__ has joined #openstack-containers04:43
openstackgerritMerged openstack/python-magnumclient: Update the magnum client to send the latest version.  https://review.openstack.org/34503204:44
openstackgerritMerged openstack/python-magnumclient: Add shell command bay-config  https://review.openstack.org/34215304:45
*** kdas__ has quit IRC04:48
*** yuanying has joined #openstack-containers05:03
*** yuanying_ has quit IRC05:06
*** jerrygb has quit IRC05:09
*** abelur__ has joined #openstack-containers05:20
*** abelur_ has quit IRC05:20
*** harlowja has joined #openstack-containers05:39
*** abelur__ is now known as abelur_05:57
*** harlowja has quit IRC06:04
openstackgerritMerged openstack/magnum: Fix the permission of these files  -rwxr-xr-x  https://review.openstack.org/34411006:06
*** daneyon has joined #openstack-containers06:09
*** daneyon has quit IRC06:14
openstackgerritMerged openstack/magnum: Set swarm api_address protocol to tcp on all cases.  https://review.openstack.org/34483506:23
*** eric_lopez has joined #openstack-containers06:35
*** elo has quit IRC06:39
openstackgerritMotohiro/Yuanying Otsuka proposed openstack/python-magnumclient: Use os-client-config in shell  https://review.openstack.org/33874206:45
*** mfalatic has quit IRC06:51
*** mkrai has quit IRC06:57
*** pcaruana has joined #openstack-containers07:03
*** rcernin has joined #openstack-containers07:07
openstackgerritMotohiro/Yuanying Otsuka proposed openstack/magnum: Add functional test for k8s ironic  https://review.openstack.org/33643307:08
openstackgerritMotohiro/Yuanying Otsuka proposed openstack/magnum: Fix ironic template  https://review.openstack.org/32096807:08
openstackgerritMotohiro/Yuanying Otsuka proposed openstack/magnum: Fix copying logs from nodes  https://review.openstack.org/34519707:08
*** rcernin has quit IRC07:10
*** rcernin has joined #openstack-containers07:10
openstackgerritMotohiro/Yuanying Otsuka proposed openstack/magnum: Add functional test for k8s ironic  https://review.openstack.org/33643307:13
*** Ich has joined #openstack-containers07:15
*** ccz has joined #openstack-containers07:15
*** zenoway has joined #openstack-containers07:17
*** ccz has quit IRC07:19
*** Ich has quit IRC07:19
*** kushal has joined #openstack-containers07:21
*** hvlad has joined #openstack-containers07:24
openstackgerritVipul Nayyar proposed openstack/python-magnumclient: Increase unit test coverage for module baymodels  https://review.openstack.org/34405807:26
*** hvlad has quit IRC07:28
*** hvlad has joined #openstack-containers07:28
strigaziyuanying: around?07:31
yuanyinghi strigazi07:32
openstackgerritShu Muto proposed openstack/magnum-ui: Use Horizon's Angular registry of Actions and Views  https://review.openstack.org/32628907:32
strigaziI have issues creating baremetal bays on my local devstack07:32
yuanyingOh, what is?07:32
strigaziWhat is your local.conf?07:32
strigazimine is07:33
yuanyingwait a minittue07:33
yuanyinghttp://paste.openstack.org/show/538929/07:33
strigazimine is: http://paste.openstack.org/show/538930/07:34
strigaziApart from the change on the db of ironic have done anything else?07:35
strigaziApart from the change on the db of ironic have you done anything else?07:35
yuanyingI fixed the issue which is copying log from nodes doesn't work07:36
yuanyinghttps://review.openstack.org/#/c/345197/07:36
yuanyingWe want to log message from nodes why functional test doesn't work07:36
strigaziok07:37
yuanyingbut now, it seems doen't work07:37
strigaziin my case I can't create a bay manually07:37
strigazithe nodes don't spawn completely07:37
yuanyingdid you check nova scheduler logs?07:38
strigaziat some point nova starts deleting them07:38
strigaziIt says that there is no memory, but I do have memory. Here is what happens07:39
strigazithe ironic nodes are on and after deploying are on "wait call" state07:39
strigaziand nova instances are on spawning07:40
yuanyinghmm07:40
strigaziafter a while (not sure why) nova starts deleting them07:40
strigaziThe RamFilter fails07:40
strigazibut I'm on a box07:41
strigaziwith 16GB of07:41
strigaziwith nothing else but ubuntu server in it07:41
yuanyingI have never seen this kind of fail about ironic instance due to RamFilter07:41
yuanyingCould you start ironic instance without magnum?07:42
yuanyingIt means, nova boot --image cirros --flavor baremetal07:43
strigazijust a sec07:44
*** mikelk has joined #openstack-containers07:48
strigazispawning07:49
strigazithe ironic node is on wait call-back07:50
strigaziand the instance on spawning07:50
yuanyingSame as bay case?07:52
strigaziyes07:52
strigazibut it hasn't failed yet07:53
yuanyingbooting ironic instance time will be long07:53
yuanyingWhat about 'virsh list"?07:56
strigazirunnning07:57
yuanyingquiet strange, if instance doesn't run07:58
*** daneyon has joined #openstack-containers07:58
yuanyingSuceeded to boot in my local env07:58
strigaziyou're devstack is on a psysical host? (mine it is)07:59
yuanyingno, my devstack is on kvm vm07:59
yuanyingso I'm using nested-kvm08:00
yuanyingto build bay08:00
strigaziram?08:00
yuanyinghost is 32GB, devstack node is 24GB08:01
*** daneyon has quit IRC08:02
strigaziIt's stuck, I have created baremetal insatces in before in much less time08:02
strigaziI'll try to do the ironic exercises on a clean environment08:05
strigazithanks08:05
yuanyingok08:05
jgrasslerGood morning.08:07
jgrasslerI made some progress on https://review.openstack.org/#/c/326428/ but now I could use some help:08:08
jgrasslerI figured out what the problem is at least - magnum uses its service user credentials to get a token in service.py08:08
jgrasslerThe only question is why now...08:08
jgrasslerMight I be missing something other than https://github.com/jgrassler/magnum/blob/debug-periodic/magnum/service/periodic.py#L97 ?08:09
jgrasslerI thought creating an OpenStack client with a context (the trustee user context in this case) is enough.08:09
jgrasslerJust to make sure that didn't pose a problem I even did a set_ctx() as the set_context decorator does it: https://github.com/jgrassler/magnum/blob/debug-periodic/magnum/service/periodic.py#L9508:11
jgrasslerBut when I pull the token output by https://github.com/jgrassler/magnum/blob/debug-periodic/magnum/service/periodic.py#L105 from Keystone it's a token for the magnum user...08:11
yuanyingI guess this token is trusted by trustee to magnum user08:13
yuanyingSorry confuseed08:14
jgrasslerThat was my first thought, but it definitely is the special trustee user in the trustee user domain: https://github.com/jgrassler/magnum/commit/494ee3332b0af84afb8fc19e86749833ec169f7c#diff-f8634d2ba6ecb1e6f296c48551e65137R10208:15
jgrassler(I added debug output to verify that as well)08:15
yuanyingWho is magnum user?  he is trustee_domain_admin user?08:16
jgrasslerNo, `magnum` is the service user.08:18
jgrasslertrustee_domain_admin_name = trustee_domain_admin08:18
jgrasslerThere's a separate user for the trustee domain admin.08:18
yuanyingok, you create a request context for trustee user, but you got token for magnum user, right?08:19
jgrassler(it's a mostly standard devstack setup, by the way)08:19
jgrasslerExactly, yes08:19
eliqiaoyuanying: that seems make sence.08:19
jgrasslerThe Heat API log shows this very nicely, too: ""GET /v1/cb6fb389ca0143b7929c6b0810a604af/stacks/3ee9789e-4ee9-4f39-95ca-4a89abb72156 HTTP/1.1" 404 839 0.116773"08:19
jgrassler(`cb6fb389ca0143b7929c6b0810a604af` is the `servic` project)08:20
jgrasslers/servic/service/08:20
jgrasslerThe correct path would be /v1/6f61a0ae38c34e5c9f4460e4e14468de/stacks/3ee9789e-4ee9-4f39-95ca-4a89abb72156 because 6f61a0ae38c34e5c9f4460e4e14468de is the project of the bay's creating user.08:22
eliqiaojgrassler: so the bocs you constructed is wrong?08:24
jgrasslerAlso, the context output by https://github.com/jgrassler/magnum/blob/debug-periodic/magnum/service/periodic.py#L102 looks good, i.e. it contains the trustee user's credentials.08:24
jgrasslereliqiao: It must be, yes. I just don't know why at this point :-/08:24
yuanyingjgrassler: may be this is the reason https://github.com/jgrassler/magnum/blob/debug-periodic/magnum/common/keystone.py#L11608:25
jgrasslereliqiao: It gets bay_context as input, but the client it returns still uses the service user's credentials.08:25
yuanyingis self.context.trust_id is exist, keystone client will use admin user (who may be magnum user)08:26
jgrassleryuanying: No, I only added this as an afterthought (to clean up after looping over the bays).08:26
eliqiaoyou expect the context is an user not serviceļ¼Œ right?08:28
jgrasslerExactly, yes08:28
jgrasslerSomething like fb42d352-b109-49e8-91c2-ccb23d4acce3 in this case (that's the trustee user for the bay in question)08:28
yuanyingjgrassler: but keystoneclient seems that there is no way to create auth_token from context08:30
jgrasslerBut why is the admin user being used when there is a trust_id token?08:30
jgrassleryuanying: Ah...so keystoneclient basically ignores the RequestContext being passed?08:30
yuanyingjgrassler: simply it uses context.auth_token if it exist08:30
yuanyingI guess so08:31
jgrasslerAlright, so I'd basically have to invoke KeystoneClientV3 in make_admin_context() to acquire a token?08:33
*** kdas__ has joined #openstack-containers08:34
jgrasslerOr, in other words, as long as there's an auth_token in the request context the rest doesn't matter?08:34
*** adrian_otto has joined #openstack-containers08:34
yuanyingI think we should add other pass to get auth_token form username and password in keystoneclient08:34
*** kushal has quit IRC08:35
jgrasslerhttps://github.com/jgrassler/magnum/blob/debug-periodic/magnum/common/keystone.py#L115 - here you mean?08:37
yuanyingyes08:37
*** kdas__ is now known as kushal08:37
*** kushal has joined #openstack-containers08:37
jgrasslerOk, I can do that :-)08:38
jgrasslerOne last question on https://github.com/jgrassler/magnum/blob/debug-periodic/magnum/common/keystone.py#L11608:38
jgrasslerWhy does this line check for trust_id as well?08:38
jgrassler(The only trust delegations I'm aware of in Magnum are to the bay trustee users)08:39
yuanyingjgrassler: Actually I'm not sure, this code come from another project so some spam are remained08:39
yuanying(after our refactoring08:39
jgrasslerAh, ok :-)08:39
jgrassleranother project == heat?08:40
yuanyinghaha, I remember the first copy is from solum08:40
jgrasslerI think Heat delegates trusts to its service user, so there it would definitely make sense...08:41
*** trananhkma has quit IRC08:41
yuanyingActually I copied from solum, I remember!08:41
yuanyingoh, from ironic...08:41
yuanyinghttps://github.com/jgrassler/magnum/commits/debug-periodic/magnum/common/keystone.py08:41
jgrasslerOk, maybe they copied from Heat in turn :-)08:41
jgrasslerAnyway, I know where the problem is and I'll see about fixing it now. Thank you :-)08:43
yuanyingnp08:43
*** adrian_otto has quit IRC08:43
*** manikanta_tadi has joined #openstack-containers08:47
openstackgerritMerged openstack/magnum: fix bug for configure-kubernetes-minion.sh  https://review.openstack.org/34514808:52
*** clsacramento has quit IRC09:05
openstackgerritWenzhi Yu proposed openstack/magnum: Enable keystone authentication for k8s bay  https://review.openstack.org/32692409:13
*** jerrygb has joined #openstack-containers09:13
*** jerrygb has quit IRC09:18
strigaziyuanying: still around?09:20
*** wznoinsk_ has joined #openstack-containers09:20
*** wznoinsk- has joined #openstack-containers09:22
*** wznoinsk has quit IRC09:22
*** wznoinsk has joined #openstack-containers09:22
*** wznoinsk| has joined #openstack-containers09:23
*** wznoinsk- has quit IRC09:24
*** wznoinsk has quit IRC09:25
*** wznoinsk_ has quit IRC09:25
*** wznoinsk has joined #openstack-containers09:30
*** hvlad has quit IRC09:31
*** hvlad has joined #openstack-containers09:31
*** wznoinsk| has quit IRC09:32
*** hvlad has quit IRC09:44
*** hvlad has joined #openstack-containers09:44
*** kushal has quit IRC09:46
*** kushal has joined #openstack-containers09:49
*** jerrygb has joined #openstack-containers10:14
*** wznoinsk_ has joined #openstack-containers10:15
*** wznoinsk has quit IRC10:17
*** jerrygb has quit IRC10:20
*** mbound has joined #openstack-containers10:26
*** vipulnayyar has joined #openstack-containers10:34
*** manikanta_tadi has quit IRC10:49
*** manikanta_tadi has joined #openstack-containers10:55
*** maestropandy has joined #openstack-containers10:59
*** shu-mutou is now known as shu-mutou-AFK11:04
*** jerrygb has joined #openstack-containers11:16
*** yamamoto_ has quit IRC11:17
*** jerrygb has quit IRC11:21
*** sergmelikyan has joined #openstack-containers11:23
*** dave-mccowan has joined #openstack-containers11:23
*** dfflanders has joined #openstack-containers11:53
*** yamamoto has joined #openstack-containers11:54
*** vijendar has joined #openstack-containers11:59
*** yamamoto has quit IRC12:03
*** yamamoto has joined #openstack-containers12:03
*** vijendar has quit IRC12:04
*** yamamoto has quit IRC12:08
*** yamamoto has joined #openstack-containers12:09
*** jerrygb has joined #openstack-containers12:17
*** jerrygb has quit IRC12:21
*** EricGonczer_ has joined #openstack-containers12:22
*** eric_lopez has quit IRC12:24
*** eric_lopez has joined #openstack-containers12:24
*** hvlad has quit IRC12:25
*** hvlad has joined #openstack-containers12:25
*** banix has joined #openstack-containers12:28
*** banix has quit IRC12:33
*** banix has joined #openstack-containers12:34
*** maestropandy has left #openstack-containers12:37
*** banix has quit IRC12:37
*** eliqiao has quit IRC12:38
*** vimal has quit IRC12:39
*** vipulnayyar has quit IRC12:41
*** sergmelikyan has quit IRC12:47
*** sergmelikyan has joined #openstack-containers12:47
*** sergmelikyan has quit IRC12:52
*** nicolasbock has quit IRC12:52
*** hvlad has quit IRC12:52
*** hvlad has joined #openstack-containers12:52
*** nicolasbock has joined #openstack-containers12:52
*** julim has joined #openstack-containers13:01
*** manikanta_tadi has quit IRC13:02
openstackgerritJohannes Grassler proposed openstack/magnum: Fix global stack list in periodic task  https://review.openstack.org/32642813:11
jgrasslerThis should finally do it...13:12
jgrasslerModulo pep8 maybe :-)13:12
*** rlrossit has joined #openstack-containers13:17
*** jerrygb has joined #openstack-containers13:18
*** jerrygb has quit IRC13:22
*** yamamoto has quit IRC13:25
*** EricGonczer_ has quit IRC13:28
*** jerrygb has joined #openstack-containers13:34
*** harshs has joined #openstack-containers13:37
*** mikelk has quit IRC13:38
*** mikelk has joined #openstack-containers13:38
*** yamamoto has joined #openstack-containers13:43
*** yamamoto has quit IRC13:43
*** yamamoto has joined #openstack-containers13:44
*** ametts has joined #openstack-containers13:47
*** krotscheck_dcm is now known as krotscheck13:50
*** mtanino has quit IRC13:57
*** anush_ has joined #openstack-containers14:02
*** zz_dimtruck is now known as dimtruck14:04
*** harshs has quit IRC14:08
*** vijendar has joined #openstack-containers14:12
*** vijendar has quit IRC14:13
*** harshs has joined #openstack-containers14:15
*** muralia has quit IRC14:28
*** muralia has joined #openstack-containers14:29
*** muralia has quit IRC14:33
*** dane_leblanc has joined #openstack-containers14:38
*** Drago has joined #openstack-containers14:44
*** Drago has quit IRC14:44
*** Drago has joined #openstack-containers14:44
*** vijendar has joined #openstack-containers14:50
*** mtanino has joined #openstack-containers14:54
*** swatson has joined #openstack-containers14:58
*** pcaruana has quit IRC15:02
*** muralia has joined #openstack-containers15:05
*** daneyon has joined #openstack-containers15:11
*** sdake has joined #openstack-containers15:13
*** hongbin has joined #openstack-containers15:14
*** harshs has quit IRC15:15
*** daneyon has quit IRC15:16
*** kevin_zh has quit IRC15:16
*** sdake_ has joined #openstack-containers15:17
*** dfflanders has quit IRC15:17
*** sdake has quit IRC15:19
*** Conficker has joined #openstack-containers15:20
*** zenoway has quit IRC15:37
*** mikelk has quit IRC15:41
*** zenoway has joined #openstack-containers15:41
*** tango__ has joined #openstack-containers15:43
*** dimtruck is now known as zz_dimtruck15:44
*** slagle has quit IRC15:45
*** zenoway has quit IRC15:46
*** slagle has joined #openstack-containers15:47
openstackgerritJohannes Grassler proposed openstack/magnum: Fix global stack list in periodic task  https://review.openstack.org/32642815:50
*** jberkus has joined #openstack-containers15:53
*** hvlad1 has joined #openstack-containers15:53
*** praneshp has joined #openstack-containers15:55
*** hvlad has quit IRC15:55
*** yamamoto has quit IRC15:55
*** sergmelikyan has joined #openstack-containers16:09
*** rcernin has quit IRC16:19
*** vijendar has quit IRC16:22
*** julim has quit IRC16:28
*** derekjhyang has joined #openstack-containers16:29
openstackgerritBharath kumar proposed openstack/magnum: The directory need not be /opt/stack/devstack always  https://review.openstack.org/34553816:29
*** Conficker has quit IRC16:30
*** bks has joined #openstack-containers16:34
bkshi16:34
bkshttps://review.openstack.org/#/c/345538/16:35
*** sdake_ has quit IRC16:46
*** sdake has joined #openstack-containers16:49
*** Drago has quit IRC16:51
*** yamamoto has joined #openstack-containers16:56
*** EricGonczer_ has joined #openstack-containers16:56
*** yamamoto has quit IRC17:01
*** rafael__ has joined #openstack-containers17:03
*** swatson has quit IRC17:03
*** bks has quit IRC17:07
*** hvlad1 has quit IRC17:09
*** eric_lopez has quit IRC17:10
*** sergmelikyan has quit IRC17:11
openstackgerritNate Potter proposed openstack/magnum: Fix typo in baymodel param  https://review.openstack.org/34556117:12
*** chetna has joined #openstack-containers17:13
*** charliekang has joined #openstack-containers17:20
*** zul has quit IRC17:25
*** zul has joined #openstack-containers17:26
*** julim has joined #openstack-containers17:34
*** EricGonczer_ has quit IRC17:41
*** zz_dimtruck is now known as dimtruck17:43
*** harlowja has joined #openstack-containers17:44
*** vijendar has joined #openstack-containers17:45
*** vijendar has quit IRC17:45
*** sidx64 has joined #openstack-containers17:50
*** elo has joined #openstack-containers17:51
*** elo has quit IRC17:52
*** elo has joined #openstack-containers17:54
*** elo has quit IRC17:56
*** vijendar has joined #openstack-containers17:58
*** sergmelikyan has joined #openstack-containers17:59
*** julim_ has joined #openstack-containers18:01
openstackgerritrajiv proposed openstack/magnum: Change heat template version for consistency  https://review.openstack.org/34558718:01
*** julim has quit IRC18:04
*** EricGonczer_ has joined #openstack-containers18:11
openstackgerritVijendar Komalla proposed openstack/magnum: Support for async bay operations  https://review.openstack.org/33077118:15
openstackgerritVijendar Komalla proposed openstack/magnum: Add microversioning support for methods  https://review.openstack.org/34306018:16
*** hvlad has joined #openstack-containers18:18
*** Drago has joined #openstack-containers18:19
*** harshs has joined #openstack-containers18:20
*** EricGonczer_ has quit IRC18:21
*** zul_ has joined #openstack-containers18:24
*** swatson has joined #openstack-containers18:27
*** zul has quit IRC18:29
openstackgerritVijendar Komalla proposed openstack/magnum: Support for async bay operations  https://review.openstack.org/33077118:30
*** harlowja has quit IRC18:35
*** harlowja has joined #openstack-containers18:38
*** EricGonczer_ has joined #openstack-containers18:41
*** daneyon has joined #openstack-containers18:47
*** derekjhyang has quit IRC18:52
*** daneyon has quit IRC18:53
*** sergmelikyan has quit IRC18:56
*** sergmelikyan has joined #openstack-containers18:56
*** harlowja has quit IRC18:59
*** EricGonczer_ has quit IRC19:00
*** sergmelikyan has quit IRC19:01
*** sergmelikyan has joined #openstack-containers19:02
*** harshs has quit IRC19:05
*** banix has joined #openstack-containers19:06
*** EricGonczer_ has joined #openstack-containers19:06
*** banix has quit IRC19:07
*** sidx64 has quit IRC19:07
*** EricGonczer_ has quit IRC19:07
*** kevin_zh has joined #openstack-containers19:07
*** dfflanders has joined #openstack-containers19:11
*** sergmelikyan has quit IRC19:12
*** harshs has joined #openstack-containers19:14
*** harshs has quit IRC19:15
*** abelur_ has quit IRC19:28
*** hvlad has quit IRC19:28
*** hvlad has joined #openstack-containers19:28
*** harshs has joined #openstack-containers19:29
*** swatson has quit IRC19:32
*** jerrygb has quit IRC19:32
*** ramishra has quit IRC19:36
*** ramishra has joined #openstack-containers19:37
*** ByPasS has joined #openstack-containers19:37
*** sdake_ has joined #openstack-containers19:39
*** sdake has quit IRC19:40
*** jerrygb has joined #openstack-containers19:40
*** swatson has joined #openstack-containers19:53
jvgrant_Drago: you around?20:00
Dragojvgrant_: Yes, in a meeting for 30 minutes though. Responses might be slow. What's up?20:01
jvgrant_Drago: was looking into updating the images for software deployment but I noticed in the user guide doc that their inclusion is already required. Do we know if they are already included for all the images?20:03
Dragojvgrant_: They are included on the ubuntu mesos image, but they're not on the atomic fedora image.20:03
*** vijendar has quit IRC20:09
*** dfflanders has quit IRC20:21
*** agireud has quit IRC20:30
*** agireud has joined #openstack-containers20:31
*** EricGonczer_ has joined #openstack-containers20:35
*** hvlad has quit IRC20:36
*** hvlad has joined #openstack-containers20:36
*** harlowja has joined #openstack-containers20:39
*** vijendar has joined #openstack-containers20:51
*** muralia has quit IRC20:54
*** ametts has quit IRC20:59
chetnaHi Drago.. Finally, I was able to build Fedora23 atomic image on ubuntu 14.04 though it was stuck at the same point on fedora. Thanks much for your help!21:01
*** swatson has quit IRC21:02
*** hvlad has quit IRC21:06
*** hvlad has joined #openstack-containers21:06
Dragochetna: Excellent! You're welcome21:07
*** mikal has left #openstack-containers21:08
chetnaThanks tango for your help.. I could build Fedora23 atomic image on ubuntu 14.04.21:10
chetnaI will be trying to build Fedora24 one now.21:10
*** elo has joined #openstack-containers21:11
tango__chetna: Sounds good.  If there is any new steps you found, please consider updating the docs.21:13
*** julim_ has quit IRC21:14
chetnasure tango..21:14
*** banix has joined #openstack-containers21:20
*** EricGonczer_ has quit IRC21:20
Dragojvgrant_: Ping21:20
*** vijendar has quit IRC21:21
jvgrant_Drago: hi21:21
Dragojvgrant_: Apparently there's an atomic-specific swconfig agent: https://github.com/openstack/heat-templates/blob/master/hot/software-config/heat-container-agent/scripts/hooks/atomic21:22
DragoI haven't looked into it, but I happened to see a conversation mentioning atomic and software config21:22
jvgrant_ok, it also looks like the k8 fedora-ironic image builds with it as well21:23
Dragojvgrant_: It does??21:24
jvgrant_at least according to the readme in the driver21:24
jvgrant_https://github.com/openstack/magnum/tree/master/magnum/drivers/k8s_fedora_atomic_v1/templates/elements21:24
jvgrant_i'm building a new fedora atomic image right now for vm vs ironic that will include it as well21:26
Dragojvgrant_: What is "baremetal"?21:27
jvgrant_running directly on the system instead of a VM21:28
Dragojvgrant_: Oh no I meant in "diskimage-builder/bin/disk-image-create baremetal \21:30
Drago  fedora selinux-permissive \ ..."21:30
*** daneyon has joined #openstack-containers21:30
*** charliekang has quit IRC21:31
jvgrant_same, i'm assuming since in the other commands for disk-builder i see that param as vm21:32
*** daneyon has quit IRC21:35
Dragojvgrant_: I don't know what I was confused about. Nevermind21:35
jvgrant_ok :)21:35
*** dave-mccowan has quit IRC21:37
Dragojvgrant_: Yeah, okay. I was using this https://github.com/openstack/magnum/blob/master/magnum/drivers/common/image/fedora-atomic/README.rst21:39
DragoAnd it wasn't working with the software config part21:40
DragoI am now unsure if that's how the atomic-fedora-latest image is created21:41
*** harlowja has quit IRC21:41
*** swatson has joined #openstack-containers21:42
*** rafael__ has quit IRC21:43
*** swatson has quit IRC21:44
jvgrant_i'm using that as well as what i found from the k8 driver area. I also found another guide on how to use it. trying a little of each for now21:45
jvgrant_were you not able to create the image or the software config part wasn't working?21:45
Dragojvgrant_: The image creation would fail21:45
DragoAnd I thought, cool, let's see how to debug this, and that's where I left off21:46
jvgrant_i have an image built now, not sure if is going to work yet though21:46
Dragojvgrant_: A baremetal or vm image?21:46
jvgrant_vm21:46
Dragocool21:47
jvgrant_what is the best way to figure out if it is working?21:47
DragoIf DIB ran correctly, that's a pretty good sign21:47
DragoSSH into the vm and run os-collect-config21:47
Dragojvgrant_: Also if you try the template I sent you and it completes, then it's working21:48
*** harlowja has joined #openstack-containers21:48
jvgrant_ok i'll give that a try21:48
Dragojvgrant_: I think you will only have to update the ssh key parameter and the image parameter21:48
*** harlowja has quit IRC21:48
*** muralia has joined #openstack-containers21:54
chetnaHi tango.. I have a question.. The other day when we were discussing about building Fedora atomic images. You mentioned that DIB does not support Fedora24 yet and I might be able to tweak the patch that adds Fedora23 to DIB for it to work for fedora24. Could you please help me with the patch you were talking about so that I can try to tweak it.21:55
*** banix has quit IRC21:57
daneyon_i am testing a magnum stable/mitaka deployment (not devstack). I am seeing different behavior when using the atomic-latest and atomic 6 image (https://fedorapeople.org/groups/magnum/). What is the recommended image to use with magnum stable/mitaka?22:00
daneyon_^ yuanying tango__ hongbin ^22:03
tango__daneyon_:  I would use atomic_latest.22:05
hongbindaneyon_: tango__ I think it is atomic-5 https://github.com/openstack/magnum/blob/stable/mitaka/doc/source/dev/quickstart.rst#building-a-kubernetes-bay---based-on-fedora-atomic22:06
hongbinNot latest22:07
tango__hmm, I thought we have switched to latest for mitaka. I guess I am mistaken.22:08
daneyon_tango__ i have tried atomic-latest and atomic-6 but had problems, the kubelet is trying to register using $KUBE_API_VIP:6443 (api secure port) and it fails b/c the neutron lb is not config'd for 644322:08
daneyon_Let me try the v5 image22:08
daneyon_hongbin tango__ do you know off hand the diff between v5/v6 atomic images?22:10
hongbinI have no idea about 622:12
*** rlrossit has quit IRC22:12
hongbin5 is based on fedora21 if I remembered correctly22:12
tango__I had a README file there to explain but somehow it got deleted.22:13
tango__Let me check my note22:13
daneyon_hongbin tango__ One other thing I noticed in my mitaka non-devstack deployment is related to neutron secgroups. When the neutron lb is created for kube-api/etcd, the neutron lb port is associated to the neutron default security group. This group buy default does not allow 2379/8080. Have you seen this?22:16
*** sergmelikyan has joined #openstack-containers22:18
tango__daneyon_:  atomic-6 is the same as atomic-5, except kube-apiserver is custom built to fix 3 bugs for the external load balancer feature22:18
hongbinbut the template will create a dedicated secgroup for api&etcd22:18
hongbinThe secgroup created from the teamplte should open the right set of ports22:18
daneyon_hongbin, that is correct, but i see the neutron lb port is assocaited to the neutron default sec group instead of the kube master sec group. The default sec group does not allow 2370/8080, so this traffic gets blocked st the lb. let me compare to my devstack setup22:20
hongbinNot sure why lb asscociate with the default secgroup22:22
hongbinIt is very strange22:22
*** sdake_ has quit IRC22:24
Dragojvgrant_: Please review: https://blueprints.launchpad.net/magnum/+spec/bay-rebuild-operation22:29
jvgrant_drago: will do22:29
*** dimtruck is now known as zz_dimtruck22:30
*** dane_leblanc has quit IRC22:35
*** shubhams has quit IRC22:43
*** sergmelikyan has quit IRC22:44
*** sdake has joined #openstack-containers22:49
*** banix has joined #openstack-containers22:52
*** jerrygb has quit IRC22:55
daneyon_hongbin tango__ fyi.. these are the 2 bugs I'm hitting so far in my magnum deploy: https://bugs.launchpad.net/magnum/+bug/1605416 https://bugs.launchpad.net/magnum/+bug/160541523:04
openstackLaunchpad bug 1605416 in Magnum "neutron loadbalancer uses incorrect security group" [Undecided,New]23:04
openstackLaunchpad bug 1605415 in Magnum "Kubelet failure using Port 6443" [Undecided,New]23:04
tango__daneyon_:  Are these againts Mitaka stable only,  or current master also?23:06
tango__I guess we can check23:06
daneyon_tango__ I am using stable/mitaka23:06
*** hvlad has quit IRC23:06
*** hvlad has joined #openstack-containers23:06
hongbindaneyon_: The second bug is related to the first bug?23:10
hongbindaneyon_: or they are independent issues23:11
*** achanda has joined #openstack-containers23:11
achandatrying to see if there is a way to set MTU on the docker0 bridge using magnum23:12
achandalooks like FLANNEL_MTU will set it23:12
daneyon_hongbin independent issues23:12
hongbindaneyon_: ack23:12
achandabut how do I set that var using the CLI?23:12
tango__achanda:  Why do you need to set the MTU?  This can lead to very strange network behavior.23:14
achandatango__ if path mtu discovery is broken for some reason, not setting this can lead to weirdness23:14
achandawe had this in one of or envs23:15
*** hongbin has quit IRC23:16
achandain our case, a firewall was dropping silently icmp replies23:16
achandait was easier to change mtu on docker0 to get it to work23:17
tango__achanda: I guess you are using K8s bay.  Currently MTU is not exposed as a parameter.  It needs to be set correctly to account for the extra header in Flannel.23:18
*** daneyon has joined #openstack-containers23:18
achandayes, k8s23:19
daneyon_hongbin https://bugs.launchpad.net/magnum/+bug/1605415 may be invalid. AT first I thought the neutron lb was load balancing 8080 and not 6443, but that does not appear to be the case.23:19
openstackLaunchpad bug 1605415 in Magnum "Kubelet failure using Port 6443" [Undecided,New]23:19
achandatango__: how do I set it though?23:19
tango__achanda: To set the MTU, you would need to log into each VM and run ifconfig command on docker023:19
achandatango__ :(23:19
achandathere is no way to set that FLANNEL_MTU flag?23:20
tango__achanda:  I guess if you have a clear use case, you can open a blueprint with all the details and we can discuss23:21
achandatango__: will do, thanks23:21
tango__OK23:21
*** daneyon has quit IRC23:23
*** harshs has quit IRC23:37
*** hvlad has quit IRC23:38
*** harshs has joined #openstack-containers23:41
*** sergmelikyan has joined #openstack-containers23:45
*** sergmelikyan has quit IRC23:49
*** sergmelikyan has joined #openstack-containers23:50
*** anush_ has quit IRC23:57
*** harshs has quit IRC23:57
*** harshs has joined #openstack-containers23:57
*** sergmelikyan has quit IRC23:58
*** harshs has quit IRC23:58
*** sergmelikyan has joined #openstack-containers23:59

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