Skip to content
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

Q35 machine type does not support IDE #136

Closed
bmagistro opened this issue Mar 18, 2024 · 1 comment · Fixed by #137
Closed

Q35 machine type does not support IDE #136

bmagistro opened this issue Mar 18, 2024 · 1 comment · Fixed by #137

Comments

@bmagistro
Copy link

When trying to use a cloud-init image based deployment with Foreman, the VM provisioning fails as the Q35 machine type does not support the IDE bus. This was broken by #127 a change similar to this fix was mentioned as part of #76 but does not look like it made it into the final set. I haven't been able to figure out the conditional check yet so do not have a pr but the beloow changes have been confirmed to work under q35. I have not looked to see if i440 supports sata allowing the logic to be skipped/deferred for now. If you have suggestions to query the machine, I can try to finish turning this into a pr.

xml.target(:dev => "hdc", :bus => "ide") --> xml.target(:dev => "sr0", :bus => "sata")
xml.address(:type => "drive", :controller => 0, :bus => 1, :unit => 0) --> xml.address(:type => "drive", :controller => 0, :bus => 0, :unit => 0)

This issue is mentioned in serval places

@smirta
Copy link
Contributor

smirta commented Jun 4, 2024

Hi @bmagistro, we ran into the same issue. I added a PR #137 but chose SCSI instead of SATA. Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants