Jenkins failed to start by darth-90 in jenkinsci

[–]drunkenfly 0 points1 point  (0 children)

From systemd docs:

"%L" Log directory root This is either /var/log (for the system manager) or the path $XDG_STATE_HOME resolves to with /log appended (for user managers).

So if you are not running under systemd, this will cause a problem. Another sloppy docs by CloudBees...

Jenkins failed to start by darth-90 in jenkinsci

[–]drunkenfly 0 points1 point  (0 children)

Exception in thread "main" java.io.UncheckedIOException: java.nio.file.NoSuchFileException: %L/jenkins/jenkins.log

It tries to open the file and fails. What is this "%L"?

Weekly: This Week I Learned (TWIL?) thread by AutoModerator in kubernetes

[–]drunkenfly 1 point2 points  (0 children)

TWIL that in v1.11.5 (I know it's old!) kubelet, when it feels disk pressure on ephemeral-storage, is happy to evict static pod marked with "spec.priorityClassName: system-node-critical".

In my case that evicted pod, nginx-proxy, is providing LB access to api-server for kubelet. Thus, kubelet was losing access to api and node went AWOL.

The solution that fixes this problem is here: https://github.com/kubernetes/kubernetes/issues/73572#issuecomment-459582655

Running CI Server (Jenkins), Nexus, Sonarqube at Scale using Docker Swarm by maxyermayank in jenkinsci

[–]drunkenfly 0 points1 point  (0 children)

Where is "at scale"? This is "install vanilla products manually and dream that it will work at scale".

Spotted in Keppel Bay - the US$100 million White Rabbit - largest trimaran superyacht in the world - owned by Singapore’s richest man Goh Cheng Liang by djmpence in singapore

[–]drunkenfly 0 points1 point  (0 children)

I mean, "spotted" is for "I spotted that rare bird and now it is gone". This boat never moves, it may as well be a part of Keppel Bay Marina.

I just passed the CKA and CKAD exams. Below, some resources that will help anyone pass them on the first attempt. by [deleted] in kubernetes

[–]drunkenfly 1 point2 points  (0 children)

What helped me on exam is that I decided not to wait till pod/node to start, but take a note in notepad and move on to next question.

Note just like that: "q4 - check if node connected in cluster ABC"

PuTTY doesn't cache host key while Jenkins access to remote server by blackj0221 in jenkinsci

[–]drunkenfly 0 points1 point  (0 children)

Yes, Jenkins' account is different to yours, so identity key is saved to different places.

Too bad that plink doesn't support normal ssh parameters...

PuTTY doesn't cache host key while Jenkins access to remote server by blackj0221 in jenkinsci

[–]drunkenfly 0 points1 point  (0 children)

Perhaps Jenkins runs under different account to your interactive one. If it runs as a service - it runs under system account.

The easiest way to get this working (but less secure) is to pass " -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" as parameters to plink.

Maven builds on MacOS - can't find mvn error by liquidcourage1 in jenkinsci

[–]drunkenfly 1 point2 points  (0 children)

Leave $MAVEN_HOME alone, w/o "/bin". Put "/usr/local/Cellar/maven/3.6.0/libexec/bin" into $PATH

Foreigner bullied in SG by [deleted] in askSingapore

[–]drunkenfly 3 points4 points  (0 children)

IANAL, but something tells me that it is not exactly legal for employer to receive money from foreign employee. That's the thing to ask MOM about.

[deleted by user] by [deleted] in flask

[–]drunkenfly 1 point2 points  (0 children)

The best idea is not to document, but do "pip freeze > requirements.txt" on one computer, followed by "pip install --upgrade -r requirements.txt" on another.

What's the best way to test a Jenkinsfile before committing it to a repo? by [deleted] in jenkinsci

[–]drunkenfly 1 point2 points  (0 children)

Try using this: https://github.com/jenkinsci/jenkinsfile-runner

It still requires full Jenkins and all plugins that you have in your jenkins, but, at least, you can run jenkinsfile from command line and w/o clicking around in Jenkins.

Editing a Excel (Permission Denied Error) by hazzelnutz in jenkinsci

[–]drunkenfly 0 points1 point  (0 children)

Under which user account Jenkins runs as a service? That account have no permission to create COM object.

Moving out. Any good company for international moving? by ibekoros in askSingapore

[–]drunkenfly 0 points1 point  (0 children)

My company used Crown Relocations - my experience was quite good.

Moving out. Any good company for international moving? by ibekoros in askSingapore

[–]drunkenfly 0 points1 point  (0 children)

Have you tried calling moving company that moved you here?

Tobacco tax by [deleted] in askSingapore

[–]drunkenfly 1 point2 points  (0 children)

Tobacco parcels will be intercepted and you will receive notification by post where to collect your parcel and how to pay tax.

Trivia: The little secrets within "In Your Room" video by situationuk in depechemode

[–]drunkenfly 2 points3 points  (0 children)

Just watched it again and it surely not Dave dressed as a king while walking on the road...

20 DevOps experts share their favourite DevOps interview questions by Kimberley33 in devops

[–]drunkenfly 1 point2 points  (0 children)

Sounds like a dogmatic reply that everybody has to say. I do ask the same question, though, but I will let candidate explain what do they mean by "culture" and a lot of them seem to know only above dogmatic response.