[MDBF-312] s390x-sles broken Created: 2022-01-11 Updated: 2023-03-16 Resolved: 2022-02-14 |
|
| Status: | Closed |
| Project: | MariaDB Foundation Development |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Major |
| Reporter: | Vlad Bogolin | Assignee: | Vlad Bogolin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | buildbot, s390x, sles | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 3h | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
The s390x SLES builder is not starting. Probably related to the container not having access to the master, but needs to be investigated furher. |
| Comments |
| Comment by Vlad Bogolin [ 2022-01-12 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
The containers have no access. Used sudo sysctl -w net.ipv4.ip_forward=1 to resolve the issue. Now the containers connect to the master. | |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Faustin Lammler [ 2022-01-17 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Vlad Bogolin [ 2022-01-17 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
Command after the reboot to deal with firewall issues
| |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Vlad Bogolin [ 2022-01-17 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
Here is how to reinstall the wireguard module if kernel is upgraded on
| |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Faustin Lammler [ 2022-03-22 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
After reboot we had still a firewall problem. The following line was commented in `/etc/init.d/boot.local`:
Reboot tested twice, should be ok now. | |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Faustin Lammler [ 2022-03-22 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
Same was done for the rhel machine: The following line was commented in `/etc/rc.d/rc.local`:
Reboot tested, should be ok now. | |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Faustin Lammler [ 2022-09-23 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
For ubuntu, remove the netfilter-persistent package:
| |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Faustin Lammler [ 2022-10-13 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
On s390x rhel8:
The following patch needs to be applied https://github.com/WireGuard/wireguard-linux-compat/commit/8cfcb57cdcc020deb7727e73c231f6ea08e692fd
Then the following error can appear:
This can be resolved with https://github.com/andikleen/simple-pt/issues/8#issuecomment-813438385
| |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Faustin Lammler [ 2022-10-13 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
For wireguard sles15 some step were missing: 1/ apply the following patch
2/ add the following in /etc/modprobe.d/10-unsupported-modules.conf
| |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Faustin Lammler [ 2022-10-13 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
For sles15, you need to install the following packages:
here is the list of role that don't work for automatic deployment:
For the firewall, it needs to be reseted:
|