whole-tale / dashboard

Whole Tale Dashboard
http://wholetale.org
MIT License
7 stars 2 forks source link

Dashboard doesn't show rebuilt instance #588

Open ThomasThelen opened 4 years ago

ThomasThelen commented 4 years ago

I *think this is a dashboard issue. If I upload a requirements.txt to a Tale workspace and rebuild the Tale, I'm not able to use the python libraries unless I stop and start the Tale. From the logs it looks like the rebuild happens properly, but we're not exposing the user to it.

To reproduce:

  1. Create a new tale
  2. Unzip quickstart.zip and upload the files into your workspace
  3. Rebuild the Tale
  4. Open the logs, ctrl+f for bokeh (you should see it being installed)
  5. Once the rebuild is complete, navigate to the Interact tab
  6. Run the python notebook in the workspace
  7. Note that bokeh isn't stalled
  8. Stop the Tale
  9. Start the Tale
  10. Re-run the python notebook
  11. Note that it runs fine

edit: I may have confused 'restart' and 'rebuild'

craig-willis commented 4 years ago

By design, after image build the user needs to manually restart the instance via either stop/start or from the Tale > Restart Tale. We had envisioned the successful build notification indicating that you need to restart, but that's not in place. The idea was that you could keep working while the image build was happening and decide when you were ready to switch over.