Archive 2017

Remote console via SSH with own bashrc

Published at August 9, 2017 ·  1 min read

I think, most of us have customized bash or zsh environment. I’m too lazy to switch from bash to zsh, so I use bash on my laptop. There are some benefits: bash is still the more popular shell, so it exists on mostly Linux-based servers. That’s why I try to use my .bashrc wherever it’s possible. But on a remote server, sometimes you don’t have the own user account. That’s why I’ve added a very simple alias for ssh command to mine [....


This test is too slow

Published at July 28, 2017 ·  1 min read

Sometimes we need to understand why unit-test is so slow. Sometimes I’m to lazy to go deep to understand why. That’s why I’ve created a very simple profiled class to make unit-tests profiling fast and simple. I used only cProfile, so it will work on any Python project. It’s so simple, so I can’t talk about it more. You can install it via ‘pip install ProfiledTest’ and use it like:...


Using OpenStack Cinder with LIO target

Published at February 23, 2017 ·  2 min read

What is LIO target? Linux-OI Target is a Linux SCSI target introduced in a kernel v.2.6.38 and supports different fabrics modules like FibreChannel, iSCSI, iSER, etc. It works in a kernel space, so it’s faster than tgtd which is used in Cinder by default. Why do we still use tgtd instead of more faster LIO in Cinder by default? It’s only because we have to support rolling upgrades and we don’t know how to migrate from TGTd to LIO in a such way and pass Grenade successfully....




Archives

2018 (2)
2017 (3)
2016 (2)
2015 (3)
2014 (5)
2013 (17)
2012 (22)
2011 (35)
2010 (25)
2009 (35)
2008 (32)
2007 (2)