GithubHelp home page GithubHelp logo

Comments (2)

larsks avatar larsks commented on September 16, 2024

@dystewart, thanks for opening this issue.

The behavior seems intermittent; if we run this script:

i=0
while :; do
  echo -n "[$i] "
  oc --as system:admin -n vault exec -it nerc-vault-0 -- date 2>&1
  sleep 1
  let i++
done

We see as output:

[0] error: unable to upgrade connection: container not found ("vault")
[1] error: unable to upgrade connection: container not found ("vault")
[2] Fri Dec  2 23:07:03 UTC 2022
[3] error: unable to upgrade connection: container not found ("vault")
[4] error: unable to upgrade connection: container not found ("vault")
[5] Fri Dec  2 23:07:06 UTC 2022
[6] error: unable to upgrade connection: container not found ("vault")
[7] Fri Dec  2 23:07:09 UTC 2022
[8] Fri Dec  2 23:07:10 UTC 2022
[9] Fri Dec  2 23:07:12 UTC 2022
[10] error: unable to upgrade connection: container not found ("vault")
[11] Fri Dec  2 23:07:14 UTC 2022
[12] Fri Dec  2 23:07:15 UTC 2022

This behavior seems specific to the vault containers; if I pick any other pod on the system, I can't reproduce these failures.

Normally, I would suspect that the pods were restarting, but they've been running consistently with no restarts:

$ k get pod -l app.kubernetes.io/instance=nerc-vault
NAME           READY   STATUS    RESTARTS   AGE
nerc-vault-0   1/1     Running   0          15d
nerc-vault-1   1/1     Running   0          15d
nerc-vault-2   1/1     Running   0          15d

from operations.

larsks avatar larsks commented on September 16, 2024

Redeploying the vault pods for #49 seems to have resolved this issue. Repeating the test from my previous comment, we seeL

[0] Wed Dec 14 04:30:25 UTC 2022
[1] Wed Dec 14 04:30:27 UTC 2022
[2] Wed Dec 14 04:30:28 UTC 2022
[3] Wed Dec 14 04:30:29 UTC 2022
[4] Wed Dec 14 04:30:31 UTC 2022
[5] Wed Dec 14 04:30:32 UTC 2022
[6] Wed Dec 14 04:30:33 UTC 2022
[7] Wed Dec 14 04:30:35 UTC 2022
[8] Wed Dec 14 04:30:36 UTC 2022
[9] Wed Dec 14 04:30:37 UTC 2022
[10] Wed Dec 14 04:30:39 UTC 2022
.
.
.

from operations.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.