Remove an OpenStack instance directly from the database

Remove an OpenStack instance directly from the database Sometimes you just want to get rid of an OpenStack instance, but the nova CLI doesn't really do the job. I found a very useful script here [http://blog.arxcruz.net/deleting-openstack-instances-directly-from-database] to achieve this task, but I found two issues there.…

Create a rabbitmq administrator user

If you use Rabbitmq message service in OpenStack, and if you have installed the kilo release, then you probably have seen that every connection is broken between services (nova, neutron...) and RabbitMQ. AMQP server on controller:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 2 seconds Indeed, starting from…

How to use Puppet module in Foreman

You have installed Foreman... So, what's happen next ? How to use it ? Let's take an example. You wan't to automagically add vmware tools repo to all your VM. First step is to select a good APT module, like this one [https://forge.puppetlabs.com/mmattice/apt]. The current mmattice APT…

Easily control route redistribution using a route-map

Route map are useful to control route redistribution into OSPF, EIGRP or any other routing protocol. Let's start with an example : allow redistribution of all static route except those which are tagged with the number '8' ! router ospf 1 redistribute static subnets route-map STATIC ! ...... ! ip route 10.10.1.0…

How to make VLC my default video application in one command line ?

Just type this long command : What this command really do ? First, it selects the "Mime Types" block from the vlc.desktop file : grep "^MimeType=" /usr/share/applications/vlc.desktop Then we remove the "MimeType=" header : cut -d "=" -f 2 We've got all mime types in one line. So, we format…