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

Proxmox 8.0.X support #283

Open
gertz22 opened this issue Jul 26, 2023 · 8 comments
Open

Proxmox 8.0.X support #283

gertz22 opened this issue Jul 26, 2023 · 8 comments

Comments

@gertz22
Copy link

gertz22 commented Jul 26, 2023

Hello I want to ask about Proxmox 8.0.X support? looks like Proxmox version Unknown is not semver suitable.
Thank you.

@phantomdez
Copy link

phantomdez commented Sep 13, 2023

I am guessing this is why I cannot get a listing of VMs or templates after setting up the compute resource. I was able to get a successful connection but couldn't associate VMs

Edit: Nevermind I was able to deploy a VM from it. I do have other issues but they are happening on proxmox 7.4 as well so I don't think this is really an issue with Version 8.x

@dsexton18
Copy link

Hello I want to ask about Proxmox 8.0.X support? looks like Proxmox version Unknown is not semver suitable. Thank you.

I get the same results. Unable to make to get the plugin to work with proxmox 8 .

@Manisha15
Copy link
Contributor

Hello I want to ask about Proxmox 8.0.X support? looks like Proxmox version Unknown is not semver suitable. Thank you.

I get the same results. Unable to make to get the plugin to work with proxmox 8 .

Which version of the plugin are you using? Is it still throwing error with 0.14.3 version?

@dsexton18
Copy link

dsexton18 commented Nov 16, 2023

Hello I want to ask about Proxmox 8.0.X support? looks like Proxmox version Unknown is not semver suitable. Thank you.

I get the same results. Unable to make to get the plugin to work with proxmox 8 .

Which version of the plugin are you using? Is it still throwing error with 0.14.3 version?

After upgrading to Foreman 3.8 and Katello 4.10 from 3.7 I was able to add my proxmox 8.0 server as a computer resource. So far it appears to work. I have not done much testing but it looks promising. Thanks for making my day. I added proxmox 8 using the ticket access. When time permits, I will try using user token.

@Toutzn
Copy link

Toutzn commented Jan 18, 2024

Yes, but not all CPU types are in the list. Also, if I select 2 sockets and 2 cores, in Proxmox it is placed with 2 socket and 1 cores.

Need all CPUs and Supported Kernel for FreeBSD. FreeBSD will work also with the Linux Kernel Config in ProxMox.

DEBIAN:
image

image

FREEBSD:
image

image

`
Running OS: Ubuntu 20.04LTS

Foreman 3.9.1

foreman_fog_proxmox 0.15.0
`

@mfstanek
Copy link

has anyone had any luck creating a VM on Proxmox 8.2?
I keep getting this error:

2024-05-16T22:23:45 [E|app|ad2d9ebf] Failed to save: Failed to create a compute PROXMOX (Proxmox) instance lela-longford.example.com: Expected([200]) <=> Actual(400 Bad Request) ad2d9ebf | excon.error.response ad2d9ebf | :body => "{"data":null,"errors":{"ostype":"value 'debian' does not have a value in the enumeration 'other, wxp, w2k, w2k3, w2k8, wvista, win7, win8, win10, win11, l24, l26, solaris'","arch":"value 'amd64' does not have a value in the enumeration 'x86_64, aarch64'"}}" ... ad2d9ebf | :reason_phrase => "Parameter verification failed."

using Foreman 3.10 and foreman_fog_proxmox 0.15.0

@Kariton
Copy link

Kariton commented Oct 2, 2024

Hello I want to ask about Proxmox 8.0.X support? looks like Proxmox version Unknown is not semver suitable. Thank you.

I get the same results. Unable to make to get the plugin to work with proxmox 8 .

Which version of the plugin are you using? Is it still throwing error with 0.14.3 version?

I think i got that issue when using auth token instead of password credentials.
need to recheck.
creds did work.

@Kariton
Copy link

Kariton commented Oct 2, 2024

has anyone had any luck creating a VM on Proxmox 8.2? I keep getting this error:

2024-05-16T22:23:45 [E|app|ad2d9ebf] Failed to save: Failed to create a compute PROXMOX (Proxmox) instance lela-longford.example.com: Expected([200]) <=> Actual(400 Bad Request) ad2d9ebf | excon.error.response ad2d9ebf | :body => "{"data":null,"errors":{"ostype":"value 'debian' does not have a value in the enumeration 'other, wxp, w2k, w2k3, w2k8, wvista, win7, win8, win10, win11, l24, l26, solaris'","arch":"value 'amd64' does not have a value in the enumeration 'x86_64, aarch64'"}}" ... ad2d9ebf | :reason_phrase => "Parameter verification failed."

using Foreman 3.10 and foreman_fog_proxmox 0.15.0

https://community.theforeman.org/t/ssl-error-on-create-image/37947/6

this helped me.
especially:

Deployment of hosts does not as it seems Proxmox API has significant changes.

Dirty workaround again

Edited foreman_fog_proxmox-0.15.0/app/helpers/proxmox_compute_selectors_helper.rb
Modified “def proxmox_archs_map” first line to read:

OpenStruct.new(id: 'x86_64', name: '64 bits')

NB! i386 is not even supported by API any more. And “arch” can only be set by root@pve. So I changed user at compute resource proxmox connection

Modified all def proxmox_ostypes_map except “Unmanaged” to read:

OpenStruct.new(id: ‘l26’, name: ‘Debian’)

NB! name: ‘Debian’ is only example. The workaround is id: ‘l26’.

"l26" is the new supported "os type" for every linux.
i interpret those values as "linux 2.4" and "linux > 2.6" eg. "6.x - 2.6 Kernel / 2.4 Kernel"

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

7 participants