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

Creating LXC container broken in 15.0 #310

Closed
jacac opened this issue Jan 5, 2024 · 0 comments · Fixed by #317 or #318
Closed

Creating LXC container broken in 15.0 #310

jacac opened this issue Jan 5, 2024 · 0 comments · Fixed by #317 or #318

Comments

@jacac
Copy link

jacac commented Jan 5, 2024

Describe the bug
Since version 15.0 LXC container creation is broken. Looks like 39eb608 does not differentiate between KVM and LXC.

Error:
Expected([200]) <=> Actual(400 Bad Request) excon.error.response :body => "{\"data\":null,\"errors\":{\"numa\":\"property is not defined in schema and the schema does not allow additional properties\",\"bios\":\"property is not defined in schema and the schema does not allow additional properties\",\"cpu_type\":\"property is not defined in schema and the schema does not allow additional properties\",\"agent\":\"property is not defined in schema and the schema does not allow additional properties\",\"kvm\":\"property is not defined in schema and the schema does not allow additional properties\",\"scsihw\":\"property is not defined in schema and the schema does not allow additional properties\",\"sockets\":\"property is not defined in schema and the schema does not allow additional properties\",\"vga\":\"property is not defined in schema and the schema does not allow additional properties\"}}" :cookies => [ ] :headers => { "Cache-Control" => "max-age=0" "Connection" => "close" "Content-Length" => "792" "Content-Type" => "application/json;charset=UTF-8" "Date" => "Fri, 05 Jan 2024 18:50:53 GMT" "Expires" => "Fri, 05 Jan 2024 18:50:53 GMT" "Pragma" => "no-cache" "Server" => "pve-api-daemon/3.0" } :host => "px.example.com" :local_address => "1.1.1.1" :local_port => 41184 :method => "POST" :omit_default_port => false :path => "/api2/json/nodes/px01/lxc" :port => 8006 :query => nil :reason_phrase => "Parameter verification failed." :remote_ip => "10.9.41.14" :scheme => "https" :status => 400 :status_line => "HTTP/1.1 400 Parameter verification failed.\r\n"

Expected Behavior
Selecting the Type LXC container should only show settings available to containers.
image

Additional Context
fog-proxmox (0.15.0)
foreman_fog_proxmox (0.15.0)

@jacac jacac changed the title LXC creating broken in 15.0 Creating LXC container broken in 15.0 Jan 5, 2024
Manisha15 added a commit to ATIX-AG/foreman_fog_proxmox that referenced this issue Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant