简体   繁体   中英

foreman smart-proxy error to register puppet

I have installed foreman , foreman-proxy and puppet on same ubuntu 12.x box and try to add smart-proxy entry but i am getting following error any idea? I have drop DB and restarted but still same issue.

Started POST "/smart_proxies" for 10.10.50.15 at 2014-03-06 15:44:53 -0500
Processing by SmartProxiesController#create as */*
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"NwndUWNHb78ay/6KKVxDMPSb4TLwaPnNr7vMz06JwnU=", "smart_proxy"=>{"name"=>"a", "url"=>"https://spatel-optiplex-755.example.local:8443"}}
Failed to save: 
  Rendered smart_proxies/_form.html.erb (2.0ms)
  Rendered smart_proxies/new.html.erb within layouts/application (2.5ms)
  Rendered home/_user_dropdown.html.erb (1.1ms)
Read fragment views/tabs_and_title_records-1 0.1ms
  Rendered home/_topbar.html.erb (1.8ms)
  Rendered layouts/base.html.erb (3.0ms)
Completed 200 OK in 96.3ms (Views: 6.7ms | ActiveRecord: 0.6ms)

I had the same issue, did some investigation and came across this conversation: https://groups.google.com/forum/#!topic/foreman-users/BcP3XdN-Nbo

It seems as though in my case the default foreman-proxy installation enabled the 'Facts' feature only. For some reason it was insufficient to be saved on the foreman smart proxy list. After adding more features foreman was able to save the proxy with the list of provided features (excluding 'Facts').

Hope that helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM