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

create host from template: error Failed to create a compute XXX (Proxmox) instance YYY: undefined method `volid' for nil:NilClass #323

Open
betonmoewe opened this issue May 10, 2024 · 0 comments

Comments

@betonmoewe
Copy link

betonmoewe commented May 10, 2024

Describe the bug
I am trying to create a new host in my ProxMox cluster from an existing tremplate using Foreman / Katello. Unfortunately without success ... the deployment cancels with the following error message:
"Failed to create a compute sfravm-..... (Proxmox) instance sandy-kilborne...: undefined method `volid' for nil:NilClass
Unfortunately I have no idea where this comes from

To Reproduce
Steps to reproduce the behavior:

  1. go to 'create host'
  2. enter all needed information
  3. under os selecting "image based" and selecting the source image
  4. click "submit"
    -> error "unable to save"

Expected behavior
Foreman should create a new virtual machine

Screenshots
If applicable, add screenshots to help explain your problem.

Information:

  • Katello: 4.12.0
  • Foreman: 3,10.0
  • ProxMox plugin: 0.15.0
  • ProxMox: 8.2.2

Just tested with 0.15.1: Failed to create a compute sfravm-... (Proxmox) instance sheri-kroner....: ERF42-8301 [Foreman::Exception]: Failed to create file user-data: bash: -c: line 14: syntax error near unexpected token (' bash: -c: line 14: sudo: ['ALL=(ALL) ALL']'

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

No branches or pull requests

1 participant