Categories
OpenStack

Database query testing in OpenStack Neutron

Welcome to the exciting world of databases! At least for the project in OpenStack I know best, which is Neutron. Neutron, and if I’m not wrong all the OpenStack projects, use SQLAlchemy as ORM library. Here you can read how this ORM was introduced in OpenStack to be the only API to talk to the […]

Categories
Tech

Timer context in Python

Some time ago I created a timer class for Neutron. This class was a context manager with a defined timeout. This timeout was implemented using the Linux alarm clock. Once the clock finishes the countdown, sends an alarm signal to the calling process. The problem of this implementation is that is not possible to use […]

Categories
OpenStack Tech

Python multithreading

As commented in my introductory post, this blog pretends to be a kind of work diary, and sometimes will be the shoulder to cry on. In relation to threads, regardless of the programming language, a programmer needs to be mentally strong. Jokes aside, I would like first to introduce this post with some links to […]

Categories
Tech

How do I setup my development environment: git, vim and screen

Every software developer, regardless of the OS used, programming language or editors used, has its own predefined setup. We are creatures of habit, because that help us to improve our productivity. For example, I still use screen when I should have migrated to tmux. It use ctrl-b instead of ctrl-a… absolutely barbaric! (although it can […]

Categories
OpenStack Tech

OpenStack local git mirror

If you are an OpenStack developer, you will know about devstack. This deployment tool, used only for testing and development, will retrieve all needed OpenStack projects from a defined git server; by default https://opendev.org. The “stacking” process (collect all needed projects, install all dependencies and start the projects as configured) usually takes around 10 minutes. […]

Categories
Tech

How to quickly deploy your development virtual machines

It’s well know, for every software developer, that when you have been working in one or several projects, written in different languages, with external dependencies (libraries, modules, packages, etc.), for a long time in the same development machine, eventually you’ll need to format it and reinstall everything again. The mess is so complicated that is […]

Categories
Uncategorized

print(“Hello world”)

Hello everyone! Let me introduce myself. My name is Rodolfo Alonso and I’m an enthusiastic software developer. I’ve collaborated in propietary and open source projects and currently I’m focused in OpenStack. This blog pretends to be nothing else but a selective diary of what happened during my daily work, how I faced the problems I […]