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

Move away from Ubuntu Trusty before the EOL date (April 2019) #151

Closed
jeking3 opened this issue Sep 28, 2018 · 6 comments
Closed

Move away from Ubuntu Trusty before the EOL date (April 2019) #151

jeking3 opened this issue Sep 28, 2018 · 6 comments
Labels

Comments

@jeking3
Copy link
Contributor

jeking3 commented Sep 28, 2018

Ubuntu Trusty is not supported past April 2019. It would be wise to start moving to Ubuntu Bionic now.

@jdmeyer3
Copy link

jdmeyer3 commented Oct 6, 2018

The move to Ubuntu Bionic will not be possible until StackStorm supports MongoDB v4.0 (currently supports v3.4).Reference StackStorm/st2-packages#554 for Bionic support and StackStorm/st2#4098 for Mongodb upgrade.

@jjm
Copy link
Member

jjm commented Oct 7, 2018

The Python version in Ubuntu Trusty is really quite far behind and I'm just been having problems installing pdpyras via pip as it requires at least 2.7.10 and the StackStorm docker image is running 2.7.6.

Moving up to xenial would be useful, as Bionic support may be some time away.

@arm4b
Copy link
Member

arm4b commented Oct 7, 2018

Current all-in-one "demo" Docker image is based on Ubuntu Trusty because of the reasons to keep/start all the services in one container with help of the init system (good for demo, bad for prod). See related #29 why it can't be moved to other init like systemd.

For xenial and images supporting one service per container natively (good for prod), you may want to look at https://github.com/stackstorm/st2-dockerfiles, which were just released a few days ago as part of K8s work https://github.com/StackStorm/stackstorm-ha we're doing now, but not announced yet.
They're available/deployed to https://hub.docker.com/r/stackstorm/ (st2api, st2auth, etc. for every stackstorm service). There will be an announcement/update at https://stackstorm.com/blog/ in a few days, so stay tuned.

@jdmeyer3
Copy link

jdmeyer3 commented Oct 7, 2018

@armab I've been working on a xenial all-in-one image that works without running in privileged mode. Would creating a PR to bring it into the repo so other developers can develop against the all-in-one image be something you would consider or is that a hard no?

@arm4b
Copy link
Member

arm4b commented Oct 8, 2018

@jdmeyer3 while the all-in-one Docker is considered a "demo" approach, it doesn't mean users don't need it.

So yes, absolutely. Contributions are very welcome 👍

Depending on code, amount of workarounds and stability, proved to be working under different systems we may accept it or not, but it still might be helpful for someone else.
systemd in Docker is an old topic and there might be improvements with time, - we're open to re-consider old decisions if there are better solutions.

@arm4b
Copy link
Member

arm4b commented Oct 10, 2018

For update, see https://stackstorm.com/2018/10/10/stackstorm-ha-in-kubernetes-beta-community-update/ which includes new st2 community Dockerfiles based on Ubuntu Xenial. From the blog:

The new Dockerfiles are based on Ubuntu Xenial and define granular resources like ports, volumes, users per container. This ensures better security and makes it very clear what each container can access. We aim to follow 12 factor app, docker dev and dockerfile best practices. For example, containers are ephemeral and immutable, they’re smaller in size, everything is logged to stdout/stderr and we use one service per container to strive the production-level expectations.

Repository: https://github.com/stackstorm/st2-dockerfiles. Docker images are available at https://hub.docker.com/r/stackstorm/

@arm4b arm4b mentioned this issue Mar 21, 2020
@arm4b arm4b added the bug label Mar 21, 2020
@arm4b arm4b closed this as completed in 6cc70fd Jul 17, 2020
transhapHigsn pushed a commit to DiligenceVault/st2-docker that referenced this issue Jun 8, 2021
You can find the old deprecated version in `DEPRECATED/all-in-one` branch archive: https://github.com/StackStorm/st2-docker/tree/DEPRECATED/all-in-one

Closes StackStorm#22, closes StackStorm#23, closes StackStorm#26, closes StackStorm#29, closes StackStorm#34, closes StackStorm#41, closes StackStorm#43, closes StackStorm#92, closes StackStorm#112, closes StackStorm#117, closes StackStorm#125, closes StackStorm#133, closes StackStorm#141, closes StackStorm#145, closes StackStorm#151, closes StackStorm#163, closes StackStorm#187,
closes StackStorm#188, closes StackStorm#189, closes StackStorm#190
Closes StackStorm#162, closes StackStorm#138, closes StackStorm#108, closes StackStorm#102, closes StackStorm#65
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

5 participants