Tuesday, 2021-02-23

*** jpena|off is now known as jpena08:58
*** apevec has joined #softwarefactory09:11
lyrtristanC: I got a weird hostname -f on the worker node https://paste.garrigue.re/?7e6a4672d12f139a#TJczNU46zUWxdzW5pu9xQtnWAMJAbhYLrwM3Pamv1k509:21
lyrI can't explain it, haproxy. does exists in my infra, but that's unrelated to zuul09:30
*** ajitha has joined #softwarefactory10:35
sfbenderYatin Karel created graffiti master: Raise exception on missing dist_tag in a release  https://softwarefactory-project.io/r/2116611:39
*** zenkuro has quit IRC12:26
*** zenkuro has joined #softwarefactory12:28
*** jpena is now known as jpena|lunch12:30
tristanClyr: what happen if you set the hostname manually, does it change back to haproxy?12:33
*** zenkuro has quit IRC12:51
*** zenkuro has joined #softwarefactory12:52
*** jpena|lunch is now known as jpena13:33
lyrtristanC "hostname i-0eece46fdbcc672f9" changes "hostname -f" output to "localhost" on the worker. Running sfconfig still fails. Afterward the worker "hostname -f" outputs "haproxy.development..." again, "hostname" is back to the expected "i-0eece46fdbcc672f9.zuul...."14:13
tristanClyr: i'm not sure to understand, the sf-ssh set the hostname using $(name in arch.yaml).$(fqdn in sfconfig.yaml) here: https://softwarefactory-project.io/cgit/software-factory/sf-config/tree/ansible/roles/sf-ssh/tasks/populate_hosts.yml#n5014:18
tristanClyr: maybe try `hostnamectl set-hostname`14:21
*** harrymichal has joined #softwarefactory14:25
sfbenderMerged graffiti master: Raise exception on missing dist_tag in a release  https://softwarefactory-project.io/r/2116614:43
lyrtristanC, did it. Then sfconfig's "force hostname" is green, but "check hostname" fails14:43
lyr"item": [0, "i-0eece46fdbcc672f9.zuul.development.wazo.cloud"], "msg": "Hostnames does not match arch.yaml definition, manually fix using hostnamectl set-hostname .... Then run ansible -m setup"14:43
tristanClyr: and do you have i-0eece46fdbcc672f9 in your arch.yaml?14:44
lyr[root@managesf.zuul.development.wazo.cloud ~]# grep i- /etc/software-factory/arch.yaml14:44
lyr- name: i-0eece46fdbcc672f914:44
tristanClyr: is that name in  /var/lib/software-factory/ansible/hosts too?14:44
lyryes, group hypervisor-k1s14:46
lyr[root@managesf.zuul.development.wazo.cloud ~]# grep i- /var/lib/software-factory/ansible/hosts14:46
lyri-0eece46fdbcc672f9.zuul.development.wazo.cloud ansible_python_interpreter=/usr/bin/python14:46
tristanClyr: ok, and what is the output of `hostname -f` on that node?14:48
lyrhaproxy.development.wazo.cloud14:52
lyrhostnamectl says static hostname's i-.....cloud14:52
tristanClyr: could haproxy be set in /etc/hosts for localhost?14:53
lyrnope14:53
tristanCi guess we could fix the test to use hostnamectl instead14:54
lyrI've been searching for age, can't find where this hostname -f is coming from14:56
tristanCcould you try to strace it?14:56
lyrdunno how to14:57
lyr /var/log/messages don't have any reference to ansible task invoked on the topic14:58
lyrmanagesf's hostname -f is ok14:59
lyrother Debian 10 nodes are i-084214ee7e8d32e94.node.development.wazo (domain from consul)14:59
lyrhm15:01
lyr /etc/hosts are quite different between centos & debian15:01
tristanCif i remember correctly, hostname does uses /etc/hosts15:02
lyradded the i-....node.development.wazo in /etc/hosts w/o success15:04
lyrI went for the "fix the test to use hostnamectl", worked15:07
lyrs/hostname -f/hostnamectl --static/15:07
lyrAaaand so I'm back to "Grab current key from zuul-web" failing.15:16
tristanClyr: what's the status of the zuul-scheduler?15:17
lyrrunning with merge error message15:18
lyrand ssl violation of protocol15:19
lyrhttps://paste.garrigue.re/?e36f02a128eefe8d#7orCTyfLkwFP29T4Uqk8aFfD65HukJfoq8y5J52munXi15:20
tristanClyr: so it failed to get the project content, could you check the executor or merger logs?15:22
lyrstderr: 'fatal: destination path '/var/lib/zuul/executor/github.com/wazo-platform/sf-config-migration' already exists and ...15:24
lyrChecking, but that's most likely me tempating k1s-labels.yml15:24
lyrYep yep...15:26
*** sshnaidm is now known as sshnaidm|afk16:04
sfbenderMerged software-factory/gerrit-haskell master: Add getChange function  https://softwarefactory-project.io/r/2116117:05
*** harrymichal has quit IRC17:12
sfbenderMerged software-factory/sfinfo-haskell master: Add approve-reviews helper  https://softwarefactory-project.io/r/2116217:22
sfbenderMerged software-factory/sfinfo master: Replace old nodeset with the new one  https://softwarefactory-project.io/r/2099517:59
*** jpena is now known as jpena|off18:02
*** zenkuro has quit IRC20:24
sfbenderMerged software-factory/sf-config master: nodepool: do not generate configuration when static_config exists  https://softwarefactory-project.io/r/2110120:26
*** apevec has quit IRC21:00
*** harrymichal has joined #softwarefactory21:04
*** ajitha has quit IRC21:24
*** harrymichal has quit IRC23:15

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