Project

General

Profile

Bug #35809

smart_proxy_ansible needs smart_proxy_rex, but installer doesn't set it up automatically

Added by Evgeni Golov about 2 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman modules
Target version:
Difficulty:
easy
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

if one tries to use --enable-foreman-proxy-plugin-ansible without --enable-foreman-proxy-plugin-remote-execution, installer fails with:

2022-11-30 15:35:52 [ERROR ] [configure] Error making POST request to Foreman at https://foreman.internal.pcfe.net/api/v2/smart_proxies: Response: 500 Internal Server Error: Check /var/log/foreman/production.log on foreman.internal.pcfe.net for detailed information
2022-11-30 15:35:52 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foreman.internal.pcfe.net]/ensure: change from 'absent' to 'present' failed: Error making POST request to Foreman at https://foreman.internal.pcfe.net/api/v2/smart_proxies: Response: 500 Internal Server Error: Check /var/log/foreman/production.log on foreman.internal.pcfe.net for detailed information
2022-11-30 15:35:52 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foreman.internal.pcfe.net]: Failed to call refresh: Error making GET request to Foreman at https://foreman.internal.pcfe.net/api/v2/smart_proxies: Response: 500 Internal Server Error: Check /var/log/foreman/production.log on foreman.internal.pcfe.net for detailed information
2022-11-30 15:35:52 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foreman.internal.pcfe.net]: Error making GET request to Foreman at https://foreman.internal.pcfe.net/api/v2/smart_proxies: Response: 500 Internal Server Error: Check /var/log/foreman/production.log on foreman.internal.pcfe.net for detailed information
2022-11-30 15:35:56 [NOTICE] [configure] System configuration has finished.

because the SSH key is not deployed

Associated revisions

Revision f2479913 (diff)
Added by Evgeni Golov about 2 months ago

Fixes #35809 - always enable rex when enabling ansible

sp_ansible depends on sp_rex to work, but we never properly setup the
later unless the user explicitly also asks for it

History

#1 Updated by The Foreman Bot about 2 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/puppet-foreman_proxy/pull/791 added

#2 Updated by The Foreman Bot about 2 months ago

  • Fixed in Releases 3.6.0 added

#3 Updated by Evgeni Golov about 2 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Evgeni Golov about 2 months ago

  • Target version set to 3.5.0
  • Assignee deleted (Evgeni Golov)
  • Category deleted (Foreman modules)
  • Fixed in Releases deleted (3.6.0)

#5 Updated by Evgeni Golov about 2 months ago

  • Assignee set to Evgeni Golov
  • Category set to Foreman modules
  • Fixed in Releases 3.6.0 added

#6 Updated by Ewoud Kohl van Wijngaarden about 1 month ago

  • Triaged changed from No to Yes
  • Fixed in Releases 3.5.0 added
  • Fixed in Releases deleted (3.6.0)

Also available in: Atom PDF