Wednesday, 2021-11-24

*** rlandy|ruck is now known as rlandy|out00:09
*** ysandeep|out is now known as ysandeep01:05
*** bacarrdy_ is now known as bacarrdy07:17
*** amoralej|off is now known as amoralej08:08
*** ykarel is now known as ykarel|lunch09:03
*** ykarel|lunch is now known as ykarel10:05
dpawlikfrickler, fungi: Hey, feel free to check if those zuul jobs are ok https://review.opendev.org/c/openstack/ci-log-processing/+/818810  10:37
dpawlikfungi: As I remember, host logscraper01.openstack.org would be not available in current ansible infra inventory right? 10:39
dpawlikfungi: I need to know if I should create own inventory, job for applying changes on that host(s) etc.10:39
*** dviroel|afk is now known as dviroel11:00
*** rlandy|out is now known as rlandy|ruck11:12
*** ysandeep is now known as ysandeep|afk11:26
*** ysandeep|afk is now known as ysandeep11:56
*** odyssey4me is now known as Guest669713:33
*** jpena|off is now known as jpena13:35
fungii assumed you would just run ansible yourself initially and focus on the service and installation code, before trying to automate triggering it. but if that's what you're working on, the basics are you're going to need to give the job a secret which provides an ssh key which is granted access to the server (probably easier if it's access to the root account), and then have the job call13:39
fungiansible on that server so that you're not restricted to the subset of plugin libraries the executor is allowed to use13:39
fungii also recommend making sure the stdout/stderr of that nestes ansible call gets redirected to a local logfile on the server in order to avoid accidentally disclosing anything sensitive like setup credentials13:40
dpawlikack fungi14:01
fungiif that "nested" ansible is only running against localhost (the server) then i don't think you'd need to bother with an inventory14:03
dpawlikfungi: so I create ansible roles anf also add functional test for validating the new workflow if its working as expected. it is working locally, hope will be all fine on logscraper01. 14:37
fungipresumably so14:38
*** ysandeep is now known as ysandeep|mtg14:45
dpawlikfungi: so in the future, I would be able to add the host to the opendev infra inventory or not? 14:46
dpawlikjust want to hear a clear answer ;)14:47
fungidpawlik: no, the way our deployment automation is set up, we have a deployment bastion which zuul logs into and runs a nested ansible on, and then it in turn has root ssh access to the servers in opendev's inventory, so i don't think we'd be adding non-opendev systems there. for one thing, you wouldn't have access to deployment logs since they are spooled to local files on the bastion14:49
fungifor safety reasons14:49
dpawlikfungi: understand14:50
fungipreviously we'd agreed that the opendev sysadmins could boot some servers for this effort in our donated cloud tenants, but the most we'd have the ability to do for you beyond that is to reboot those servers via the nova api if you got stuck, or maybe help you get console access/recovery boot14:50
*** ykarel is now known as ykarel|away14:51
dpawlikfungi: ok, it's not a problem.Now I know how to implement future configuration automatization 14:54
dpawlikfungi: one more thing, I would like to ask you for review https://review.opendev.org/c/openstack/ci-log-processing/+/818810 or just leave a comment if it is enough  to push doc to infra doc (if 818810 is ok and url will be correct this can be merged: https://review.opendev.org/c/openstack/project-config/+/818811 )14:59
fungiat least the draft build seems to work15:05
*** soniya29|ruck is now known as soniya29|ruck|afk15:24
*** ysandeep|mtg is now known as ysandeep16:06
*** akahat|rover is now known as akahat16:33
*** ysandeep is now known as ysandeep|out17:05
*** jpena is now known as jpena|off17:41
*** amoralej is now known as amoralej|off17:51
*** dviroel is now known as dviroel|afk19:53
gmannfungi: clarkb this is good to review/go now - https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/81860922:35
fungiawesome, thanks!22:36
gmannthanks22:41
opendevreviewMerged openstack/openstack-zuul-jobs master: Update Yoga job template for updated testing runtime  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/81860922:42

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