-
Notifications
You must be signed in to change notification settings - Fork 233
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
[BUG] Failed to update pull secret on the disk on Centos 9 Stream #3446
Comments
@danpawlik have you able to reproduce it constantly? |
Unfortunately yes. |
Also I can see |
thanks @praveenkumar . So on the VM, the file contains:
so it was not copied. I see a lot traceback in dmesg:
The odd think here is, that on Centos 8 Stream is working normally (same hypervisor that got AMD CPU, just instance has been rebuilt). I have done one more test on different Cloud Provider with same image and the result is.... it is working normally (but there was Intel CPU). I will try to dig more, what is breaking the crc start there. Maybe it would be helpful to others that got same issue. |
Workaround, ansible-playbook: ---
# This playbook deploy crc and prepare VM to make a snapshot, that later
# can be deployed in CI.
- hosts: crc.dev
become: true
tasks:
- name: Install packages
yum:
name:
- qemu-kvm-common
state: present
- name: Ensure CentOS runs with selinux permissive
selinux:
policy: targeted
state: permissive
- name: Enable nested virtualization
lineinfile:
path: /etc/modprobe.d/kvm.conf
regexp: '^#options kvm_amd nested=1'
line: 'options kvm_amd nested=1'
# From https://lore.kernel.org/lkml/20220830235537.4004585-8-seanjc@google.com/T/
- name: Disable ept
shell: |
sed -i 's/net.ifnames=0/net.ifnames=0 ept=0/g' /etc/default/grub
- name: Regenerate grub
shell: |
grub2-mkconfig -o /boot/grub2/grub.cfg
# REBOOT HOST. After applying playbook, it seems that it move forward. |
Still it does not deploy CRC. Created bug for kvm https://bugzilla.redhat.com/show_bug.cgi?id=2151878 |
For what it's worth, there has been multiple similar reports in the past (searching closed issues for "AMD Intel" might give more results) |
Marking as unsupported. This is not something we can resolve as this is relate to nested virtualization and the 'incompatiblity' (read existing bugs: https://marc.info/?l=kvm&m=166886061623174&w=2) with some AMD Ryzen/Epyc CPUs. |
Workaround on Centos 9 Stream: install kernel from elrepo.org. Steps:
|
General information
crc setup
before starting it (Yes/No)? - YesCRC version
CRC config
Host Operating System
Steps to reproduce
Expected
CRC will start normally.
Actual
Logs
https://gist.github.com/danpawlik/608fd45ce9e8642ce43baace625575d4
Before gather the logs try following if that fix your issue
Also it does not help.
The text was updated successfully, but these errors were encountered: