crc: Getting exception upon CRC setup - error: internal error: Network is already in use by interface crc"
General information
- OS: Linux
- Hypervisor:
- Did you run
crc setupbefore starting it (Yes)? - Running CRC on: VM
CRC version
# Put `crc version` output here
CRC version 2.12.0+74565a6
OpenShift version 4.11.18
Podman version 4.2.0
## CRC status
```bash
# Put `crc status --log-level debug` output here
Machine does not exist. Use 'crc start to create it```
## CRC config
```bash
# Put `crc config view` output here
Host Operating System
# Put the output of `cat /etc/os-release` in case of Linux
# put the output of `sw_vers` in case of Mac
# Put the output of `systeminfo` in case of Windows
Steps to reproduce
just ran ‘crc setup’ and got the above mentioned exception – Please note it was working earlier , and suddenly this problem cropped up with no change as such.
Expected
Actual
Logs
Before gather the logs try following if that fix your issue
$ crc delete -f
$ crc cleanup
$ crc setup
$ crc start --log-level debug
Please consider posting the output of crc start --log-level debug on http://gist.github.com/ and post the link in the issue.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 16 (8 by maintainers)
During debugging session looks like the RHEL-8 image is used by @srigitsri is provided by IT and had some wired modification which doesn’t allow to delete the
crcinterface fromifconfig -aeven when from libvirt side we destroyed and undefine thecrcnetwork. So I need to manually delete thecrcinterface usingnmclicommandAfter that
crc setupworks as expected and alsocrc start. Closing this issue.@srigitsri looks like you already have
crcnetwork so might trycrc cleanupwhich remove that network.