PyCon Taiwan 2017, Taipei

I have been going to PyCon India since the 2014 edition and have only missed PyCon Pune, the new regional PyCon that we have which was held at the start of this year. Every year? Yes. But why? I dunno, maybe because I love python too much? Also partly because it’s the only time in the year where I get to meet all my friends in the Python community. But this year was a little different. ...

June 12, 2017 · 5 min · Tasdik Rahman

Implementing Role Based Access Control

You can find the python module for implementing RBAC0 here at https://github.com/tasdikrahman/easyrbac Main Idea behind it If I have some 100 users in my system and for each user. I need to have some form of ACL using which the system makes choices whether they should be having authorisation for different actions on resources. Meaning, only the actors should be able to perform only those actions for which they are having authorisation. ...

June 1, 2017 · 4 min · Tasdik Rahman

Learnings from analyzing my compromised server (Linode)

DISCLAIMER: All views presented are personal and not that of my employers or anyone else for that matter. In no occasion do I blame Linode for this security breach. It was because I did not follow the best practices which you will read and not repeat again. Yesterday, I was having a great day! I had the daily goal of walking 6000 steps done. Thanks to my swanky new Mi band 1 (bade goodbye to my Sony SWR10). Wrote about installing ovirt-engine using an ansible-playbook in a post yesterday. My mom wasn’t telling me for a change to get a haircut and suggested I start packing some proper clothes (she means washed and ironed) for my upcoming trip to Taiwan which would be my first international trip. ...

May 25, 2017 · 13 min · Tasdik Rahman

Using Ansible Playbooks to Install oVirt 4.1 on centOS 7 (Linode)

In my previous post, I played around how to install ovirt-engine on a remote VM. Turns out we can automate the whole process using ansible playbooks! Secondly, I have thought of shifting from digitalocean to linode. Why? Well, first off. It’s not that I don’t like digitalocean. It’s just that the prices for the VMS that I’am provisioning, are getting too high for me. For a 4GB VM with 2 cores and 60GB of SSD to spare with. I am getting some 4TB of network I/O. 4TB for me is generous. All this adds up to a damage of $40/month or roughly speaking, $0.060/hour. ...

May 24, 2017 · 4 min · Tasdik Rahman

Installing oVirt 4.1 on centOS 7 (DigitalOcean)

Was trying to install oVirt engine on a VM deployed on DigitalOcean. My learnings from it are documented here. Installing oVirt Engine I would concentrate on the part of just installing oVirt-engine as I had a fair share of problems while doing so. The VM I am installing it on is a 4GB centOS 7 box with 80GB of SSD to spare for. Also, make sure you read through the whole requirements mentioned on the official docs while going forward with this. ...

May 21, 2017 · 8 min · Tasdik Rahman

Community bonding period, GSoC 2017 with oVirt org

A lot has happened over the last few weeks. Chelsea won the premiership and that too with a comfortable lead. Dominance is something which we definitely had in the premiership. But I must say, West Brom did put up a good show. The same day, WannaCry Ransomware started it’s havoc. If you are affected, be sure to check out wanawiki and wanadecrypt. Benjamin does a wonderful job in explaining the intrinsic details of the tools in this blog post. ...

May 20, 2017 · 2 min · Tasdik Rahman

Making of Trumporate: Building markovipy - Part 1

Do you even read comics? Kiddin. Between, I love reading Calvin and Hobbes. It’s something which I keep re-reading their well worn collections, maybe for the n-th time. The thing which keeps me hooked to it maybe the blunt truthfulness of strip. Haven’t read any? I like this one because of its simplicity. This one makes me smile all the time. xkcd is the only thing that comes close in comic strips which I visit frequently. ...

May 6, 2017 · 6 min · Tasdik Rahman

Hello oVirt, GSoC 2017

So Chelsea won their last Premier league match against Everton hands down last Sunday. And we had a very comfortable win I would say. Pedro’s 25-yard stunner, Gary Cahill’s close-range finish and Willian’s tap-in kept us ahead of The toffees. Courtois got his much deserved clean sheet. Wouldn’t be wrong to say that we had a great day. We are just 3 wins away from the premier league title with Tottenham right behind our backs. ...

May 4, 2017 · 3 min · Tasdik Rahman

Testing your ansible roles using travis-CI

NOTE: The ansible playbook written here can be found at tasdikrahman/ansible-bootstrap-server Continous Integration Simply put with each commit that you are making to shared repository, which is then verified by an automated build. This helps in detection of errors early on. If you are new to this development style. There are plenty of places which explain will help you understand. This practice in itself is quite old. CI/CD anyone? But I am not writing this to explain what is CI right? ...

April 6, 2017 · 5 min · Tasdik Rahman

Organising tasks in roles using Ansible

NOTE: The ansible playbook written here can be found at tasdikrahman/ansible-playbook Roles are nothing but a further abstraction of making your playbook more modular. If you have played around with the ansible-playbook command. You might have noticed the common pattern of repeating tasks which you did some or the other time back. Ansible roles provide you a way to reuse tasks(or roles for that matter). Imagine this to be a very similar concept writing Object oriented code. ...

March 19, 2017 · 4 min · Tasdik Rahman