Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capability start/stop error handling #165

Open
jihoonl opened this issue Mar 25, 2014 · 5 comments
Open

Capability start/stop error handling #165

jihoonl opened this issue Mar 25, 2014 · 5 comments
Labels
Milestone

Comments

@jihoonl
Copy link
Collaborator

jihoonl commented Mar 25, 2014

In the start_app logic,

start_app logic immediately returns failure response when it gets exception while enabling required capabilities. But it does not stop capabilities that are already started before getting into exception.

https://github.com/robotics-in-concert/rocon_app_platform/blob/hydro-devel/rocon_app_manager/src/rocon_app_manager/rapp_manager.py#L471-L498

@jihoonl jihoonl added the bug label Mar 25, 2014
@bit-pirate
Copy link
Collaborator

You are correct. Good catch. I'll tackle it ASAP.

Out of curiosity, did you actually run into this issue or did you just notice the missing logic?

@jihoonl
Copy link
Collaborator Author

jihoonl commented Mar 25, 2014

just noticed. You might want to fix it sometime next week. rapp manager is under development now...

@bit-pirate
Copy link
Collaborator

Reminder for myself:

Possible solutions:

  • Track successfully started capabilities
  • Just stop all capabilities

@bit-pirate
Copy link
Collaborator

Possible solutions:

Track successfully started capabilities
Just stop all capabilities

Decided to implement the latter.

@stonier
Copy link
Member

stonier commented Aug 14, 2015

Still not merged, but code is still lying around in caps_start_stop_fix branch should we need to push this in at some point.

@stonier stonier added this to the Todo milestone Aug 14, 2015
@stonier stonier changed the title rapp manager does not shutdown capabilities that are already started if it gets error while start rapp Capability start/stop error handling Aug 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants