epics-containers / edge-containers-cli

command line shortcuts for epics containers developers
Apache License 2.0
3 stars 1 forks source link

Add ec debug command #136

Closed gilesknap closed 3 months ago

gilesknap commented 4 months ago

For working out why a service is failing when running in the cluster.

This command should:

This would allow us to then go into the /epics/ioc folder and launch the start.sh multiple times. But this would also generally work for any service.

IMPORTANT - it is probably best for us to arrange for busybox to be installed in our runtime containers for this purpose. This includes a basic version of vi so we can try out changes to files.

ALSO - this command should have an option to replace the container image with the developer version (and maybe that should be the default - you only want runtime for this if you cannot reproduce the issue in a developer container)

gilesknap commented 4 months ago

@coretl for next time :-)

coretl commented 4 months ago

...and sleep 600 should probably be sleep infinity, just in case 10 minutes of debugging isn't long enough!

marcelldls commented 3 months ago

I believe this is now solved by https://github.com/epics-containers/ec-services-template/pull/29