Skip to content

Conversation

@Kami
Copy link
Member

@Kami Kami commented Sep 25, 2018

Upgrade notes entry for change in StackStorm/st2#4217.


This provides for more flexible installation and loading of runner modules. To install a custom
runner, user now just needs to install Python package which contains runner module into |st2|
virtual environment and run ``sudo st2ctl reload --register-runners`` command.
Copy link
Member

@arm4b arm4b Sep 25, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to be sure I'm understanding it right, default runners that we package in core don't need additional st2ctl reload --register-runners and would work by default on app init?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This command still needs to be run so the information from disk is stored in the database (same as for any other resources).

In the future though, we could make that step implicit and happen automatically on service start up (like it used to be the case).

Copy link
Member

@arm4b arm4b Sep 25, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this case, it sounds like a regression to me 👎

While ideally to go towards pre-init all the content that comes with st2 core on app startup, making the st2 self-sufficient and minimally working after the first installation (and that affects all deployments), we sadly go the opposite side offloading repetitive instructions on user's shoulders adding more complexity.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not a regression - it's exactly the same end user behavior, just the internals change.

While I would prefer if we could get rid of it, we need to approach it in incremental steps.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having said that, I will see what we can do.

That st2 PR is already growing a bit big and I would like to scope things down.

@Kami Kami added this to the 3.0.0 milestone Oct 18, 2018
@Kami Kami merged commit d10a8cb into master Oct 18, 2018
@Kami Kami deleted the runners_stevedore_note branch October 18, 2018 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants