Friday, 2018-05-25

*** mgoddard has joined #openstack-kayobe07:40
*** dougsz has joined #openstack-kayobe08:11
*** ktibi has joined #openstack-kayobe09:13
*** ktibi has quit IRC09:37
*** ktibi has joined #openstack-kayobe09:38
*** mgoddard has quit IRC09:48
*** mgoddard has joined #openstack-kayobe10:08
ktibihi mgoddard10:18
*** ktibi has quit IRC10:28
mgoddardhi ktibi10:52
openstackgerritMark Goddard proposed openstack/kayobe master: Add Dell PowerConnect switch support  https://review.openstack.org/57056411:41
openstackgerritMark Goddard proposed openstack/kayobe master: Fix empty kolla_overcloud_inventory_storage_groups  https://review.openstack.org/57056511:43
*** ktibi has joined #openstack-kayobe12:23
ktibimgoddard, I fix a lot of issue with docker 1.13.1 and kolla12:59
ktibimost of issue come from python package installed by yum. Need to purge and reinstall with pip :)12:59
mgoddardktibi: you can also use a virtualenv for kayobe13:03
ktibiyep not for control plane13:03
mgoddardhttps://kayobe.readthedocs.io/en/latest/configuration/kayobe.html?highlight=remote#remote-execution-environment13:04
ktibimgoddard, ok for kayobe, but works for kolla-ansible ?13:05
ktibihttps://github.com/openstack/kolla-ansible/blob/641a7f279070faebb5de021a3f6e2c9e30e600a6/ansible/roles/prechecks/tasks/package_checks.yml#L313:05
ktibimost of my errors are with k-a13:06
ktibiyou can see that by e.g https://bugzilla.redhat.com/show_bug.cgi?id=141011813:06
openstackbugzilla.redhat.com bug 1410118 in docker "Containers fail to start due to /run/secrets mount when run with -v /run/:/run/" [High,Assigned] - Assigned to amurdaca13:06
mgoddardhttps://kayobe.readthedocs.io/en/latest/configuration/kolla-ansible.html?highlight=remote#remote-execution-environment13:07
mgoddardthat's for kolla13:07
mgoddardshould be used by default13:07
openstackgerritMark Goddard proposed openstack/kayobe master: WIP: Use master version of dependencies  https://review.openstack.org/56880413:16
ktibimgoddard, to run kolla with docker 1.13.1 (package by redhat) on a centos 7.5 (last kernel) I need to add options on dockerd13:51
ktibihttp://paste.openstack.org/show/721982/13:51
ktibifor now, it's not possible to add this with kolla I think13:51
mgoddardyou can probably also add these to /etc/docker/daemon.json, right? Maybe we should allow custom options to be added to that file in kayobe?13:53
ktibimgoddard, yes I think it's good14:07
ktibibut some options can't be add to the file14:08
ktibior it's no write in the docker doc14:08
ktibiraaa same error again !!!14:08
ktibiTASK [mariadb : Creating haproxy mysql user] ********************14:08
ktibifatal: [ctrl01]: FAILED! => {"changed": false, "failed": true, "msg": "Can not parse the inner module output:14:08
ktibiso I can't use docker 1.13.1 by redhat, I can't use docker 17.12.1 CE or docker 18 CE14:09
ktibikolla can't works with a recent version of docker ><14:09
mgoddardcan we not fix kolla?14:10
ktibiI think yes we can, redhat did it14:11
ktibibut I think the cost is very high14:11
ktibido you know how this file works ? https://github.com/openstack/kolla-ansible/blob/master/ansible/library/kolla_toolbox.py#L15014:12
ktibimgoddard, for me kolla_toolbox use a docker version which is not compatible with a recent docker API14:13
mgoddardoh, can you modify the kolla_toolbox image to change the docker client version then?14:14
ktibiI can try with docker exec I guess14:15
ktibior maybe I can try to run the script directly in the container to see the error14:15
ktibithe python script use import docker14:16
ktibibut pip list | grep docker return nothing14:16
mgoddardI think it's in a virtualenv14:17
ktibiIf I understand, the script is run by kolla-ansible for execute ansible action in the kolla-toolbox14:19
ktibiis it ok ?14:19
mgoddardthat's right14:23
mgoddardansible in docker in ansible14:23
ktibimgoddard, ok so http://paste.openstack.org/show/721983/14:25
ktibiI can run the script on the ctrl0114:25
mgoddardlooks like there is no output14:30
ktibimgoddard, yeah :/14:32
mgoddarddid you try upgrading the python client in the virtualenv?14:33
ktibiwhich  virtualenv ?14:35
ktibiI 'll try to test the library with args14:35
ktibineed Jeffrey I think :)14:38
mgoddardyeah, try him14:39
mgoddardraised a bug?14:39
ktibimaybe14:44
ktibiwhen I start the module on a ctrl I have ==> ImportError: No module named ansible.module_utils.basic14:44
ktibiafter source /opt/kayobe/venvs/kolla-ansible/bin/activate14:45
ktibilike if ansible not present on the virtualenv :/14:45
ktibior the script is play in the container :/14:46
mgoddardansible modules are weird - they copy dependencies to a temp directory on each invocation14:47
ktibimgoddard, re15:45
ktibiso with Jeffrey I force the error task and deploy can continue15:45
ktibibut now I have network issue like haproxy can't join mariadb so strange ><15:45
openstackgerritMark Goddard proposed openstack/kayobe master: Add Dell PowerConnect switch support  https://review.openstack.org/57056415:48
*** dougsz has quit IRC16:55
*** mgoddard has quit IRC16:59
*** mgoddard has joined #openstack-kayobe17:20
*** mgoddard has quit IRC18:31
*** ktibi has quit IRC20:26

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