Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase DNS timeout for dsc server:deploy #23040

Open
imphil opened this issue Jul 17, 2024 · 2 comments
Open

Increase DNS timeout for dsc server:deploy #23040

imphil opened this issue Jul 17, 2024 · 2 comments
Labels
area/chectl Issues related to chectl, the CLI of Che good first issue Community, this issue looks easy to start with for a new contributor. Just take it. We'll help you! kind/bug Outline of a bug - must adhere to the bug report template. severity/P3 Lower priority than a P2. Optional work that might get done, or not. See also help wanted issues.

Comments

@imphil
Copy link

imphil commented Jul 17, 2024

Describe the bug

When I run dsc server:deploy I am getting a DNS resolution failure in the "Plugin Registry pod bootstrap" step. The DNS records are created and the server is working, it's just the dsc script that's reporting a (needless) error.

Would it make sense to probe the DNS for a while longer before failing?

$ dsc server:deploy --platform openshift
› Current Kubernetes context: 'default/cluster-example-com:32028/user@example.com'
  ✔ Verify Kubernetes API...[1.25]
  ✔ OpenShift version...[4.x]
  ✔ Openshift preflight checklist
    ✔ Verify if oc is installed...[OK]
    ✔ Verify if openshift is running...[OK]
  ✔ Create Namespace openshift-devspaces...[Exists]
  ✔ Start following Red Hat OpenShift Dev Spaces installation logs...[OK]
  ✔ Deploy Red Hat OpenShift Dev Spaces
    ✔ Install Dev Workspace operator
      ✔ Create Subscription devworkspace-operator...[Created]
      ✔ Wait for Dev Workspace operator ready...[OK]
    ✔ Create Subscription devspaces-subscription...[Created]
    ✔ Red Hat OpenShift Dev Spaces Operator pod bootstrap
      ✔ Scheduling...[OK]
      ✔ Downloading images...[OK]
      ✔ Starting...[OK]
    ✔ Fetch CheCluster sample from a CSV...[OK]
    ✔ Create CheCluster Custom Resource...[Created]
  ❯ Wait for Red Hat OpenShift Dev Spaces ready
    ✔ Devfile Registry pod bootstrap
      ✔ Scheduling...[OK]
      ✔ Downloading images...[OK]
      ✔ Starting...[OK]
    ❯ Plugin Registry pod bootstrap
      ✔ Scheduling...[OK]
      ✔ Downloading images...[OK]
      ✖ Starting
        → getaddrinfo ENOTFOUND cluster.example.com
      Dashboard pod bootstrap
      Gateway pod bootstrap
      Red Hat OpenShift Dev Spaces Server pod bootstrap
      Wait Red Hat OpenShift Dev Spaces active
    Retrieving Red Hat OpenShift Dev Spaces self-signed CA certificate
    Prepare post installation output
Error: Command server:deploy failed with the error: getaddrinfo ENOTFOUND cluster.example.com See details: /home/philipp/.cache/dsc/error.log. Red Hat OpenShift Dev Spaces logs: /tmp/dsc-logs/1721031022113.
    at newError (/home/philipp/swinstall/dsc/lib/utils/utls.js:39:19)
    at wrapCommandError (/home/philipp/swinstall/dsc/lib/utils/command-utils.js:54:32)
    at Deploy.<anonymous> (/home/philipp/swinstall/dsc/lib/commands/server/deploy.js:82:65)
    at Generator.throw (<anonymous>)
    at rejected (/home/philipp/swinstall/dsc/node_modules/tslib/tslib.js:167:69)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Cause: Error: getaddrinfo ENOTFOUND cluster.example.com
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26)

Che version

7.88@latest

Steps to reproduce

.

Expected behavior

.

Runtime

OpenShift

Screenshots

No response

Installation method

chectl/latest

Environment

Linux

Eclipse Che Logs

No response

Additional context

No response

@imphil imphil added the kind/bug Outline of a bug - must adhere to the bug report template. label Jul 17, 2024
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Jul 17, 2024
@ibuziuk ibuziuk added severity/P3 Lower priority than a P2. Optional work that might get done, or not. See also help wanted issues. good first issue Community, this issue looks easy to start with for a new contributor. Just take it. We'll help you! area/chectl Issues related to chectl, the CLI of Che and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Jul 22, 2024
@ibuziuk
Copy link
Member

ibuziuk commented Jul 22, 2024

@imphil thank you for the issue report. Would you be interested in contributing a fix to https://github.com/che-incubator/chectl ?

@tolusha
Copy link
Contributor

tolusha commented Jul 24, 2024

@imphil
Could you show plugin registry and operator pods logs as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/chectl Issues related to chectl, the CLI of Che good first issue Community, this issue looks easy to start with for a new contributor. Just take it. We'll help you! kind/bug Outline of a bug - must adhere to the bug report template. severity/P3 Lower priority than a P2. Optional work that might get done, or not. See also help wanted issues.
Projects
None yet
Development

No branches or pull requests

4 participants