aws-samples / sagemaker-studio-apps-lifecycle-config-examples

MIT No Attribution
27 stars 9 forks source link

App [default] associated with space [space-name] and userprofile [null] is not found or in unusable state. Please try again after making sure that the app is created and InService #10

Closed ArtemioPadilla closed 7 months ago

ArtemioPadilla commented 7 months ago

I'm getting this error sporadically since I started using the LCCs for the new SageMaker Studio:

App [default] associated with space [space-name] and userprofile [null] is not found or in unusable state. Please try again after making sure that the app is created and InService

I have tried to solving it by unselecting the LCC then running the app (update the space), then shutting it down and finally selecting the LCC again. This seems to work but the error still appears periodically.

ArtemioPadilla commented 7 months ago

to specify: we are using the autostop LCC

ArtemioPadilla commented 7 months ago

From the logs I can see the LCC script runs ok. The instance is launched but then it receives a SIGTERM (I don't know why)

image
giuseppeporcelli commented 7 months ago

Hi @ArtemioPadilla, I guess you are referring to the Code Editor auto shutdown LCC. If that is the case, are you using the code released on 03/13 (first release of the LCC https://github.com/aws-samples/sagemaker-studio-apps-lifecycle-config-examples/releases/tag/v0.3.0) ?

There was a bug in the pre-release code that we have fixed.

ArtemioPadilla commented 7 months ago

Hi @giuseppeporcelli Thanks for your answer. We indeed had an old version of the LCC. I just released the new LCC to my users. We'll be testing and report back. If no problems are detected I will close this issue. Thanks for the support.

ArtemioPadilla commented 7 months ago

Hi @giuseppeporcelli ,

It appears that we have no issues now with the updated post-release source code.

Thanks for your support!