Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

Latest revisions

# Date Author Comment
bf8b44f7 05/08/2024 03:09 PM Ewoud Kohl van Wijngaarden

Fixes #37413 - Let the kernel assign a TCP port in tests

This binds on port 0, which lets the kernel decide which port to use.
The port is then read back from the listener. Because the kernel knows
which ports it's allowed to bind to, it removes the risk of a failure...

3f079df6 04/25/2024 10:42 AM Ewoud Kohl van Wijngaarden

Fixes #37355 - Explicitly query for IPv4 address in omapi code

The omapi API is IPv4-only so the DNS lookup should also only ask for
IPv4 addresses. Otherwise it may return an IPv6 address which ip2hex
can't deal with.

e8fe59f8 02/26/2024 02:03 PM Ewoud Kohl van Wijngaarden

Fixes #37147 - Pass --fail option to curl

This prevents curl from writing out error pages, for example when the
URL returns a HTTP 404.

It still doesn't return any error to Foreman since the TFTP
/fetch_boot_file only starts a thread and there's no way to monitor it....

dc06c076 09/26/2023 12:11 PM Ewoud Kohl van Wijngaarden

Fixes #34163 - Allow clearing the log buffer

In testing it can be useful to reset the log buffer. This is not
intended to be used as a public API but tests can use:

Proxy::LogBuffer::Buffer.instance.send(:clear)
e994e0ab 09/26/2023 11:42 AM Ewoud Kohl van Wijngaarden

Refs #34163 - Introduce SmartProxyRootApiTestCase

This class provides the common infra for the root API integration test.

70073c07 04/03/2023 12:54 PM Leos Stejskal

Fixes #36243 - Templates - Return Foreman's API status code instead of 500

90d7cc85 03/23/2023 07:12 PM Leos Stejskal

Fixes #36209 - tftp initrd/vmlinux generation: curl malformed

PR #856 was fixing invalid curl --time-cont condition,
but it actually break it and now files are not downloaded at all.

This reverts commit fba49ab1eb9bbe383572575309558ff628f5de60.

fba49ab1 03/09/2023 06:44 PM Leos Stejskal

Fixes #36138 - Invalid syntax for curl --time-cond

According to Curl man page, syntax for --time-cond attribute
should be "--time-cond file <path>", not "--time-cond <path>".

This can cause issues with outdated vmlinuz and initrd.im files,
once the files are downloaded, they are never replaced with never versions....

2d9cdce5 01/23/2023 03:58 PM Bernhard Suttner

Fixes #35979 - dnscmd nil string error

78645517 10/31/2022 04:47 PM Stejskal Leos

Fixes #35639 - registration_url setting for Registration module

RFC: https://community.theforeman.org/t/rfc-host-registration-and-load-balancers/30462
Foreman: https://projects.theforeman.org/issues/35626
Katello: https://projects.theforeman.org/issues/35627

View revisions

Also available in: Atom