@johanssone:matrix.org | Hello! tried to dump my zuul version from 6.1.0(very old) version to 7.1.0 (and hopefully 8.3.1 after that) . I ran into a snag with the swift-upload-logs role. https://paste.opendev.org/show/blHNV7BmNH9HtYuod3nZ/ so somewhere, somehow it's missing the openstacksdk module from what I can tell. The setup is containerized and I see the issue on the zuul-executer container during job runs during post plays (POST_FAILURE). Any ideas? :) | 12:17 |
---|---|---|
@johanssone:matrix.org | * Hello! tried to dump my zuul version from 6.1.0(very old) version to 7.1.0 (and hopefully 8.3.1 after that). Upgrade path performed 6.1.0 -> 6.4.0 -> 7.1.0 I ran into a snag with the swift-upload-logs role on 7.1.0. https://paste.opendev.org/show/blHNV7BmNH9HtYuod3nZ/ so somewhere, somehow it's missing the openstacksdk module from what I can tell. The setup is containerized and I see the issue on the zuul-executer container during job runs during post plays (POST\_FAILURE). Any ideas? :) | 12:18 |
@johanssone:matrix.org | So. I _think_ I managed to solve it by manually installing openstacksdk inside the executor container (which is obviously a hack..). My next question would be, is the intention to parent zuul-ci/zuul-executor image to include ex openstacksdk to executor? I'm basically relying on https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/upload-logs-base/library/zuul_swift_upload.py to upload logs, which obviosuly relies on openstacksdk being installed. Or am I just doing it wrong? :) | 13:18 |
@clarkb:matrix.org | > <@johanssone:matrix.org> So. I _think_ I managed to solve it by manually installing openstacksdk inside the executor container (which is obviously a hack..). My next question would be, is the intention to parent zuul-ci/zuul-executor image to include ex openstacksdk to executor? I'm basically relying on https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/upload-logs-base/library/zuul_swift_upload.py to upload logs, which obviosuly relies on openstacksdk being installed. Or am I just doing it wrong? :) | 13:52 |
The docker images we publish for zuul should include extra deps like that out of the box. I think any installation running zuul-manage-ansible will install it due to this file's content https://opendev.org/zuul/zuul/src/commit/a9146705148afba092e31a7013676f9c5661a2c6/zuul/lib/ansible-config.conf |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!