Check out agile admin James Wickett’s talk from DeliveryConf last month on adding security into your continuous software delivery pipeline!
Check out agile admin James Wickett’s talk from DeliveryConf last month on adding security into your continuous software delivery pipeline!
Filed under Conferences, DevOps, Security
There’s a discussion on the devops Google group about how people are increasingly defining DevOps as “chef and/or puppet users” and that all DevOps is, is using one of these tools. This is both incorrect and ignorant.
Chef and puppet are individual tools that you can use to implement specific parts of an overall DevOps strategy if you want to use them – but that’s it. They are fine tools, but do not “solve DevOps” for you, nor are they even the only correct thing to do within their provisioning niche. (One recent poster got raked over the coals for insisting that he wanted to do things a different way than use these tools…)
This confusion isn’t unexpected, people often don’t want to think too deeply about a new idea and just want the silver bullet. Let’s take a relevant analogy.
Agile. I see a lot of people implement Scrum blindly with no real understanding of anything in the Agile Manifesto, and then religiously defend every one of Scrum’s default implementation details regardless of its suitability to their environment. Although that’s better than those that even half ass it more and just say “we’ve gone to our devs coding in sprints now, we must be agile, woot!” Of course they didn’t set up any of the guard rails, and use it as an exclude to eliminate architecture, design, and project planning, and are confused when colossal failure results.
DevOps. “You must use chef or puppet, that is DevOps, now let’s spend the rest of our time fighting over which is better!” That’s really equivalent to the lowest level of sophistication there in Agile. It’s human nature, there are people that can’t/don’t want to engage in higher order thought about problems, they want to grab and go. I kinda wish we could come up with a little bit more of a playbook, like Scrum is for Agile, where at least someone who doesn’t like to think will have a little more guidance about what a bundle of best practices *might* look like, at least it gives hints about what to do outside the world of yum repos. Maybe Gene Kim/John Willis/etc’s new DevOps Cookbook coming out soon(?) will help with that.
My own personal stab at “What is DevOps” tries to divide up principles, methods, and practices and uses agile as the analogy to show how you have to treat it. Understand the principles, establish a method, choose practices. If you start by grabbing a single practice, it might make something better – but it also might make something worse.
Back at NI, the UNIX group established cfengine management of our Web boxes. But they didn’t want us, the Web Ops group, to use it, on the grounds that it would be work and a hassle. But then if we installed software that needed, say, an init script (or really anything outside of /opt) they would freak out because their lovely configurations were out of sync and yell at us. Our response was of course “these servers are here to, you know, run software, not just happily hum along in silence.” Automation tools can make things much worse, not just better.
At this week’s Agile Austin DevOps SIG, we had ~30 folks doing openspaces, and I saw some of this. “I have this problem.” “You can do that in chef or puppet!” “Really?” “Well… I mean, you could implement it yourself… Kinda using data bags or something…” “So when you say I can implement it in chef, you’re saying that in the same sense as ‘I could implement it in Java?'” “Uh… yeah.” “Thanks kid, you’ve been a big help.”
If someone has a systems problem, and you say that the answer to that problem is “chef” or “puppet,” you understand neither the problem nor the tools. It’s “when you have a hammer, everything looks like a nail – and beyond that, every part of a construction job should be solved by nailing shit together.”
We also do need to circle back up and do a better job of defining DevOps. We backed off that early on, and as a result we have people as notable as Adrian Cockroft saying “What’s DevOps? I see a bunch of conflicting blog posts, whatever, I’ll coin my own *Ops term.” That’s on us for not getting our act together. I have yet to see a good concise DevOps definition that is unique if you remove the word DevOps and insert something else (“DevOps helps you bring value to software! DevOps is about delivering a service to a customer!” s/DevOps/100 other things/).
At DevOpsDays, some folks contended that some folks “get” DevOps and others don’t and we should leave them to their shame and just do our work. But I feel like we have some responsibility to the industry in general, so it’s not just “the elite people doing the elite things.” But everyone agreed the tool focus is getting too much – John Willis even proposed a moratorium on chef/puppet/tooling talks at DevOpsDays Mountain View because people are deviating from the real point of DevOps in favor of the knickknacks too much.
Filed under DevOps
The first session in Day 1’s afternoon is Getting Fast: Moving Towards a Toolchain for Automated Operations. Peco, Jeff, and I all chose to attend it. Lee Thompson and Alex Honor of dto gave it.
I have specific investment in this one, as a member of the devops-toolchain effort, so was jazzed to see one of its first outputs!
A toolchain is a set of tools you use for a purpose. Choosing the specific tools should be your last thing. They have a people over process over tools methodology that indicates the order of approach.
Back in their ControlTier days they wrote a paper on fully automated provisioning. Then the devops-toolchain Google group and OpsCamp stuff was created to promote collaboration around the space.
Discussion on the Google group has been around a variety of topics, from CM to log management to DevOps group sizing/hiring.
Ideas borrowed from in the derivation of the devops toolchain concept:
Eric Raymond (The Art of UNIX Programming, The Cathedral and the Bazaar)
Interchangeable parts – like Honore Blanc started with firearms, and lean manufacturing and lean startup concepts today.
In manufacturing, in modern automation thought, you don’t make the product, you should make the robots that make the product.
Why toolchains?
Integrated tools are less flexible – integratable tools can be joined together to address a specific problem (but it’s more complex).
Commercial bundled software is integrated. It has a big financial commitment and if one aspect of it is weak, you can’t replace it. It’s a black box/silo solution that weds you to their end to end process.
Open source software is lots of independent integratable parts. It may leave gaps, and done wrong it’s confused and complicated. But the iterative approach aligns well with it.
They showed some devops guys’ approaches to automated infrastructure – including ours! Woot!
KaChing’s continuous deployment is a great example of a toolchain in action. They have an awesome build/monitor/deploy GUi-faved app for deploy and rollback.
Then they showed a new cut at the generalized architecture, with Control, Provisioning, Release, Model, Monitoring, and Sources as the major areas.
Release management became a huge area, with subcomponents of repository, artifact, build, SCM, and issue tracker.
In monitoring and control, they identified Runbook Automation, Op Console/Control, Alarm Management, Charting/History/SPC, and Measurement Instrumentation.
Provisioning consists of Application Service Orchestration, System Configuration, Cloud/VM or OS install.
This is all great stuff. All these have open source tools named; I’ll link to wherever these diagrams are as soon as I find it! I must not have been paying enough attention to the toolchain wiki!
All in all an awesome recap of the DevOps toolchain effort! Great work to everyone who’s done stuff on it, and I know this talk inspired me to put more time into it – I think this is a super important effort that can advance the state of our discipline! And everyone is welcome to join up and join in.
Filed under DevOps, Conferences