After a fresh installation of Foreman, I got another weird error while try to add a host to foreman: # puppet agent --test Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed when searching for node node.example.com: Failed to find node.example.com via exec: Execution of '/etc/puppet/node.rb node.example.com' returned 1: Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run It turns out that issue is because of foreman proxy that it has not been created during installation. So need to create it manually. In foreman GUI: Infrastructure > Smart proxies > add new proxy or if there is any exist edit it and correct the entry of your proxy FQDN. It's something like https://node.example.com:8443 And again, after try to add new proxy, yet another bug: Unable to communicate with the proxy: ERF12-2530 [ProxyAPI::ProxyException]: Unable to detect features ([RestClient::RequestTi
Showing posts from July, 2014
- Other Apps
I needed to setup a local repository for our company Linux servers, there are thousands of files and packages are to be downloaded from internet repositories which is obviously cannot download each package one by one. Solution for me was to using "FlashGot" plugin in firebox browser. After installing FlashGot in firebox, you will browse to the repository site you want to download packages and right click to bring up context menu -> FlashGot all There we are multiples package files downloaded in a click of a mouse!