Cloud Infra, OpenStack, Uncategorized

OpenStack Summit Barcelona 2016

IMG_1868.JPG

OpenStack Summit in Barcelona is now officially over. The Summit happened between October 25 and 28th in Barcelona, Spain.

This being my first Summit, I was excited about what to see and who I would meet during the conference 4 days.  The fact that I had the chance to deliver two presentations alongside my team members.

Since this was the  OpenStack Summit, we could not go on without, well having  OpenStack, so we brought one own. And it was great ! With us this year, we brought the Dell EMC VxRack Neutrino, a hyperconverged turn-key OpenStack solution. Neutrino really shined during the Summit as more and more Stackers were curious wether or not we  really had a running rack or just a gimmick blinking lights. For folks who are still wondering, we did have the real deal with running workloads on it.

Presentations –

With all of the activities during the Summit, it was hard to see all of them while on site, but I did manage to attend a few of them while also presenting.

Without further ado, here’s what I’ve presented and also some of the interesting presentations that I saw:

Accelerate the OpenStack RCA with Kibana and ElasticSearch (Details)

During this presentation, me and David Sanchez went on to talk about how difficult it is for teams and OpenStack practioners to fully have a Root Cause Analysis (RCA), in time and in a reproducible fashion. We’ve delve  the different aspects of a successful RCA and also how to move from the firefighting mode into a more proactive one.

Troubleshooting Neutron – Physical and Virtual (Details)

In this presentation we’ve went through two real scenarios of troubleshooting Neutron, showing the different components involved by following the data traffic trought the network.

Hands-On Workshops –

Hands-On Workshop: Learn About Microservices Architectures with Docker Swarm, Etcd, Kuryr, Neutron (Details)

    This hands-on workshop was presented by Fawad Khaliq from PLUMgrid who essentially did a great job explaining how Microservices work through theory and examples. During the course of this workshop, Fawad showed showed how one would increase and decrease a swarm cluster and how Docker networking and OpenStack Neutron interface through Kuryr.

Neutron Ninja 101: A Hands-On Workshop with Neutron Networking (Details)

    Becoming a Ninja seems very challening, but Phil Hopkins did a great job here to ensure that we would get there. This presentation was packed with good content and Phil was able to drive the conversation by making sure we all had the necessary networking and Linux foundation. I truly enjoyed his style of presenting and his very clear and concise examples. To my surprise, the last set of slides on this workshop were related to explaing some of the more complex aspects of the OpenStack overlay networking, which as great as our Troubleshooting Neutron: Physical and Virtual Networks presentation started right at this point.

A final cherry-on-top-of-the-cake moment happened after this presentation as I met James Denton whose book, Learning OpenStack Networking (Neutron), was mentioned as a excelent source of reference during our presentation.FullSizeRender.jpg

The highlight of an event like this must be the opportunity one has to meet with fellow Stackers and share stories, knowledge and experience. It’s the whole conversation that happens between the presentations and 1×1 engagement with others.

Happy to have the opportunity to travel to the Summit. See you next time.

Standard
Uncategorized

Trash dumping: Finding jewels in the sea of waste

Trash dumping. Unlikely to be your Sunday morning plan (or Saturday evening for that mater), could bring you back something of interest. In my case, my experience is a two-fold, one in the physical world and another in the digital. Although what I’m about to tell you is more of a parable, I did not literally had to dump into any trash to find anything useful, the outcome was positive: In both cases, I did get something valuable out of it.

TLDR: Two things happened here: #1 built a version of the famous hacked “Ikea Standing-Up desk” and #2 I discovered a new, awesome, podcast called Garbage, from two OpenBSD developers. Read along.

Continue reading

Standard
Uncategorized

Export OVF template failure on ESXi 6

For some reason, when trying to export a VM as an OVF file or OVA I keep getting the following error on VCSA 6:

ovf_erros

After going through the forums I found the answer here: https://communities.vmware.com/thread/518369?start=0&tstart=0

Essentially, you need to add the the VCSA IP address and hostname to the hosts file on the computer that you are connecting to the VCSA, such as your laptop or workstation. (/etc/hosts on *NIX or C:\Windows\System32\drivers\etc on Windows). Once that is done, you should be able to export the OVF or OVA file.

OVF_export_vSphere6

Hope this helps you

Standard
Cloud Infra, Uncategorized

OpenStack Images default users

openstack-cloud-software-horizontal-small

After chasing this information too often, I’ve decided to give a break to my brain and compile a list of the most common OpenStack Images (at least for my day-to-day activities). Without further ado, here’s the list:

Distribution Default User
Ubuntu 14.04 Trusty ubuntu
CentOS 6/7 centos
Red Hat Enterprise Linux 6/7 cloud-user
CirrOS cirros
Debian admin

A complete and up to date list can be found at the OpenStack site.

You can then login into an instance with the provided SSH keys or optionally, you could also change the default user password with the following cloud-config, which will allow you to ssh into an instance but force the password to be changed on the first login:

#cloud-config
password: ChangeMe
chpasswd: { expire: True }
ssh_pwauth: True

Let’s understand the options from the above configuration.

# you can set passwords for a user or multiple users
# this is off by default.
# to set the default user's password, use the 'password' option.
# if set, to 'R' or 'RANDOM', then a random password will be
# generated and written to stdout (the console)
# password: passw0rd
#
# also note, that this will expire the password, forcing a change
# on first login. If you do not want to expire, see 'chpasswd' below.
# So, a simple working example to allow login via ssh, and not expire
# for the default user would look like:
password: passw0rd
chpasswd: { expire: False }
ssh_pwauth: True

and finally,

# in order to enable password login via ssh you must set
# 'ssh_pwauth'.
# If it is set, to 'True' or 'False', then sshd_config will be updated
# to ensure the desired function.  If not set, or set to '' or 'unchanged'
# then sshd_config will not be updated.
# ssh_pwauth: True

More examples can be found here.

Standard
Uncategorized

Paradox of (a computer) Choice

FullSizeRenderHow many boots can you count?

    “choose less and feel better.”
    ― Barry Schwartz, The Paradox of Choice: Why More Is Less

Yes, Dr. Schwartz could’vent said better. On his book, “The Paradox of Choice: Why More Is Less”, Dr. Schwartz dissects the minutia behind the decision making machine, our brain, and the challenges that we face today, in a time and age cluttered with information, options and choices. Making a decision has never been so difficult.

What is the Paradox of Choice? According to the definition on the Cambridge English Dictionary:

    a ​statement or ​situation that may be ​true but ​seems ​impossible or ​difficult to ​understand because it ​contains two ​opposite ​facts or characteristics

Following an example:

    It’s a ​curious paradox that ​drinking a lot of ​water can often make you ​feel ​thirsty.

Going back to the Paradox of Choice, the idea is that the fact that one has so many options actually makes the exercise of choosing (anything really) a burden, a difficult tasks, leading to a cognitive fatigue due to the information overload and anxiety. All undesirable symptoms well described by Barry Schwartz.

I’ve recently went to a famous boot store in Austin, Texas and saw this myself (the boots from picture above). I thought about getting something for my wife, a nice boot perhaps. Well, with a lot of options, various colors, shapes, ornaments, and sizes this ins’t an easy task, and here we are only talking about boots. Now imagine how things can easily get complicated when we are talking about computers. By the way, I ended up leaving the store empty handed overwhelmed by the number of possibilities.

This is actually surprisingly easy to observe and you can verify this first hand during the holidays. Working in IT means that we are usually consulted for (a) when all-things-computers break or (b) when someone needs to buy/upgrade their electronics (you should be flattered buy this, because in between the lines, people are saying that they trust your judgement and that you’re serving as a consultant for them.).

Continue reading

Standard
Cloud Infra, SysAdmin, Uncategorized

smash-clp

Have you ever been in a situation where you had to go down to your home lab datacenter to reset a stubborn system? I bet you did and that’s not cool (at all). Luckily, many servers have a way to help you out with this. For me, salvation came in the form and shape of the Intel RMM (Remote Management Module) board.

According to Intel here are the key features:

  • Full remote access keyboard, video and mouse (KVM)
  • USB media redirection
  • Remote power actions
  • Proactive system health monitoring
  • Secure, embedded web server
  • Dedicated network connection

Which translates into pretty much the same experience as one would have by sitting in front of the machine (BIOS access and such). This also means that one could install an operating system remotely and even reboot/shutdown/poweron a server (again, remotely).

The access to this board is usually done through ssh. After you login you will be prompted into some form of shell (a bit more crude), specified by the Systems Management Architecture for Server Hardware Command-Line Protocol (aka SMASH CLP), specified bt the DTMF.

Continue reading

Standard
Uncategorized

Using GNU Screen (when there’s no tmux)

TLDR: using screen when tmux is not available. This isn’t a tmux vs screen post but rather how to use the tools that you have to get the job done.

It’s hard to imagine a day spent on a shell without the use of a terminal multiplexer. My favourite tool for the job is tmux, which comes handy when I’m working on or from an OpenBSD machine. tmux is installed by default on OpenBSD for quite a few releases now (circa 2009), you can see the commit log here.

It is easy to get used to something good 😉 However, IT being IT, this wouldn’t be so easy. One reason that I see, is that a lot of servers out there running some sort of Unix-like OS (mainly, Linux) do not have tmux installed. Now the interesting side of this is that I often find the GNU screen installed.

Continue reading

Standard