fprime-community / fprime-workspace-image

Immutable-Infrastructure-as-Code (IIaC) workspace image for fprime development
Other
3 stars 1 forks source link

Usage issues + proposal #32

Closed thomas-bc closed 7 months ago

thomas-bc commented 8 months ago

Hey @capsulecorplab !

Question, I haven't been able to spin that up locally unfortunately. Here are my logs and a screenshot of what I get when trying to access the workspace in Google Chrome or Firefox. I'm running on an Intel Mac if that matters.

docker-compose up
Creating fprime-workspace-image_kasm_1 ... done
Attaching to fprime-workspace-image_kasm_1
kasm_1  | + DEFAULT_PROFILE_HOME=/home/kasm-default-profile
kasm_1  | + PROFILE_SYNC_DIR=/kasm_profile_sync
kasm_1  | + '[' -f /home/kasm-user/.bashrc ']'
kasm_1  | + echo 'Profile Sync Directory Does Not Exist. No Sync will occur'
kasm_1  | Profile Sync Directory Does Not Exist. No Sync will occur
kasm_1  | + copy_default_profile_to_home
kasm_1  | + echo 'Copying default profile to home directory'
kasm_1  | Copying default profile to home directory
kasm_1  | + cp -rp /home/kasm-default-profile/. /home/kasm-user/

image

When going through http, I get The connection was reset. I quickly browsed through https://kasmweb.com/docs/latest/guide/troubleshooting.html but no luck. Would you have some insights as to what may be going on?

Other question: if we're able to confirm it works as expected, would you be willing to consider migrating this repository over to https://github.com/fprime-community ? I'm thinking it could help this get some traction. Just an idea, totally your call :)

capsulecorplab commented 8 months ago

If you're running it for the first time, the cp -rp /home/kasm-default-profile/. /home/kasm-user/ line will take a minute because it's creating the persistence layer. Once it gets past that, you should be able to access the image on https://localhost:6901 in a web browser

And yes, I'd be more than happy to migrate this to the fprime community GitHub organization!

thomas-bc commented 8 months ago

@capsulecorplab ah damn you are right, I waited for a while but nothing was moving. Then saw your comment a while later, went back to the terminal and things had started up! My bad This is really nice!

capsulecorplab commented 8 months ago

@thomas-bc Awesome! Feel free to open any other issues as you try it out

capsulecorplab commented 7 months ago

Closing issue, as it's been resolved, but created #33 to continue discussion on migrating repo to fprime-community