Pages

Wednesday, March 4, 2015

Openstack Icehouse on Fedora 20 using RDO

Monday, March 2, 2015

Technodrone: Nova-Docker on Juno

Technodrone: Nova-Docker on Juno: Containers are hot. It is the latest buzzword. Unfortunately buzzwords are not always the right way to go, but I have been wanting to use co...

Thursday, February 19, 2015

OpenStack in Production: Using bitnami images with OpenStack

OpenStack in Production: Using bitnami images with OpenStack: At CERN, we generally use puppet to configure our production services using modules from puppetforge to quickly set up the appropriate par...

Thursday, January 15, 2015

Quick Tips on Making Your Code Python 3 Ready


Nice article on tips for making the python2 code to be python 3 ready
http://stackful-dev.com/quick-tips-on-making-your-code-python-3-ready.html

Wednesday, January 7, 2015

How to execute task on subset of hosts - Ansible

Host file

[root@tiber ~]# cat hosts.yml
[nodes]
tiber
po
docker

I want to run task on 2ND & 3RD HOSTS only.

[root@tiber ~]# cat play.yml
- hosts: all
  tasks:
   - shell: "hostname"
     when: inventory_hostname != play_hosts[0]
[root@tiber ~]# ansible-playbook -i hosts.yml play.yml
 [WARNING]: The version of gmp you have installed has a known issue regarding
timing vulnerabilities when used with pycrypto. If possible, you should update
it (ie. yum update gmp).


PLAY [all] ********************************************************************

GATHERING FACTS ***************************************************************
ok: [docker]
ok: [tiber]
ok: [po]

TASK: [shell hostname] ********************************************************
skipping: [tiber]
changed: [docker]
changed: [po]

PLAY RECAP ********************************************************************
docker                     : ok=2    changed=1    unreachable=0    failed=0
po                         : ok=2    changed=1    unreachable=0    failed=0
tiber                      : ok=1    changed=0    unreachable=0    failed=0


Friday, December 12, 2014