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

custom pack doesn't run on Stackstorm v3.2.0 #20

Open
jackaddteq opened this issue Jul 24, 2020 · 1 comment
Open

custom pack doesn't run on Stackstorm v3.2.0 #20

jackaddteq opened this issue Jul 24, 2020 · 1 comment
Labels
wontfix This will not be worked on

Comments

@jackaddteq
Copy link

We built a custom pack docker image from stackstorm/st2packs (https://hub.docker.com/r/stackstorm/st2packs). Then we integrate that customized image into Stackstorm HA helm chart v3.2.0. When running actions from the custom pack, getting this error.
"/opt/stackstorm/virtualenvs/captain/bin/python: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /opt/stackstorm/virtualenvs/captain/bin/python)"

it appears that stackstorm/st2packs image is on Ubuntu 18.04.4. StackStorm v3.2.0 is running on Ubunto 16.0.4. Due to the ubunto version diff, the above error occurs.

stackstorm/st2packs has 2 tags: builder, runtime. It doesn't have tag in versions so we can go back to older version.
How can we get stackstorm/st2pack image on ubuntu 16.0.4 and python3 on it because our pack is written in python3 ?

Thanks

@arm4b
Copy link
Member

arm4b commented Jul 24, 2020

Yes, your issue is related to py2 vs py3 environment issues.

About 2 months ago stackstorm-ha Helm chart migrated from python 2 + Ubuntu Xenial to python 3 + Ubuntu Bionic in https://github.com/StackStorm/stackstorm-ha/releases/tag/v0.30.0 release. This transition was also associated with switching from 3.2dev to 3.3dev Docker images.
Keep in mind that stacksrtorm-ha is still in beta state and more breaking changes are expected. As platform is supported by several folks during their free time, but used by a dozen of Fortune 100 companies, we would love to get more support from our community and involvement in helping with the development and maintenance.

In this scenario we recommend switching to python 3 and latest st2 version as stackstorm-ha pins it. If you can't, as a workaround to your specific issue you can use the 3.2dev in st2packs-dockerfiles:

FROM stackstorm/st2:3.3dev

@arm4b arm4b added the wontfix This will not be worked on label Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants