*** mgoddard has joined #openstack-kayobe | 07:40 | |
*** dougsz has joined #openstack-kayobe | 08:11 | |
*** ktibi has joined #openstack-kayobe | 09:13 | |
*** ktibi has quit IRC | 09:37 | |
*** ktibi has joined #openstack-kayobe | 09:38 | |
*** mgoddard has quit IRC | 09:48 | |
*** mgoddard has joined #openstack-kayobe | 10:08 | |
ktibi | hi mgoddard | 10:18 |
---|---|---|
*** ktibi has quit IRC | 10:28 | |
mgoddard | hi ktibi | 10:52 |
openstackgerrit | Mark Goddard proposed openstack/kayobe master: Add Dell PowerConnect switch support https://review.openstack.org/570564 | 11:41 |
openstackgerrit | Mark Goddard proposed openstack/kayobe master: Fix empty kolla_overcloud_inventory_storage_groups https://review.openstack.org/570565 | 11:43 |
*** ktibi has joined #openstack-kayobe | 12:23 | |
ktibi | mgoddard, I fix a lot of issue with docker 1.13.1 and kolla | 12:59 |
ktibi | most of issue come from python package installed by yum. Need to purge and reinstall with pip :) | 12:59 |
mgoddard | ktibi: you can also use a virtualenv for kayobe | 13:03 |
ktibi | yep not for control plane | 13:03 |
mgoddard | https://kayobe.readthedocs.io/en/latest/configuration/kayobe.html?highlight=remote#remote-execution-environment | 13:04 |
ktibi | mgoddard, ok for kayobe, but works for kolla-ansible ? | 13:05 |
ktibi | https://github.com/openstack/kolla-ansible/blob/641a7f279070faebb5de021a3f6e2c9e30e600a6/ansible/roles/prechecks/tasks/package_checks.yml#L3 | 13:05 |
ktibi | most of my errors are with k-a | 13:06 |
ktibi | you can see that by e.g https://bugzilla.redhat.com/show_bug.cgi?id=1410118 | 13:06 |
openstack | bugzilla.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 amurdaca | 13:06 |
mgoddard | https://kayobe.readthedocs.io/en/latest/configuration/kolla-ansible.html?highlight=remote#remote-execution-environment | 13:07 |
mgoddard | that's for kolla | 13:07 |
mgoddard | should be used by default | 13:07 |
openstackgerrit | Mark Goddard proposed openstack/kayobe master: WIP: Use master version of dependencies https://review.openstack.org/568804 | 13:16 |
ktibi | mgoddard, to run kolla with docker 1.13.1 (package by redhat) on a centos 7.5 (last kernel) I need to add options on dockerd | 13:51 |
ktibi | http://paste.openstack.org/show/721982/ | 13:51 |
ktibi | for now, it's not possible to add this with kolla I think | 13:51 |
mgoddard | you 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 |
ktibi | mgoddard, yes I think it's good | 14:07 |
ktibi | but some options can't be add to the file | 14:08 |
ktibi | or it's no write in the docker doc | 14:08 |
ktibi | raaa same error again !!! | 14:08 |
ktibi | TASK [mariadb : Creating haproxy mysql user] ******************** | 14:08 |
ktibi | fatal: [ctrl01]: FAILED! => {"changed": false, "failed": true, "msg": "Can not parse the inner module output: | 14:08 |
ktibi | so I can't use docker 1.13.1 by redhat, I can't use docker 17.12.1 CE or docker 18 CE | 14:09 |
ktibi | kolla can't works with a recent version of docker >< | 14:09 |
mgoddard | can we not fix kolla? | 14:10 |
ktibi | I think yes we can, redhat did it | 14:11 |
ktibi | but I think the cost is very high | 14:11 |
ktibi | do you know how this file works ? https://github.com/openstack/kolla-ansible/blob/master/ansible/library/kolla_toolbox.py#L150 | 14:12 |
ktibi | mgoddard, for me kolla_toolbox use a docker version which is not compatible with a recent docker API | 14:13 |
mgoddard | oh, can you modify the kolla_toolbox image to change the docker client version then? | 14:14 |
ktibi | I can try with docker exec I guess | 14:15 |
ktibi | or maybe I can try to run the script directly in the container to see the error | 14:15 |
ktibi | the python script use import docker | 14:16 |
ktibi | but pip list | grep docker return nothing | 14:16 |
mgoddard | I think it's in a virtualenv | 14:17 |
ktibi | If I understand, the script is run by kolla-ansible for execute ansible action in the kolla-toolbox | 14:19 |
ktibi | is it ok ? | 14:19 |
mgoddard | that's right | 14:23 |
mgoddard | ansible in docker in ansible | 14:23 |
ktibi | mgoddard, ok so http://paste.openstack.org/show/721983/ | 14:25 |
ktibi | I can run the script on the ctrl01 | 14:25 |
mgoddard | looks like there is no output | 14:30 |
ktibi | mgoddard, yeah :/ | 14:32 |
mgoddard | did you try upgrading the python client in the virtualenv? | 14:33 |
ktibi | which virtualenv ? | 14:35 |
ktibi | I 'll try to test the library with args | 14:35 |
ktibi | need Jeffrey I think :) | 14:38 |
mgoddard | yeah, try him | 14:39 |
mgoddard | raised a bug? | 14:39 |
ktibi | maybe | 14:44 |
ktibi | when I start the module on a ctrl I have ==> ImportError: No module named ansible.module_utils.basic | 14:44 |
ktibi | after source /opt/kayobe/venvs/kolla-ansible/bin/activate | 14:45 |
ktibi | like if ansible not present on the virtualenv :/ | 14:45 |
ktibi | or the script is play in the container :/ | 14:46 |
mgoddard | ansible modules are weird - they copy dependencies to a temp directory on each invocation | 14:47 |
ktibi | mgoddard, re | 15:45 |
ktibi | so with Jeffrey I force the error task and deploy can continue | 15:45 |
ktibi | but now I have network issue like haproxy can't join mariadb so strange >< | 15:45 |
openstackgerrit | Mark Goddard proposed openstack/kayobe master: Add Dell PowerConnect switch support https://review.openstack.org/570564 | 15:48 |
*** dougsz has quit IRC | 16:55 | |
*** mgoddard has quit IRC | 16:59 | |
*** mgoddard has joined #openstack-kayobe | 17:20 | |
*** mgoddard has quit IRC | 18:31 | |
*** ktibi has quit IRC | 20:26 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!