Skip to content
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

Refine a bit dnsmasq role #1702

Merged
merged 1 commit into from
May 15, 2024
Merged

Refine a bit dnsmasq role #1702

merged 1 commit into from
May 15, 2024

Conversation

cjeanner
Copy link
Contributor

@cjeanner cjeanner commented May 15, 2024

An assertion block was missing a condition, leading to issue when we
wanted to just remove a network from the configuration.

In the network configuration template, the test to know more about ipv4
and ipv6 ranges was a bit too loose, leading to issues under certain
conditions.

We faced the same issue in the host management, leading to potentially
wrong DHCP configuration. In order to ease debugging, we now generate a
fact, display its content, and use that content to inject the host data
in the configuration.

During a re-run, the service is already stopped/disabled, and the unit
file is removed. Ansible will then fail, since systemd can't find the
service to stop.

As a pull request owner and reviewers, I checked that:

  • Appropriate testing is done and actually running

@openshift-ci openshift-ci bot requested review from cescgina and viroel May 15, 2024 07:17
Copy link

Thanks for the PR! ❤️
I am marking it as a draft, once passing your happy and the PR is passing CI click the "Ready for review" button below.

@github-actions github-actions bot marked this pull request as draft May 15, 2024 07:17
@cjeanner cjeanner marked this pull request as ready for review May 15, 2024 07:18
@openshift-ci openshift-ci bot requested review from bshewale and son-vyas May 15, 2024 07:18
@cjeanner cjeanner marked this pull request as draft May 15, 2024 07:21
@cjeanner cjeanner force-pushed the dnsmasq/refining branch 2 times, most recently from f76d66a to ed4233d Compare May 15, 2024 07:42
@cjeanner cjeanner marked this pull request as ready for review May 15, 2024 07:42
@openshift-ci openshift-ci bot requested review from dsariel and frenzyfriday May 15, 2024 07:42
An assertion block was missing a condition, leading to issue when we
wanted to just remove a network from the configuration.

In the network configuration template, the test to know more about ipv4
and ipv6 ranges was a bit too loose, leading to issues under certain
conditions.

We faced the same issue in the host management, leading to potentially
wrong DHCP configuration. In order to ease debugging, we now generate a
fact, display its content, and use that content to inject the host data
in the configuration.

During a re-run, the service is already stopped/disabled, and the unit
file is removed. Ansible will then fail, since systemd can't find the
service to stop.
@cjeanner cjeanner force-pushed the dnsmasq/refining branch from ed4233d to 3116f53 Compare May 15, 2024 12:27
@cjeanner cjeanner requested review from rebtoor and hjensas and removed request for dsariel May 15, 2024 12:28
@rebtoor
Copy link
Contributor

rebtoor commented May 15, 2024

/approve

Copy link
Contributor

openshift-ci bot commented May 15, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rebtoor

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 88f79f8 into main May 15, 2024
5 checks passed
@openshift-merge-bot openshift-merge-bot bot deleted the dnsmasq/refining branch May 15, 2024 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants