awslabs/service-workbench-on-aws

[Bug] Fail to start rstudio workplace due to empty description in version

Closed this issue · 3 comments

This is recreated from the original report

Describe the bug
When start a Rstudio workspace, an error message "cannot read properties of undefined (reading substring)"

To Reproduce
Steps to reproduce the behavior:

  1. subscribe to RStudio, add Rstudio to a portfolio
  2. Import RStudio workspace type, create a config
  3. start workspace

Expected behavior
Rstudio could be started

Screenshots

image

image

image

Versions (please complete the following information):

  • Release Version installed: latest master
  • Is the deployment from a forked version of the repository? no

Additional context

Noticing the missing description, I created a new version using the same template of pa-u3cqy3r4dqovi and added a description,

image

and the error message disappears (although another error #1146 happens).

So are you noticing the provisioning artifact with name 1.17 works but the one named 1.4.1717 erroring out?

Could you provide any error logs from the workflowLoopRunner CloudWatch log group from when you ran into this issue?

I am sorry but the original log messages have expired and I have switched to a newer version of RStudio Server (compiled by packer). To reproduce this error, I suppose you can create a new version of any product with the same template but empty description, or trace the source code and check how product description is handled.

It seems like you have a workaround! We are going to close this ticket. Templates should have descriptions when you import them to be compatible with SWB!

Thanks,
Marianna