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

Unable to create compute resource #106

Closed
taniahagan opened this issue Oct 1, 2019 · 3 comments
Closed

Unable to create compute resource #106

taniahagan opened this issue Oct 1, 2019 · 3 comments

Comments

@taniahagan
Copy link

Hi foreman_fog_proxmox team,

When trying to create a compute resource, via Infrastructure -> Compute Resources, I get the following message:


Unable to save

`:disable_proxy` parameter and `:proxy` parameter cannot both be set at the same time.

Server:

  • OS: CentOS Linux release 7.7.1908
  • Installed plugin via yum install tfm-rubygem-foreman_fog_proxmox which installed version 0.8.0
  • Foreman version: 1.22.1

I have tried looking at logs on the server, but failing to find a resolution. Any help much appreciated.

Many Thanks,
Tania

@m-bucher
Copy link
Contributor

m-bucher commented Oct 9, 2019

Hi Tania,

can you look into /var/log/foreman/production.log for more details.
I basically use the same foreman- and CentOS version.

Do you have a proxy-server configured that foreman_fog_proxmox should use?

@m-bucher
Copy link
Contributor

m-bucher commented Oct 9, 2019

I must admit I have built fog-proxmox and foreman_fog_proxmox myself and I think there might be a broken version of fog-proxmox in circualation.

Can you try replacing the version of fog-proxmox you got from rpm with the github master?
It should be in /opt/theforeman/tfm/root/usr/share/gems/gems/fog-proxmox-0.8.0

You can try replacing it by doing the following (this is only for testing, because rpm/yum will overwrite your changes eventually):

yum install git
cd /opt/theforeman/tfm/root/usr/share/gems/gems/
rm -fr fog-proxmox-0.8.0
git clone https://github.com/fog/fog-proxmox.git fog-proxmox-0.8.0
foreman-maintain service restart

If this fixes your problem, you need to open a Ticket at foreman-packaging

@taniahagan
Copy link
Author

Hi Markus,

That did indeed fix my issue, and I have opened a ticket at forman-packaging https://projects.theforeman.org/issues/28032.

Thank you for your help.
Tania

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

2 participants