Coder Social home page Coder Social logo

Comments (6)

dzimine avatar dzimine commented on June 19, 2024

Took a closer look:

  1. this seems wrong as it marks the file regardless of exit code /success/failure of the mistral script https://github.com/StackStorm/ansible-st2/blame/master/roles/st2mistral/tasks/main.yml#L77

  2. The mistral script that registers the action and the three types of actions are bundled together: mistral standard actions (we need them), stevedore plugins (our st2mistral action is the one, so we need it) and openstack actions (we don't need it). It is the openstack actions that we don't need, and any bug with them and their dependent libraries puts us at risk.

If this place where openstack actions are loaded is made optional via arguments?

from ansible-st2.

dzimine avatar dzimine commented on June 19, 2024

Works fine with st2_pkg_repo: stable. Makes me say "we must CI unstable".

from ansible-st2.

arm4b avatar arm4b commented on June 19, 2024

@dzimine This is fresh st2mistral bug which as I understand appeared after synchronizing https://github.com/StackStorm/mistral with recent upstream mistral.

@m4dcoder knows the details, there is a hack as temporary workaround: StackStorm/st2-packages#411

from ansible-st2.

arm4b avatar arm4b commented on June 19, 2024

After it happens, re-running the playbook skips the Register mistral actions step.

And yes, this is wrong behavior. Re-running playbook should try to register mistral actions again if they failed before. Will fix it.


Talking about upstream mistral bug, I'll wait for a while and if there won't be any better solution instead of StackStorm/st2-packages#411, - I'll include same changes @m4dcoder applied for st2-packages curl|bash install script.

from ansible-st2.

arm4b avatar arm4b commented on June 19, 2024

Ansible re-run behavior is fixed #105.

Re-opening to keep this issue with upstream mistral bug and StackStorm/st2-packages#411 in mind (decide: wait for upstream changes or use that hotfix).

from ansible-st2.

arm4b avatar arm4b commented on June 19, 2024

Fixed by #109

Proposal to include unstable repo in the build matrix is implemented in #110

from ansible-st2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.