-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
requested IP address X is not available in range #4526
Comments
I think this is related to #3759 |
So, this is fixed by #4086 as best I can tell, but unfortunately that fix doesn't seem to have migrated its way back to a version that's natively available on CentOS 7. Trying to update using https://cbs.centos.org/repos/virt7-container-common-candidate/x86_64/os/ gets me most of the way there, until I get hit with an error about trying to use
|
The default being crun there is probably a bug - @lsm5
…On Sun, Nov 17, 2019, 10:25 Erik Jacobs ***@***.***> wrote:
So, this is fixed by #4086
<#4086> as best I can tell, but
unfortunately that fix doesn't seem to have migrated its way back to a
version that's natively available on CentOS 7.
Trying to update using
https://cbs.centos.org/repos/virt7-container-common-candidate/x86_64/os/
gets me most of the way there, until I get hit with an error about trying
to use crun:
Error: error creating libpod runtime: default OCI runtime "crun" not
found: invalid argument
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4526>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB3AOCDU5DDBVEYC33UM6KTQUFO5XANCNFSM4JOKHA7A>
.
|
so, changing the default to |
Hello there, As I faced the same problem, and because of DNS problems (I'm using Debian Stable, so still no podman 4 for me), I wrote this dirty one-liner to do the work: #!/bin/sh podman inspect panamax_server |rg IPAddr|rg -oe "[[:digit:]].[[:digit:]]"|perl -pe 's|\n|| ; s||\n|' > "$HOSTS_FILE" $HOSTS_FILE needs of course be mounted to the container from which we want to access the target container (here panamax_server) using name instead of IP. Best, Ivan |
@ivan-jli please file a new issue. Thanks! |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
ERRO[0000] Error adding network: failed to allocate for range 0: requested IP address 10.88.0.11 is not available in range set 10.88.0.1-10.88.255.254
ERRO[0000] Error while adding pod to CNI network "podman": failed to allocate for range 0: requested IP address 10.88.0.11 is not available in range set 10.88.0.1-10.88.255.254
Error: unable to start container "shinobi": error configuring network namespace for container ba61003219c7d5e197c83de43030d9c16448e102a877a0d18df6cd5a8a9f8171: failed to allocate for range 0: requested IP address 10.88.0.11 is not available in range set 10.88.0.1-10.88.255.254
This container was running prior to a reboot. After reboot when attempting to start it, this error appears. This is happening for 2/3 containers that have an ip address specified.
Steps to reproduce the issue:
stop the container
reboot
attempt to start the container
Describe the results you received:
ERRO[0000] Error adding network: failed to allocate for range 0: requested IP address 10.88.0.11 is not available in range set 10.88.0.1-10.88.255.254
ERRO[0000] Error while adding pod to CNI network "podman": failed to allocate for range 0: requested IP address 10.88.0.11 is not available in range set 10.88.0.1-10.88.255.254
Error: unable to start container "shinobi": error configuring network namespace for container ba61003219c7d5e197c83de43030d9c16448e102a877a0d18df6cd5a8a9f8171: failed to allocate for range 0: requested IP address 10.88.0.11 is not available in range set 10.88.0.1-10.88.255.254
Describe the results you expected:
running container
Additional information you deem important (e.g. issue happens only occasionally):
Not sure it can be reproduced reliably because 1/3 containers using the ip stanza worked.
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Additional environment details (AWS, VirtualBox, physical, etc.):
n/a
The text was updated successfully, but these errors were encountered: