-
Notifications
You must be signed in to change notification settings - Fork 57
Provide a better error message when PV failed to be attached #557
Comments
We need to verify how Che 6 behaves. Maybe the error is better handled on Che 6. |
Was able to reproduce the issue by starting pod and executing blocking operation before creating workspace:
Openshift events: Che server logs:
BTW, this approach with mounting volume in dummy pod & executing blocking operation does not reproduce the problem on minishift (It is possible to mount the same volume from different pods without any problems) |
Minishift is a single node installation. You can mount the same volume to any amount of pods there. |
We used to have events in machine logs in Che 6. @akorneta @garagatyi should we maybe bring them back? It is a critical piece for Che 6 as on prem too. Makes support life easier. |
hmmm... I did not know about that. Why openshift events were removed ? |
it looks like publishing openshift events & tracking pod "Failed" state were removed as part of the following PR [1]. Related upstream issue for bringing this functionality back [2] |
Raised priority on this one |
@eivantsov thansk, those issues are coupled but not fully related. e.g. |
@ibuziuk I see. Yes, the idea is to get openshift events related to a ws pod - pulling image, container created etc. Smth that you have in OpenShift console and smth that is helpful to understand why a pod failed to start. @akorneta @sleshchenko you are welcome to share your thoughts |
PR with fix is merged to master eclipse-che/che#9426 |
This is the message that is shown to the user:
![PV error](https://user-images.githubusercontent.com/642621/36909621-81a63f66-1e0c-11e8-89b9-a65b541b9597.png)
In che-server logs there are no details:
But in the OpenShift event logs we can see that the problem is "Unable to mount volumes for pod"
The text was updated successfully, but these errors were encountered: