Showing posts from July, 2014

Foreman fresh installation issue on Foreman proxy

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 Failed to find via exec: Execution of '/etc/puppet/node.rb' 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 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

Download Repositories packages with flashgot

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!