Monday, 2024-11-11

opendevreviewKien Nguyen proposed openstack/kolla-ansible master: [masakari] Add support for consul monitoring driver  https://review.opendev.org/c/openstack/kolla-ansible/+/93459007:23
yosefmnasidaka: Hi, can you check out these ? 1. add election-timer to ovn: https://review.opendev.org/c/openstack/kolla-ansible/+/934106 2. ovn relay: https://review.opendev.org/c/openstack/kolla-ansible/+/92964609:04
yosefmnasiadka: .09:05
opendevreviewKien Nguyen proposed openstack/kolla-ansible master: [masakari] Add support for consul monitoring driver  https://review.opendev.org/c/openstack/kolla-ansible/+/93459009:52
opendevreviewKien Nguyen proposed openstack/kolla-ansible master: [masakari] Add support for consul monitoring driver  https://review.opendev.org/c/openstack/kolla-ansible/+/93459010:05
SvenKieskemnasiadka: someone pointed out via IRC that the commands in the docs are now in the wrong order, after the CLI rewrite: https://docs.openstack.org/kolla-ansible/latest/user/operating-kolla.html#kolla-ansible-cli I guess that's a fair point. Just wanted to notify you, in case someone could quickly update the docs from your team maybeß12:01
SvenKieskes/ß/?/12:01
EugenMayer440180SvenKieske beside the upgrade docs, which might matter the most by far, the need to fix docs is bigger. There are wrong usages all across the docs be it tls and other docs that are all affected by this. But i guess covering the upgrade notes first would help most of the people 12:22
opendevreviewWill Szumski proposed openstack/kayobe master: WIP: CI: Test interface bounce  https://review.opendev.org/c/openstack/kayobe/+/93464312:23
SvenKieskeEugenMayer440180: Feel free to submit a patch and/or bug report, it's always appreciated. I might not have time in the near future to fix these myself. doc patches somehow always lag a little bit behind :)13:07
shermanmso, I've got a proof of concept working now that uses docker buildx and remote layer caches to speed builds up. would there be interest in an RFE?17:00
opendevreviewJay Jahns proposed openstack/kolla master: Allow specification of a key type  https://review.opendev.org/c/openstack/kolla/+/93468117:26
opendevreviewJay Jahns proposed openstack/kolla-ansible master: Add key type for letsencrypt certificate  https://review.opendev.org/c/openstack/kolla-ansible/+/93468317:42
EugenMayer440180SvenKieske sorry to be a party pooper - if it would be github, i would have created a PR already, but opendev is so cumbersome, so complicated (even though i have a account) so that i really opt out any contributions (code wise)17:59
EugenMayer440180shermanm buildx uses a remote cache by default? Sure you have to provide --cache-from (and you should pull yourself since buildx fails to do so form time to time) - but generally it is build in18:02
shermanmof course, just the part of making it play nicely with kolla18:02
EugenMayer440180shermanm be sure to make yourself comfortable with the potentials bugs with unproper layer invalidation18:02
EugenMayer440180buildx made a lot things faster, but mostly for the price inconsistency and buggy behavior. I wish i could tell it oterhwise18:03
shermanmmy use case was really to speed up builds in our CI. you can already get "ok" caching if you rebuild on the same build host, but with (non-buildx) docker it's difficult to populate that cache initially18:04
shermanmso I'm really comparing "default local layer cache" to "remote buildx layer cache"18:05
shermanmI'm assuming a "release" build would still want to be done without caches for the reasons you mention18:05
EugenMayer440180https://github.com/moby/buildkit/issues/1388 - this one has never been solved18:06
EugenMayer440180and the issue does not create an inconvinience - it does no longer build what you expect. It's a huge issue18:07
shermanminteresting, do you know if it affects podman as well?18:08
EugenMayer440180cannot tell, we still build under containerd mainly18:08
EugenMayer440180https://docs.docker.com/build/cache/backends/#backends what is the remote-cache you are talking about. Sounds like the usual registry cache i know about, or is there more to it?18:09
shermanmright now i'm using registry-cache, as the source, with inline-caching as the destination. But i've also done some tests with local directory caching, and the github-actions cache18:10
shermanmwith podman I've had good luck with registry-caches, unfortunately the python library being used for it in kolla does not expose the `cache_to` argument18:10
EugenMayer440180without buildx you just need to ensure to pull the from image everytime you build and not rely on build to do it. That did not really change to much with buildx, usaully you should still pull, or it becomes unrelyable way to often. But buildx builds in general are a lot faster18:11
shermanmyeah, with my proof of concept, I can build the main, infra, aux profiles in about 4 minutes on a fresh builder machine18:11
EugenMayer440180pull the from and the target image18:11
EugenMayer440180you usually, if building tags, build something like FROM foo and then -t fqdn:branch-<branch> -t fqdn:<build-nr>18:12
EugenMayer440180and then, you try to always pull FROM and fqdn:branch-<branch> before every build18:13
EugenMayer440180but yes, using cache-to is really nice too, but in the end, using a very similar concept (branch or pr scoping)18:14
shermanmit very much needs a rebase onto upstream/master, and some cleanup, but I've got my branch here: https://github.com/ChameleonCloud/kolla/pull/1418:20
opendevreviewFelipe Figueroa Vergara proposed openstack/kolla-ansible master: Configures `s3_store_cacert` glance_store variable  https://review.opendev.org/c/openstack/kolla-ansible/+/93469622:19
shermanmEugenMayer440180_, one of the other things that could be interesting is the ability to pass multiple build contexts. Right now for plugins and additions, they're assembled in a tmp working directory, and this can impact caching22:34
shermanmbut we might be able to just pass them as a list of contexts to the builder and avoid that22:35

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!