News for hackers. Stuff that matters.
Re:The Big DevOps Misunderstanding by INTPenis on Sunday December 19, 2021 @05:14PM (#29618986)
Being a devops guy these last 2 years I have noticed that besides doing what you just mentioned, I am basically end user support for developers.

And through this I've noticed that developers can be just as bad at communicating issues as any end user I've ever dealt with.

Just because they've written the system end users use, does not mean they're better at reporting problems to me, because their problems are about the pipelines, the kubernetes clusters, the containers, anything outside of their programming code basically.

So I still need to use all the communication skills I learned decades ago when I was doing end user support for people who didn't even work in IT.

Re:The Big DevOps Misunderstanding by capn_duck on Sunday December 19, 2021 @07:03PM (#29619999)
In my experience, its because the tools that are given to the dev team are opaque, poorly documented, made for a general case that rarely is sufficient, and usually locked down with some role based access control to the point where, even if I can figure out whats wrong with some pipeline, I rarely have the access to change something. I have an AWS Codepipeline that I can see running, but the logs from each step are sent to a Cloudwatch instance running in another AWS account, which only the devops folks can view. I have a Jenkins pipeline that was cookie cutter from what the devops team offers. If I wanted to actually grok whats occurring during the pipeline, I'd have to jump between 3 or 4 github repos, and also account for the versions/branches on each one.

It really feels worse than back in my websphere days, where in order to see app logs, we had to submit a ticket to the hosting teams and wait 2 days for a .log file to be sent back through email. I'm consistently left wondering if we've actually gained anything.

Re:The Big DevOps Misunderstanding by Macha on Sunday December 19, 2021 @09:31PM (#29620943)
Yeah, one of the reasons I left a previous team was the company's attempt at embracing this. The standards were set down from a central platform team, the access control was held by department specific operations team, but developers were now "responsible" for the production deployments but granted neither the agency or access to do shit about it. So being paged about an issue with a load balancer setup that is understand by 2 guys in the platform team and configured by a different guy and having him have to send you screenshots of the config while digging in the source of the platform team's tool because of course there's no docs.
Re:The Big DevOps Misunderstanding by ethbr0 on Sunday December 19, 2021 @07:19PM (#29620128)
I think the above is what happens when a devops tools team doesn't do discovery and user interviews.

We've been at a point of software and development where we can build pretty much anything. But people are still making the same mistakes in figuring out what we should build.

Fix the cause, not the symptom.

Edit: And because I know it's coming... if IT security (or insert other org here) is the reason things can't be better, then it becomes the devops tools team's job to cajole them into doing it anyway, on behalf of their users.

Re:The Big DevOps Misunderstanding by nightpool on Sunday December 19, 2021 @08:37PM (#29620654)
I understand where you're coming from, but I don't think you really need "discovery and user interviews" to tell you that app developers need to be able to see their deployment logs, or that having your deployment code spread out across 3-4 repos with frequent changes makes it harder to troubleshoot. I think a lot of people might read this comment as blameshifting, where obvious flaws in the engineering and reliability of the system are blamed instead on a failure to define the specifications properly ahead of time.
Re:The Big DevOps Misunderstanding by ethbr0 on Sunday December 19, 2021 @09:39PM (#29620992)
Here's the reason, 9 out of 10 times, this situation persists -- no one realizes it's happening.

No one realizes some dev teams can't see their own deployment logs. No one realizes teams don't have the correct Jenkins access. No one realizes there's a mysterious gatekeeper to use the corporate time series database as a service. No one realizes all new containers are transferred to a few people who have the rights to publish them.

And when I say "no one realizes", I mean two things. One, the people who do know, because they're the ones trying to do it, have given up bitching about it, because they did for years and nothing happened. Two, the people who can actually change things don't know, either because they actively ignored / forgot or because the requests never reached them (usually because a middle transport manager didn't understand what was actually being asked).

And so... the status quo prevails, and everyone has a vague sense that something isn't working, but doesn't know what to do about it.

And to that problem, the best solution I've found is to get the fixer and the problem user as close as possible, wherein the problem is usually revealed as a relatively simple change or feature oversight. And for that, discovery and user interviews are the most reliable method.

Re:The Big DevOps Misunderstanding by croon on Monday December 20, 2021 @05:25AM (#29623157)
> And to that problem, the best solution I've found is to get the fixer and the problem user as close as possible

You mean put development and operations together, into some kind of dev..ops.. :)

I'm sorry for the snark, it was not meant as disagreement with what you said. The whole idea of the role was to try to remedy that exact issue, but old habits die hard and sometimes things just change names but stay the same. I shouldn't throw stones, I'm struggling at our shop to steer outside of that behavior as well.

Re:The Big DevOps Misunderstanding by ethbr0 on Monday December 20, 2021 @10:37AM (#29626068)
devops is the new agile
Re:The Big DevOps Misunderstanding by inkeddeveloper on Monday December 20, 2021 @10:18PM (#29633424)
The only good thing that has come out of the rise of devops is all the conferences I have been able to attend.
Re:The Big DevOps Misunderstanding by inkeddeveloper on Monday December 20, 2021 @10:17PM (#29633417)
This is why I pushed for a developer advocate role at my last place. The idea was shit on pretty quickly.
Re:The Big DevOps Misunderstanding by hnthrowaway0315 on Sunday December 19, 2021 @11:21PM (#29621548)
I actually think that it's an issue of company structure. Once you concentrate ALL deployment/operational power to a single DevOps team, you really lose the power to touch individual teams and make human budgets clearly. This is more of a "cost-center" move that implicitly signals that company X needs a single platform and individual requirements are not going to be prioritized.

The same thing with a single DBA or whatever admin team. My dream team structure is a task-force like one. Each team has its own DevOps/DBA. They don't have to be dedicated roles, but someone in the team needs to be well-trained on those topics.

But I guess this model never scales in larger corporations so eventually they all adopt the One X-admin team model.

Re:The Big DevOps Misunderstanding by liotier on Monday December 20, 2021 @01:07AM (#29621971)
> My dream team structure is a task-force like one. Each team has its own DevOps/DBA. They don't have to be dedicated roles, but someone in the team needs to be well-trained on those topics.

Looking back at the last twenty years, oscillating between central sysops and everyone doing their own thing (is that "devops" ?), I feel that an optimum requires both: local skills to iterate fast, central skills to consolidate. Striking a budgetary balance is difficult, but at least ensure that some local skills remain - sell it to central ops as a way to get the trivial demands off their backs !

Re:The Big DevOps Misunderstanding by hnthrowaway0315 on Monday December 20, 2021 @08:47AM (#29624860)
This is good point and definitely more doable when the company is already centralized.
Re:The Big DevOps Misunderstanding by ethbr0 on Monday December 20, 2021 @10:45AM (#29626152)
IMHO, the "centralized team" + "decentralized liasons" model isn't explicitly used nearly as often as it should be.

It usually happens in practice ("Sarah knows someone in security"), but there's no reason "devops liason" can't be an explicit 2nd+ hat for someone on a team to wear.

Centralized teams are necessary for budgetary reasons: one person on every team asking for a devops product will never make a coherent case to management for why it's needed, but a team will.

But having been on both sides of the equation, the central-decentralized relationship usually breaks down because there's always a new face on the right side of that equation, and that requires reteaching / recoordinating all the basics. More consistency on the user side (a hat) helps significantly.

And ultimately, it's a trust problem: do I (central person) trust this person who's asking me for something? If they're new to me... probably not very much. If I've been working with them for awhile... probably a lot more.

Re:The Big DevOps Misunderstanding by hnthrowaway0315 on Monday December 20, 2021 @01:15PM (#29627945)
Agreed. And I don't really see a good solution for this. I guess we have to recognize that when companies grow and especially when structures are moved around, the original "agile" efficiency is not going to be there so we need to slow down in whole.
Re:The Big DevOps Misunderstanding by 2fast4you on Sunday December 19, 2021 @08:21PM (#29620563)
Do you have good resource in how to discovery/user interviews? I’m on a DevOps team working to mature the first few tools we made
Re:The Big DevOps Misunderstanding by ethbr0 on Sunday December 19, 2021 @08:29PM (#29620613)
I'd look at UX books. They've got more formal approaches.

Personally? Make a list of all the teams that use your product. Schedule interviews (30 minutes to an hour for initial) with a few that use it the most, and a few that use it less. Ask them what the best and worst parts are. Ask them details about the things they bring up, and prompt about related areas they might be struggling with too.

If you get any repeats from team to team, assume those are systemic issues and try and find a solution.

The hard part usually isn't figuring out the nuances, but rather realizing that someone wants to do something at all and/or can't because of some restriction. Assume you know nothing about how they actually do what they do and listen closely.

Re:The Big DevOps Misunderstanding by wting on Monday December 20, 2021 @11:14PM (#29633781)
To add on to ethbr0's good response, a few other things to do:

1. Find early adopters of the thing you're building who are willing to use and give feedback (bugs, friction logs) in the early stages of the feature.

2. Build relationships with your users / VIP users and meet regularly to discuss friction points and upcoming features (feasibility, etc). To make it time efficient, make sure you're talking to staff engineers who can speak on behalf of a significant portion of your user base. Make sure your team is closing the feedback loop with these engineers (i.e. shipping things that address their concerns) in a timely fashion.

Re:The Big DevOps Misunderstanding by raffraffraff on Monday December 20, 2021 @03:26AM (#29622537)
Sending logs to a dedicated AWS account is usually done for compliance. That account will have rules set via AWS Organization policies that limit IAM user rights and protect S3 buckets from being tampered with. I don't see why it should be necessary to ban read-only access to these logs for troubleshooting.

Anyone here know a good legal, compliance or best practice reason for blocking all access, or did the infra/sec team just get carried away here?

IMO the biggest issue other engineers tend to have with security is that it needlessly restricts them to the point where their job sucks. It's just as important to avoid "too much restriction" as "too little restriction".

Re:The Big DevOps Misunderstanding by michaelt on Monday December 20, 2021 @05:30AM (#29623200)
> Anyone here know a good legal, compliance or best practice reason for blocking all access

The philosophies include:

1. Applying a maxim like "Principle of Least Privilege", or "That which is not allowed, is forbidden". Maybe through choice, maybe due to standards like PCI-DSS and SOC2.

2. Blocking access isn't a problem, because we're going to grant access requests quickly. Just as soon as we fill these five vacancies on the team....

3. Surely bugs making it to production will be a very rare event? Aren't these developers testing properly?

4. Don't we have test environments for troubleshooting? Isn't the heart of devops that you have a test pipeline that you have confidence in? If your developers think they're likely to deploy buggy software to production, maybe you aren't ready for devops...

5. Any large organisation will, at some point in its history, have had some chump run their test code against the production system and send every customer an e-mail saying "Hello World". If that happened when you had 30 developers, I doubt hiring standards are any higher now you have 300 developers! Stopping that happening again is common sense professionalism.

6. Would you want Google's 100,000 engineers to have read-only access to your gmail account? Of course you wouldn't, you've got loads of private shit in there. And if you were CEO, would you want an intern on a 2 week placement to be able to download the entire customer database? Of course you wouldn't. People having access - even read-only access - to the production system is a bad thing.

7. Locking down a lot of things gives the security team more political power, as every request to reduce restrictions or expedite a request is a favour owed.

Re:The Big DevOps Misunderstanding by capn_duck on Monday December 20, 2021 @04:25AM (#29622833)
Yea I completely understand the complexities that emerge when you're doing this stuff for a ~1500 person organization. And I know that overwhelmingly the people building these systems are talented and competent and have a stake in things and take pride in what they're doing. My comment was really more in response to the tone of the parent comment which insinuates that these helpless devs just can't figure out what the fuck is going on.

Coming from a team that builds and supports an end user suite of applications. I'm not asking you to bend over backwards like I would have to do for a client. But at least don't enter in to conversations with that attitude. You are in a service organization. You deliver value insofar as you can help the next link in the chain.

Re:The Big DevOps Misunderstanding by INTPenis on Monday December 20, 2021 @03:19AM (#29622504)
Yeah that's also part of our job, to expose the right info to developers so they don't have full access to everything but can still do their job. In my case that involves shipping logs to Grafana so they can view them there. In AWS it wouldn't be hard to create a policy for IAM users so the devs can view logs in the AWS console.
Re:The Big DevOps Misunderstanding by capn_duck on Monday December 20, 2021 @04:17AM (#29622797)
You're right, it would not be hard. But I don't have the keys to do that. I would have to talk to someone on the devops team and I would hope they wouldn't write me off as some dumb developer who only knows how to code, whatever that means.
Re:The Big DevOps Misunderstanding by datavirtue on Sunday December 19, 2021 @08:42PM (#29620680)
Agreed. I approach shared services like a customer because that is all the power I have. It is supposed to work; that is all I know or have time to deal with. Off the the slack support channel...if you are real lucky.
Re:The Big DevOps Misunderstanding by Pxtl on Sunday December 19, 2021 @08:30PM (#29620614)
> And through this I've noticed that developers can be just as bad at communicating issues

I swear to god the next guy who sends me the screenshot of an error log...

Re:The Big DevOps Misunderstanding by testplzignore on Sunday December 19, 2021 @10:18PM (#29621224)
You haven't known hell until you've been sent a video of someone scrolling through a log file.
Re:The Big DevOps Misunderstanding by mrweasel on Monday December 20, 2021 @03:37AM (#29622596)
The number of developers who believe that operations is a support channel for development is truly amazing. How am I suppose to know why your software is broken? You wrote it. In reality it's easy enough most of the time, if you can read logs.

Still, there's a weird expectation that operations is a bunch of elite developers, knowledgeable about all programming language, who just choose to do operations because they enjoy getting calls at 3AM

Re:The Big DevOps Misunderstanding by dvtrn on Tuesday December 21, 2021 @01:05PM (#29640185)
The number of developers who believe that operations is a support channel for development is truly amazing.

The amount of engineering leaders that allow it to happen is far more frustrating, at least IMO it is.

Re:The Big DevOps Misunderstanding by INTPenis on Monday December 20, 2021 @03:20AM (#29622511)
Or another example from last week, a java developer sends me 50 lines of exception text when even I know that ONE of those lines is all you need to explain the problem.

And this particular developer is my main problem in that project. So it's not all developers who are bad, it's about the same percentage as regular end users I'd say.

Re:The Big DevOps Misunderstanding by bcrosby95 on Monday December 20, 2021 @01:47AM (#29622107)
My boss will text me screenshots of error logs and ask me to help debug his problem via text message.

UGH.

Re:The Big DevOps Misunderstanding by datavirtue on Sunday December 19, 2021 @08:45PM (#29620695)
Blame management. They thought it would be a good idea to go into the DevOps PaaS business.
Re:The Big DevOps Misunderstanding by xxpor on Sunday December 19, 2021 @11:10PM (#29621498)
At a certain point you have to ask how can someone not think about what they're doing at all. If someone asks for a log, what would go through your brain that says, should I give it to the person asking in the most inconvenient format possible? What's the first thing they're going to do with it?
Re:The Big DevOps Misunderstanding by codeduck on Sunday December 19, 2021 @06:33PM (#29619737)
> I am basically end user support for developers.

Pull up a seat at the bar with us.

Re:The Big DevOps Misunderstanding by anotherhue on Sunday December 19, 2021 @09:36PM (#29620976)
And drink whenever the dev works out that it was their fault the entire time.
Re:The Big DevOps Misunderstanding by codeduck on Monday December 20, 2021 @04:08AM (#29622735)
enlightenment comes seldom and without thanks, unfortunately.
Re:The Big DevOps Misunderstanding by pm90 on Sunday December 19, 2021 @06:38PM (#29619791)
I’ve seen this and I empathize. I’ve seen it lead to a sort of learned helplessness in developers who are supposed to own their whole stack.

I do think it’s unavoidable though. No company will have a truly open stack. There will be customized versions of everything, with caveats only the infrastructure team or developer-tools team are aware of. Naturally these teams become the go to folks to ask questions and resolve issues.

I don’t know if a good way around it. Documentation works to an extent. But at some point you have to decide what parts of the system you want to expose to developers, and whenever that happens you become the layer they communicate with rather than the underlying technology.

Re:The Big DevOps Misunderstanding by jsperson on Sunday December 19, 2021 @06:44PM (#29619854)
I’m a consultant data engineer and am on my third engagement in a row where devops has been the hardest part of my job. Every org has their pet stack with their own poorly documented process. Having devops as developer support is critical to getting solutions out the door.
Re:The Big DevOps Misunderstanding by sjtindell on Sunday December 19, 2021 @07:57PM (#29620400)
Agreed. In my experience there are only a handful of companies (Netflix for example) where the pipeline is truly hands off and any developer can deploy to production at any time. We’re talking about the people who literally built Spinnaker, and most teams aren’t that.
Re:The Big DevOps Misunderstanding by spion on Monday December 20, 2021 @07:07AM (#29623935)
In my experience thats not true, but it does take education and cultural change to get there.