In this article, we discuss the use of Nginx upstream module for HTTP and CGI (FastCGI) requests. Using Nginx upstream module is essential for scaling…
List Openstack container’s options with the swift command-line client – capabilities command
First, you need to install swift command-line utility and second, install the command-line tool to manage your account: Install OpenStack swift client only With the…
ansible – using ansible vault with copy module to decrypt on-the-fly files
Here is an interesting tip for all who what to protect the sensitive information with ansible. Our example is simple enough – we want to…
ansible – restart a (nginx) service only if it is running and the configuration is ok
Another ansible quick tip showing how to restart a program properly. We want to restart the program or the service only if it is running…
ansible – insert after only if the pattern exists and the new insert is not there
Here is a quick ansible tip for system administrators for the ansible lineinfile. Imagine you want to insert a line after a word (or a…
First ansible use – install and execute a single command or multiple tasks in a playbook
This article is to show you how easy is to use automation tools for managing your servers. If you are new to ansible this article…
DBusException – Could not get owner of name ‘org.freedesktop.secrets’: no such name
There are programs, which heavily depend on a password store. Not sure why they cannot live without it but if you get errors of the…
aptly publish ERROR: unable to publish: unable to process packages: error linking file to
We’ve encountered the following error when issuing a publish command: And the snapshot had failed to publish. Check if the file is “aptly:aptly” (or the…
Recovering MD array and mdadm: Cannot get array info for /dev/md0
What a case! A long story short one of our disks got a bad disk in a software RAID1 setup and when we tried replacing…
aptly publish: gpg: no default secret key: secret key not available
This is also a common error in a typical aptly installation. The other two common errors related to the GPG keys are: aptly publish: ERROR:…