How to fix “Something went wrong. Please reboot your vehicle” in the AWS Deepracer Web Console

If you are seeing an error like this while trying to connect to your car’s console you need to perform the following actions:

  1. Connect your AWS DeepRacer vehicle to a monitor. You’ll need an HDMI-to-HDMI, HDMI-to-DVI, or similar cable. Insert a compatable end of the cable into the HDMI port on the vehicle’s chassis and plug the other end into a supported display port on the monitor.
  2. Connect a USB keyboard and mouse. There are three AWS DeepRacer compute module USB ports in the front of the vehicle, on either side of, and including the port the camera is plugged into. A fourth USB port is found at the back of the vehicle. From above, the USB port is located in the space between the compute battery and the LED tail light.
  3. Turn on your DeepRacer and wait until the Login screen appears. Once it appears, login using username and password “deepracer”.
  4. Open a terminal and run:
sudo apt-get update
sudo apt remove aws-deepracer-core
sudo apt-get upgrade # I believe this step might not be necessary but it's what I have done while troubleshooting my car
sudo apt install aws-deepracer-core aws-deepracer-intel-dldt aws-deepracer-pyudev aws-deepracer-sample-models aws-deepracer-util aws-deepracer-webserver
sudo reboot

Once your Car booted you should be able to use the Web Console again.

Cross Account IAM Role for ECS deployments

In my setup I have 2 accounts:

Account A runs CodeCommit + CodePipeline

Account B has an ECS cluster

Most of the steps I did are described in the Create a Pipeline in CodePipeline That Uses Resources guide from AWS.

However, my setup is to deploy to ECS using CodePipeline without using CodeDeploy. So I had to create a CrossAccount role with the following policies.

Policy to access KMS key in account A

     "Version": "2012-10-17",
     "Statement": [
             "Sid": "Allow access to KMS key on Account A",
             "Action": [
           "Effect": "Allow",             
           "Resource": "KEYARN"

Policy to allow access to S3 bucket in account A:

    "Version": "2012-10-17",
    "Statement": [
            "Sid": "Allow access to S3 bucket in Account A",
            "Effect": "Allow",
            "Action": "s3:*",
            "Resource": [

Policy to allow access to ECS in account B

    "Version": "2012-10-17",
    "Statement": [
            "Sid": "Allow access to ECS",
            "Effect": "Allow",
            "Action": "ecs:*",
            "Resource": [

Policy to pass the role to ECS:

    "Version": "2012-10-17",
    "Statement": [
            "Action": [
            "Resource": "*",
            "Effect": "Allow",
            "Condition": {
                "StringEqualsIfExists": {
                    "iam:PassedToService": [

Without these policies I was getting a lot of different errors in CodePipeline like “The provided role does not have sufficient permissions to access ECS” or “The provided role does not have sufficient permissions (to access certain bucket)..

Fedora 23 image for Hummingboard/Cubox-i

I have created a Fedora 23 image for Hummingboard/Cubox-i. I will also create a Fedora 24 image as soon as it is released.

wget -O Fedora-Minimal-armhfp-cubox-i_hb-23-10-sda.raw.xz

The MD5 hash of this file is aa854909d5e3c9f76a964635b9c4f790

Make a dump of your MySQL DB on OpenShift

If you want to make a backup of your database or just want to create a dump to migrate your db to another provider, you need to do these steps:

1. Connect to your running application trough SSH. To do that you need to click this link on OpenShift and run the displayed command.

Screen Shot 2016-05-16 at 11.56.00 AM

2. Create the dump using this command:

gzip dump.sql

3. After that you can scp the dump to any location you want.

WordPress configuration for OpenShift

If you are trying to upload a WordPress site to OpenShift you will have to make the following adjustments to your wp-config.php file:

// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */

/** MySQL database username */

/** MySQL database password */

/** MySQL hostname */

This will help WordPress to use the environment variables that OpenShift setup to connect to MySQL.

Fedora 21 LXDE and MATE versions for HummingBoard

I have created 2 Fedora 21 images for the HummingBoard and Cubox-i.

I will create a XFCE based image too, soon.
In order to extend the root filesystem on this image, you need to run:

fdisk /dev/location-of-your-fedora-arm-media << EOF


partprobe /dev/location-of-your-fedora-arm-media
e2fsck -f /dev/location-of-your-fedora-arm-media3
resize2fs /dev/location-of-your-fedora-arm-media3

More information about Fedora on these boards can be found on this github page

Fedora Day Buenos Aires 2014

A month ago (or so) we decided to start organizing an event focused on Fedora here in Buenos Aires. The objectives for the event were:

  • Get new contributors for the local Fedora community
  • Grow the interest and show more presence of Fedora on the local community
  • Bring all the ambassadors from Argentina together to talk about FUDCon 2015
  • Fedora 21 Release Party

The organization was good, we thought of all the required tasks and we assigned owners for each one. Eduardo Echeverria (echevemaster) helped a lot by setting up the event’s websiteLeo, Rino, Mariela (our new ambassador) and myself divided the remaining tasks.

We met Leo and Fabio who came from Brasil on Wednesday night for an organizational dinner. We had a great time at “La Casa Del Queso”, talking and sharing ideas about the Fedora Day and the bid we are going to present for FUDCon 2015.

On Saturday, the day of the event, we went to the UTN early in the morning to set everything up.We met with Matias Maceira and Valentin Basel who came from Cordoba, Julio Sanchez who came from Tierra del Fuego and Adrian Soliard who came from Entre Rios.

I also have to mention that Oscar Perez from the UTN has been very kind and helpful since  the days prior to the event. He did all the paper work on the university to request the rooms and the equipment that we needed. The day of the event he also showed a very professional aptitude, I like that we can count with someone as him to organize events there.

The event was great, we did a short introduction about how to contribute and then I gave a talk for new ambassadors while Fabio was giving a talk about Fedora QA and Rino another one about packaging.

Then we had a short interval for lunch on the UTN buffet and then we continue with the talks that were scheduled.

At the end of the day we picked  up a winner of a blue Fedora that I brought.  The winner very happy with her new Fedora.

At night we went to o a local pub to celebrate the success of the day.

Some facts about this event:

  • Jonatan Madera and Ivan Weinberg were named ambassadors since they helped a lot with the activities on the day and organization previous to the event.
  • We got 3 new candidates to join the ambassadors team that will be mentored by me and 2 new candidates to join the packaging team.

I also want to thank Fabio and Leo who came from Brasil and all the guys who came from all different Argentinian provinces.

Some pictures

Organizational dinner

Fedora Day

Release Party on the pub

Conferencia Internacional de Software Libre 2014

Last week I attended CISL. The event was good, several people came to our stand to talk about Fedora and ARM (I brought a HummingBoard and a Raspberry Pi).
I had the pleasure of meeting with Jon “maddog” Hall, director of Linux International. We took a picture together and then he told me about the community effort of translating assembler code into C or ASM compatible with ARMv8+ (aarch64).

Two candidates to the ambssadors team also came to talk and learn more about FOSS events.


La semana pasada estuve en la CISL. El evento estuvo bueno, bastante gente se acerco a nuestro stand a hablar sobre Fedora y ARM . (Yo lleve una HummingBoard y una Raspberry Pi)
También tuve la oportunidad de conocer a Jon “maddog” Hall, director de Linux International. Nos tomamos una foto juntos y después me contó de la iniciativa de traducir código ensamblador a C o código ensamblador compatible con ARMv8+ (aarch64).

Dos candidatos a embajadores también vinieron a charlar y aprender más sobre eventos de software libre.

HummingBoard, my new toy.

Last month I was gratefully surprised by an email from Germany. Someone  had seen my blog (yay!) and was interested in sending me a Cubox-i or a HummingBoard for free (double yay!).

It was hard to make the call, but I decided to request a HummingBoard, mainly because of the GPIO socket (General Purpose Input-Output). GPIO allows you to connect different electronic components to play with them and do robots and other cool things.

After several months and several hours doing paperwork in Customs, I finally got it. Compared with the Raspberry Pi, the HummingBoard has more RAM  (1GB versus 512MB), and more CPU (2 cores versus 1) and it also includes a SPDIF audio output.

Very grateful with the new toy I already could run Fedora on it. In order to do that, I had to download an image from this GitHub repo. There are also instructions to build the image from scratch and I am going to try that later.

A few days ago, Peter Robinsion mentioned on his blog that the HummingBoard will be one of the primary devices for Fedora ARM on Fedora 21. This basically means, that there will be a lot of testing on this device and I will be part of it for sure.

Fedora has supported the architecture of the HummingBoard (armhfp), for several releases. All the Fedora repositories and some third party ones like RPMFusion have a lot of software that can be easily installed on this device. That is something I noticed that unfortunately is missing on the Raspberry Pi with Pidora.

These are some of the pics I took of the HummingBoard:

El mes pasado fui gratamente sorprendido por un correo electrónico desde Alemania, donde me comentaban que habían visto mi blog y que estaban interesados en mandarme un dispositivo Cubox-i o HummingBoard gratis.

Fue difícil la decisión pero opte por la HummingBoard ya que incluye un socket  GPIO (General Purpose Input-Output)  el cual permite conectar diferentes componentes electrónicos para hacer cosas con robotica, gomotica, etc.

Después de varios meses de espera y varias horas en la aduana, finalmente la recibí. En comparación con la Raspberry Pi, la HummingBoard tiene más memoria RAM (1GB contra 512MB), más CPU (2 cores, contra 1) y entre cosas trae salida de audio SPDIF.

Muy agradecido con el nuevo chiche, ya pude  correr Fedora en él. Para poder hacerlo tuve que descargar una imagen de GitHub. En el mismo repo de GitHub se pueden encontrar instrucciones para compilar la imagen desde cero.

Hace algunos días, Peter Robinsion posteo en su blog que la HummingBoard sera uno de los dispositivos principales para Fedora ARM en Fedora 21. Por lo cual, va a ser uno de los dispositivos mas testeados y seguramente voy a ser parte de ello.

Fedora ya soporta desde hace varias versiones la arquitectura de la HummingBoard (armhfp), por lo cual todo el software de Fedora y hasta de algunos repositorios de terceros como RPMFusion están completamente disponible para descargar. Eso es algo que lamentablemente falta ver para la Raspberry Pi con Pidora.

Les dejo algunas imágenes de la HummingBoard:

Video sobre la FLISOL 2014

La agencia de noticias TELAM realizó este video cobertura de la FLISOL. Se puede ver en el mismo el impacto que tuvo Fedora en la FLISOL este año.

The TELAM news agency created this video about the FLISOL in Buenos Aires. If you take a look at it, you can see the impact of Fedora on this event.