
Sign up to save your podcasts
Or


Matty makes a triumphant return alongside Bridget to talk modern monitoring with two people who build it for a living. Jason Dixon works on Monitorama and open source projects like Graphite, was finishing up at Librato and about to move to a startup called RainTank, and Aneel Lakhani works at SignalFx, both monitoring-as-a-service providers. Aneel is nearing 20 years of full-time ops work, having started at 15 with a tech support job. The show opens on the exchange that Bridget calls serverless nonsense "because there are still servers. You just can't SSH into them," and Aneel adds, "There are always servers."
Jason describes the old Nagios model as monitoring how something is doing right now, which loses the historical context of how the service has behaved. Over six or seven years, open source projects for different functional areas produced the event stream model, with collected metrics, window threshold queries and alerts, and eventually paid services for specific areas of the architecture. Aneel says the old way only asked about one thing, whether it was up, and nothing about the cluster, the service or the user's experience, and between checks you have no idea how it is doing. That isn't enough if you measure yourself on real performance for real people.
On thresholds, Jason says monitoring works like security in depth, with layers, since no single answer says how a service is doing. Jason is not a fan of machine learning as the solution, though it is a great addition, and thresholds are fine where you know what to expect. What matters is business context: am I doing the work I'm supposed to be doing, not just returning 200s? Jason recalls a customer at OmniTI who said something to the effect that they didn't care if their servers were on fire as long as they were making money. Aneel says people think moving beyond static checks is only for ephemeral infrastructure, but what you always wanted was to know whether you were within your expected performance envelope, and now you can measure it. Matty adds a story about a sysadmin alarmed that a database was at 90% CPU when it was SQL Server doing its job.
Matty asks "how big is your pane of glass?" Jason says a single pane is specific to your role, and that tools should be dynamic, which is why Jason built dashboards that let you look for hotspots on the fly, and says horizon charts are handy for spotting problems at the surface. Aneel, who spent a long time at IBM watching single panes come and go, says each role wants one, but the systems shouldn't be walled gardens, since the CEO's may be Tableau and marketing's Mixpanel. Data has to flow in and out so everyone can compose their own view. Jason says "if you're siloing your data within your organization, I think you have bigger cultural issues." Aneel describes a company where one metric, the number of documents users open in a time period, is tracked by everyone from the CEO to network engineering, though not every business reduces to one.
Bridget cites James Turnbull's point that the operations team isn't the only customer of monitoring, and concludes that it should be self-service and composable. Jason loves self-service monitoring, and describes a Heroku tool that queried Graphite and returned an HTTP status code, so anyone could put a check into Pingdom in minutes.
Matty quotes John Sheehan, from an earlier episode, that "monitoring is just testing with a time dimension," and asks customers whether something important enough to monitor in production is being tested. Jason jokes that testing is monitoring without context. Aneel says the engineers at SignalFx bake metrics into code from day one and carry pagers, and that if you want to know whether a change had its intended effect, the same metrics have to follow it from code through test, QA, canary and production.
Jason asks about usage-based pricing, which both companies use. Aneel says it is the scale of monitoring you want to do, not the number of things, and that it gives you freedom to change rates and stop measuring things, like buying bandwidth, but it comes with the mindset of iterating on which handful of metrics matter.
Jason says the most common and hardest question is what to monitor, and the honest answer is that you're the only one who knows. Aneel adds that the approach has to be non-static. Aneel uses Kafka, which has no metric for average message size, though a change in message size affects throughput, unless the producers and consumers are designed for size to change. Bridget confesses to a cron job checking whether an Elasticsearch cluster had gone yellow, and Aneel says you should get one alert when a cluster changes status, not 40 alerts from static checks.
Jason cites an Adrian Cockcroft talk about systems moving from months to weeks to days to minutes or seconds with containers. You can't cron that, and hostnames don't matter since the system is gone before you finish a sentence, so you have to think in work units: how much work has to happen, and is it happening? Aneel says with Lambda-style systems you still measure the timing and performance of the functions and the experience downstream, and with service level objectives, changes in the underlying model change only how you measure. Aneel also says ephemeral infrastructure isn't what drives the need for metrics. A customer of Aneel's runs 100 physical machines with 20 to 30 Docker containers each across five locations, measures performance so precisely they don't need auto scaling, and still wants metrics.
Jason's advice is to start with open source until you hit the point where your time is better spent elsewhere, then outsource to someone like Librato or SignalFx, since knowing the technology makes you an informed shopper. Aneel recommends collectd as a collection agent, for its plugin ecosystem and, compared with every other agent tried in 20 years, its stability, though the warning is to watch its plugins. Jason trusts the team because many are OpenBSD developers, and says the biggest problem with agents is leaking memory and consuming CPU. Aneel adds that Graphite is a good starting point, and Jason mentions that the Graphite book is nearly done. For Windows, Aneel and Jason mention a collectd port by a team at Bloomberg, a PerfCounter reporter that SignalFx engineers wrote, and Metrics.NET.
Aneel returns to machine learning. In Aneel's experience in operations, nothing has done better than about a 50% false positive rate. The right use is as an additional tool, like a system that classifies incoming metrics as in-line or out-line and sends the outliers to another process, and "the single worst thing you could do" is turn on an algorithm and let it generate alerts.
Bridget asks about the difference between monitoring and alerting. Aneel says "there's no monitoring without alerting": in operations, you monitor to figure out what is worth alerting on, and you should page only when something takes you outside the performance envelope of your service. Everything else should be an event you can go back and interrogate. Jason says alerting is a subset of monitoring, and the same data feeds capacity planning and analytics. Aneel adds availability to the mix: "if something is available and non-performant, it might as well not be available," so capacity, availability and performance move together.
Jason's advice is to "try not to chase the shiny stuff," to start with basics like instrumenting your code and to ask why configuration management providers don't do more to emit instrumentation to storage engines. Jason also says that if a tool is painful to use, try another, since there's so much choice now. Aneel says no one will figure out what metrics matter to you: "If you don't take responsibility for figuring out what metrics matter to you, no amount of money and technology is going to do that for you." Matty's version is that the hardest part of monitoring is figuring out what you care about.
Jason - Charity Majors' recent blog posts about serverless conf, etc
Matt - Fish-like autosuggestions for zsh
If you have an upcoming conference you would like to see promoted on ADO, you can fill out the handy form at arresteddevops.com/conf
For any devopsdays, try the code ADO2016! It should get you 20% off.
We have t-shirts now! And mugs! They are available at store.arresteddevops.com! Only unisex for now, but more styles coming! Buy one today. Or not. We’re not the boss of you.
Bridget records this one at DevOpsDays Toronto, in one of the open spaces on the second day, with a mix of people from the event. The guests are Dave Cliffe (PagerDuty) and Steve Pereira (Statflo), two of the local organizers, Sarah Kowalik of PagerDuty's operations team, representing a sponsor, Sean Walberg of the NFL, who spoke, and Joe Laha, the Arrested DevOps editor and a DevOpsDays Minneapolis organizer. Joe usually stays silent on these recordings, and here says the reason for coming to events like this is to "steal all the good ideas and implement them in Minneapolis."
Dave says this was the third Toronto event, in a couple of venues, with a diverse audience and a growing enterprise focus. Steve says it was the second year at the same venue. Asked what they were curating, Dave says they take the code of conduct seriously and had an incident to deal with promptly, and that they look for speaker diversity. Steve is candid: they did an outstanding job on topic diversity and a poor job on representation of groups and demographics, with no excuse, and next year they need to start earlier and go out into the community. Attendees were happy with the range of culture and technical talks, and Steve says they tried to serve the enterprise audience without creating an echo chamber.
Sarah has been to a couple of DevOpsDays in Australia and notes that Toronto has more of a focus on financial tech and banks. Steve adds that Toronto has many attendees from fintech and legacy banks, but the banks don't show up as sponsors, and Steve would like to see them invest at the organization level. Joe says London was very fintech-focused, with Barclays as a sponsor.
Sean's talk was about the team's chatbot, Waterboy, one of two talks Sean submitted, and Sean didn't expect this one to be accepted. Sean's team is very distributed and conversations were happening in private, so moving tools into the chat room made troubleshooting collaborative and left a history. Their tools let you look at a URL and see timing, or take apart a microservice to see how the CDN affects it.
Steve is a fan of ChatOps as an easy path into DevOps patterns: everything happens in the open, is recorded, and is a single interface to many backend operations. Sarah says PagerDuty's operations team moved from deploys to provisioning, decommissioning and Chef converges via ChatOps, so the team no longer provides "keyboard as a service." A plugin that returns context for an IP or hostname means "we stop getting questions about it," a very easy metric. Sarah adds that you should log chat to centralized logging so it's searchable. Dave, a product manager, likes chat in the incident response lifecycle, such as support paging the incident commander from the bot. Steve values not having to interrupt people. Joe says the organizers run their events in Slack, and an audiovisual vendor form posted once gets found by search.
Sean was a first-timer and had been told not to overthink open spaces. Sean enjoyed conversations about metrics, chat and incidents, and liked that the talks were "by people just like us." Dave says "you don't have to be a professional speaker in order to get up and talk at a DevOps Days." Bridget praises the talks about what didn't work, and Steve says that was curated on purpose. If you don't know what to expect, you may think the speakers are beyond your organization, so mixing success stories from companies like Shopify with teams that failed inspires people afraid to start. Dave adds "We all fail. We suck in places," which breaks down boundaries.
Sarah says open space selection was done differently than in Australia, where people pitch for about 20 seconds and others tally marks on cards. Toronto used a Trello board and a show of hands. Bridget likes pitches, since Sean pitching a talk about ChatOps beats the bare word on a board, and Sarah says a pitch framed as a problem gets a bigger response. The Toronto organizers also tried bringing the mic to people so introverts could pitch sitting down.
Bridget says that as an organizer, the approach is to chase the groups you want represented before the CFP opens. In Minneapolis this year Bridget hand-fed the link to a few people, and their talks were upvoted by the rest of the team with names and companies stripped. Bridget thinks a large bank should get an invitation to tell its journey. Steve says the work is continuous, since 2017 starts as soon as 2016 ends. Sarah, who'd usually talk on ChatOps, will get voluntold to give the ChatOps talk next year, and Dave notes they won't invite Sean back: "Sean's done. He had his one chance."
Dave says the different cultural pockets inside large companies are undervalued, and the only thing that works in an enterprise is land and expand, a change agent in one area. Bridget says bimodal IT is bad because it tells coworkers that some get awesome mode and others get sad mode. Sean says "I wish people would stop treating the old stuff as boring. It's the stuff bringing in the money," and that experimentation needs the users and traffic that are on the old stuff. Bridget agrees: "if the old stuff didn't matter, you would just turn it off."
Sean's earlier version of this talk was to federal workers in DC, where the idea of a chatbot doing work seemed foreign and the jokes didn't land. In Toronto people were far more open about their problems, which Bridget says is a hallmark of DevOpsDays, including DevOpsDays DC at the US Patent Office. Joe says single-track events have lulls in vendor booth traffic because everyone is in one room, and Steve says multi-track brings FOMO traffic. Sarah says it's recorded, so you can catch it later.
Looking ahead, Steve wants to get back to speaking, Sean has a ChefConf talk in July, Sarah looks forward to Monitorama, and Joe has t-shirts, AV and menus for Minneapolis. The thing Joe plans to steal from Toronto is a structured tech check for all the day's speakers half an hour before the event, since AV people like early testing more than "I'm speaking in 15 seconds and I haven't tested this." Steve says to take their laptops away afterward so they don't change settings.
devopsdays Toronto
If you have an upcoming conference you would like to see promoted on ADO, you can fill out the handy form at arresteddevops.com/conf
For any devopsdays, try the code ADO2016! It should get you 20% off.
Bridget hosts solo, pulled together at the last minute, and talks security with two guests who agree on more than they argue about. Ben Hughes of Etsy last appeared on the show for the security episode about two years earlier, and Jessie Frazelle works on container security at Mesosphere. Ben opens with the line that "YAML is readable by humans if your humans are going through a stroke," a theme that comes back near the end. Ben introduces Jessie as the leading authority on running silly things in containers on a Linux desktop, and the only person who gets audio, networking and everything else working on a bleeding-edge Linux kernel. Jessie, meanwhile, has just gotten back from CraftConf in Budapest.
Bridget asks Ben what security even is. Ben's answer: you have the stuff, and you don't want other people to get it. Computers aren't as deterministic as we'd like, since CPUs and microcode have bugs and Rowhammer showed that physics can corrupt memory, so insecurity goes all the way down. The role of security people is managing that risk, and Ben adds that "security often loses sight of the fact that they are a business function." For most companies the goal is a profit, not being the most secure company in the world.
Jessie's view is measured: "you're better off with containers than without them," as long as you run them correctly. If someone gets into an app inside a container, the world they see is different from what they'd see on the host. It can't save the world. Ben puts containers in the broader category of sandboxing, like Chrome sandboxing Flash, and says the main thing you can do is reduce attack surface, especially by dropping as many permissions as you can. Bridget and Ben both remember jails and chroots.
Jessie explains unprivileged containers, from Jessie's blog post and CraftConf talk. Docker on your host runs as root, and adding a user to the Docker group also gives root, which some people don't realize. With unprivileged containers, the user starting the container is a normal local user with no added capabilities. Jessie also runs Chrome in a container with cgroup limits on RAM and CPU, but had to remove the limits because of a Chrome memory leak, so if Ben and Bridget see Jessie drop out of the Hangout, the out-of-memory killer is probably to blame.
Asked where the sweet spot is between securing everything and nothing, Ben says humans are really bad at risk analysis. Nobody says "safe ride to the airport," they say "safe flight," though Ben has been more terrified by taxis than by pilots. Ben loves a kernel-hardening project that makes whole swathes of kernel exploits stop working, but would rather have people use longer passwords and a password manager. Most compromises are found credentials or very old software, not an amazing new kernel zero-day. The dramatic wins headlines, logos and RSA booth sales, as with the $100,000 appliance that claims to stop all zero-days. Ben uses ImageMagick as an example of an exploit whose barrier is nonexistent: "If you can write a sentence, you can probably exploit it." A logo and a domain got more people to patch than a blog post did.
They wander into online voting, where Ben says the paper system is reasonably trusted and the government contracts go to companies like Diebold. On chip-and-signature cards, Ben has heard the banks didn't want to change two things at once. Jessie says the line is Linux in cars, though open source, Jessie admits, is better than every company writing its own firmware.
Ben's recent blog post, written on a flight back from Berlin, is about impostor syndrome in security, a field with a lot of posturing and an attack-defense mindset. "We should try and be nicer to each other." The field has a huge skill shortage, but it's an unwelcoming place if you have to be popping shells on day one. It also tends to want only breakers, and a team of breakers doesn't build secure software, it finds bugs in all the software you have. Ben's example is Wireshark, which parses loads of wire formats in a big C program: "Wireshark is just a CVE-generating machine." Jessie has a container for it, though it would need a custom seccomp profile, and Ben recommends capturing with tcpdump and loading into Wireshark in a VM or container.
Jessie chose container security because the problem of real multi-tenancy appeals, and says that nobody has 10 years of Docker experience, so you hire people who are good at what they do and can jump in. What Etsy actually finds more useful, Ben says, is people who can talk to developers and explain an attack, which won't get a conference talk but helps the business more. Jessie sums it up as "enabling people to do the right thing versus telling them that they were wrong in the first place," and Bridget adds that at Etsy corporate security enables people to do their job, which differs from how security usually interacts with the business.
Ben spoke in Berlin on the topic, whose name Ben blames on Gareth Rushgrove, to an audience mostly of executives. It included Pete Cheslock's image of the DevOps unicorn emitting rainbows while security shovels them out. Etsy doesn't use the term DevOps much, but the point is to get security involved early, embed security people on other teams and stop shouting at people for writing code with bugs. Ben also mentions an article on detecting curl piped to bash through server-side timing, since the shell buffers differently than a plain curl, which lets a server send different output.
Jessie says the talk was for anyone running containers, and surprisingly popular with the academic physics community, whose servers don't allow running as root. Real sandboxing needs custom seccomp and AppArmor profiles, which will land on the security team. Better tooling would help, since no one likes writing SELinux policy. Jessie's proof of concept for AppArmor uses TOML, which Jessie thinks should be JSON. Ben objects that "JSON isn't a config format," since you can't put comments in it, and that YAML's significant whitespace is "not acceptable in a config format."
Jessie predicts containers will keep getting more secure. Ben's bold prediction: "I predict in the next 12 to 18 months, there will be another OpenSSL vulnerability," and more ImageMagick bugs, since image and config parsing is a minefield. Ben thinks "the container security story is great in the kernel but is terrible on the actual things in the container," with hundreds of things running out-of-date code where there used to be one monolith. Bridget says that if you can't build images repeatably and roll them at a moment's notice, "you probably have no business using containers in production." Ben says the speed everyone was sold on disappears once you build a repeatable, testable build system, and Bridget answers that you can still push fast through CI with tagged images.
For wishes, Ben wants security to stop blaming everyone. You tell people not to click links in emails while employing a recruiting team to click on PDFs from the internet, so "the tools have failed. So make better tools. Stop blaming users." Jessie wants a desktop OS made of containers, like Subgraph, and people to stop making gigantic images. Ben adds: "People should stop using curl in Dockerfiles," and stop using HTTP there too. Bridget adds pinning versions, and Ben's advice is to find an ops person and work it out.
For any devopsdays, try the code ADO2016! It should get you 20% off.
We have t-shirts now! And mugs! They are available at store.arresteddevops.com! Only unisex for now, but more styles coming! Buy one today. Or not. We’re not the boss of you.
Ben:
Jessie:
Bridget:
Bridget hosts solo, with Matty and Trevor out this time, and talks about speaking at conferences with returning guest Ryn Daniels of Etsy. Ryn last appeared on the show for the episode on starting a new DevOps job, and is now finishing a book, Effective DevOps, with Jennifer Davis of Chef, which is known as the Yak Book because O'Reilly's animal for it is the unshaven yak. It is due in late May or early June. Ryn has also been building infrastructure provisioning tooling at Etsy, and just got back from the Codemania conference in New Zealand, talking about applying software development practices to operational tooling. The side project that blew up on Twitter was Necro Atsume, a heavy metal cover of Take on Me from Etsy's talent show, with a logo of a cat in corpse paint that became a Teespring shirt.
Ryn started speaking in 2013, when Jason Dixon, who organizes Monitorama, asked for a talk at Monitorama EU in Berlin. Ryn's first reaction was that there was nothing to say, and Jason's answer was "I follow you on Twitter because you have things to say." Ryn had just changed jobs and had opinions about monitoring changes they hadn't been empowered to make at the previous one, so the talk was about that, and it was well received. Ryn's reasons for speaking are to share stories as a way of helping others learn, and it helps a career to be an established speaker. Conferences also led to Etsy, and to meeting Bridget at DevOpsDays New York, where they were both giving lightning talks.
Ryn is involved with DevOpsDays New York, which anonymizes submissions to reduce unconscious bias, then rates them and discusses as a group, leaning toward newer speakers. "I don't want the DevOps community to become an echo chamber where we just hear from only the same people over and over again." Bridget says that is why Bridget spoke at fewer DevOpsDays in 2015 than in 2014. Ryn says some conferences are invite-only, which can produce a diverse lineup or a group of friends who look just like the organizer. Bridget adds that organizers have to encourage participation from communities who haven't attended. Ryn wants DevOpsDays New York to include more of the organization beyond dev and ops, and Bridget mentions a marketing speaker from Atlassian at Minneapolis.
Ryn is slightly less nervous each time, and thinks a little nervousness shows you care. Preparation starts about three weeks out with a written outline, sometimes as long as a blog post. The Codemania talk drew on a Code as Craft post. Slides come a couple of weeks before, starting with five or six header slides for the problem, the solution and what was learned. Ryn's message to organizers: "I'm not going to give you my slides 2 weeks in advance. I'm a professional." They're still iterating the night before. Ryn rehearses three to five times, since more makes the talk boring, and an Ignite, which has 20 slides that auto-advance, gets much more rehearsal. Full-day trainings are the opposite, because so much depends on the students. Co-speaking works best when it feels like a conversation, and Ryn will present on Nagios at Velocity with a coworker.
Bridget shares that the shortest gap between giving the same talk twice was before and after lunch at a local conference. Bridget used the same deck and it turned into two different talks.
Ryn's first step is to work out what you want to say, since enthusiasm makes for a better talk than something to check off a list. On slides: "If you have enough words on your slides that it takes people more than like 2 seconds to read them, you have too many words on your slides." Bridget adds that corporate decks are different, and Ryn says a deck should still make sense after the fact, unlike some of their own decks that are "just cat pictures with no context."
Next is finding a conference that fits. Look at past lineups. A tutorial submitted to a conference with no tutorial track won't be accepted. Ryn recommends the Callback Women Twitter account, which tweets CFPs from a wide range of tech conferences, and the Technically Speaking newsletter, which also notes whether travel or lodging is covered. Bridget recommends trying a talk at a local meetup first, especially a lightning talk.
As a reviewer, Ryn wants to know who the audience is and what they'll get, since the abstract often becomes the schedule listing. At a multi-track conference you have to say why someone should choose your talk, and at a single-track conference you should still think about who that conference's audience is and check past agendas for how-to versus advanced. Ryn loves 101 talks. "Talking isn't about you as a speaker. It's about the audience." Use the form fields, since they're there for a reason. Bridget, who reviews for Velocity, says vagueness hurts, and "don't leave this a mystery." Ryn suggests two to three paragraphs and a few bullets, since one isn't enough and more than three burdens reviewers, and to put detail in the field for organizers and leave a little mystery for the schedule.
For a speaking portfolio, Ryn keeps videos when a conference makes them available, and has a page on their website listing past events with links to slides on SpeakerDeck and embedded video. Bridget adds a high-resolution headshot, and a short bio saying who you are and what your background is.
Ryn has strong feelings on this. Some conferences don't cover admission for speakers, which Bridget calls complete nonsense, and Ryn points out a talk can take 30 to 40 hours of prep. Conferences that say exposure is payment don't understand that exposure won't cover the rent. Ryn gives leeway to new or small conferences, but a five-year-old conference with too many sponsors to fit on a page that doesn't cover travel and lodging is "taking advantage of them." Bridget prefers to take speakers at their word if they say their company won't pay. Both like a low-key speaker event beforehand, and organizers sending information about where to stay and what to do, since radio silence leaves speakers overwhelmed. Ryn says "there's nothing more stressful to me as a speaker than having no idea what I'm walking into," and praises Bridget's blog post about what organizers should tell speakers.
Ryn prefers to speak early in the conference so they can relax, though Bridget notes speaking later lets you refer to earlier talks. Bridget recommends going to the other talks, so you know what has been said before you add your voice, and can reinforce or push back on other speakers. Bridget's summary is to "go to the other talks, kids."
Afterward, people come up to you, and Ryn's advice to those people is not to be condescending, since the speaker has considered the basics. For Q&A, Ryn sometimes times a talk so there's no time for questions and invites people to find them afterwards, since fewer people make statements when they don't have a captive room. Bridget will sometimes ask a "strategic softball" that lets the speaker elaborate, and as an organizer likes it when the crowd moves outside the room. Bridget also suggests a buddy who holds your things on stage, and says a partner who is an AV professional plugs in and packs up Bridget's laptop. Ryn likes a friend in the front row.
They both recommend putting your Twitter handle on every slide so people can live tweet you, and Bridget embeds the tweets on a page for each talk and has shared them up the management chain at work. Ryn admits to being too polite and Midwestern to retweet strategically, and Bridget says conference organizers love it when speakers publicize their talks. Slides go on SpeakerDeck, and usually as PDF without speaker notes.
Asked what they'd tell themselves in 2013, Ryn says "it's hard to A/B test your own life," but would spread the talks out, since five in two months is exhausting, and would be less nervous about giving technical talks. They gave mostly cultural talks partly from imposter syndrome. Bridget says you don't have to be pigeonholed, and that Bridget's 2015 was all Docker until a job change sparked a wish to talk about how organizations learn. Ryn says branching out gets you to other conferences, like Codemania, a development conference that was out of their comfort zone.
They finish with ways in that aren't conferences: internal lunch and learns, Etsy's weekly Ops School series, local meetups. Ryn's last word: "I used to be super intimidated by all the cool Etsy people who were up on stage talking at Velocity, and now I'm one of them. You can do it too." Ryn has committed publicly to only four conference talks this year, including a keynote at Continuous Lifecycle London in May.
Effective DevOps by Ryn Daniels & Jennifer Davis
Lara Hogan - Day-of-talk countdown
Bridget - tl;dr: Your Talk is Accepted
Ryn Daniels - On a Conference Speaking Routine
Nekro Atsume shirts
Draconian - Sovran (Oct 2015)
Walls of Jericho - No One Can Save You From Yourself (March 2016)
Lovemeow.com
For any devopsdays, try the code ADO2016! It should get you 20% off.
We have t-shirts now! And mugs! They are available at store.arresteddevops.com! Only unisex for now, but more styles coming! Buy one today. Or not. We’re not the boss of you.
Bridget, Matty and Trevor bring in two longtime ops people to talk about dependency management and points of failure, after the npm left-pad episode rekindled the perennial argument. Pete Cheslock runs operations and support at Threat Stack, and Charity Majors just co-founded Hound after being the first infrastructure hire at Parse, which Facebook acquired. Bridget invited Charity for some ranting, and the conversation delivers.
Bridget points to whoownsmyavailability.com, which keeps telling you that you do. Charity loves it as a gut check, but says it is also not only you. It's your team, your processes and the teams around you. Operations people tend to have a "hero-martyr complex," and Charity wants to say both that "You can't pass the buck" on a vendor or platform and that it isn't up to you to be a hero. Pete says blaming is comical, since the one guarantee is that "if it's online and on the internet, it's going to go down."
Matty notes podcasters have their own version, own your own RSS feed, since everyone loved FeedBurner, and it's a reminder that the service you depend on is somebody else's business. They pour one out for Parse, though Charity says it didn't fail for technical reasons and won't say more. Bridget was impressed that the Parse community pulled together on open source options. Charity says the same holds for Parse, Heroku and AWS: if an availability zone goes down and you chose to be single-homed, that may have been the right choice, but you can't say it's their fault.
Trevor reads from the npm blog: a package many projects depend on, directly or indirectly, was unpublished by its author in a dispute over a package name. Bridget's summary is that the namespace is global, and lots of sites were importing the package live, so when it disappeared they couldn't build. Go, PyPI and Chef Supermarket users have all had a version of this problem, which brings up Pete's rage-tweeted advice to vendor your dependencies.
Pete says Threat Stack has a lot of Node.js, and it wasn't affected because they use Artifactory. Vendoring means taking a copy of a package, bringing it internal and serving it yourself. Every dependency adds risk. Pete vendors all Chef dependencies and doesn't talk to Supermarket, and does the same for full Debian packages such as Cassandra's third-party packages. Charity says Cassandra stopped publishing an older package they relied on, and they couldn't bring up new instances without upgrading the cluster. Pete says it was the exact scenario they hit: only the newest version was kept.
Charity adds a caveat about company lifecycle. At a three-month startup vendoring every package would be a waste of time, since availability requirements and time are both in different places. But there's a stage where these failures affect your ability to push code and roll back, and at that point you should have a local cache of every apt package, gem and npm package. Bridget recalls a broken Docker registry release pushed without changing the version number, which they worked around by copying the official registry container into their own account. Trevor says Jenkins only hosts the latest Debian package, and a release that broke Trevor's Groovy scripts forced learning to build a package feed.
Matty points out that the enterprises everyone teases for banning internet access from build systems didn't get burned, though not for availability reasons. Matty adds that the depth of dependencies is scary, since people use systems that depend on left-pad without knowing they touch Node. Charity's example is a first boot script that turns out to call half a dozen apt repos and gem sources, when the goal was just to bring up a host. When trying to fix a scaling problem, the last thing Charity wants is to "detangle somebody else's outage."
Pete is one of a few people who sign the packages Threat Stack ships to customers, and says there is "a high pucker factor" when thousands of systems can grab what you push. Charity's advice on resilience is to avoid reinstalling every package every time a node boots. Build a base image with Packer, bake in everything except the package that changes, such as Cassandra, and cache that in an apt repo you control, so if it fails you can blame yourself and fix it quickly. As Charity puts it, "you should have as few things that can fail while you're doing critical things as possible." Bridget's team at Drama Fever built AMIs with Packer from a Chef definition using Jenkins jobs, and a failed image build is annoying but doesn't affect production.
Pete says Threat Stack started with a ten-minute Chef run on every node, and only packerized the base when uptime and scale demanded it, so nodes come up in a minute. Charity's message on best practice is "Dude, it's contextual," since over-engineering early can kill a company as surely as neglecting things later. Pete adds that a launch date moved up to re:Invent forced choices, and the important part is going back to pay down the tech debt. Matty says you make a decision about acceptable risk with your eyes open, and revisit it as the business changes.
Asked what reduces operational risk, Charity says decentralizing accountability. In Charity's words, "your operations engineers honestly are not responsible for your reliability." Software engineers should own their services end to end, and ops should be in the first design meeting asking how it scales and how it's instrumented. The toss-it-over-the-wall model fails because "the feedback isn't effective if it isn't immediate and if it isn't somewhat painful." The goal is not never going down but limping along in a degraded state when a component fails, which Bridget calls circuit breakers and continuous partial failure.
Pete adds a security angle. Threat Stack monitors what systems do, and connections to Russia or China turned out to be apt repositories served over anycast. Vendoring cuts those random connections so an odd connection stands out. Matty warns you can overcorrect: if doing the right thing is hard, people will route around it. Matty quotes Sascha Bates that "if you treat your employees like children, they're going to behave like children." Pete says people will route everything over port 80 if it's the only port open, and Bridget recalls finding Comcast IPs in a production MongoDB security group that someone had added from home.
Pete's starting point is an object store like S3. The Ruby gem deb-s3 pushes Debian packages to S3, which is basically apt repos on the cheap. Charity suggests wrapping package installs in your image build so they stash a copy in S3, and Bridget says to make it a step in the CI job, not a 42-item checklist. Pete points to paid options like PackageCloud, Artifactory and Nexus, and says "open source is only free if your time is worth nothing." Bridget suggests not depending only on public Docker Hub, having been paged more by Docker going down than by Bridget's own stuff. Charity says that if it's just caching package files, "that's seriously one of the easiest problems in computer science."
Pete raises verifying that the packages you get are the ones you expect and treads lightly around GPG. Deb-s3, Artifactory and PackageCloud all make signing easy. Charity has built Debian packages at every job, and says the packages that have to be built become the seed of the local repo. Matty says the tension is trust: you don't want to build everything, but vendors mean trusting someone else.
Charity says an agent that isn't open source is a non-starter if it runs on Charity's own hosts. When you get a stack trace, you need to read the code that generated it. Trevor likes walking traditional closed-source shops through Chef cookbooks and answering "what does this action do" with "you tell me." Matty adds that if a vendor goes out of business, understanding how it worked matters. Pete's example is an engineer who wanted to gem install Sensu plugins, when Pete preferred to bring them into a cookbook. A week later a chunk of the code turned out to be dead code that would have confused them if they had just installed it. Bridget says you want a good picture of what normal looks like before 3 a.m., and Pete says every dependency adds risk that some organizations can absorb.
Charity offers a cautionary note from repeatedly moving the source of truth from an untrusted repo to GitHub, "and then you have 2 problems."
Matty asks about bosses who want someone to blame or sue. Pete says you sometimes have to play the game and call it a security issue, recruiting the biggest curmudgeon to hammer on it. Matty says SLAs are a lawyer's favorite thing to say, since they're made up and never apply. Charity says it's about audiences. Developers trust you when you give the dirty details and take ownership, while executives report to people who don't want to understand software. Translate for them: paying for something and getting an SLA won't reduce outages, and probably means more of them because "we won't be able to debug them." Charity says to translate that into corporate-ese, but it will build a better product.
Pete's closing point is that everyone's stage, risk tolerance and budget differ, and "you don't have to listen to what talking heads on the internet say" about vendoring every dependency. Use each crack in the mortar as a chance to make things a little more durable. Charity says the answer is "it's you, but not you personally": a successful culture is one where every person feels they own it, and it's not some other team's, a DBA's or a vendor's problem. Bridget notes the subtlety in English: "is you singular or you plural?" And the answer is yes.
Matty and Trevor talk personal brand with Andrea Javor, Senior Director of Global Digital and Media at Beam Suntory, and Michael Hedgpeth, a senior software architect at NCR in the hospitality division, whom Matty worked with to bring Chef into NCR. The episode grew out of a talk idea Matty floated, where Michael's feedback was enough that Matty said Michael had basically written the talk. The pitch is that people problems are the hard ones in any DevOps change, and a personal brand is how you get people to listen without resorting to self-aggrandizing boasts or claims of thought leadership.
Michael says a personal brand is "what people say about you when they go to lunch and you're not there." You don't control it, and you can't compile it or run tests on it, but you can influence it. Andrea puts it as what colleagues would tell someone about how to get something done through you, whether you are collaborative or prefer to work alone. Asked to distinguish it from reputation, Michael says they're very similar, and Andrea adds that reputation is built from past experience and shapes how others play back your brand. Michael's point to technical people is that "everybody gets a brand," and it isn't only for sales and marketing.
Matty says it makes you a more effective change agent, and asks whether it's unfair that Matt gets listened to more because people think Matt is an expert. Michael's answer is a story about a colleague who dictated a policy that Michael complied with outwardly but didn't follow. If people feel you're a jerk or that they aren't heard, the parts of the organization most resistant to change win, because they can say you live in an ivory tower. Matty ties it to compliance versus commitment, and Michael compares it to going upstream or downstream in a river.
Andrea says how you get things done is as important as what gets done, and you have to manage up, down and laterally. Andrea stresses congruence with the company's culture, and describes Beam Suntory as fast-moving, which suits Andrea as a fixer. Michael says technical people start out with no social expectations, get rewarded for being loud and right, and are often surrounded by managers who cover for their awkwardness, so "behind every technical person who thinks that they're immune from those things is a manager getting a big, fat bonus."
Andrea describes feeling the opposite burden, leading a social media team, and tells of a Predictive Index personality test in which Andrea was the second most extroverted person at the company, behind the woman who runs the distillery in Clermont, Kentucky. Andrea suggests IT people might learn from marketing counterparts how much the how matters.
Trevor asks about the person whose brand is the one you throw every problem at. Michael says they secretly like it, and "you cannot get out of your real brand without looking fake," so if that is who you are, embrace it, maybe ask for a raise, and if you don't want it, make changes at the action level. Andrea describes a colleague who broadened the role by swinging by Andrea's desk and asking what was important to Andrea, until the colleague was working across marketing, sales and legal.
Matty notes that in consulting and customer-facing work, Matty and Trevor think about external brand more than internal, whereas a big Twitter following retweeting Michael's Ansible opinions wouldn't help Michael inside NCR. Where your brand is consumed matters, though Matty doesn't think it is either/or.
Trevor asks how you work out your brand. Andrea says you need data: self-awareness, feedback from people you trust, and tests like the Predictive Index or the diagnostic from Sally Hogshead's How the World Sees You. Michael brings up Branding Pays by Karen Kang, where a brand is cake and icing. The cake is your rational value, like being a Chef expert who is good at sales. The icing is how people feel when you're around, and people go for both. Andrea sums it up as "the what and the how." Trevor points out you can be great at .NET and still be someone nobody wants to work with.
Michael's caution is that if you're the jerk, nobody tells you, so self-awareness has to be iterative. You find one person who will tell you and show them you'll change. Matty links to a blog post called Empathy Is CI for the Soul and tells of a colleague who asked whether Matty wanted direct feedback after a proof of concept. It was hard to read, and part of it was that Matty talks too much, which the other three on the call agreed with.
Matty raises imposter syndrome and the worry of seeming to brag. Michael thinks the branding metaphor is unfortunate, because people picture someone full of themselves. What Michael wants people to say is the truth, and "the truth only comes about by results." Michael has been working on going from the person who is always right and always talking to one who listens, lets others have the idea and facilitates. Andrea adds that being authentic means you needn't fear being called braggy, and describes doing a guest lecture at a university about once a quarter and not keeping separate work and personal social accounts.
Michael tells three project stories. The first involves TeamCity, which Michael introduced years ago, feeling a duty to help anyone get on it, even meeting people at 2 a.m., and it became what hospitality at NCR uses for continuous integration. On another, a multi-product initiative, Michael ignored a lack of buy-in and pushed through on technical prowess, leaving half the people unhappy, and it felt like swimming upstream. For the configuration tool search, Michael wanted something people would adopt on their own merit, and when Michael admitted to Matty not knowing how they'd decide, Matty said it would be 45 days. Michael hung up thinking it was impossible. Chef has been like TeamCity, with people coming to Michael out of the blue with Test Kitchen questions.
Trevor says the terrifying part is looking vulnerable in community Slacks and GitHub, where Trevor is a Chef expert for a consultancy. Even at 90% certain, Trevor fears someone will call the answer wrong and cost credibility. Matty has struggled with it too. Joshua Timberman told Matty that Chef is too big for anyone to know everything, and that Adam gets things wrong too. If you answer only when you're 100 billion percent sure, you damage your brand because you stop talking. Andrea says being an expert means being endlessly hungry to learn, and Michael tells Trevor the cake isn't the whole of Trevor's value.
Matty says as your knowledge grows you raise the bar for what counts as table stakes, and tells of being corrected in a Slack channel, recoiling, and then realizing it was an opportunity. There was some "writing to the lurkers" happening, and beginners won't have to say the stupid stuff later because an advanced person said it for them. Trevor says answers come freely in a room but the public setting raises the discomfort. Michael says people "really hate a know-it-all," they feel belittled, and Michael has been trying to clamp down on the urge to answer every question.
Matty's first tip is to share what you know and bring others along instead of reciting what you've read, so you're cemented as the person who knows about that thing. Andrea suggests guest lecturing, industry events where the real value is networking, and being the same person on and off the clock. Matty says if you don't like public speaking, that's fine, and if you do, anything you have to say is valuable, and that meetups and DevOpsDays hallway tracks can connect you with people who have done the migration you're considering. Andrea says it's okay to be deliberate about networking, for example setting a goal of three unprompted hallway conversations a week, as long as you're genuinely interested in the other person. For the virtual version, Matty suggests asking on Stack Exchange or the HangOps Slack before calling the vendor.
Matty admits the title may sound like snake oil, and says you shouldn't decide to become the foremost authority on testing Go code so you can keynote GopherCon. You accentuate something you already believe. Michael says people know who the fakes are, and imagines the business dinner where their name comes up. Andrea says "real thought leaders don't consistently call themselves thought leaders." They are "humble enough to know that they need other thoughts to lead any thought of their own." When people call Andrea a guru, the reply is that Andrea is passionate and excited to learn, along with a suggestion to look at the data together. Matty's version: "I would say I'm an opinion-haver." Trevor closes on the difference between wanting to be a master at something and wanting to talk about being one.
Empathy is CI For The Soul by David Shackelford
Matty talks with Job van der Voort, GitLab's VP of Product, about how the project started and what it's like to run a company and a large open source project in the open. Job is responsible for what goes into each monthly release, did some engineering before that, and has a degree in cognitive neuroscience. Matty jokes that Job should have been on the cognitive neuroscience episode, since Job says the ADO archive is being worked through backwards.
In 2011, Job says, a PHP developer in Ukraine named Dmitry wanted the company to move to Git, but it wouldn't allow code on GitHub off-premises and there was no good alternative. So Dmitry built one in Ruby on Rails, working through the night after the day job. Job likes to mention that Dmitry's house had no running water, so whenever water was needed, Dmitry walked about 100 meters to a well with a bucket, and kept developing GitLab in between. Matty wonders what water-bucket-driven development did to the early commit patterns. Dmitry put the project on GitHub, where the programmers were, and it gained traction.
Around 2013, Sid, a Dutch guy whose real name is Sietse, thought it would make a good SaaS and told Dmitry that gitlab.com would launch without Dmitry's involvement. Dmitry said go for it. A few months later Dmitry tweeted about wanting to work on GitLab full time, Sid saw it, and they started a company together.
Matty's first encounter with GitLab was for a customer who couldn't put code on GitHub.com and was stuck on an ancient version of AccuRev, and the Omnibus install, the Chef packaging, won Matty over. Job says GitLab hadn't always used Omnibus. Before that, installing a Rails app meant a manual with at least 12 involved steps, and switching to a one-command install made downloads go up "like 1,000%." Job credits a good part of the project's success to it. There is now a package repository so you can just apt-get install gitlab. Matty calls it time to first delight, and Job says for a developer-oriented product, "it has to be extremely easy to use," installation included.
Job says GitLab does in the open everything it reasonably can where the community benefits. All development is public, from an idea or bug report through code review, merge and release, on the public gitlab.com instance. Then they opened the company handbook, a website of markdown files at about.gitlab.com/handbook where every page links to its file in the repository, and later support and operations. Product direction is open too. It lives on a direction page, not called a roadmap because they don't want to commit to dates, and in the public issue tracker where all of Job's work happens and feedback from customers and the community arrives.
Matty argues that the list of things you can't share is shorter than you think, and asks how to move an organization that way. Job says there was a lot of internal resistance, including Job's own. Customers rarely want to be named, so a support ticket becomes a public issue with the name sanitized and a link to the private ticket, labeled as a big or medium customer. It adds some process, "but the positives massively outweigh" the negatives. Being open also means saying in public that you don't think a feature is a good idea and being open to hearing why you're wrong: "We don't want to be right. We don't want to be authoritative. We want to build a really good product." Matty says the worst feeling is being ignored, and it's better to hear no in a discussion. GitLab doesn't share revenue or salaries, which Job says wouldn't be immediately valuable to the community, unlike the things they invite people to contribute to.
GitLab.com is free so they have a good place to load test, but it runs as production, with the team's own work on it. In 2014 it had a brownout of many hours, when there were about six people, all engineers in Europe, and part of it happened while they slept. They opened a Google Doc to discuss it and then decided to share it, put a link on Hacker News, and got a positive response. People said they had more faith in them after seeing the team work hard and disclose what was happening. It wasn't the moment they opened everything, but it led up to it. The site later carried a message saying it was slow and had downtime but the data was safe.
Job loves the GitLab status Twitter account, run by the DevOps engineers, who share their emotions, and says "I think it humanizes it." Matty read one saying that because GitLab.com has three single points of failure, they expect it to be unavailable at some point, and Job says they are now down to one. Matty connects this to HugOps and to blameless culture, recalling Charity Majors telling an engineer who had gone eight months without breaking production to step it up. Job says being visible online has never been a regret: "There has not been a single situation that we regretted being very present online."
Job joined at the beginning of 2014 with six people, four of them engineers. A year later there were nine and they had been through Y Combinator, and now there are about 50, about half engineers. Dmitry released the first version on the 22nd of the month and GitLab still ships on the 22nd every month. Job calls it the release train and announces in Slack, "choo choo, the release train is going." They've done it 51 times and are going for 52 without fault.
GitLab tries to use GitLab for everything, and when it hits a wall it builds the feature. Job's example is folding an external feedback tracker into the internal issue tracker, which gained a voting feature but then had thousands of issues instead of hundreds, so they look for ways to improve the product for that. Matty asks when a vendor should stop and integrate with something else. Job's example of a firm no is permission management on specific directories, which SVN migrants ask for. Because a clone contains the whole history, "we're not even going to try this because this is simply not the way Git works." Matty says that's cruel empathy: if your old way worked, you wouldn't be shopping.
Job says there are about 1,000 contributors, from a single commit to hundreds. Some of the best features came from the community, like the button to merge when the build succeeds, contributed by someone who was then offered an internship and is now a developer, and the fuzzy file finder. Customers contribute too. CERN, a customer, built several Enterprise Edition authentication features and worked in the open on issues and merge requests.
This year GitLab has at least one developer whose full-time job is to coach incoming community merge requests, finishing abandoned ones if needed, and an "up for grabs" label for small, quick issues that a first-time contributor with a little Ruby or JavaScript can tackle. Matty notes the parallel with the Phil Dibowitz episode about starting in open source.
Matty asks JJ Asghar to explain what's going on in the OpenStack world. JJ is the self-described OpenStack Chef guy, representing OpenStack in the Chef community and Chef in the OpenStack community, and owns the Knife plugin, the Test Kitchen plugin and the Chef Provisioning Fog integration. JJ got involved back around the Diablo release, the fourth one, so about four years ago, and OpenStack is about five years old. Matty opens by saying the story sounds like Chicago politics, which makes Matty feel right at home, and comes back to it later.
JJ's 50,000-foot view is that OpenStack is a private cloud you build yourself, from database as a service and compute to imaging, object storage and even container clusters. It started between Rackspace and NASA, with NASA's front end to Nova for spinning up VMs and Rackspace's Swift for object storage. It has since grown to about 19 projects on a six-month release cadence, which JJ says is a challenge for operators, and you can pick and choose which ones you use. The core ones are Keystone for identity, Glance for images and Nova, with Neutron the subject of debate about whether it counts as core. JJ says OpenStack recently got nonprofit status in the US under the same tax code as the NFL and churches, so contributing can be described to your employer as charitable work, which Matty calls joining the Church of OpenStack.
JJ says if you care about owning your data in your data center, OpenStack is an open source way to build a cloud instead of paying a VMware tax. At scale, VMware "gets prohibitively expensive around the 10,000 hypervisor mark," and JJ would rather spend that on hiring an engineer you can train than on a license and support contract. It is also good for dev and QA, where a machine sitting idle on EC2 for a year costs $1,200, and reclaimed hardware can run the same APIs as EC2 locally and get more life out of its depreciation.
According to JJ, "9 out of 10 times, it's teaching a company to go to the cloud." At a previous employer, they spent money and effort on an OpenStack infrastructure, but the idea that a misbehaving machine gets rebuilt from scratch never took hold, since the company couldn't accept ephemeral machines. JJ's warning is "OpenStack is not free VMware." Handing someone who has spent their career on vSphere an OpenStack cloud is like putting a lifelong Windows user in front of a FreeBSD box: they'll get by, but with a long learning curve. Matty compares it to Windows being API-based and Unix file-based.
The Microsoft footprint is surprisingly high, JJ says. The main hypervisors are KVM and QEMU, there are Hyper-V ports, JJ knows of production Windows 2012 R2 boxes, and one company, cloudbase.it, built its business on Windows images for OpenStack clouds.
JJ says OpenStack has three camps: developers who commit code to OpenStack, users JJ prefers to call consumers who just want an API endpoint for a Test Kitchen instance or a Redis server, and operators who run the clouds. Operators have been underrepresented for a long time. The Foundation responded with mid-cycle operator meetups, the next in Manchester, UK, the first outside the US. Operators also usually can't get an ATC, the Active Technical Contributor status that earns a free summit ticket worth $600 or $700 for anyone who has contributed in the last 12 to 18 months, because their bash, Python and Ruby scripts don't go into official projects. OSOps is a place for operators to share those tools, with the goal of getting them ATC someday. JJ says the Foundation is happy with how it has taken off, and is considering making it a core project, since you need people to run these clouds.
JJ says to run away from DevStack, which "has grown into a monstrosity" and won't teach you what you need. First figure out what you want to build, because saying you want an OpenStack cloud gets you choice paralysis. Projects like OpenStack Chef and OpenStack Model T, along with some Puppet and Ansible builds, let you build small clouds to learn. Commercial options include Mirantis and Blue Box, now IBM, which are useful, but you are handing off understanding of the cloud to a third party, no different from asking an MSP. JJ comes from the camp that if you want full control, you should understand how the whole thing works, though the engineering time may be cost prohibitive, JJ admits.
OpenStack fits with other technologies: apps.openstack.org has a one-button push to pull a Glance image and build a Kubernetes cluster, and a project called Magnum uses Heat to spin up CoreOS machines with Fleet and etcd and points your API endpoint at the cluster so you can use Docker as usual.
JJ is running for the OpenStack Board of Directors, and Matty says JJ would get a vote from Matty if Matty had one. JJ's argument is that board members have been removed from day-to-day OpenStack. JJ uses a story about pioneers, town planners and city builders. CIO magazines and Foundation blog posts make OpenStack sound like it is in the city-building phase, but JJ believes "we are just getting out of the pioneering phase and just getting into the town planning phase." JJ sees apps.openstack.org as the general store, a milestone, but says features get pushed into releases before operators have adopted the previous ones. JJ's example is that people are still arguing about basic layer 2 and layer 3 networking while vendors fund edge routers inside SDNs. JJ wants a seat to ask why, and to see "how the sausage is made." Who has the right to vote isn't clear to JJ either. JJ had it last year but not the year before, which is how Matty got to Chicago politics.
JJ is proud of OpenStack Model T, an opinionated build of OpenStack in one Chef cookbook, which automates the long OpenStack install guide, with RabbitMQ as the queue and Ubuntu as the base OS. Run one recipe on a controller and one on each compute node you add, and you have a horizontally scalable cloud on reclaimed hardware. JJ hopes to give a ChefConf 2016 talk on a reference architecture bootstrapped with a cookbook called Pixie Dust and tested with Test Kitchen on bare metal.
The OpenStack Chef project has cookbooks for all the major projects, and a small team that needs more help. It is in the middle of a refactor because the last two cycles added everything including the kitchen sink, which JJ thinks scared people off. With a 16-gig MacBook Pro you can build a multi-node OpenStack cluster with Chef Provisioning and Vagrant, and JJ used the same approach on a donated 96-gig quad-core Xeon to build a production-ready all-in-one cloud in about 45 minutes, which is still running. JJ's parting message is that operators are trying to come together, and if you have a tool, drop it into OSOps and, once ATC is possible, you'll get it.
This is a joint episode with The Goat Farm, the enterprise DevOps podcast, with all three Arrested DevOps hosts plus Michael Ducy from The Goat Farm. The conversation started when Matty and Michael, both at Chef, were in Seattle training the sales engineers and got talking about being a partner to customers rather than someone handing over a bill of sale. Bridget is at Pivotal and Trevor is at 10th Magnitude, so everyone has been on both sides of the vendor table. Trevor opens with a customer who recognized Trevor as the guy from the podcast and wants to work together because sometimes Trevor sounds smart.
Michael says the Seattle training was built around value stream mapping and Kanban, so the sales engineers would have some DevOps fundamentals as tools for conversations with customers. Trevor asks what value stream mapping is, and Michael explains that you draw a current state map of how a piece of work flows through a process and where time is spent, then build a future state map that removes the waste. It comes from lean manufacturing, and Gene Kim is a proponent of it in The Phoenix Project. Michael has done enterprise software sales for eight years, mostly on the presales side at BMC, Instratius (which Dell acquired) and Chef, and now manages Chef's East presales team. Michael wants to be less of a demo jockey and bring more value to the conversation.
Bridget says the golf-and-wine stereotype doesn't match the field people encountered at Pivotal. Matty introduces The Challenger Sale, which describes five profiles: the hard worker, who makes the calls and follows the process, the lone wolf, who ignores the process and closes deals with a Rolodex, the relationship builder, the problem solver and the challenger. The problem solver says "tell me where it hurts and I will sell you the Band-Aid," while the challenger teaches you something about your business you didn't know and acts as a trusted advisor.
Bridget pushes back that you need a relationship before you can challenge anyone. Matty's answer is that the relationship builder means you buy from me because you like me, and Michael adds that many CIOs buy from the same salesperson they have bought from for 20 years. Trevor, as a principal consultant, lands in the problem solver role, and says Matty is probably half problem solver and half challenger. Michael says you have to wear different hats depending on the customer, since some know their problem and some have read about DevOps and called the DevOps company to buy it.
That leads to a recurring question: "do you want to sell them 8 units of DevOps today, or do you want to sell them 4 units of DevOps over the next 15 years?" Bridget says you sometimes have to give people what they need, not what they want. Matty explains that with a subscription model, selling a customer something they aren't ready for creates a churn customer who will cancel in a year.
Michael contrasts the proprietary days. The customer knew little about the software, the documentation was behind a login, and a $2 million deal meant convincing everyone through executive relationships. In the open source world, the customer is often smarter about the software than Michael is and asks why they should pay Michael. The sale runs through the individual contributors who sell it upward to the economic buyer. Bridget adds that if those people can't look at your code on GitHub they will veto it, and Michael says you're also selling the community, which gives customers other people to share the pain with, where in the proprietary world you're "always angry at the vendor for not giving you what you need." Bridget adds that customers can choose among vendors, since other companies also help with Chef and commercial Cloud Foundry.
Matty describes r/sysadmin complaints about vendors' cold calls, with SolarWinds getting the worst reputation, and the flip side: when you do your own discovery, there's a lot you don't know to look for, which is the advantage of a trusted advisor. Michael says one reason for leaving BMC was the constant wondering "what are you trying to hide" when documentation was behind a paywall, and recalls an executive saying the customer shouldn't be able to download the software because it's enterprise software and complicated. Bridget says that at Pivotal, missing public information is usually because nobody has had time, not malice, and describes a ThoughtWorks person who found an error in Pivotal's docs and was pointed to the GitHub repo to submit a PR.
Bridget says that as a Chef customer at Drama Fever, Bridget happened to run into Julian Dunn, who was doing product management for the thing Bridget was unhappy about, and who told Bridget where it was on the roadmap, with no secret handshake. Matty's example is a rep from Serena Software on a small deal of about $50K, who talked about the roadmap and told Matty that Matty wasn't ready for something yet, so they'd get Matty there. It paid off: they later partnered in a big way, and Matty says a hard sell on the problem as described would have gotten them barely anything.
Michael says Chef used to run proofs of concept the traditional way, with experts setting up the tool, writing the customer's use case and demoing that the software solves the problem. They realized that was broken, and now "it's more about can the customer solve their use cases with the software." Matty recalls the Fast search POC at Apartments.com, six weeks with the vendor's engineer building everything. If Matty came in and wrote Chef code to install WebLogic, "it proves that Matt can write Chef code," which doesn't help you because Matty doesn't work for you. Matty calls it a proof of experience, a time machine to see what it will be like, and says it is physically and emotionally exhausting and Matty's favorite part of the job. The sign that it is working: "when the stickers go on the laptop, you know the deal's on its way."
Michael says the point is to challenge expectations in enterprises that say they could never work that way, by having people do it. Bridget adds that if only one part of the organization is in the room, the parts that are always at war aren't, and you sell them the units and they don't use them, so you have to get everyone in the room, since you can't just buy a tool. Michael quotes Adam Jacob: the tool reinforces the culture and the culture reinforces the tool.
Matty quotes Nathan Harvey: "everyone's in sales in your organization." Bridget found a 2014 tweet of Bridget's own for a presentation to a sales organization at a quarterly business review, "DevOps is culture, princess. Anyone who tells you differently is trying to sell something," and Andrew Clay Shafer's reply was "everyone is selling." Michael brings up Daniel Pink's To Sell Is Human, which says one in nine Americans work in sales and the other eight are selling something too. Michael says the presales team teaches value stream mapping, Kanban and pair programming during the POC, and then at the end tells customers that what they just did is foundational DevOps, and that they had no idea the presales team had done "the DevOps on them." Bridget adds that they did the DevOps for themselves.
Closing thoughts: Matty, who never expected to be good at sales, doesn't think wanting to change the world and being a good salesperson are mutually exclusive, and asks listeners to skip the assumption that everyone is selling snake oil: "Assume positive intent." Bridget, who as a sysadmin was lied to about IOPS, is humbled by how much customers trust them, and says sometimes the right answer is to stop hating each other and talk, which is what Bridget calls "DevOps therapy."
This was a special co-production with The Goat Farm. Don't forget to subscribe to their Enterprise DevOps podcast on iTunes or Stitcher!
Trevor said a few things about Chocolatey on the switching operating systems episode that caught the attention of Rob Reynolds, its creator, so Rob comes on to set the record straight and walk through where the project is headed. Rob lives in Topeka, Kansas, is a senior software engineer on the Windows team at Puppet Labs, and created Chocolatey a little over four years ago. Trevor opens with an apology for spreading misinformation, and Rob's answer is that nothing said was really incorrect.
Rob was moving from company to company and repeating the same silent-installer work each time, and wanted to make the concept more global so the wheel wouldn't need restarting, including when working outside the company firewall. The goal was to be able to sit down to pair with someone who didn't have Notepad++ and fix it quickly instead of doing "the nice long yak shave." At the time Rob was on the NuGet team, which had decided not to approach machine package management. They joked that if they ever built one they'd call it Chocolatey NuGet, since it wasn't vanilla NuGet packages, and the name stuck.
Rob's one clarification is that Chocolatey is a decentralized package management tool, and in production "you definitely don't want to be depending on the community feed." There is little control and very low trust there. Trust is something they are building, and package signing is the next big step, giving traceability from who you think created a package to who actually did. Companies can and do use Chocolatey by creating their own packages, hosting them on an internal repository, and never touching the internet. Community feed packages typically point to a binary at an official distribution point, with a checksum (many packages have one, some still don't) and the silent arguments to install or upgrade it.
Underneath, Chocolatey works through the NuGet packaging framework plus automation scripts, which are currently PowerShell, with Script.cs support to come. Script.cs is a C# scripting tool with a REPL that runs on Mono, which Trevor finds exciting.
Chocolatey started as a command line app written entirely in PowerShell, which meant starting PowerShell on every command and paying a one to two second startup penalty. It had about 20-some thousand lines of code and became interesting to maintain. For maintainability, speed and the possibility of going cross-platform, Rob decided to take the pain of a rewrite in C#. It was in beta for a while and came out that March. Rob says the goal is to make Chocolatey look like what you would expect from a Linux package manager, and that there is more work to do.
Trevor asks how a company mirrors community packages when they point at external download sites, as when Trevor's Notepad++ install broke. Rob says you currently have to edit each package, a process called repackaging. The business version coming next year will make that a single command that fetches the package and its downloads, puts them internally, and rewrites the package to point there. The paid versions will also add virus checking and, for pro users still on the community feed, an alternate private CDN so a vendor's 404 doesn't break the install.
Rob says a free service still costs money, and after three or four years of running the site, it came time to decide whether to keep pouring money into it or find a business model. Rob ran a Kickstarter last year, which succeeded. Moderation was introduced in October 2014, and before that a package went live the moment it was uploaded. It was popular but they probably turned it on too early, before the infrastructure automation was ready. Some maintainers push up to 200 packages at a time, so automation on one side and human review on the other doesn't work very well.
A couple of weeks earlier they released the verifier, which checks existing packages every two weeks to see if they still install, and emails the maintainer if not. On new submissions it runs headlessly through Vagrant, installs Chocolatey, sets up a sandbox, installs the package, and checks the uninstall too. Chocolatey takes a registry snapshot on install so it can uninstall automatically, which means about 80% of packages need no uninstall script. The validator checks quality and consistency against about 35 rules, such as naming guidelines, where an icon is hosted, and use of Start-Process, and posts notes on the package page. Only when a package installs cleanly and passes validation does a human reviewer step in, mostly to read the install script and check that the download comes from the official distribution point. Rob says the messaging is not being reported back to users yet, because they want it short and rock solid.
Trevor asks about malicious packages. Rob says they haven't found one, but "it only takes one." They have seen packages that use SourceForge, which pulls down malware. To see more of what an install touches, they plan to add Turbo, a tool formerly called Spoon that can diff a container to show every registry key and file touched.
Rob says Chocolatey lacks virtual packages, so a package can't depend on "a PDF reader" and have Adobe or Sumatra satisfy it, and it lacks concepts like replaces or conflicts. It also has no package indexes, so it hits remote systems whenever you query. Checking for upgrades took about four minutes in the old PowerShell version and about 40 seconds in the C# version, which is still too long, and with indexes it should take under a second. It has a CLI and a GUI, called Chocolatey GUI, which Trevor suggests could be renamed.
Microsoft's OneGet is a package manager aggregator that talks to other package managers, and the Chocolatey provider for it is unfinished, since the few volunteers working on it are stretched thin. Rob wants help from people who know PowerShell and C#, and would like it done in the first half of the year. Rob is also dealing with growth: downloads went from about 5 million total before moderation to, by Rob's account, another 20 to 25 million in the following year, and the site handles about a terabyte a day and 4 to 7 million requests. Approvals have slowed, and "we've sort of failed, that we didn't get the automation in place as quickly as we needed to." Rob works on stability problems on personal time, sometimes taking PTO, because as the guy behind Chocolatey, Rob hears about outages.
To get involved, Rob points to the mailing list and Gitter, taking over a package whose maintainer has disappeared, or the Up for Grabs items, which are often small and documentation-related. Rob says a longtime user once said "once you go chocolatey, you don't go back." Puppet has a Chocolatey provider and Chef has a cookbook, and there is more coming for offline use. Rob also likes the open source business model, since the paid version keeps driving features into the free one. Rob's closing plea is for better documentation, ending with: "Chocolatey, it's awesome. Use it."
Rob's pick is Turbo, and another pick slipped Rob's mind, so Trevor jokes it will be posted as Rob's latte thoughts. Trevor recommends playing with DSC and Windows Management Framework 5, Agents of S.H.I.E.L.D., and David Bowie's new video Blackstar. Rob adds that both Puppet and Chef have DSC providers, and that it is a sign of Microsoft doing things differently and more openly.