Project

General

Profile

Bug #13689

The ssh keys bootstrap provisioning snippet doesn't work with global proxies

Added by Ivan Necas over 5 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

When using the global remote execution proxies, the keys don't propagate
to the provisioning template properly due to using `authorized` scope
when searching for the tempalates, while there is no user set in the context
of rendering the templates for hosts (interestingly enough, it does show
when doing a template preview)


Related issues

Related to Foreman - Bug #15599: Unattended controller can't access host parameters in kickstart templatesClosed2016-07-07

Associated revisions

Revision db3e8ee8 (diff)
Added by Ivan Necas over 5 years ago

Fixes #13689 - don't use authorized scope in provisioning template

The user is not set in context of provisioning, therefore the public
keys of the global proxies were not populated properly into the provisioned
hosts.

Revision 34010766
Added by Marek Hulán over 5 years ago

Merge pull request #156 from iNecas/fix-ssh-keys-seed-global-proxy

Fixes #13689 - don't use authorized scope in provisioning template

History

#1 Updated by Ivan Necas over 5 years ago

  • Subject changed from The ssh keys bootstrap provisioning doesnt work to The ssh keys bootstrap provisioning snippet doesn't work with global proxies
  • Description updated (diff)
  • Status changed from New to Assigned
  • Assignee set to Ivan Necas

#2 Updated by The Foreman Bot over 5 years ago

  • Status changed from Assigned to Ready For Testing
  • Target version set to 98
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/156 added

#3 Updated by Marek Hulán over 5 years ago

  • Legacy Backlogs Release (now unused) set to 125

#4 Updated by Ivan Necas over 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#5 Updated by Ivan Necas about 5 years ago

  • Related to Bug #15599: Unattended controller can't access host parameters in kickstart templates added

Also available in: Atom PDF