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

原因調査: 生成したサーバーを再起動しないとアクセスできなくなってしまっている? #108

Closed
yasulab opened this issue Dec 11, 2018 · 1 comment

Comments

@yasulab
Copy link
Member

yasulab commented Dec 11, 2018

これまでに2回同じ現象が発生している。再現性がありそう?

@yasulab yasulab added the バグ label Dec 11, 2018
@yasulab yasulab added this to 📑Will do (上にあるほど優先度が高い) in coderdojo.jp 開発ボード Feb 11, 2019
@yasulab yasulab changed the title 生成したサーバーを再起動しないとアクセスできなくなってしまっている 原因調査: 生成したサーバーを再起動しないとアクセスできなくなってしまっている? May 20, 2019
@yasulab
Copy link
Member Author

yasulab commented Oct 7, 2019

3つのケースがあるが、ひとまず対応できるケースは対応したので Close します 😉

  1. サーバー生成時にシステムエラーが発生するケース
    • 例: さくらのクラウド API のレスポンスが遅いとき
    • サーバー生成するシステム側の問題で 稀に あるぐらい
  2. スクリプトで Shutdown API を叩くときに、Shutdown で失敗するケース
    • Shutdown 時に Kernel Panic が 稀に 発生する
    • Kernel Panic が発生する原因についてはよく分からない (そもそも発生が稀)
    • API 側としては Shutdown API を叩くぐらいしかできない
  3. ネットワーク側の設定が完了する前に Shutdown するケース
    • Shutdown するから SSH で接続できなくなる
    • 旧システムでは強制 Shutdown する API を叩いていた
    • 現システムでは普通に Shutdown する API を叩いている
      • もし動きがなかったら、最大5回まで Shutdown API を叩く
      • それでも動きがないと、CI 側がコケるようになる
      • ☝️ ほとんどのケースについてはコレで対応できている

@yasulab yasulab closed this as completed Oct 7, 2019
coderdojo.jp 開発ボード automation moved this from 📑Will do (上にあるほど優先度が高い) to ✅Done Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

2 participants