Reddit DevOps
266 subscribers
30.9K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Stop Firing Developers

*Developers make mistakes.
*Engineering managers are there to try to catch those mistakes.
*CTOs are there to make sure that “enough” testing is done.
(Forwarded Quora Mark Harrison)
#developers #managers #hr #ctos #mistakes #machinelearning

https://redd.it/fwmjvm
@r_devops
Need help with BamBoo(CI/CD)

Can I use BamBoo REST APIs in a script(bash/python) to automate build for all the projects/plans/stages. So that I shouldn't use BamBoo UI for those plans/jobs individually.

If I can can someone share an example or guide me how to do that and if I am not in a right place to ask this, please let me know where to ask.

Thanks in advance

https://redd.it/fwfp02
@r_devops
NXRM3 (Sonatype Nexus Repository) REST API not working

I have a Java/maven project and using the nxrm3 to release the project (jar) into self-hosted NXRM3.

Sonatype Nexus Repository ManagerOSS 3.21.1-01

The maven settings to the repository is correct (I can upload jar manually and then use it as dependency on another project connecting to the private repository)

So now, I am trying to push an artifact to it with:

mvn -X -Preleases install nxrm3:staging-deploy -Dtag=test-123

It can't seem to connect to the repository REST API:

Failed to execute goal org.sonatype.plugins:nxrm3-maven-plugin:1.0.3:staging-deploy (default-cli) on project mycompany-nxrm3-test: Create tag was unsuccessful (404 response from server)

When I login to NXRM3 UI and see the logging, it reaches the server but it cant seem to find the REST API, the log shows:

20-04-08 23:12:08,780+0000 ERROR [qtp1174629612-161] *UNKNOWN com.sonatype.analytics.internal.filter.AnalyticsMeteringFilter - Error metering request RESTEASY003210: Could not find resource for full path: https://nxrm3.mycompany.com/service/rest/v1/tags/build-123
2020-04-08 23:12:08,787+0000 WARN [qtp1174629612-161] developeruser org.sonatype.nexus.siesta.internal.WebappExceptionMapper - (ID 7afbd1db-93c3-487c-a843-61fddcdd720c) Response: [404] (no entity/body); mapped from: javax.ws.rs.NotFoundException: RESTEASY003210: Could not find resource for full path: https://nxrm3.mycompany.com/service/rest/v1/tags/build-123
2020-04-08 23:12:08,846+0000 ERROR [qtp1174629612-148] *UNKNOWN com.sonatype.analytics.internal.filter.AnalyticsMeteringFilter - Error metering request RESTEASY003210: Could not find resource for full path: https://nxrm3.mycompany.com/service/rest/v1/tags
2020-04-08 23:12:08,848+0000 WARN [qtp1174629612-148] developeruser org.sonatype.nexus.siesta.internal.WebappExceptionMapper - (ID 4c9d157b-fe87-4964-827f-377355eb7512) Response: [404] (no entity/body); mapped from: javax.ws.rs.NotFoundException: RESTEASY003210: Could not find resource for full path: https://nxrm3.mycompany.com/service/rest/v1/tags

what am I missing?

https://redd.it/fxhrml
@r_devops
Elasticsearch and kerberos

Hey guys, has anyone implemented elasticsearch with kerberos? Any guide that I can follow or things to know before jumping into it? I'm a newbie in elasticsearch, I know kerberos though...

Thanks! be safe...

https://redd.it/fxcjbc
@r_devops
Why do you think Golang is good for DevOps?

I see many companies switching their primary language to Go. What views you have on this language?

Is it going to be the preferred language of the DevOps?

https://redd.it/fxb32n
@r_devops
Unified workspace

Hi everyone,

I began a Cloud/DevOps jobs few months ago and i'm a little bit concerned about my workspace. As i'm working with the three tops cloud providers and many company private services (GitLab for example) i'm always switching between differents tool: VisualCode, Cmdr, AWS console, Gcloud console, WSL... etc

I feel like i'm losing so much time and i'm not able to save my preferences on editor or else, is there a quick way to unify all this ?

​

Thanks

https://redd.it/fx50jp
@r_devops
Deploy Microservices to Azure Cloud

Hi all,

I‘m looking for the simplest way to host a few microservices in Azure Cloud to provide some development environment.
Do you think I can use Web App for Containers for that or do I have to use Kubernetes?


Thanks a lot!

https://redd.it/fxbhph
@r_devops
Are DevOps challenges industry specific?

Hi all,

Wanting to get some insights into the kind of challenges devops teams are facing within particular industries- retail, media, telecom, IT. Are these challenges specific to the industry that the enterprise is in, or would you say it's across the board?

https://redd.it/fx79wl
@r_devops
Docker image SHA changes but there is no change to the docker file or source app

Hello fellow redditors,

I have a weird case of SHA images changing for what appears to be no good reason.
The docker file doesn't change and as far as I can tell, the source image SHA didn't change at all between builds.
Basically I am just working on the automation part building over and over the same image. At first, the tags were just adding up to the same image, but, for the past day, each new run of docker build changes the image SHA. The tag I push it with changes, but that is the only thing that changes.

Any ideas as to why the image sha changes?

Thanks!

https://redd.it/fx45zm
@r_devops
How are you guys using machine learning models inside services and pipelines?

I am just curious to know how are machine learning models deployed. For example, are you guys deploying it on a GPU enabled instance and keeping the GPU up and running 24/7 or are you using serverless trigger-based services that are doing the job for you?


In our case what we need to do is, run a service once in 24 hours. What is the best way to do this if our models require GPU? And it's a 3 step process i.e. 3 different models in each step are being used.


What can be the best way to do this?


Thanks!

https://redd.it/fx2d1n
@r_devops
Looking for a tool like pagerduty

I'm looking for something like pagerduty for the company I work for we are looking for something to improve the experience for customers of our managed services offering.
Not sure if pagerduty is even what I'm looking for so I thought I'd ask here for suggestions.
Our requirements are quite simple we already have a ticketing system, we also have monitoring and all we need is a tool to get hold of a person that can look at a given issue that comes up and to kind of annoy that person till they acknowledge that they've been reached. Would be cool if it had an API too.
The place I work for does managed services for cloudservices and variations of Kubernetes offerings.

What I basically want to get out of this is:

* Improved customer experience.
* Some visibility for customers in terms of if we are meeting SLA.
* Some cool reporting functionality
* Ability to resolve issues quickly and smoothly both for the team responding to relevant issue and for the customer that the resource belongs to.

Would love to hear your suggestions?

What I've looked at so far:

* Pagerduty
* OpsGenie
* uptimerobot
* site24x7
* zenduty
* victorops

Thanks for your suggestions and time

https://redd.it/fx6576
@r_devops
Unable to Pull the image from docker private repository

"Back-off pulling image "image name""

I am getting above error in kubernetes .From docker private repository its unable to pull the image.

From Public its possible.Anybody please help for this issue.

https://redd.it/fx570c
@r_devops
Project management, spring planning, and code tracking software?

I'm starting a new gig in a startup with a few developers and a couple designers along with overseas developers. We are looking for a tool we can all use that allows for some project management features, sprint planning with subtasks and backlog, and documenting issues with code commits. We are aware of some pros/cons with tools such at Gitlab, Jira, Trello. I'm also aware of PM tools such as Monday.com, Basecamp, or Asana.

Does anyone have recommendations for a common tool for around 10 users that can do what we are looking for?

https://redd.it/fwzmlp
@r_devops
Unable to create Dockerfile on Windows laptop

When I run "docker image build -t web1 ." on my command prompt , I get this error:

"The command '/bin/sh -c mkdir /app' returned a non-zero code: 4294967295: failed to shutdown container: container 985630732d2ac2c1d0fd635071eb1723bc998baaa0a8414c21ab0af9bc07733d encountered an error during hcsshim::System::waitBackground: failure in a Windows system call: The virtual machine or container with the specified identifier is not running. (0xc0370110): subsequent terminate failed container 985630732d2ac2c1d0fd635071eb1723bc998baaa0a8414c21ab0af9bc07733d encountered an error during hcsshim::System::waitBackground: failure in a Windows system call: The virtual machine or container with the specified identifier is not running. (0xc0370110)".

I have done a lot of googling but no progress. My docker runs on windows container since I am using windows, "experimental": true, and enabled experimental features in Command-Line. All still no success.

https://redd.it/fwxyyt
@r_devops
Terraform: Storing State in S3

In this article I'm going over the why and how of storing state in S3 and using DynamoDB to provide state locking: [https://www.thecloud.coach/terraform/storing-state-in-s3/](https://www.thecloud.coach/terraform/storing-state-in-s3/)

I've actually worked with organisations in the past who stored their state in Git. It was a mess and instead of working with Terraform's built in state management functionality they designed a contrived set of processes for not stepping on each other's toes. Yikes!

With this article I wanted to demonstrate why it's important to use something like S3 and why it's equally as important to use locking too. Both are critical to protecting your state's life-cycle and the integrity of your infrastructure.

I use two examples as a "proof of concept": not using S3 and having two people's works collide and cause a nightmare; and a second example along the same lines but using the better approach, demonstrating how it's superior.

Has anyone else found state being stored in a Git repo in their organisation?

https://redd.it/fwwwib
@r_devops
Tomcat web manager with HTTPS

Has anyone ever configured tomcat web manager to use HTTPS instead of HTTP? There doesn’t seem to be much if anything online about this subject and tomcat documentation doesn’t address it at all. Any tips our sources would be greatly appreciated.

What I’ve tried:
I’ve configured the manager.xml and the tomcat-users.xml file and i have it working via cli over http. The web gui hasn’t worked for me yet even after allowing my desktop IP access via the “allow” tag in manager.xml, and configuring the “manager-gui” role and accompanying user with manager-gui permission.

I’ve also tried a few other things involving https, but the results were inconsistent and i was never actually able to reach the “/manager/list” context via cli to see the app statuses. This mostly consisted of using curl to hit the registered dns entry for the server that would match the dns hostname on my ssl cert for this tomcat server, using the SSL port configured for the server as well. I received the “403 access denied” page you would get on the web gui if u navigated to the “/manager/html” context without having gui access configured properly.

https://redd.it/fy2aau
@r_devops
Employment Prospects

Hello everyone! I work in Network Operations and have been working in Information Technology off an on for around 8 years or so. I would consider myself more of a Systems Technician level (in between an advanced helpdesk and Systems Administrator) but am kind of at a standstill of employment prospects around my region. I live in the North Louisiana jurisdiction (ArkLaTex) and will [potentially] be moving to East Texas this fall. I was wondering if anyone either (1) lives around that vicinity and/or (2) has remote work that is hiring?

https://redd.it/fy1gr6
@r_devops
Chocolatey hangs on installation

I have built a cli application which i have been try to deploy with chocolatey, on installation for test using

**choco install trolltower -dvy -s .**

i get the below results but it hangs forever

​

**Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\\Users\\Leon Mwandiringa\\AppData\\Local\\Temp\\chocolatey\\trolltower\\1.0.0' -statements ' ' -exeToRun 'C:\\Users\\Leon Mwandiringa\\AppData\\Local\\Temp\\chocolatey\\trolltower\\1.0.0\\trolltower-x64-1\_0\_0.exe'**

**Unable to use current location for Working Directory. Using Cache Location instead.**

**Test-ProcessAdminRights: returning True**

**Elevating permissions and running \["C:\\Users\\Leon Mwandiringa\\AppData\\Local\\Temp\\chocolatey\\trolltower\\1.0.0\\trolltower-x64-1\_0\_0.exe" \]. This may take a while, depending on the statements.**

https://redd.it/fxznqv
@r_devops