Open rohanKanojia opened 1 month ago
sudo virt-install --name crc --vcpus 6 --memory 14336 --arch=x86_64 --disk path=/var/lib/libvirt/crc/crc.qcow2,size=31 --network network=crc,mac=52:54:00:ee:42:e1 --os-variant rhel9-unknown --nographics --cdrom /var/lib/libvirt/crc/rhcos-live.iso --events on_reboot=restart --autoconsole none --boot uefi --wait
We could change -nographics
to -graphics vnc
to make it easier to debug such situations. --console pty,target_type=virtio
or -serial pty
would also be useful to have for debugging purposes if they are not there by default.
https://github.com/okd-project/okd/discussions/2015 looks like OKD is broken and workaround as of now use RHCOS. Will try that also.
okd-project/okd#2015 looks like OKD is broken and workaround as of now use RHCOS. Will try that also.
The whole point of OKD is to not depend on RH-content, I'm not sure it's really useful to get it to work with RHCOS base images.
The whole point of OKD is to not depend on RH-content, I'm not sure it's really useful to get it to work with RHCOS base images.
Yes, but this is only for initial start and then it would pivot to SCOS (centos stream core os) so our final bundle wouldn't be having any RH-content.
The whole point of OKD is to not depend on RH-content, I'm not sure it's really useful to get it to work with RHCOS base images.
Yes, but this is only for initial start and then it would pivot to SCOS (centos stream core os) so our final bundle wouldn't be having any RH-content.
Ah ok, that's better, thanks for the additional details!
So when trying with RHCOS instead FCOS is also not working and it is hang during pivoting (will check without uefi also) :(
Describe the Issue
:warning: I'm not 100% sure whether it's an actual issue or whether some problem in snc. Most probably it's due to some misconfiguration on my side.
When I'm trying to follow the instructions provided on Building SNC for OKD 4, my script seems to be stuck at this phase since forever:
I'm trying this for the first time, so it could be due to some misconfiguration from my side.
Check
virsh
seems to indicate that crc is still running:SNC version
I was trying to build OKD bundle based on this branch 1628dfa759c4765402d10943aaea37d4cf7bd141 (it already got merged to main)
Component
I'm not sure which component this issue belongs to, perhaps it could be part of release pipeline.
Steps to reproduce
Here are the steps I followed:
export OKD_VERSION=4.16.0-0.okd-scos-2024-08-21-155613
export OPENSHIFT_PULL_SECRET_PATH="/tmp/pull_secret.json"
./snc.sh
Expected behavior
The expected behavior for the script is to terminate at some point, the script could be improved to show some verbose logs so that the user knows what's happening in the background.
Environment
Linux (Fedora 40)
SNC Script Complete Logs