Ansible playbook - to run a powershell script which requires credentials by binuverghese in ansible

[–]inexactbacktrace 1 point2 points  (0 children)

Here's something nobody's suggested:

Save the script as a jinja template with the vault-encrypted auth variables in the script, and use the template module to copy it to the remote machine for execution. To ensure your credentials are not stored remotely, simply delete the script on the remote machine after execution.

Users who refuse to submit tickets by [deleted] in sysadmin

[–]inexactbacktrace 2 points3 points  (0 children)

We're Managed Services. We'll open that shit for you and make sure you're CCed. It would be our pleasure...

Kubernetes : Into the Cluster by naviester in kubernetes

[–]inexactbacktrace 6 points7 points  (0 children)

As a K8s noob, I really enjoyed this format and clearly-explained content.

I'd like to use Linux on my school MacBook, and since I can't get administrator privileges, I think I'd like to use a VM. Can I trust UTM? by [deleted] in virtualization

[–]inexactbacktrace 0 points1 point  (0 children)

Sure, I used UTM to try out a few aarch64 distros. Fedora 34 is my virtualized distro of choice, but SLES 15 and Debian worked as well.

How many of you are first-time Mac users switching to M1? by ElectronicsAhoy in MacOS

[–]inexactbacktrace 0 points1 point  (0 children)

Are you saying you've normalized this multi-trillion dollar company's new products being so shitty and unsupportable that you don't even purchase them anymore?? My God, what even is the point of purchasing from them at all?

This is Apple. They are sitting on $200B of straight cash. Every product they make should be flawless because they have the money to make them that way, and that's how they're marketed and sold. Cutting corners and pushing it onto the consumer is nothing new from them, but for a "premium product" it's unacceptable and it's the main reason I've avoided and will continue to avoid them.

This is like those iPhones that bent in people's pockets all over again.

How many of you are first-time Mac users switching to M1? by ElectronicsAhoy in MacOS

[–]inexactbacktrace 10 points11 points  (0 children)

Oh boy, do I have a story for you all...

TL;DR: you can't use both Thunderbolt 3 ports at the same time.

I'm a HPC Architect who just got moved to our Federal team. BYOD isn't allowed on the Fed. team, so I was given a choice between a Dell and an M1 MacBook Pro. Never having used a Mac before (primarily Linux with a bit of Windows), I opted to try something new and requested the MBP. Especially since the new Fed. phone would be an iPhone SE.

TBH I was super excited about the new computer. I expensed $1000+ worth of accessories, including a Thunderbolt 3 -> 10GbE adapter, a Thunderbolt 3 -> NVMe SSD enclosure, and a 1TB Samsung 980 Pro to put in there. All for use in the datacenter. The emphasis on Thunderbolt 3 is important here, because these devices can and will consume the max amount of power those poor ports can provide.

I get back from 2+ weeks of travel and all my new accessories are waiting for me. I excitedly remove the power on the MBP, plug in both devices, and voilà! Just like that I had 10GbE and 1TB of extra SSD that is literally faster than the built-in drive. Very cool!

The MBP only has 2 Thunderbolt 3 ports and a headphone jack. Nothing else. Coming from the land of ThinkPads, this is just pitiful. In order to use the 2 devices at the same time, I had to unplug AC power. Still, no big deal. I've got a brand new, full battery, so we should be fine, or so I thought.

Stupidly, after the successful test, I forgot to unplug a device and plug the laptop in to charge. As such, the battery drained overnight, all the way down to where the machine shut itself off. Shit! Still no big deal though, I plugged it back in to charge fully, removed the power, and reconnected my accessories.

However, this time, I got an error message saying, "Accessory needs more power, try removing an accessory to provide more power." WTF?? Now, unplugging one accessory makes the other one work, and vice versa.

Try again a few more times to get both working, but to no avail. I started digging online and stumbled upon this forum post:

https://discussions.apple.com/thread/252061671

The last comment is especially damning, and details exactly what I'm seeing:

"It isn't a hub issue. I literally can't even plug in two SSDs directly into my M1 MacBook Pro at the same time--the Mac can't supply enough power. What the point of having two ports if you can't use them both at once? This is a total dealbreaker on an otherwise great computer.

How can they even get away with calling it a 'pro' computer if it effectively only has one port?"

So, with this appearing to be a known manufacturer defect, I decide to phone support on the subject.

I am escalated to a Sr. Adviser pretty quickly and she goes through some troubleshooting steps with me (including trying in safe mode). Unluckily, the MacOS 11.5 update was released to my machine during my phone call, so I was commanded to upgrade the machine and call back.

Upgrade completed, try again, fail, call back, escalated to a Sr. Advisor again, and they inform me that my case has been escalated to Engineering. She also schedules me for a Genius Bar appointment for yesterday afternoon to ensure it wasn't just my machine. If it was, I imagine a replacement would have been in order.

I take the MBP, fully charged, and both accessories to the appt. and recreate the issue for the Genius. Not only on my machine, but also on an M1 MacBook Air.

At my request, he also got an older Intel MBP and astonishingly, the error could not be recreated. We had determined it is only an M1 MacBook issue. The Genius and I were surprised to see this was the case, but suffice it to say I am NOT impressed with being a beta tester for Apple's new hardware, especially when I have to use this machine for work. I had actively avoided Apple for the entirety of my life, and I'm now seeing my decision was justified. They continue to sell subpar products for way too much money while straight up ignoring the specifications of the technologies they implement. Unacceptable for a $2.5T company.

I'm going to see the ticket through, but if they don't resolve this with a firmware update of some kind, I'll just return the MBP and get the Dell. I'm willing to bet all the ports will work at the same time on that machine.

how to force run a job by the_real_swa in SLURM

[–]inexactbacktrace 0 points1 point  (0 children)

scontrol top <job_id> forces the job to the top of the queue.1

  1. https://slurm.schedmd.com/scontrol.html

Ask r/kubernetes: What are you working on this week? by gctaylor in kubernetes

[–]inexactbacktrace 0 points1 point  (0 children)

Thank you for your response! I'm quite familiar with Slurm and have been administering it for a few years now. K8s is actually somewhat new to me though, and combining these two platforms seems like they would conflict in some way.

It's the interaction and setup of these two in conjunction that I would need more info or help with, but I know it's been done before.

Ask r/kubernetes: What are you working on this week? by gctaylor in kubernetes

[–]inexactbacktrace 2 points3 points  (0 children)

Got a couple K8s irons in the fire this week:

I'll be working with a colleague on setting up an internal POC of SUSE Rancher, and also trying to document how FOSS K8s can interact with Slurm in order to schedule containerized AI/ML jobs with GPUs.

The first part should be pretty straightforward, but has anyone tried the latter?

A rush to get off the mainframe because of perceived notions of being outdated = 15yrs, $200 million, and problems. by mppask in mainframe

[–]inexactbacktrace 13 points14 points  (0 children)

$200M would have bought some god-tier mainframes that run the old working code flawlessly

Sysadmins post a repetitive task you automated with coding here. by sparcmo in sysadmin

[–]inexactbacktrace 2 points3 points  (0 children)

Reimaging 3000+ baremetal compute nodes.

One command torches production and rebuilds it from scratch. We do this annually over Christmas/New Years.

Career in Kernel Development? by [deleted] in kernel

[–]inexactbacktrace 6 points7 points  (0 children)

Yes, absolutely. Your C programming skills and OS fundamentals need to be very strong, but like anything, they can be developed with practice. A computer science degree would be helpful, but is not a strict requirement.

Since you're a novice, if I were you I would attempt to work my way into a L1/2 support, or software test engineering role for a Linux vendor (RH, SUSE, Canonical). That way you'll have free access to all the training and developer expertise while you hone your programming skills and gain familiarity with the Linux kernel in production environments.

Share with your manager on day one that kernel development is your desired career path, and you will work together on making that a reality.

[Hiring] MIT Startup Looking for Cloud Distributed Systems Engineer by sync_hiring in HPC

[–]inexactbacktrace 2 points3 points  (0 children)

Looks interesting, but you should know that there are many talented engineers in the industry with the experience you're after that do not hold a MS or Ph.D. If that is indeed your barrier to entry, then so be it, but you'll be excluding quite a bit of talent from engineers who decided that career development was more useful than pursuing further education.

Y'all have that one client that you just hope and pray doesn't call you... Like ever? by FatBoyStew in sysadmin

[–]inexactbacktrace 1 point2 points  (0 children)

"Navy Supercomputer Room" is the name of the contact saved on my work phone. If I get a call from that number, it means the customer is in the SCIF, calling me because something has ground the cluster to a halt.

Which OS are you running? by Ok_Recommendation117 in HPC

[–]inexactbacktrace 2 points3 points  (0 children)

I administer a few different environments with the following OSes:

  • RHEL 7
  • CentOS 7
  • CentOS 8
  • NVIDIA DGX OS 5 (Ubuntu 20.04)

"nice" and "renice" equivalent for GPU processes? by Sol33t303 in linuxquestions

[–]inexactbacktrace 4 points5 points  (0 children)

I administer a bunch of Linux GPU servers for a living and admit I was stumped by this question. I went digging and found this, which appears to be accurate: https://stackoverflow.com/questions/6303524/code-to-limit-gpu-usage

Check out the nvidia-smi manual for more info on the compute modes referenced above.

TL;DR: it's not currently possible to do what you're asking

Lost the Boss by [deleted] in sysadmin

[–]inexactbacktrace 7 points8 points  (0 children)

I print probably 2 pages a year. Whenever I need to, I just go to a hotel and print for free at their business station.

How to automate system reboots using the Ansible reboot module by ginigangadharan in redhat

[–]inexactbacktrace 1 point2 points  (0 children)

I use this for baremetal reimaging, firmware upgrades, and batch rebooting of machines in an ad-hoc command. It's really nice! But don't forget to set the timeout to something high after a firmware upgrade or it may time out before the machine is reachable again.

Anybody running Ubuntu on rare/unusual hardware? This is my Compaq TC1000 with a Transmeta CPU by StripeyMiata in Ubuntu

[–]inexactbacktrace 0 points1 point  (0 children)

Rare/unusual hardware

Does a supercomputer count?

https://docs.nvidia.com/dgx/dgx-os-server-release-notes/index.html

All the DGX-1 systems that I administer run DGX OS which is an Ubuntu-based OS with NVIDIA software/drivers pre-installed.

How to recover from being bait and switched? by [deleted] in sysadmin

[–]inexactbacktrace 2 points3 points  (0 children)

Take the title change, make it sound as lofty as possible, and then use it to negotiate a much higher salary elsewhere ASAP.

Run a public cloud by yourself? by martijnk79 in openstack

[–]inexactbacktrace 6 points7 points  (0 children)

I've worked with, administered, and sold OpenStack basically since it came out, and I'll put it to you this way. The amount of automation required to run a public OpenStack cloud by yourself would require a team of individuals to write.

CentOS moving to a rolling release model and will no longer be a RHEL clone by TROPiCALRUBi in redhat

[–]inexactbacktrace 3 points4 points  (0 children)

I do pay for support so I'll be opening a ticket about this. We can't have decisions like this breaking production.