(O+P)ut

アウトプット



(O+P)ut

エンジニアのアウトプット

【OpenShift】timed out waiting for the conditionでエラーとなる

スポンサーリンク

事象

minishiftの起動コマンド「minishift.exe start」を実施するも
右記の箇所でエラーとなる「API server error getsockopt: connection refused

以下はその箇所の標準出力です。

$ minishift.exe start
...
E0205 ...    2661 run_self_hosted.go:571] API server error: Get https://192.168.99.100:8443/healthz?timeout=32s: dial tcp 192.168.99.100:8443: connect: connecti
on refused ()
Error: timed out waiting for the condition()
...

原因(推測)

再現性はないのですが、
上記startコマンドが管理者権限で実行されていないことで、権限不足でエラーとなっていることが原因と推測。

対応策

以下のように管理者実行でCygwinを立ち上げて

f:id:mtiit:20200203172658p:plain
管理者として実行
再度minishiftを起動すると

$ minishift.exe start
...
run_self_hosted.go:242] openshift-apiserver available
...

無事に本エラーは解消しました。

以上、ご参考になれば幸いです。