kloud: improve stack build failure troubleshooting · Issue #11457 · koding/koding · GitHub
Skip to content
This repository was archived by the owner on Aug 15, 2022. It is now read-only.
This repository was archived by the owner on Aug 15, 2022. It is now read-only.

kloud: improve stack build failure troubleshooting #11457

Open

Description

@rjeczalik

It may happen that a stack build can fail, where the failures could be caused by temporary network errors, like:

Error: endpoint/kloud: Failed to dial the following kites:

  * my-server: no kites availabile (id="///////92873000-029a-0000-aa1f-63506aa70000", url="", state="kontrol")

In order to ease troubleshooting the reason, do:

  • generate a ssh key for each stack credential and inject it with cloud-init for all vms for all providers (allow for opt-out from that behaviour)
  • extend the error message with a vm ip
  • allow for reading remote klient logs with kd logs <vm>
    • research if it's possible to read vm details if stack is in failed state (klient/remote /cc @ppknap)

Activity

  1. rjeczalik commented on Oct 13, 2017

    @rjeczalik
    ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions