-
Notifications
You must be signed in to change notification settings - Fork 112
Add netavark requirement podman #5035
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
Open
jafiala
wants to merge
9
commits into
theforeman:master
Choose a base branch
from
jafiala:add-netavark-requirement-podman
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
6e6187d
Add netavark requirement
jafiala efdba93
Make redhat refs conditionals
jafiala 867f7f5
Fix IDs
jafiala 5ac99c8
fix id
jafiala bb5cb89
fix id and filename
jafiala a646b07
Fix links and xref
jafiala 6b213d8
Move include out of conditionals
jafiala 16eace5
Style improvements
jafiala 891da4f
Apply suggestions from style review
jafiala File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
guides/common/assembly_installing-and-configuring-insights-iop.adoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
81 changes: 81 additions & 0 deletions
81
guides/common/modules/proc_configuring-podman-network-backend-for-insights.adoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,81 @@ | ||
| :_mod-docs-content-type: PROCEDURE | ||
|
|
||
| [id="configuring-podman-network-backend-for-{insights-iop-id}"] | ||
| = Configuring Podman network backend for {insights-iop} | ||
|
|
||
| [role="_abstract"] | ||
| {insights-iop} requires the netavark network backend for Podman. | ||
| Before enabling {insights-iop}, verify that the Podman backend is configured to use netavark. | ||
| The Container Network Interface (CNI) network backend and other network backends are not supported. | ||
|
|
||
| .Prerequisites | ||
| * Podman is installed. | ||
| ifdef::satellite[] | ||
| For more information, see {RHELDocsBaseURL}9/html/building_running_and_managing_containers/assembly_starting-with-containers_building-running-and-managing-containers#proc_getting-container-tools_assembly_starting-with-containers[Getting container tools] in _{RHEL}{nbsp}9 Building, running, and managing containers_. | ||
| endif::[] | ||
| ifndef::satellite[] | ||
| For more information, see https://podman.io/docs/installation#installing-on-linux[Installing Podman on Linux]. | ||
| endif::[] | ||
|
|
||
| .Procedure | ||
| . Verify your current Podman network backend configuration: | ||
| + | ||
| [options="nowrap", subs="+quotes,verbatim,attributes"] | ||
| ---- | ||
| # podman info | grep networkBackend | ||
| ---- | ||
| + | ||
| If the output shows `networkBackend: netavark`, your system is configured correctly. | ||
| You can proceed to enable {insights-iop}. | ||
|
|
||
| . If the output shows a different network backend, such as `networkBackend: cni`, migrate to netavark: | ||
| .. Copy the Podman configuration file if it does not exist: | ||
| + | ||
| [options="nowrap", subs="+quotes,verbatim,attributes"] | ||
| ---- | ||
| # cp /usr/share/containers/containers.conf /etc/containers/ | ||
| ---- | ||
|
|
||
| .. Edit `/etc/containers/containers.conf` and add or modify the `network_backend` setting in the `[network]` section: | ||
| + | ||
| [source, ini, options="nowrap", subs="+quotes,verbatim,attributes"] | ||
| ---- | ||
| [network] | ||
| network_backend="netavark" | ||
| ---- | ||
|
|
||
| .. Reset the Podman storage to apply the new backend: | ||
| + | ||
| [WARNING] | ||
| ==== | ||
| This command stops all existing containers and removes all container storage. | ||
| Ensure that you back up any important container data before proceeding. | ||
| ==== | ||
| + | ||
| [options="nowrap", subs="+quotes,verbatim,attributes"] | ||
| ---- | ||
| # podman system reset | ||
| ---- | ||
|
|
||
| .. Reboot the system: | ||
| + | ||
| [options="nowrap", subs="+quotes,verbatim,attributes"] | ||
| ---- | ||
| # reboot | ||
| ---- | ||
|
|
||
| .Verification | ||
| * Verify that the network backend is set to netavark: | ||
| + | ||
| [options="nowrap", subs="+quotes,verbatim,attributes"] | ||
| ---- | ||
| # podman info | grep networkBackend | ||
|
maximiliankolb marked this conversation as resolved.
|
||
| ---- | ||
| + | ||
| The output should show `networkBackend: netavark`. | ||
|
|
||
| ifdef::satellite[] | ||
| .Additional resources | ||
| * https://access.redhat.com/solutions/7055981[How to switch to netavark network backend in Podman in the Red{nbsp}Hat Knowledgebase] | ||
| * https://access.redhat.com/solutions/7029361[Alternative workaround for Podman network backend configuration in the Red{nbsp}Hat Knowledgebase] | ||
| endif::[] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.