cta-epfl / batchspawner

Custom Spawner for Jupyterhub to start servers in batch scheduled systems
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

need a more comprehensive error when failing to launch #34

Open volodymyrss opened 7 months ago

volodymyrss commented 7 months ago

right now it does not launch and it's unclear why

image

Ph0tonic commented 6 months ago

So, what we want is to differentiate 2 cases:

  1. When there is no certificate or that the certificate is outdated
  2. When arc resources are unavailable

Is it correct ?

volodymyrss commented 6 months ago

Yes, though there could be various other details in case of ARC failure. Crucially, we should issue a comprehensive error to the user after parsing the arcsub message. If we can not parse arcsub message, we should send ourself a sentry alert and tell user its an internal error and we are working on it.