*** Tango has joined #openstack-containers | 00:04 | |
*** mbound has quit IRC | 00:13 | |
*** zz_dimtruck is now known as dimtruck | 00:13 | |
*** achanda has joined #openstack-containers | 00:26 | |
*** EricGonczer_ has joined #openstack-containers | 00:30 | |
*** sthillma has quit IRC | 00:36 | |
eliqiao | hi yuanying ,hongbin there? | 00:39 |
---|---|---|
yuanying | hi eliqiao | 00:39 |
eliqiao | yuanying: I am testing tls with k8s api, I get ssl exception on gate, could you help to check it? | 00:40 |
eliqiao | http://logs.openstack.org/21/232421/15/check/gate-functional-dsvm-magnum/0640963/console.html#_2015-10-21_10_59_41_869 | 00:40 |
yuanying | eliqiao: ok | 00:40 |
eliqiao | yuanying: ^^ the error log is like this link | 00:41 |
*** sthillma has joined #openstack-containers | 00:41 | |
eliqiao | yuanying: I tested on my local setup , but it really works on my setup. | 00:41 |
yuanying | eliqiao: yes, I see this error for the first time.. | 00:42 |
eliqiao | yuanying: I wonder do you have magnum setup which can help running that case locally? | 00:43 |
eliqiao | yuanying: I debug a little and found that /tmp/tmplUjI50/ca.crt on gate is logger 4 B then my local setup. | 00:44 |
*** vikasc has quit IRC | 00:45 | |
*** gangil has quit IRC | 00:46 | |
yuanying | eliqiao: I didn't run functional tests locally, I tested it manually | 00:50 |
*** gangil has joined #openstack-containers | 00:51 | |
*** gangil has quit IRC | 00:51 | |
*** gangil has joined #openstack-containers | 00:51 | |
*** gangil1 has joined #openstack-containers | 00:53 | |
*** gangil has quit IRC | 00:53 | |
*** vimal has joined #openstack-containers | 00:53 | |
eliqiao | yuanying: okay, thank you. one thing very strange is the testresult is different from my local testing... I don't know how to debug that on gate. | 00:56 |
*** harshs has quit IRC | 00:58 | |
*** fawadkhaliq has joined #openstack-containers | 01:00 | |
*** shuquan has joined #openstack-containers | 01:20 | |
hongbin | eliqiao: I saw your email, but have no idea by just reading the logs. I think you need to figure out a way to gather more information. Something like k8s logs would be helpful for debugging | 01:20 |
*** shuquan has quit IRC | 01:27 | |
*** achanda has quit IRC | 01:30 | |
*** dimtruck is now known as zz_dimtruck | 01:32 | |
*** shuquan has joined #openstack-containers | 01:32 | |
*** zhenguo has joined #openstack-containers | 01:33 | |
eliqiao | hongbin: yeah, I am tring to compare the difference from my setup and gate, maybe the atomic-image is different, I'v downloaded new images and will do some testing locally. | 01:35 |
*** gangil1 has quit IRC | 01:36 | |
*** gangil has joined #openstack-containers | 01:36 | |
*** gangil has quit IRC | 01:36 | |
*** gangil has joined #openstack-containers | 01:36 | |
*** shuquan has quit IRC | 01:36 | |
*** vilobhmm11 has quit IRC | 01:39 | |
*** rpothier has quit IRC | 01:39 | |
openstackgerrit | Shu Muto proposed openstack/magnum-ui: Add create action to bay panel https://review.openstack.org/235870 | 01:40 |
*** sthillma has quit IRC | 01:47 | |
*** fawadkhaliq has quit IRC | 01:48 | |
*** achanda has joined #openstack-containers | 01:51 | |
*** gangil has quit IRC | 01:51 | |
*** puranamr has joined #openstack-containers | 01:52 | |
*** tbh has joined #openstack-containers | 01:56 | |
*** manjeets has joined #openstack-containers | 02:06 | |
*** muralia has joined #openstack-containers | 02:07 | |
*** unicell1 has quit IRC | 02:07 | |
openstackgerrit | Merged openstack/magnum: Add doc8 to pep8 job https://review.openstack.org/238151 | 02:08 |
*** achanda has quit IRC | 02:17 | |
*** Marga__ has joined #openstack-containers | 02:29 | |
*** shuquan has joined #openstack-containers | 02:31 | |
*** Marga_ has quit IRC | 02:32 | |
*** dims__ has quit IRC | 02:33 | |
*** Marga__ has quit IRC | 02:33 | |
*** gangil has joined #openstack-containers | 02:39 | |
*** gangil has quit IRC | 02:39 | |
*** gangil has joined #openstack-containers | 02:39 | |
*** puranamr has quit IRC | 02:39 | |
*** shuquan has quit IRC | 02:43 | |
*** puranamr has joined #openstack-containers | 02:53 | |
*** EricGonczer_ has quit IRC | 03:10 | |
openstackgerrit | Shu Muto proposed openstack/magnum-ui: Add create action to bay panel https://review.openstack.org/235870 | 03:11 |
*** muralia has quit IRC | 03:11 | |
openstackgerrit | Shu Muto proposed openstack/magnum-ui: Add create action to bay panel https://review.openstack.org/235870 | 03:12 |
*** tbh has quit IRC | 03:13 | |
*** tbh has joined #openstack-containers | 03:14 | |
*** hongbin has quit IRC | 03:16 | |
*** zz_dimtruck is now known as dimtruck | 03:16 | |
*** achanda has joined #openstack-containers | 03:17 | |
*** EricGonczer_ has joined #openstack-containers | 03:23 | |
*** achanda has quit IRC | 03:25 | |
*** EricGonczer_ has quit IRC | 03:30 | |
*** dims has joined #openstack-containers | 03:33 | |
*** harshs has joined #openstack-containers | 03:35 | |
*** hongbin has joined #openstack-containers | 03:38 | |
*** gangil has quit IRC | 03:39 | |
*** dims has quit IRC | 03:39 | |
openstackgerrit | Shu Muto proposed openstack/magnum-ui: Revice REST APIs https://review.openstack.org/238320 | 03:41 |
*** Marga_ has joined #openstack-containers | 03:44 | |
*** hongbin has quit IRC | 03:44 | |
*** dave-mccowan has quit IRC | 03:50 | |
*** achanda has joined #openstack-containers | 03:56 | |
*** dimtruck is now known as zz_dimtruck | 04:04 | |
*** Tango has quit IRC | 04:09 | |
*** eghobo has joined #openstack-containers | 04:10 | |
*** manjeets has left #openstack-containers | 04:11 | |
*** jwcroppe has quit IRC | 04:12 | |
*** fawadkhaliq has joined #openstack-containers | 04:18 | |
*** harshs has quit IRC | 04:20 | |
*** tbh has quit IRC | 04:26 | |
*** unicell has joined #openstack-containers | 04:40 | |
openstackgerrit | Shu Muto proposed openstack/magnum-ui: Revice REST APIs https://review.openstack.org/238320 | 04:46 |
*** gangil has joined #openstack-containers | 04:46 | |
*** gangil has quit IRC | 04:46 | |
*** gangil has joined #openstack-containers | 04:46 | |
*** tbh has joined #openstack-containers | 04:53 | |
*** tbh has quit IRC | 04:54 | |
*** Tango|2 has joined #openstack-containers | 04:57 | |
*** tbh has joined #openstack-containers | 05:08 | |
*** tbh has quit IRC | 05:08 | |
*** Shijia has joined #openstack-containers | 05:31 | |
*** dims has joined #openstack-containers | 05:35 | |
*** dims has quit IRC | 05:41 | |
*** Shijia_ has joined #openstack-containers | 05:51 | |
*** Shijia has quit IRC | 05:55 | |
eliqiao | hello, does any have magnum environment now ? I'd like to verify something. | 06:05 |
*** vilobhmm11 has joined #openstack-containers | 06:05 | |
eliqiao | ping yuanying, around? | 06:06 |
yuanying | hi eliqiao | 06:06 |
yuanying | eliqiao: What do you want to verify? | 06:07 |
eliqiao | yuanying: do you have k8s enviroment ? | 06:07 |
eliqiao | I'd like to test if my testing scripts works well. | 06:07 |
eliqiao | yuanying: for this patch https://review.openstack.org/#/c/232421/ , I tested well on my setup. | 06:07 |
eliqiao | yuanying: I get this error urllib3.exceptions.SSLError: [Errno 8] _ssl.c:510: EOF occurred in violation of protocol | 06:09 |
eliqiao | but I can not reproduce it in my setup. | 06:09 |
yuanying | eliqiao: Did you do functional test in your setup? | 06:11 |
eliqiao | yuanying: yeah, I manually run tox -e functional test_pod_apis | 06:11 |
eliqiao | yuanying: but I have some hacking in the test case code, just use created bay | 06:11 |
eliqiao | yuanying: not allow testcase create new bay . | 06:12 |
yuanying | eliqiao: ok, I'll test too | 06:12 |
eliqiao | yeah, I just write a python script to test ca_cert , and it works well. | 06:13 |
eliqiao | http://paste.openstack.org/show/477094/ | 06:15 |
eliqiao | yuanying: you can use this script( after some adaption ^^) | 06:16 |
yuanying | eliqiao: ok, thanks | 06:16 |
*** lyanchih has joined #openstack-containers | 06:20 | |
yuanying | eliqiao: I got this error when I did functional test `tox -e functional`: "ImportError: No module named magnumclient.openstack.common.apiclient" | 06:22 |
yuanying | eliqiao: Did you install python-magnumclient in your local env? | 06:23 |
eliqiao | yuanying: yeah, we require that | 06:23 |
yuanying | eliqiao: I'm not sure, why don't we add a python-magnumclient to test-requirements.txt? Do you know? | 06:26 |
eliqiao | yuanying: no idea, maybe because that no one did functional testing locally | 06:29 |
yuanying | eliqiao: Yes, because `functional_cred.conf` should be added in .gitignore. but it isn't added | 06:30 |
*** mathspanda has joined #openstack-containers | 06:30 | |
eliqiao | yuanying: yeah, that should be fixed, seems no people doing functional testing in their setup | 06:32 |
*** jwang_ has quit IRC | 06:32 | |
*** jwang_ has joined #openstack-containers | 06:33 | |
eliqiao | yuanying: I have one question. I see that kube_api_url is https://172.24.4.29:6443 . but master's ip is 172.24.4.30 and minion is 172.24.4.31. so where the request is send to ? | 06:34 |
yuanying | eliqiao: 172.24.4.29 is lbaas address | 06:35 |
eliqiao | get it, then how do I know the real ip address pool behand that lbaas? | 06:36 |
eliqiao | yuanying: we need to kick neutron ? | 06:36 |
eliqiao | I get these: taget@taget-ThinkStation-P300:~/devstack$ neutron lb-vip-list | 06:37 |
eliqiao | +--------------------------------------+---------------+-------------+----------+----------------+--------+ | 06:37 |
eliqiao | | id | name | address | protocol | admin_state_up | status | | 06:37 |
eliqiao | +--------------------------------------+---------------+-------------+----------+----------------+--------+ | 06:37 |
eliqiao | | 255c3f66-09a0-40ed-b7c5-647c572dae11 | etcd_pool.vip | 192.168.0.3 | HTTP | True | ACTIVE | | 06:37 |
eliqiao | | 5b2fd4c9-6a2f-482f-b3d2-80340ec8d72b | api_pool.vip | 192.168.0.3 | TCP | True | ACTIVE | | 06:37 |
eliqiao | | 626ecc60-440a-4386-b82b-cca38e2eac0d | etcd_pool.vip | 192.168.0.4 | HTTP | True | ACTIVE | | 06:37 |
eliqiao | | c5d81d23-292a-4789-b091-03e345fc1138 | api_pool.vip | 192.168.0.4 | TCP | True | ACTIVE | | 06:37 |
eliqiao | +--------------------------------------+---------------+-------------+----------+----------------+--------+ | 06:37 |
openstackgerrit | Motohiro/Yuanying Otsuka proposed openstack/magnum: Add functional_creds.conf to .gitignore https://review.openstack.org/238377 | 06:37 |
yuanying | eliqiao: What do you want? api_address can be get from `magnum bay-show` | 06:38 |
eliqiao | yuanying: api_address is an vip, I 'd like to see what the real ip pool behind that vip | 06:39 |
yuanying | eliqiao: you mean, fixed-ip for lbaas? | 06:40 |
eliqiao | yuanying: yeah | 06:40 |
yuanying | eliqiao: you can get it if you log in to minion node | 06:41 |
*** vilobhmm11 has quit IRC | 06:41 | |
eliqiao | yuanying: but where is the mapping, it is kept in neutron ? | 06:41 |
yuanying | eliqiao: but I'm not sure how to get it directly | 06:41 |
yuanying | eliqiao: maybe | 06:42 |
eliqiao | yuanying: client -> 172.24.4.29:6443 lbass -> fix_ip ? I wonder how can we get it. | 06:42 |
eliqiao | okay ,anyway I would like to go back this error : EOF occurred in violation of protocol | 06:43 |
yuanying | eliqiao: yes, my functional test if failed because of config error. so pleas wait a moment | 06:44 |
eliqiao | yuanying: it is a strange error, I searched from google, but I don't get much useful information. | 06:44 |
yuanying | eliqiao: yes, me too | 06:44 |
eliqiao | yuanying: okay, thanks. | 06:44 |
eliqiao | I am crazy, I diged it for days... so helpless :9 | 06:44 |
yuanying | eliqiao: This functional test is needed for us | 06:45 |
*** BertrandN has joined #openstack-containers | 06:47 | |
eliqiao | yuanying: yes, when I play with swarm/k8s cluster , I found there some errors, unit test will not help. | 06:49 |
*** vilobhmm11 has joined #openstack-containers | 06:49 | |
*** mathspanda has quit IRC | 06:50 | |
*** mathspanda has joined #openstack-containers | 06:51 | |
*** Tango|2 has quit IRC | 06:57 | |
wanghua_ | yuanying: ping | 07:05 |
yuanying | hi wanghua_ | 07:11 |
wanghua_ | yuanying:can we do functional testing in local env | 07:12 |
*** BertrandN has quit IRC | 07:12 | |
wanghua_ | use tox -efunctional ? | 07:12 |
*** mathspanda has quit IRC | 07:12 | |
yuanying | wanghua_: yes, but it's failed in my env | 07:12 |
wanghua_ | Is it the same as the jekins | 07:12 |
yuanying | wanghua_: no, my env specific | 07:13 |
*** achanda has quit IRC | 07:13 | |
eliqiao | wanghua_: yeah | 07:13 |
*** Shijia_ has quit IRC | 07:14 | |
eliqiao | we can do it , you need functional_creds.conf | 07:14 |
eliqiao | since it's functional testing, you need have your devstack setup. | 07:15 |
wanghua_ | can it be generated automatically? | 07:15 |
yuanying | eliqiao: only add a functional_creds.conf to work functional test? | 07:15 |
wanghua_ | I wonder how functional test is done in CI? | 07:15 |
eliqiao | yuanying: yeah | 07:15 |
wanghua_ | Does anyone know this process | 07:16 |
eliqiao | check this magnum/tests/contrib/post_test_hook.sh | 07:16 |
eliqiao | yeah, you'd better read functional test log, you will find all answers | 07:16 |
eliqiao | and there are some configure we need to in project-config which is hold be openstart infra team. | 07:17 |
wanghua_ | eliqiao: functional test log in CI? | 07:18 |
eliqiao | wanghua_: for example http://logs.openstack.org/21/232421/15/check/gate-functional-dsvm-magnum/0640963/ | 07:18 |
eliqiao | check console.html , you will find post_test_hook.sh was called. | 07:19 |
eliqiao | check this project : https://review.openstack.org/openstack-infra/project-config | 07:19 |
wanghua_ | eliqiao: OK | 07:20 |
wanghua_ | eliqiao: 3Q, I will have a look | 07:20 |
eliqiao | wanghua_: np, hope you play functional testing well. | 07:20 |
wanghua_ | eliqiao: how many coder will go to Tokyo in Intel? | 07:21 |
yuanying | maybe --concurrency=1 is important to do functional test... | 07:22 |
eliqiao | wanghua_: BJ: 4 and SH 3 | 07:22 |
eliqiao | wanghua_: that's from China, I have no idea for US colleague. | 07:22 |
eliqiao | wanghua_: will you go? | 07:23 |
eliqiao | yuanying: what does --concurrency mean? | 07:23 |
wanghua_ | eliqiao: I will not | 07:23 |
yuanying | like `tox -e functional -- --concurrency=1` | 07:23 |
wanghua_ | eliqiao: only two coders will go | 07:23 |
eliqiao | wanghua_: what a pity | 07:24 |
eliqiao | yuanying: yeah, I see it from CI "sudo -E -H -u jenkins tox -e functional -- --concurrency=1" | 07:26 |
yuanying | It seems that functional test is runnning by admin user, I think it's not good to test... do you think? | 07:28 |
*** BertrandN has joined #openstack-containers | 07:28 | |
eliqiao | yuanying: this is only functional testing, just verify basic functionality. I think for long term, we could do this by tempest. | 07:29 |
yuanying | eliqiao: make sense | 07:29 |
eliqiao | yuanying: of couse we need all kinds of scenario, tempest will suport it well rather than we did it in our functional testing. | 07:30 |
eliqiao | yuanying: I see there is agenda to talk about functional testing, will you go? | 07:31 |
yuanying | eliqiao: yes | 07:31 |
eliqiao | yuanying: cool | 07:31 |
yuanying | eliqiao: About this patch https://review.openstack.org/#/c/232421 | 07:31 |
yuanying | eliqiao: functional test is succeeded in my env | 07:31 |
eliqiao | yuanying: yes, me too, but why gate failed, I don't know how to debug that.. | 07:32 |
eliqiao | and that exception is really strange.. | 07:32 |
yuanying | hmm | 07:32 |
eliqiao | yuanying: are you sure the case you did locally is really 'Done' , have you check m-api , is there http request done ? | 07:33 |
eliqiao | I compared urllib3, pyOpenSSL version from gate and my setup, mine is older, but after upgrade them, the test is also passed. | 07:34 |
*** lyanchih has quit IRC | 07:35 | |
*** tbh has joined #openstack-containers | 07:44 | |
*** tbh has quit IRC | 07:44 | |
yuanying | eliqiao: I remember that, Kennan had similar bug, http://eavesdrop.openstack.org/irclogs/%23openstack-containers/%23openstack-containers.2015-10-19.log.html#t2015-10-19T09:58:26 | 07:47 |
*** lyanchih has joined #openstack-containers | 07:47 | |
*** eghobo has quit IRC | 07:48 | |
yuanying | eliqiao: Can I modify your patch to test in gate? https://review.openstack.org/#/c/232421/15 | 07:49 |
eliqiao | yuanying: sure | 07:50 |
eliqiao | yuanying: I am glad if you can help. | 07:50 |
yuanying | eliqiao: Can you test to fix ssl protocol version? like this http://stackoverflow.com/questions/32115607/python-3-4-ssl-error-urlopen-error-eof-occurred-in-violation-of-protocol-ssl-c | 07:50 |
*** vilobhmm11 has quit IRC | 07:52 | |
eliqiao | yuanying: yeah, but that need change in k8s api(swagger) | 07:52 |
eliqiao | yuanying: maybe I don't get the correct way to modify ssl_version. | 07:53 |
*** slotti has joined #openstack-containers | 07:54 | |
openstackgerrit | Motohiro/Yuanying Otsuka proposed openstack/magnum: Add functional_creds.conf to .gitignore https://review.openstack.org/238377 | 07:55 |
openstackgerrit | Motohiro/Yuanying Otsuka proposed openstack/magnum: [WIP]Functional: Add testcase of tls_enabled bay creation case. https://review.openstack.org/232421 | 07:58 |
Kennan | yuanying: my issue before seems local key not created correctly(maybe create double time) | 08:01 |
Kennan | and my issue now is the kube itself :0 | 08:01 |
eliqiao | Kennan: how about your BM ENV? | 08:02 |
Kennan | eliqiao: still setup. network is slow in my workplace | 08:02 |
Kennan | download image very slow | 08:02 |
eliqiao | Kennan: yeah, I konw, get your! | 08:02 |
eliqiao | Kennan: atomic image? | 08:03 |
eliqiao | Kennan: I usually do it at our night time. start a screen, do it background. | 08:03 |
Kennan | yes eliqiao: | 08:04 |
Kennan | atomic image. | 08:04 |
Kennan | I did try yesterday, as hit another glance issue | 08:04 |
Kennan | finally got that glance issue because cached , which cause version conflicts | 08:05 |
eliqiao | Kennan: if you refresh a exist devstack , I don't suggest, it's suck to debugging, | 08:06 |
Kennan | eliqiao: I just remove glance cached key related and uninstall openstack client | 08:07 |
Kennan | nothing else | 08:07 |
Kennan | should be fine | 08:07 |
Kennan | eliqiao How do you usually update devstack ? didn' you use reclone=yes ? | 08:08 |
Kennan | or just create a new one env? | 08:08 |
Kennan | seems create new one for local personal BM very time consuming | 08:08 |
*** Marga_ has quit IRC | 08:08 | |
eliqiao | Kennan: I don't use reclone=yes, I manually update magnum. | 08:09 |
*** gangil has quit IRC | 08:09 | |
eliqiao | Kennan: it depend on China's network, so bad and need proxy , for pip/ apt-get. | 08:09 |
* Kennan nod | 08:11 | |
*** achanda has joined #openstack-containers | 08:12 | |
eliqiao | Kennan: will you go summit? | 08:23 |
Kennan | yes eliqiao: I know you will go there | 08:23 |
eliqiao | Kennan: cool, nice to meet you there. | 08:24 |
* Kennan nod | 08:24 | |
*** exploreshaifali has joined #openstack-containers | 08:55 | |
openstackgerrit | Tom Cammann proposed openstack/magnum: Refactor MagnumException to reduce complexity https://review.openstack.org/235899 | 08:55 |
openstackgerrit | Tom Cammann proposed openstack/magnum: Reduce complexity of poll_and_check method https://review.openstack.org/229072 | 08:55 |
openstackgerrit | Tom Cammann proposed openstack/magnum: Refactor config setup to reduce complexity https://review.openstack.org/235898 | 08:55 |
openstackgerrit | Tom Cammann proposed openstack/magnum: Refactor periodic task sync_bay_status https://review.openstack.org/235897 | 08:55 |
*** alex_klimov has joined #openstack-containers | 08:59 | |
*** openstackgerrit has quit IRC | 09:01 | |
*** openstackgerrit has joined #openstack-containers | 09:02 | |
*** mbound has joined #openstack-containers | 09:08 | |
*** achanda has quit IRC | 09:12 | |
Kennan | hi eliqiao: | 09:13 |
eliqiao | Hi Kennan: | 09:13 |
Kennan | I found a trick part in your proxy setting, I need to check with you | 09:14 |
Kennan | for baymodel-create have no-proxy setting | 09:14 |
eliqiao | Kennan: yeah. | 09:14 |
Kennan | but the no-proxy ip lists can not know advance what ips would vm use | 09:14 |
Kennan | you give example about 192.168.0.1~5 | 09:14 |
eliqiao | Kennan: sure. | 09:14 |
Kennan | but how can you sure if nova instance have 192.168.0.6 | 09:15 |
eliqiao | Kennan: that's the pain point. | 09:15 |
eliqiao | Kennan: that's why I need add this --fixed-network 192.168.0.0/24 | 09:15 |
Kennan | eliqiao: I did add fixed-network | 09:16 |
eliqiao | for 192.168.0.6, I am not sure | 09:16 |
Kennan | but the point of no-proxy ip lists | 09:16 |
Kennan | I found my instance have 192.168.0.6 used | 09:16 |
Kennan | but baymodel creation only specify 192.168.0.1 ~5 | 09:16 |
Kennan | it not include 6(since I don't know 6 would be used) | 09:17 |
eliqiao | Kennan: yeah, that is the pain point. | 09:17 |
Kennan | so not have good way to solve it ? eliqiao ? | 09:17 |
Kennan | does no-proxy support subnets ? | 09:17 |
eliqiao | Kennan: no | 09:17 |
eliqiao | Kennan: bashrc doesn't suport cidr | 09:18 |
Kennan | eliqiao: then I suggest your no-proxy would have scripts to deal with that | 09:18 |
eliqiao | Kennan: I do have , wait for 1s | 09:19 |
Kennan | for magnum cli could pass no-proxy cidt | 09:19 |
Kennan | cidr | 09:19 |
Kennan | then , during cloud instance configuration process | 09:19 |
Kennan | parse the cidr | 09:19 |
Kennan | and write them in bashrc | 09:19 |
Kennan | with ip list | 09:19 |
Kennan | of course, it is not good if cidr is large | 09:20 |
Kennan | not easy to deal with it | 09:20 |
eliqiao | https://review.openstack.org/#/c/221212/ | 09:20 |
eliqiao | ^^ | 09:20 |
Kennan | eliqiao: yes, if cidr, ip lists would be long | 09:21 |
Kennan | it is bad | 09:21 |
eliqiao | Kennan: we can compute the node number | 09:22 |
Kennan | eliqiao: my k8s create complated, so if no-proxy not include 192.168.0.6, what manual steps need to do for setting in each instances ? | 09:23 |
Kennan | just login in and set it in bashrc ? | 09:24 |
eliqiao | Kennan: yeah, you got it. | 09:24 |
eliqiao | Kennan: how many node? | 09:24 |
Kennan | not many, 1 cluster include 2 nodes(master and 1 minon | 09:24 |
Kennan | eliqiao: I remember you also need setting in k8s config file ? | 09:25 |
Kennan | so not need any change in k8s config file | 09:25 |
eliqiao | Kennan: I don't remember :( let me check | 09:25 |
eliqiao | Kennan: only k8s | 09:26 |
eliqiao | sorry, only bashrc | 09:27 |
Kennan | ok | 09:27 |
eliqiao | Kennan: if you are using proxy , you need to check 1 "docker search redis" 2 kube-ctl get pods (on master) | 09:31 |
Kennan | hi eliqiao: | 09:40 |
Kennan | I have setup | 09:40 |
Kennan | but I found the kubernetes cluster can not communicate each well | 09:40 |
Kennan | eliqiao: i am not sure if proxy issue or not, right now, the kubectl get nodes have | 09:41 |
Kennan | Kubelet stopped posting node status. | 09:41 |
*** dims has joined #openstack-containers | 09:42 | |
eliqiao | Kennan: what's looks like? | 09:43 |
Kennan | when I run curl https://192.168.0.3:6443/api/v1/nodes --key /srv/kubernetes/client.key --cert /srv/kubernetes/client.ct --cacert /srv/kubernetes/ca.crt | 09:43 |
Kennan | in minion | 09:43 |
Kennan | it said nodes unknow status reason reason": "Kubelet stopped posting node status." | 09:44 |
Kennan | seems kublet can not talk to api_servet | 09:44 |
Kennan | server | 09:44 |
eliqiao | can you run "kube-ctl get pods" on master well? | 09:44 |
Kennan | eliqiao: I did not deploy pod now, I just check the initial k8s cluster status | 09:45 |
eliqiao | Kennan: sorry , I need to leave for a while | 09:45 |
Kennan | the initial cluser should have health status before I deploy pod/rc/service | 09:45 |
*** openstackgerrit has quit IRC | 09:46 | |
*** openstackgerrit has joined #openstack-containers | 09:47 | |
*** dims has quit IRC | 09:49 | |
*** zhenguo has quit IRC | 10:00 | |
*** dims has joined #openstack-containers | 10:02 | |
openstackgerrit | Motohiro/Yuanying Otsuka proposed openstack/magnum: [WIP]Functional: Add testcase of tls_enabled bay creation case. https://review.openstack.org/232421 | 10:03 |
*** achanda has joined #openstack-containers | 10:04 | |
*** dims_ has joined #openstack-containers | 10:09 | |
Kennan | yuanying: | 10:10 |
yuanying | hi Kennan | 10:11 |
Kennan | hi have setup a BM env for k8s | 10:11 |
Kennan | but I still have questiosn for TLS | 10:11 |
Kennan | when I run | 10:11 |
Kennan | kubectl get nodes -s https://192.168.0.3:6443 --certificate-authority=/srv/kubernetes/ca.crt --client-certificate=/srv/kubernetes/client.crt --client-key=/srv/kubernetes/client.key | 10:12 |
Kennan | on minion node | 10:12 |
Kennan | it never get response | 10:12 |
Kennan | 192.168.0.3 is the vip | 10:12 |
Kennan | curl can work for https://192.168.0.3:6443/api/v1/nodes | 10:12 |
Kennan | do you know what's the issue for kubeclt get nodes run ? | 10:13 |
*** dims has quit IRC | 10:13 | |
*** dims has joined #openstack-containers | 10:13 | |
yuanying | I'm not sure, what about other sub command? like get pods | 10:14 |
Kennan | all kubectl can not work on minion node, if with tls parameters | 10:15 |
Kennan | kubectl can work in master node (but it can not specify -s https://192.168.0.3:6443 | 10:15 |
eliqiao | Kennan: not work for me , I get connection refused | 10:16 |
yuanying | hmm | 10:16 |
*** dims_ has quit IRC | 10:17 | |
Kennan | it seems from minion node, it need much longer time to connect to 192.168.0.3:6443 | 10:17 |
eliqiao | Kennan: wait , but how do you know your vip is 192.168.0.3 | 10:18 |
eliqiao | mine is 192.168.0.4 | 10:18 |
eliqiao | I get Unauthorized error | 10:18 |
Kennan | heat stack-show ** woudl get that | 10:18 |
eliqiao | okay | 10:18 |
Kennan | I find the minion can get response, but need 46 seconds. | 10:19 |
Kennan | it seems something about connection slow issue happened from minion node to vip | 10:19 |
Kennan | seems network related | 10:19 |
eliqiao | Kennan: I don't find that when doing stack-show | 10:19 |
Kennan | curl is quick usually 2 seconds | 10:20 |
Kennan | not sure why kubectl itself so slow | 10:20 |
Kennan | hi eliqiao | 10:20 |
Kennan | sorry, should be neutron lb-vip-list | 10:20 |
eliqiao | Kennan: yeah , but I have 2 bays, how to identify them? | 10:21 |
Kennan | what's your lb-vip-list ? | 10:21 |
eliqiao | taget@taget-ThinkStation-P300:~/devstack$ neutron lb-vip-list | 10:21 |
eliqiao | +--------------------------------------+---------------+-------------+----------+----------------+--------+ | 10:21 |
eliqiao | | id | name | address | protocol | admin_state_up | status | | 10:21 |
eliqiao | +--------------------------------------+---------------+-------------+----------+----------------+--------+ | 10:21 |
eliqiao | | 255c3f66-09a0-40ed-b7c5-647c572dae11 | etcd_pool.vip | 192.168.0.3 | HTTP | True | ACTIVE | | 10:21 |
eliqiao | | 5b2fd4c9-6a2f-482f-b3d2-80340ec8d72b | api_pool.vip | 192.168.0.3 | TCP | True | ACTIVE | | 10:21 |
eliqiao | | 626ecc60-440a-4386-b82b-cca38e2eac0d | etcd_pool.vip | 192.168.0.4 | HTTP | True | ACTIVE | | 10:21 |
eliqiao | | c5d81d23-292a-4789-b091-03e345fc1138 | api_pool.vip | 192.168.0.4 | TCP | True | ACTIVE | | 10:21 |
eliqiao | +--------------------------------------+---------------+-------------+----------+----------------+--------+ | 10:21 |
Kennan | eliqiao: | 10:22 |
Kennan | do you have two k8s bay? | 10:22 |
eliqiao | heat-stack show only public vip : api_address | 10:22 |
eliqiao | yes, I have 2 bays | 10:22 |
Kennan | hi eliqiao | 10:26 |
Kennan | try neutron floatingip-list | 10:26 |
Kennan | it shows floating-ip and fixed_ip mapping | 10:26 |
*** lyanchih has quit IRC | 10:26 | |
Kennan | you could check your bay floating ip with bay-show | 10:26 |
eliqiao | ah , I get it, mine is 192.168.0.4 Kennan | 10:26 |
Kennan | eliqiao: in my BM, I did find the local network issue, it seems minion node can not talk well with vip | 10:27 |
Kennan | sometimes node status change from active to unknown | 10:27 |
Kennan | ready-->notready | 10:27 |
Kennan | I think something wrong happened | 10:28 |
eliqiao | Kennan: how about rebuil it, debuging is time costing | 10:29 |
Kennan | eliqiao: did your cluster work ? | 10:29 |
Kennan | for kubeclt -s https://vip:6443 case ? | 10:29 |
eliqiao | bash-4.3# kubectl get nodes -s https://192.168.0.4:6443 --certificate-authority=/srv/kubernetes/ca.crt --client-certificate=/srv/kubernetes/client.crt --client-key=/srv/kubernetes/client.key | 10:30 |
eliqiao | NAME LABELS STATUS | 10:30 |
eliqiao | k8-dmjeknuldq-0-hvhn4igj6wha-kube-minion-gdnmzkepkxte kubernetes.io/hostname=k8-dmjeknuldq-0-hvhn4igj6wha-kube-minion-gdnmzkepkxte Ready | 10:30 |
eliqiao | Kennan: ^^ | 10:30 |
Kennan | strange issue, | 10:30 |
eliqiao | Kennan: I should leave now .. bye~ | 10:31 |
*** dims_ has joined #openstack-containers | 10:35 | |
*** shu has quit IRC | 10:35 | |
*** dims has quit IRC | 10:37 | |
*** shu has joined #openstack-containers | 10:40 | |
*** achanda has quit IRC | 10:42 | |
*** achanda has joined #openstack-containers | 10:43 | |
*** vikasc has joined #openstack-containers | 10:44 | |
*** achanda has quit IRC | 10:45 | |
*** tbh has joined #openstack-containers | 10:57 | |
*** weihan has joined #openstack-containers | 11:07 | |
openstackgerrit | Motohiro/Yuanying Otsuka proposed openstack/magnum: [WIP]Functional: Add testcase of tls_enabled bay creation case. https://review.openstack.org/232421 | 11:17 |
openstackgerrit | Shu Muto proposed openstack/magnum-ui: Add Magic Search into Bay Model table https://review.openstack.org/238460 | 11:28 |
*** weihan has quit IRC | 11:31 | |
*** EricGonczer_ has joined #openstack-containers | 11:32 | |
*** EricGonc_ has joined #openstack-containers | 11:36 | |
*** EricGonczer_ has quit IRC | 11:40 | |
*** exploreshaifali has quit IRC | 11:40 | |
*** achanda has joined #openstack-containers | 11:46 | |
*** EricGonc_ has quit IRC | 11:46 | |
*** yuanying has quit IRC | 11:49 | |
*** achanda has quit IRC | 11:51 | |
*** apuimedo has joined #openstack-containers | 11:52 | |
*** yuanying has joined #openstack-containers | 11:52 | |
openstackgerrit | Shu Muto proposed openstack/magnum-ui: Add Magic Search into Bay table https://review.openstack.org/238469 | 11:55 |
openstackgerrit | Shu Muto proposed openstack/magnum-ui: Add Magic Search into Bay Model table https://review.openstack.org/238460 | 11:58 |
*** apuimedo has quit IRC | 12:00 | |
*** apuimedo has joined #openstack-containers | 12:02 | |
openstackgerrit | Shu Muto proposed openstack/magnum-ui: Add Magic Search to Containers table https://review.openstack.org/238473 | 12:05 |
*** dave-mccowan has joined #openstack-containers | 12:18 | |
*** vikasc has quit IRC | 12:22 | |
openstackgerrit | Shu Muto proposed openstack/magnum-ui: Add Magic Search into Bay table https://review.openstack.org/238469 | 12:25 |
*** fawadkhaliq has quit IRC | 12:36 | |
*** belmoreira has joined #openstack-containers | 12:49 | |
*** pradk has joined #openstack-containers | 12:56 | |
*** EricGonczer_ has joined #openstack-containers | 12:59 | |
*** exploreshaifali has joined #openstack-containers | 12:59 | |
*** EricGonczer_ has quit IRC | 12:59 | |
*** muralia has joined #openstack-containers | 13:00 | |
*** rlrossit has joined #openstack-containers | 13:02 | |
*** zz_dimtruck is now known as dimtruck | 13:10 | |
*** dimtruck is now known as zz_dimtruck | 13:19 | |
*** puranamr has quit IRC | 13:24 | |
*** dims_ has quit IRC | 13:35 | |
*** dims has joined #openstack-containers | 13:35 | |
*** rpothier has joined #openstack-containers | 13:37 | |
*** achanda has joined #openstack-containers | 13:49 | |
*** dims has quit IRC | 13:53 | |
*** achanda has quit IRC | 13:56 | |
*** fawadkhaliq has joined #openstack-containers | 14:00 | |
*** vikasc has joined #openstack-containers | 14:03 | |
*** dims has joined #openstack-containers | 14:03 | |
*** fawadkhaliq has quit IRC | 14:04 | |
*** muralia has quit IRC | 14:10 | |
*** _navneet has joined #openstack-containers | 14:10 | |
*** manjeets has joined #openstack-containers | 14:12 | |
*** EricGonczer_ has joined #openstack-containers | 14:13 | |
*** _navneet has quit IRC | 14:16 | |
*** exploreshaifali has quit IRC | 14:16 | |
*** muralia has joined #openstack-containers | 14:17 | |
*** muralia1 has joined #openstack-containers | 14:19 | |
*** slotti has quit IRC | 14:21 | |
*** muralia has quit IRC | 14:21 | |
tbh | eliqiao, Hi | 14:25 |
tbh | eliqiao, thanks for the comments. But I have already added unit test case for the function in the utils.py https://review.openstack.org/#/c/234817/11/magnum/tests/unit/common/test_utils.py | 14:27 |
*** Tango|2 has joined #openstack-containers | 14:30 | |
*** zz_dimtruck is now known as dimtruck | 14:31 | |
*** apuimedo has quit IRC | 14:31 | |
*** EricGonczer_ has quit IRC | 14:31 | |
*** puranamr has joined #openstack-containers | 14:34 | |
*** lyanchih has joined #openstack-containers | 14:38 | |
*** mbound has quit IRC | 14:38 | |
openstackgerrit | Merged openstack/magnum: Add functional_creds.conf to .gitignore https://review.openstack.org/238377 | 14:39 |
*** puranamr has quit IRC | 14:41 | |
*** belmoreira has quit IRC | 14:41 | |
*** EricGonczer_ has joined #openstack-containers | 14:42 | |
*** apuimedo has joined #openstack-containers | 14:44 | |
*** Bhavani has joined #openstack-containers | 14:47 | |
Bhavani | Hi | 14:47 |
*** dave-mccowan has quit IRC | 14:50 | |
*** puranamr has joined #openstack-containers | 14:56 | |
*** julim has joined #openstack-containers | 14:56 | |
*** Marga_ has joined #openstack-containers | 14:58 | |
*** zz_john5223 is now known as john5223 | 14:59 | |
*** gus_ has joined #openstack-containers | 15:00 | |
*** fawadkhaliq has joined #openstack-containers | 15:01 | |
*** puranamr has quit IRC | 15:02 | |
*** daneyon has joined #openstack-containers | 15:02 | |
*** j___ has joined #openstack-containers | 15:02 | |
*** EricGonc_ has joined #openstack-containers | 15:02 | |
*** krotscheck_ has joined #openstack-containers | 15:04 | |
*** dimtruck_ has joined #openstack-containers | 15:04 | |
*** manjeets has quit IRC | 15:04 | |
*** fawadkhaliq has quit IRC | 15:05 | |
openstackgerrit | bharaththiruveedula proposed openstack/magnum: Monitor driver for k8s bay type https://review.openstack.org/234817 | 15:05 |
*** dave-mccowan has joined #openstack-containers | 15:05 | |
*** EricGonczer_ has quit IRC | 15:05 | |
*** vikasc has quit IRC | 15:06 | |
*** pradk has quit IRC | 15:06 | |
*** julim_ has quit IRC | 15:06 | |
*** krotscheck has quit IRC | 15:06 | |
*** gus has quit IRC | 15:06 | |
*** shaohe_robot1 has quit IRC | 15:06 | |
*** dimtruck has quit IRC | 15:06 | |
*** dimtruck_ is now known as dimtruck | 15:06 | |
*** daneyon_ has joined #openstack-containers | 15:06 | |
*** manjeets has joined #openstack-containers | 15:07 | |
*** apmelton has joined #openstack-containers | 15:09 | |
*** daneyon has quit IRC | 15:09 | |
*** apmelton has quit IRC | 15:09 | |
*** vikasc has joined #openstack-containers | 15:11 | |
*** pradk has joined #openstack-containers | 15:12 | |
*** vimal has quit IRC | 15:17 | |
*** krotscheck_ is now known as krotscheck | 15:19 | |
*** shaohe_robot has joined #openstack-containers | 15:19 | |
*** john5223 is now known as zz_john5223 | 15:21 | |
*** vikasc has quit IRC | 15:22 | |
*** zz_john5223 is now known as john5223 | 15:22 | |
*** dimtruck is now known as zz_dimtruck | 15:24 | |
*** j___ has quit IRC | 15:29 | |
*** zz_dimtruck is now known as dimtruck | 15:31 | |
*** fawadkhaliq has joined #openstack-containers | 15:32 | |
*** achanda has joined #openstack-containers | 15:37 | |
*** Marga_ has quit IRC | 15:39 | |
*** achanda has quit IRC | 15:39 | |
*** Marga_ has joined #openstack-containers | 15:39 | |
*** apuimedo has quit IRC | 15:45 | |
*** apuimedo has joined #openstack-containers | 15:45 | |
*** eghobo has joined #openstack-containers | 15:47 | |
*** eghobo_ has joined #openstack-containers | 15:50 | |
*** eghobo has quit IRC | 15:54 | |
*** mbound has joined #openstack-containers | 15:56 | |
*** lyanchih has quit IRC | 16:03 | |
*** vimal has joined #openstack-containers | 16:04 | |
openstackgerrit | Merged openstack/magnum-ui: Add Magic Search into Bay Model table https://review.openstack.org/238460 | 16:11 |
*** apuimedo has quit IRC | 16:13 | |
*** apuimedo has joined #openstack-containers | 16:19 | |
*** apuimedo has quit IRC | 16:29 | |
*** eghobo has joined #openstack-containers | 16:29 | |
*** eghobo_ has quit IRC | 16:30 | |
*** slagle has quit IRC | 16:36 | |
*** slagle has joined #openstack-containers | 16:38 | |
*** achanda has joined #openstack-containers | 16:39 | |
*** thomasem_ is now known as thomasem | 16:42 | |
*** achanda has quit IRC | 16:44 | |
*** achanda has joined #openstack-containers | 16:44 | |
*** harshs has joined #openstack-containers | 16:48 | |
openstackgerrit | Manjeet Singh Bhatia proposed openstack/magnum: Improving comment in monitors.py https://review.openstack.org/238622 | 16:48 |
*** Tango|2 has quit IRC | 16:52 | |
*** suro-patz has joined #openstack-containers | 16:59 | |
*** unicell has quit IRC | 17:00 | |
*** slagle has quit IRC | 17:01 | |
*** dimtruck is now known as zz_dimtruck | 17:04 | |
*** daneyon_ has quit IRC | 17:08 | |
*** achanda has quit IRC | 17:14 | |
*** gangil has joined #openstack-containers | 17:14 | |
*** gangil has quit IRC | 17:14 | |
*** gangil has joined #openstack-containers | 17:14 | |
*** daneyon has joined #openstack-containers | 17:15 | |
*** daneyon_ has joined #openstack-containers | 17:16 | |
*** daneyon has quit IRC | 17:20 | |
*** achanda has joined #openstack-containers | 17:24 | |
*** zz_dimtruck is now known as dimtruck | 17:26 | |
*** Marga_ has quit IRC | 17:27 | |
*** unicell has joined #openstack-containers | 17:30 | |
*** Tango|2 has joined #openstack-containers | 17:31 | |
*** sdake has joined #openstack-containers | 17:33 | |
*** hongbin has joined #openstack-containers | 17:38 | |
*** shaohe_robot1 has joined #openstack-containers | 17:38 | |
*** shaohe_robot has quit IRC | 17:40 | |
*** achanda has quit IRC | 17:42 | |
*** Tango|2 is now known as Tango | 17:43 | |
*** slagle has joined #openstack-containers | 17:44 | |
*** vilobhmm11 has joined #openstack-containers | 17:45 | |
*** sthillma has joined #openstack-containers | 17:47 | |
*** rlrossit has quit IRC | 17:47 | |
*** achanda has joined #openstack-containers | 17:48 | |
*** slagle has quit IRC | 17:49 | |
*** slagle has joined #openstack-containers | 17:50 | |
*** rlrossit has joined #openstack-containers | 17:51 | |
*** Marga_ has joined #openstack-containers | 18:00 | |
*** harshs has quit IRC | 18:03 | |
*** sdake_ has joined #openstack-containers | 18:03 | |
*** sdake has quit IRC | 18:05 | |
*** Marga_ has quit IRC | 18:21 | |
*** Marga_ has joined #openstack-containers | 18:22 | |
*** Marga_ has quit IRC | 18:22 | |
*** Marga_ has joined #openstack-containers | 18:23 | |
*** harshs has joined #openstack-containers | 18:24 | |
*** achanda has quit IRC | 18:24 | |
*** _navneet has joined #openstack-containers | 18:25 | |
*** _navneet has quit IRC | 18:25 | |
*** sdake_ has quit IRC | 18:26 | |
*** pradk_ has joined #openstack-containers | 18:27 | |
*** achanda has joined #openstack-containers | 18:28 | |
*** Marga_ has quit IRC | 18:28 | |
*** pradk has quit IRC | 18:30 | |
*** tbh has quit IRC | 18:30 | |
*** sdake has joined #openstack-containers | 18:35 | |
*** pradk_ is now known as pradk | 18:35 | |
*** sdake has quit IRC | 18:39 | |
*** daneyon_ has quit IRC | 18:42 | |
*** Marga_ has joined #openstack-containers | 18:53 | |
*** Marga_ has quit IRC | 18:58 | |
*** dave-mccowan has quit IRC | 19:10 | |
*** achanda has quit IRC | 19:19 | |
*** dave-mccowan has joined #openstack-containers | 19:26 | |
*** fawadkhaliq has quit IRC | 19:40 | |
*** Marga_ has joined #openstack-containers | 19:45 | |
*** harshs has quit IRC | 19:59 | |
*** gangil1 has joined #openstack-containers | 20:06 | |
*** harshs has joined #openstack-containers | 20:07 | |
vilobhmm11 | hongbin : ping | 20:07 |
hongbin | vilobhmm11: sup | 20:07 |
*** gangil has quit IRC | 20:07 | |
*** harshs has quit IRC | 20:08 | |
vilobhmm11 | wanted to understand how does the object map to the heat template…you have some time | 20:08 |
*** harshs has joined #openstack-containers | 20:08 | |
hongbin | sure | 20:09 |
hongbin | let me think how to explain that | 20:09 |
vilobhmm11 | may be we can walk through the bay object and then see how it maps to one of the k8s heat template | 20:10 |
hongbin | k | 20:10 |
vilobhmm11 | was thinking of adding some documentation with that regard so that it would easier for anyone new to understand flow…as in reviews we see many of the review of that form... | 20:11 |
hongbin | In baymodel, there are two attributes: os-distro and coe | 20:11 |
hongbin | coe is specified by users | 20:11 |
hongbin | os-distro is a metadata from glance image | 20:11 |
vilobhmm11 | ok | 20:12 |
hongbin | So far, these two attributes are used to map to a heat template | 20:12 |
vilobhmm11 | https://github.com/openstack/magnum/blob/master/magnum/objects/baymodel.py#L54 - cluster_distro ; coe : https://github.com/openstack/magnum/blob/master/magnum/objects/baymodel.py#L55 | 20:12 |
vilobhmm11 | ok | 20:12 |
hongbin | The mapping is done in template definition: https://github.com/openstack/magnum/blob/master/magnum/conductor/template_definition.py | 20:12 |
*** sdake has joined #openstack-containers | 20:12 | |
vilobhmm11 | sure | 20:12 |
hongbin | If you want to modify the mapping, template definition is the file you want to look into | 20:13 |
hongbin | period | 20:13 |
vilobhmm11 | ok | 20:13 |
vilobhmm11 | now how does that map to https://github.com/openstack/magnum/tree/master/magnum/templates/heat-kubernetes lets say coe=k8s | 20:14 |
hongbin | Each template has a definition, which point to the location of the template | 20:15 |
vilobhmm11 | beacuse we do add new introduced paramter to the objects in https://github.com/openstack/magnum/blob/master/magnum/templates/heat-kubernetes/kubemaster.yaml (for example) | 20:15 |
hongbin | All the magic is happening in the template definition | 20:16 |
vilobhmm11 | hongbin : you pointing to https://github.com/openstack/magnum/blob/master/magnum/conductor/template_definition.py#L43 | 20:16 |
vilobhmm11 | the location path | 20:16 |
vilobhmm11 | ok | 20:17 |
eghobo | hongbin: question? | 20:17 |
hongbin | eghobo: go ahead | 20:18 |
eghobo | hongbin: trying to create container with the same name and getting error that container already exists | 20:19 |
hongbin | yes, it is | 20:20 |
eghobo | but see it in list, is it bug or feature? | 20:20 |
hongbin | Not sure. Need to discuss in the summit | 20:20 |
*** achanda has joined #openstack-containers | 20:20 | |
hongbin | Possibly, it is a regression | 20:21 |
vilobhmm11 | eghobo : ideally we should allow creation with same name…if we map it to nova world..we can have vm instances with same name (although they get different uuid) the problem might be during deletion though when its not able to resolve which particular container is mentioned | 20:21 |
vilobhmm11 | hongbin : ^^ | 20:21 |
vilobhmm11 | seems like a bug to me | 20:22 |
eghobo | hongbin: I will fail bug just in case ;), vilobhmm11: we can do this | 20:23 |
eghobo | actually it's docker error ERROR: Docker internal Error: 409 Client Error: Conflict ("Conflict, The name test-container is already assigned to 40091f3a83dccae9b98ae7a9baa7b058a52132321de103e8221c3154ad0e5bde. You have to delete (or rename) that container to be able to assign test-container to a container again.") (HTTP 500) | 20:23 |
*** achanda has quit IRC | 20:24 | |
*** achanda has joined #openstack-containers | 20:24 | |
eghobo | I think we can validate before docker | 20:25 |
vilobhmm11 | eghobo : can you quickly try docker cli to create containers with same name ? Assuming you are using magnum cli when you reported the problem | 20:25 |
eghobo | vilobhmm11: docker will fail | 20:25 |
vilobhmm11 | eghobo : oh okay | 20:25 |
eghobo | it doesn't allow you to have containers with the same name | 20:26 |
vilobhmm11 | that means docker doesn;t allow same name container creation which is strange to me. | 20:26 |
vilobhmm11 | eghobo : ^^ | 20:26 |
eghobo | vilobhmm11: why? it make sense because you can use name for all CLI commands | 20:27 |
eghobo | and if you don't care about name, they will generate it for you ;) | 20:27 |
vilobhmm11 | eghobo : second statement makes sense.. | 20:28 |
*** kbyrne has quit IRC | 20:29 | |
*** rpothier has quit IRC | 20:36 | |
*** achanda has quit IRC | 20:37 | |
*** sdake has quit IRC | 20:48 | |
*** manjeets has left #openstack-containers | 20:51 | |
*** rlrossit has left #openstack-containers | 20:54 | |
eghobo | vilobhmm11: | 20:57 |
eghobo | eguz@ubuntu-vm:/mnt/hgfs/magnum-integration/kubectl$ magnum coe-service-show nginx-service k8sbaytls | 20:57 |
eghobo | ERROR: Invalid input for field/attribute bay_uuid. Value: 'k8sbaytls'. unable to convert to uuid (HTTP 400) | 20:57 |
vilobhmm11 | eghobo : please file a bug…assign it to me | 21:03 |
vilobhmm11 | hongbin : ping | 21:04 |
eghobo | vilobhmm11: sure, are familiar with area? | 21:04 |
vilobhmm11 | yes | 21:04 |
vilobhmm11 | eghobo : ^^ | 21:04 |
hongbin | vilobhmm11: sup | 21:04 |
vilobhmm11 | once the template path is figured out https://github.com/openstack/magnum/blob/master/magnum/templates/heat-kubernetes/kubecluster.yaml | 21:04 |
eghobo | vilobhmm11: great, we may need back port it to liberty | 21:04 |
vilobhmm11 | hongbin : how do the entries map here to the objects ; lets see a foo attribute gets added to bay/baymodel etc object | 21:05 |
eghobo | vilobhmm11: none of kub subcommands works except list and create ): | 21:05 |
vilobhmm11 | eghobo : looks like suro-patz made the service specific changes…I can have a look if its urgent | 21:06 |
hongbin | vilobhmm11: There is a ParameterMapping class that map baymodel's attribute to a heat template parameter | 21:07 |
eghobo | vilobhmm11: i think it's important for Liberty, but it's Adrian's call | 21:07 |
vilobhmm11 | eghobo : ok | 21:08 |
vilobhmm11 | hongbin : how about parameters like these which are niether in baymodel object etc https://github.com/openstack/magnum/blob/master/magnum/templates/heat-kubernetes/kubecluster.yaml#L201 are they included just because the heat resource needs it | 21:10 |
hongbin | They are populated in template definition | 21:12 |
vilobhmm11 | ok I see https://github.com/openstack/magnum/blob/master/magnum/conductor/template_definition.py#L483 | 21:13 |
eghobo | vilobhmm11: https://bugs.launchpad.net/magnum/+bug/1509091 | 21:15 |
openstack | Launchpad bug 1509091 in Magnum "Kub sub-commands (coe-service, pod, rc) doesn't work for show/delete" [Undecided,New] | 21:15 |
vilobhmm11 | eghobo : thanks! | 21:16 |
*** gangil has joined #openstack-containers | 21:19 | |
*** gangil has quit IRC | 21:19 | |
*** gangil has joined #openstack-containers | 21:19 | |
*** gangil1 has quit IRC | 21:21 | |
vilobhmm11 | hongbin : cool thanks! | 21:21 |
eghobo | hongbin: is it possible to reset state for bay? | 21:23 |
eghobo | I stacked with ERROR: Updating a bay when stack status is "UPDATE_FAILED" is not supported. | 21:23 |
hongbin | eghobo: so far, it is impossible | 21:23 |
*** muralia1 has quit IRC | 21:24 | |
eghobo | :), so there is no way to fix UPDATE_FAILED | 21:24 |
hongbin | No, there is no way. | 21:25 |
hongbin | unless there is a way to fix a failed stack in Heat | 21:25 |
hongbin | then magnum could add support for fixing a failed bay | 21:25 |
eghobo | too bad, we need to think about this. failures are happens all the time in real deployments | 21:27 |
*** sdake has joined #openstack-containers | 21:29 | |
*** achanda has joined #openstack-containers | 21:30 | |
*** sdake has quit IRC | 21:30 | |
hongbin | agreed | 21:37 |
*** sdake has joined #openstack-containers | 21:39 | |
*** sdake_ has joined #openstack-containers | 21:42 | |
*** sdake has quit IRC | 21:43 | |
*** EricGonc_ has quit IRC | 21:48 | |
*** sdake_ has quit IRC | 22:00 | |
*** sdake has joined #openstack-containers | 22:00 | |
*** pradk has quit IRC | 22:11 | |
*** v1k0d3n has quit IRC | 22:13 | |
vilobhmm11 | eghobo : ping | 22:21 |
eghobo | vilobhmm11: what's up? | 22:22 |
vilobhmm11 | regarding https://bugs.launchpad.net/magnum/+bug/1509091 have a fix ready | 22:22 |
openstack | Launchpad bug 1509091 in Magnum "Kub sub-commands (coe-service, pod, rc) doesn't work for show/delete" [Undecided,New] | 22:22 |
vilobhmm11 | http://paste.openstack.org/show/477202/ | 22:22 |
vilobhmm11 | can you check this : ^^ | 22:22 |
*** Marga__ has joined #openstack-containers | 22:22 | |
vilobhmm11 | will include changes for delete as well…since this works for show | 22:22 |
vilobhmm11 | this logic works | 22:23 |
vilobhmm11 | hongbin : ^^ | 22:23 |
eghobo | vilobhmm11: great it doesn't work for show/delete and for rc/coe-service/pod | 22:25 |
*** harshs has quit IRC | 22:25 | |
vilobhmm11 | eghobo : sorry didn't get you did you want to say "does work for" instead of "doesn't work for" | 22:26 |
eghobo | and one more when I am trying flex down kub cluster I am getting | 22:26 |
eghobo | eguz@ubuntu-vm:/mnt/hgfs/magnum-integration/kubectl$ magnum bay-update k8sbay replace node_count=1 | 22:26 |
eghobo | ERROR: 'Bay' object has no attribute 'bay_uuid' (HTTP 500) | 22:26 |
*** Marga_ has quit IRC | 22:26 | |
vilobhmm11 | ok | 22:26 |
vilobhmm11 | eghobo : can i request you to update the bug with all the api's you saw have problem will fix all of them in one patch | 22:27 |
eghobo | sure give me 15 min, sorry need to finis email | 22:28 |
vilobhmm11 | eghobo : np…whenever you are free | 22:28 |
eghobo | vilobhmm11: also to clarify I am using liberty branch | 22:34 |
*** Marga__ has quit IRC | 22:35 | |
*** harshs has joined #openstack-containers | 22:36 | |
*** harshs has quit IRC | 22:37 | |
*** Marga_ has joined #openstack-containers | 22:37 | |
vilobhmm11 | eghobo : sure…we can backport this fix to liberty depending on what team thinks and the urgency of it… | 22:37 |
*** dimtruck is now known as zz_dimtruck | 22:38 | |
eghobo | vilobhmm11: it looks like it works with uid, but it doesn't with names | 22:39 |
vilobhmm11 | eghobo : with the fix I am talking about it will even with names :) | 22:39 |
*** harshs has joined #openstack-containers | 22:40 | |
vilobhmm11 | eghobo : http://paste.openstack.org/show/477202/ | 22:40 |
eghobo | vilobhmm11: I updated https://bugs.launchpad.net/magnum/+bug/1509091 | 22:55 |
openstack | Launchpad bug 1509091 in Magnum "Kub sub-commands (coe-service, pod, rc) doesn't work for show/delete with names" [Undecided,New] | 22:55 |
vilobhmm11 | eghobo : thanks! | 22:56 |
*** hongbin has quit IRC | 22:59 | |
*** sdake has quit IRC | 23:01 | |
*** dims_ has joined #openstack-containers | 23:02 | |
*** dims has quit IRC | 23:06 | |
*** dims has joined #openstack-containers | 23:09 | |
*** dims_ has quit IRC | 23:10 | |
*** klindgren has quit IRC | 23:16 | |
*** gus_ is now known as gus | 23:24 | |
openstackgerrit | Vilobh Meshram proposed openstack/magnum: Fix k8s CLI to work with Bay name https://review.openstack.org/238721 | 23:31 |
vilobhmm11 | eghobo : ^^ | 23:31 |
eghobo | vilobhmm11: cool | 23:32 |
*** sdake has joined #openstack-containers | 23:34 | |
*** Tango has quit IRC | 23:41 | |
*** vilobhmm11 has quit IRC | 23:45 | |
*** sdake has quit IRC | 23:46 | |
*** rlrossit has joined #openstack-containers | 23:49 | |
*** rlrossit has left #openstack-containers | 23:49 | |
*** sdake has joined #openstack-containers | 23:50 | |
*** harshs has quit IRC | 23:54 | |
*** sthillma has quit IRC | 23:54 | |
openstackgerrit | Merged openstack/magnum-ui: Add create action to bay panel https://review.openstack.org/235870 | 23:54 |
*** sthillma has joined #openstack-containers | 23:54 | |
openstackgerrit | Merged openstack/magnum-ui: Revice REST APIs https://review.openstack.org/238320 | 23:54 |
openstackgerrit | Merged openstack/magnum-ui: Add Magic Search into Bay table https://review.openstack.org/238469 | 23:55 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!