*** jpena|off is now known as jpena | 08:58 | |
*** apevec has joined #softwarefactory | 09:11 | |
lyr | tristanC: I got a weird hostname -f on the worker node https://paste.garrigue.re/?7e6a4672d12f139a#TJczNU46zUWxdzW5pu9xQtnWAMJAbhYLrwM3Pamv1k5 | 09:21 |
---|---|---|
lyr | I can't explain it, haproxy. does exists in my infra, but that's unrelated to zuul | 09:30 |
*** ajitha has joined #softwarefactory | 10:35 | |
sfbender | Yatin Karel created graffiti master: Raise exception on missing dist_tag in a release https://softwarefactory-project.io/r/21166 | 11:39 |
*** zenkuro has quit IRC | 12:26 | |
*** zenkuro has joined #softwarefactory | 12:28 | |
*** jpena is now known as jpena|lunch | 12:30 | |
tristanC | lyr: what happen if you set the hostname manually, does it change back to haproxy? | 12:33 |
*** zenkuro has quit IRC | 12:51 | |
*** zenkuro has joined #softwarefactory | 12:52 | |
*** jpena|lunch is now known as jpena | 13:33 | |
lyr | tristanC "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 |
tristanC | lyr: 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#n50 | 14:18 |
tristanC | lyr: maybe try `hostnamectl set-hostname` | 14:21 |
*** harrymichal has joined #softwarefactory | 14:25 | |
sfbender | Merged graffiti master: Raise exception on missing dist_tag in a release https://softwarefactory-project.io/r/21166 | 14:43 |
lyr | tristanC, did it. Then sfconfig's "force hostname" is green, but "check hostname" fails | 14: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 |
tristanC | lyr: 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.yaml | 14:44 |
lyr | - name: i-0eece46fdbcc672f9 | 14:44 |
tristanC | lyr: is that name in /var/lib/software-factory/ansible/hosts too? | 14:44 |
lyr | yes, group hypervisor-k1s | 14:46 |
lyr | [root@managesf.zuul.development.wazo.cloud ~]# grep i- /var/lib/software-factory/ansible/hosts | 14:46 |
lyr | i-0eece46fdbcc672f9.zuul.development.wazo.cloud ansible_python_interpreter=/usr/bin/python | 14:46 |
tristanC | lyr: ok, and what is the output of `hostname -f` on that node? | 14:48 |
lyr | haproxy.development.wazo.cloud | 14:52 |
lyr | hostnamectl says static hostname's i-.....cloud | 14:52 |
tristanC | lyr: could haproxy be set in /etc/hosts for localhost? | 14:53 |
lyr | nope | 14:53 |
tristanC | i guess we could fix the test to use hostnamectl instead | 14:54 |
lyr | I've been searching for age, can't find where this hostname -f is coming from | 14:56 |
tristanC | could you try to strace it? | 14:56 |
lyr | dunno how to | 14:57 |
lyr | /var/log/messages don't have any reference to ansible task invoked on the topic | 14:58 |
lyr | managesf's hostname -f is ok | 14:59 |
lyr | other Debian 10 nodes are i-084214ee7e8d32e94.node.development.wazo (domain from consul) | 14:59 |
lyr | hm | 15:01 |
lyr | /etc/hosts are quite different between centos & debian | 15:01 |
tristanC | if i remember correctly, hostname does uses /etc/hosts | 15:02 |
lyr | added the i-....node.development.wazo in /etc/hosts w/o success | 15:04 |
lyr | I went for the "fix the test to use hostnamectl", worked | 15:07 |
lyr | s/hostname -f/hostnamectl --static/ | 15:07 |
lyr | Aaaand so I'm back to "Grab current key from zuul-web" failing. | 15:16 |
tristanC | lyr: what's the status of the zuul-scheduler? | 15:17 |
lyr | running with merge error message | 15:18 |
lyr | and ssl violation of protocol | 15:19 |
lyr | https://paste.garrigue.re/?e36f02a128eefe8d#7orCTyfLkwFP29T4Uqk8aFfD65HukJfoq8y5J52munXi | 15:20 |
tristanC | lyr: so it failed to get the project content, could you check the executor or merger logs? | 15:22 |
lyr | stderr: 'fatal: destination path '/var/lib/zuul/executor/github.com/wazo-platform/sf-config-migration' already exists and ... | 15:24 |
lyr | Checking, but that's most likely me tempating k1s-labels.yml | 15:24 |
lyr | Yep yep... | 15:26 |
*** sshnaidm is now known as sshnaidm|afk | 16:04 | |
sfbender | Merged software-factory/gerrit-haskell master: Add getChange function https://softwarefactory-project.io/r/21161 | 17:05 |
*** harrymichal has quit IRC | 17:12 | |
sfbender | Merged software-factory/sfinfo-haskell master: Add approve-reviews helper https://softwarefactory-project.io/r/21162 | 17:22 |
sfbender | Merged software-factory/sfinfo master: Replace old nodeset with the new one https://softwarefactory-project.io/r/20995 | 17:59 |
*** jpena is now known as jpena|off | 18:02 | |
*** zenkuro has quit IRC | 20:24 | |
sfbender | Merged software-factory/sf-config master: nodepool: do not generate configuration when static_config exists https://softwarefactory-project.io/r/21101 | 20:26 |
*** apevec has quit IRC | 21:00 | |
*** harrymichal has joined #softwarefactory | 21:04 | |
*** ajitha has quit IRC | 21:24 | |
*** harrymichal has quit IRC | 23:15 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!