foreman-nightly-deb-pipeline 270 failed

Foreman DEB nightly pipeline failed:

https://ci.theforeman.org/job/foreman-nightly-deb-pipeline/270/

foreman-nightly-ubuntu1804-test (failed)
foreman-nightly-debian10-test (passed)

Looks like an issue with the redis unit, @aruzicka/@ezr-ondrej care to take a look?

[ERROR 2020-01-22T08:13:08 verbose] Job for redis-server.service failed because a timeout was exceeded.
[ERROR 2020-01-22T08:13:08 verbose] See "systemctl status redis-server.service" and "journalctl -xe" for details.
[ERROR 2020-01-22T08:13:08 verbose] invoke-rc.d: initscript redis-server, action "start" failed.
[ERROR 2020-01-22T08:13:08 verbose] * redis-server.service - Advanced key-value store
[ERROR 2020-01-22T08:13:08 verbose]    Loaded: loaded (/lib/systemd/system/redis-server.service; disabled; vendor preset: enabled)
[ERROR 2020-01-22T08:13:08 verbose]    Active: activating (auto-restart) (Result: timeout) since Wed 2020-01-22 08:13:02 UTC; 31ms ago
[ERROR 2020-01-22T08:13:08 verbose]      Docs: http://redis.io/documentation,
[ERROR 2020-01-22T08:13:08 verbose]            man:redis-server(1)
[ERROR 2020-01-22T08:13:08 verbose]   Process: 3009 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf (code=exited, status=0/SUCCESS)
[ERROR 2020-01-22T08:13:08 verbose]
[ERROR 2020-01-22T08:13:08 verbose] Jan 22 08:13:02 pipeline-foreman-server-nightly-ubuntu1804 systemd[1]: [0;1;31m[0;1;39m[0;1;31mFailed to start Advanced key-value store.[0m
[ERROR 2020-01-22T08:13:08 verbose] dpkg: error processing package redis-server (--configure):
[ERROR 2020-01-22T08:13:08 verbose]  installed redis-server package post-installation script subprocess returned error exit status 1

The problem is that the Ubuntu box we use (https://app.vagrantup.com/generic/boxes/ubuntu1804) disables IPv6 which means redis-server can’t bind to ::1 (default config).

https://github.com/lavabit/robox/issues/79

The reason we’re using this box and not https://app.vagrantup.com/ubuntu/boxes/bionic64 is that we need a libvirt image.

The workaround is to call sysctl net.ipv6.conf.all.disable_ipv6=0 and currently running a test pipeline with this:

https://github.com/theforeman/forklift/pull/1099

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.