File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -114,18 +114,20 @@ func checkReleaseImageDownload(a analysis) bool {
114114 return false
115115}
116116
117- // bootstrap-verify-api-servel-urls.sh is currently running as part of the bootkube service.
118- // And the verification of the API and API-Int URLs are the only stage where a failure is
119- // currently reported. So, here we are able to conclude that a failure corresponds to a
120- // failure to resolve either the API URL or API-Int URL or both. If that changes and if
121- // any other stage in the bootkube service starts reporting a failure, we need to revisit
122- // this. At that point verification of the URLs could be moved to its own service.
123117func checkBootkubeService (a analysis ) bool {
124118 if a .successful {
125119 return true
126120 }
127- // Note: Even when there is a stage failure, we are not returning false here. That is
128- // intentional because we donot want to report this as an error in the "analyze" output.
121+ switch a .failingStage {
122+ case "konnectivity-certs" :
123+ logrus .Error ("The bootstrap machine failed to generate konnectivity certificates" )
124+ case "konnectivity-server-bootstrap" :
125+ logrus .Error ("The bootstrap machine failed to start the konnectivity server" )
126+ case "konnectivity-agent-manifest" :
127+ logrus .Error ("The bootstrap machine failed to create konnectivity agent manifests" )
128+ case "konnectivity-cleanup" :
129+ logrus .Error ("The bootstrap machine failed to clean up konnectivity resources" )
130+ }
129131 a .logLastError ()
130132 return true
131133}
You can’t perform that action at this time.
0 commit comments