Friday, 2023-07-14

opendevreviewMichal Arbet proposed openstack/kolla master: Rework letsencrypt  https://review.opendev.org/c/openstack/kolla/+/88734700:29
songwenpinghi,team. i use kolla-ansible to deploy openstack, but encounter the problem, No module named 'docker'. my host is centos8.4+python3.8.6+kolla-ansible15.1.0+ansible6.7.0.07:25
kevkosongwenping: you are missing docker lib 07:51
kevkosongwenping: apt install python3-docker on debuntu systems for example ..on hosts07:51
opendevreviewMichal Arbet proposed openstack/kolla-ansible master: Add support for LetsEncrypt-managed certs  https://review.opendev.org/c/openstack/kolla-ansible/+/74134007:56
guesswhat[m]Can anyone retry Zuul on https://review.opendev.org/c/openstack/kolla-ansible/+/888496 ? Its probably CI error.08:02
guesswhat[m]frickler: adjutant isnt implemented in kolla ?08:05
yoctozeptomorning08:05
SvenKieskeguesswhat[m]: no, as documented https://docs.openstack.org/kolla/2023.1/support_matrix#x86-64-images08:07
guesswhat[m]hm, seems like its more like framework than a ready solution08:09
guesswhat[m]this one is internesting https://github.com/catalyst-cloud/adjutant-mfa, but unmaintained08:09
SvenKieskeyour help is always appreciated in extending it.08:29
fricklergood to know we can still summon yoctozepto by mentioning some secret keyword :-D08:42
songwenpingkevko: i install python-docker==0.2.0, still has same problem.08:43
fricklersongwenping: kolla zed requires centos9 afaict. or rocky linux even.08:45
yoctozeptofrickler: tbh, I expected a welcome party :P08:54
opendevreviewMichal Arbet proposed openstack/kolla-ansible master: Add support for LetsEncrypt-managed certs  https://review.opendev.org/c/openstack/kolla-ansible/+/74134008:55
yoctozeptoguesswhat[m]: you can recheck yourself by commenting on the change with the word "recheck" (without quotes) and then giving the reasoning for recheck, preferably on the next-next line so that it looks better08:57
kevkohrw you will probably know if is possible to define some profile in kolla-build.conf and for example say that ... build images on debian bullseye all, but build centos etc etc nova-libvirt ... is it possible ? 09:12
kevkoit's because our customer using all containers built from debian but libvirt from centos :D 09:13
yoctozeptokevko: when I was more active in the project previously, it was not possible; guessing it is still not possible09:19
yoctozeptojust call kolla-build twice09:19
yoctozeptoI mean, it is just a helper that you can call as many times as you need09:20
yoctozeptoI am betting this use case is pretty rare09:20
Viihi why opensearch starts 127.0.0.1:9200 haproxy cant connect to external localhost. Opensearch-dashboards is on the same host and start 10.0.10.3:560109:23
Viihaproxy in a different hosts 10.0.10.509:23
Viiopenstack antelope latest code 16.1.009:24
kevkoyoctozepto it is ..but it would be nice to have something like that ..it will simplify my pipelines :) 09:26
yoctozeptoit's not worth it to add extra complex logic to kolla to solve a rare use case which is fixable by a second run... also, it will not be much more optimal, no real savings09:29
frickleryou will need two versions of the base image, debian+rocky, would be very difficult to do that in a single run09:37
frickleryoctozepto: yay, welcome back \o/09:37
fricklerbetter? ;)09:38
kevkoanyone with good skills in zuul jobs ? :D 09:50
guesswhat[m]mmalchuk: how can edit PR title in Gerrit?09:50
kevkoedit your commit message09:50
mmalchukguesswhat[m] press edit and choose commit message09:51
SvenKieskere: "using all containers built from debian but libvirt from centos " that screams for future problems, does it not?09:51
opendevreviewLukas M proposed openstack/kolla-ansible master: Fixes redirect for Horizon when SSO is enabled.  https://review.opendev.org/c/openstack/kolla-ansible/+/88849609:52
kevkoSvenKieske: why do you think there is still centos  ? :D 09:52
SvenKieskeI don't think anything, I just quoted you :P09:52
opendevreviewLukas M proposed openstack/kolla-ansible master: Fixes redirect for Horizon when SSO is enabled.  https://review.opendev.org/c/openstack/kolla-ansible/+/88849409:53
opendevreviewLukas M proposed openstack/kolla-ansible master: Adds SSO support for Skyline.  https://review.opendev.org/c/openstack/kolla-ansible/+/88849609:53
guesswhat[m]mmalchuk: thanks and this https://review.opendev.org/c/openstack/kolla-ansible/+/888496/comment/224c1aa9_77a3e025/ ? I dont know jinja2 syntax, I understand the need to keep the variable with same name, but not sure If I can extend it for skyline,  way too complex oneliner...09:55
kevkohmm, i thought there are logs from /var/log/kolla/ in zuul ..aren't they ? 09:56
kevkoi can't find them 09:56
mmalchukguesswhat[m] if you extend something you should create a new variable and use it in the old one09:59
mmalchukguesswhat[m] this is not the your case09:59
SvenKieskeguesswhat[m]: it's in general time spent well to learn some jinja2 syntax, especially for {kolla}-ansible, but also for other stuff. the docs are mostly okay: https://jinja.palletsprojects.com/en/3.1.x/09:59
mmalchukguesswhat[m] there is the list variable, so to add the Skyline you should add the second list element10:01
mmalchukguesswhat[m] the first one would be for Horizon, the second for Skyline10:01
guesswhat[m]but its requires merging, and uniqueness checking, right? 10:03
guesswhat[m]can I do this "{{ 10:05
guesswhat[m]['%s://%s/auth/websso/' % (public_protocol, kolla_external_fqdn), '%s/auth/websso/' % (horizon_public_endpoint)] if enable_horizon | bool else [] 10:05
guesswhat[m]+ ['%s://%s/auth/websso/' % (public_protocol, kolla_external_fqdn), '%s/auth/websso/' % (skyline_public_endpoint)] if enable_skyline | bool else []  }}" ? 10:05
mmalchukguesswhat[m] you should do something like "{{ [ element1, element2 ] }}"10:07
mmalchuksupamatt element1 - is for Horizon, element2 - Skyline10:07
mmalchukops... supamatt sorry10:07
guesswhat[m]theres combine filter for ansible, allows to merge arrays10:08
mmalchukguesswhat[m] use logic whatever you want, you can write very long line, or you can use logic outside in the separate variables (for example)10:09
mmalchukguesswhat[m] but before you should read the code and plan how the target configuration created from the variables10:10
SvenKieskeI want https://godbolt.org/ for ansible :D10:18
SvenKieskeah, there is something like that: https://ansible.sivel.net10:19
SvenKieskeguesswhat[m]: maybe that helps, playing around :)10:19
SvenKieskesorry, that is the correct link: https://ansible.sivel.net/test/10:21
fricklerkevko: like this? https://ec2ff1fb6247aea22617-dc3e65ccae23bb6c49297bc4ac109b91.ssl.cf2.rackcdn.com/741340/196/check/kolla-ansible-ubuntu-lets-encrypt/3e8e179/primary/logs/kolla/index.html10:23
SvenKieskekevko: yeah, you can find them via the zuul GUI under Logs->primary->kolla (I would find it better if that was named something like the complete path, but it's a matter of taste I guess)10:26
SvenKieskeyou can also download them all via the artifacts tab, there's a script to download all the logs, which you must first download10:27
guesswhat[m]mmalchuk: will You approve this https://pastebin.com/raw/0bcfLVNg ? Its working10:28
SvenKieskefrickler: maybe you know this: I always wondered why there is no direct download link to a tar.gz of all logs and instead I have to download a script to download the logs. is that some openstack specific stuff or is that always handled that way in zuul?10:30
SvenKieskeI must say I find artifact exports from other CI systems way better and more discoverable :( don't know how hard it would be to improve zuul in this case.10:30
SvenKieskedownloading all artifacts with one click or get request would be a huge improvement imho. but I guess this is due to the distributed nature.10:32
yoctozeptofrickler: better :-)10:34
opendevreviewLukas M proposed openstack/kolla-ansible master: Fixes redirect for Horizon when SSO is enabled.  https://review.opendev.org/c/openstack/kolla-ansible/+/88849410:37
opendevreviewLukas M proposed openstack/kolla-ansible master: Fixes redirect for Horizon when SSO is enabled.  https://review.opendev.org/c/openstack/kolla-ansible/+/88849410:38
opendevreviewLukas M proposed openstack/kolla-ansible master: Fixes redirect for Horizon when SSO is enabled.  https://review.opendev.org/c/openstack/kolla-ansible/+/88849410:38
opendevreviewLukas M proposed openstack/kolla-ansible master: Adds SSO support for Skyline.  https://review.opendev.org/c/openstack/kolla-ansible/+/88849610:39
mmalchukguesswhat8 https://pastebin.com/raw/0bcfLVNg looks like ok, but need to check all the code10:39
mmalchukguesswhat[m] ^^^10:39
mmalchukguesswhat[m] I'm on unstable internet now, will check later10:40
opendevreviewLukas M proposed openstack/kolla-ansible master: Adds SSO support for Skyline.  https://review.opendev.org/c/openstack/kolla-ansible/+/88849610:42
opendevreviewLukas M proposed openstack/kolla-ansible master: Adds SSO support for Skyline.  https://review.opendev.org/c/openstack/kolla-ansible/+/88849610:43
guesswhat[m]Anyone know what to do with this https://review.opendev.org/c/openstack/kolla-ansible/+/888496 ? Theres proly merge conflict, not sure how to handle this11:03
fricklerSvenKieske: zuul uses 3rd party object storage for the logs. we could add a tar archive of all the logs, but that would roughly double the capacity needed11:14
fricklerbut for my own log checking 99% of the time I just work with the logs in the browser directly, so I don't need to download things very often. and even then, only some specific logfiles, not everything11:15
fricklersome standard example would be diffing pip-freeze or dpkg-l outputs between different job runs11:17
SvenKieskeinteresting; I didn't do many log debug sessions, but when I do, I tend to download everything and grep locally. but might be that this is related to the experience in debugging openstack logs. if you know what you're looking for you probably don't need "all the logs"(TM)11:33
hrwkevko: never looked into mixed environments12:01
opendevreviewMichal Arbet proposed openstack/kolla-ansible master: Add support for LetsEncrypt-managed certs  https://review.opendev.org/c/openstack/kolla-ansible/+/74134012:36
opendevreviewMichal Arbet proposed openstack/kolla-ansible master: Add support for LetsEncrypt-managed certs  https://review.opendev.org/c/openstack/kolla-ansible/+/74134012:39
opendevreviewMichal Arbet proposed openstack/kolla-ansible master: Add support for LetsEncrypt-managed certs  https://review.opendev.org/c/openstack/kolla-ansible/+/74134014:01
kevkocan i login somehow to running zull job to ovh cloud ? 14:12
SvenKieskeI doubt it, maybe someone from infra can. but afaik the way to go would be to log everything you might want to know14:25
opendevreviewMichal Arbet proposed openstack/kolla-ansible master: Add support for LetsEncrypt-managed certs  https://review.opendev.org/c/openstack/kolla-ansible/+/74134014:27
opendevreviewChristian Berendt proposed openstack/kolla master: octavia: bootstrap octavia_persistence database  https://review.opendev.org/c/openstack/kolla/+/88858715:31
opendevreviewChristian Berendt proposed openstack/kolla-ansible master: octavia: enable jobboard  https://review.opendev.org/c/openstack/kolla-ansible/+/88858815:35
opendevreviewChristian Berendt proposed openstack/kolla master: octavia: bootstrap octavia_persistence database  https://review.opendev.org/c/openstack/kolla/+/88858715:37
opendevreviewChristian Berendt proposed openstack/kolla-ansible master: octavia: enable jobboard  https://review.opendev.org/c/openstack/kolla-ansible/+/88858815:41
opendevreviewChristian Berendt proposed openstack/kolla-ansible master: octavia: enable jobboard  https://review.opendev.org/c/openstack/kolla-ansible/+/88858815:43
opendevreviewMichal Arbet proposed openstack/kolla-ansible master: Add support for LetsEncrypt-managed certs  https://review.opendev.org/c/openstack/kolla-ansible/+/74134015:43
opendevreviewMichal Arbet proposed openstack/kolla-ansible master: Add support for LetsEncrypt-managed certs  https://review.opendev.org/c/openstack/kolla-ansible/+/74134016:20
opendevreviewMichal Arbet proposed openstack/kolla-ansible master: Add support for LetsEncrypt-managed certs  https://review.opendev.org/c/openstack/kolla-ansible/+/74134017:00

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