New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test failure due to kadmin port already in use #281
Comments
Change initially applied in 68f5214. The default value of sunrpc.min_resvport is 665. An NFS mount can block the kadmin service port and cause IPA installation to fail. That was applied in the runner, but it didn't update the box used to run the tests as mentioned in #281. Package 'nfs-utils' must be installed before changing the sysctl setting. Signed-off-by: Armando Neto <abiagion@redhat.com>
I've logged into a random runner and initialized a vm running the box
Further investigation is needed to check whether NFS is not using that setting or another application is binding to port 749. |
I've tried to bring-up and destroy virtual machines defined by: Vagrant.configure("2") do |config|
config.vm.box = "freeipa/ci-master-f30"
config.vm.synced_folder "./", "/vagrant",
type: "nfs",
nfs_udp: false,
nfs_version: 4
# linux__nfs_options: ["rw,no_subtree_check,all_squash,noresvport"],
# mount_options: ["noresvport"]
config.vm.provision "shell",
inline: "ss --all --tcp --udp --numeric --processes"
end In the end I could see that NFS is not respecting I've tried to set-up NFS to not use reserved ports ( |
This was fixed by #334, already deployed,
|
Issue:
sometimes the tests fail during ipa server installation because the port 749 (required by kadmin) is already in use. For instance see this PRCI run and the kadmind log.
A first attempt was done in PR #242 to fix the problem, but added the parameter in
ansible/roles/runner/tasks/setup.yml
. This means that the runner is configured to keep port 749 free. We should instead modify one of the playbooks inansible/roles/machine/
, as they are applied to the VM launched on the runner (=IPA server, replica or client) rather than to the runner.The text was updated successfully, but these errors were encountered: