Yearly Archives: 2019

Jenkins: a job to check a Github organization’s public repositories list
0 (0)

16 April 2019

Proceeding with a Github repositories checker. To recall: the idea is to have such a check in case if somebody from developers accidentally will share our project’s private repository as public, or will create a public repository instead of making it as a private one – we will get a Slack alarm about such a… Read More: Jenkins: a job to check a Github organization’s public repositories… »

Loading

Redis: replication, part 4 – writing an Ansible role fore the Master-Slave replication with Redis Sentinel provisioning
0 (0)

15 April 2019

The next post from the Redis replication series. Previous parts: Redis: replication, part 1 – an overview. Replication vs Sharding. Sentinel vs Cluster. Redis topology. Redis: replication, part 2 – Master-Slave replication, and Redis Sentinel Redis: replication, part 3 – redis-py and work with Redis Sentinel from Python The task now is to write an… Read More: Redis: replication, part 4 – writing an Ansible role fore… »

Loading

Arch Linux: Albion Online – Unable to preload the following plugins: libSDL2-2.0.so.0
0 (0)

14 April 2019

Didn’t play in Albion Online for a while, but recalled about it and tried to play on my Arch Linux. It works fine from the Steam client, but I bought with a start package some time ago and can’t log in to Steam’s version with my old credentials. Okay – download game from the https://albiononline.com/ru/download,… Read More: Arch Linux: Albion Online – Unable to preload the following… »

Loading

Go: checking public repositories list in Github. Go slices comparison. The first Golang experience.
0 (0)

13 April 2019

The task is to write a tool which will be started from a Jenkin’s job by a cron and will check an organization’s public repositories list in the Github. A Docker-image build and a Jenkins job are described in the Jenkins: a job to check a Github organization’s public repositories list post. Then it has… Read More: Go: checking public repositories list in Github. Go slices comparison.… »

Loading

Redis: Sentinel – bind 0.0.0.0, the localhost issue and the announce-ip option
0 (0)

10 April 2019

Originally, in a Sentinel’s configs, I have used the bind 0.0.0.0 to make them accessible from external hosts. Because of this when I started rolling out this setup on a real environment faced with an issue when Sentinels could not determine a Master host and other Sentinel hosts. In this post – such an issue… Read More: Redis: Sentinel – bind 0.0.0.0, the localhost issue and the… »

Loading

Ansible: get a target host’s IP
0 (0)

9 April 2019

The task is to get a host’s IP during executing an Ansible task. Below – two examples of how this can be done. Example 1 – hostvars See the documentation here>>>. Code: – name: Test hosts list debug: msg: “{{ hostvars[inventory_hostname][‘ansible_default_ipv4’][‘address’] }}” Run it: [simterm] … TASK [test : Test hosts list] **** ok: [dev.backend-app1-internal.example.com]… Read More: Ansible: get a target host’s IP0 (0) »

Loading

Atom: useful plugins
0 (0)

8 April 2019

Usually, I’m using vim almost for everything excepting big Python projects (which happen rarely last time). In such cases, I have PyCharm, which is also used for AWS CloudFormation templates with the aws-cloudformation plugin. For the  Go lang programmes I have used vim with the vim-go plugin but on last weekend I tried the Atom… Read More: Atom: useful plugins0 (0) »

Loading

MySQL/MariaDB: like Petya ransomware for MySQL and ‘root’@’%’ access
0 (0)

3 April 2019

This story happened on 10/06/2017, adding this post in English now. The original post (Rus) was written almost right after the well-known Not a Petya attack in Ukraine – that’s why it’s used in the title. I had a new project assigned to me. When I started its existing setup investigation – was just shocked.… Read More: MySQL/MariaDB: like Petya ransomware for MySQL and ‘root’@’%’ access0 (0) »

Loading

Redis: Can’t open the log file: Read-only file system
0 (0)

3 April 2019

Have a new Redis service which has to run alongside with one already existing During starting this new service – it fails with the Can’t open the log file: Read-only file system error, although /var/log and log file itself have correct permissions. The root cause was not very obvious so in this post – its… Read More: Redis: Can’t open the log file: Read-only file system0 (0) »

Loading

JetBrains Upsource: installation, configuration on Linux with NGINX and SSL and PyCharm integration
0 (0)

2 April 2019

Upsource is a self-hosted service from JetBrains for code reviews by teams of developers which can be integrated with any IDE from JetBrains. Is a Java-based application with Apache Cassandra as a backend for storing data and indexes. Minima requirements – 8 GiB memory on a host – not surprise at all. Up to 10… Read More: JetBrains Upsource: installation, configuration on Linux with NGINX and SSL… »

Loading