UDS Day Three: Building a Juju Charm and Ubuntu Accomplishments

Juju Charm Contest Workshop
I have wanted to understand Juju charms for a while now, but had not dedicated the time to it until last night and this morning. What I thought Juju was is a cross between Judo (Martial Arts) and Walt Disney (magic); it turns out that it is close to that. There is one exception; it is easy to write a Juju charm. Basically a charm is composed of a ‘charms’ folder, a release folder (ie., precise), and a group of folders for the charms. Inside each charm folder is a ‘hooks’ folder, a metadata.yaml file and a revision file. In the case of my charm my hooks folder included an install and start file; both were made executable. There were some ‘gotchas’ that I had to learn:

  • How to use a local ‘repository’ for my charm
  • Building the first LXC container takes quite a while – don’t panic and abort
  • any setup process steps should likely be in install
  • debugging your charm can be a long process, but it is fairly easy when you use ‘juju log’ well

In the end my charm worked, but the deployed software did not. While I was not able to complete the charm in time to submit it for the contest to win one of the three Dell XPS13 laptops I still learned an amazing amount about charms. The tl;dr on charms is that they are well worth learning if you are a dev/op. They will make your life a lot easier. Many thanks to all the Juju Master Charmers who helped me learn about charms!

Juju Workshop

The EA Plenary
This was the session many were waiting for. What I learned is that EA is publishing some browser based games as a means of determining the market that Ubuntu represents. How much support is required, what are the expectations of Ubuntu users, etc. They are clearly interested in Ubuntu, but not just as a gaming platform. There is a strong belief that walled gardens, like Apple’s environment, are not the path to success. They firmly believe that their customers want to play their games across all the platforms they own and believe that Ubuntu has a role in fulfilling that vision.

Growing Ubuntu Community Accomplishments Collection
If you have played an MMO and been drawn in to playing for hours on end then you know the powerful draw of loot. Ubuntu accomplishments are the ‘loot’ of getting to know your Ubuntu system and the Ubuntu community. Get a ‘reward’ for sending your first email, filing your first bug and becoming the member of a loco team. The desire is to increase the ‘trophies’ to include every area of the Ubuntu experience. I learned the basics of making a charm in this session and hope to add several charms this cycle.

Today was a productive hands-on day for me. It was amazing fun to dig a little deeper in to the fun gritty dirt of how to get things done with Juju and how to contribute to Ubuntu accomplishments.

ubuntu-picture: Jono looks back

How did Jono know I was taking a picture?

This entry was posted in Linux, Ubuntu. Bookmark the permalink.

2 Responses to UDS Day Three: Building a Juju Charm and Ubuntu Accomplishments

  1. Pingback: Ubuntu developers: Charles Profitt: UDS Day Three: Building a Juju Charm and Ubuntu Accomplishments | Linux-Support.com

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s