Skip to content

Conversation

@arm4b
Copy link
Member

@arm4b arm4b commented May 9, 2020

Following the StackStorm/st2-dockerfiles#16 Dockerfiles, we switch from Ubuntu:xenial to Ubuntu:bionic for the K8s Dockerfiles in the upcoming v0.30.0 Helm chart version release.

  • Chart v0.28.0 uses 3.2dev Dockerfiles on old Ubuntu Xenial with py2 and MongoDB 3.4
  • Chart v0.30.0 will use new 3.3dev Dokerfiles on new Ubuntu Bionic with py3 and MongoDB 4 Switch MongoDB 3.4 -> 4.0 due to EOL #97

And while the Helm chart is in Beta state and breaking changes are expected, this will provide at least some migration path for existing users.

This means StackStorm installation in K8s HA will be based on python 3 from this point.

@arm4b arm4b added this to the prod/GA milestone May 9, 2020
@pull-request-size pull-request-size bot added the size/XS PR that changes 0-9 lines. Quick fix/merge. label May 9, 2020
@pull-request-size pull-request-size bot added size/S PR that changes 10-29 lines. Very easy to review. and removed size/XS PR that changes 0-9 lines. Quick fix/merge. labels May 9, 2020
@arm4b arm4b changed the title Switch to st2 3.3dev with Ubuntu Bionic 18.04 and MongoDB 4 (Chart v0.30.0) Switch to st2 3.3dev with py3, Ubuntu Bionic 18.04 and MongoDB 4 (Chart v0.30.0) May 9, 2020
@arm4b
Copy link
Member Author

arm4b commented May 9, 2020

FYI for some reason @m4dcoder we don't have 3.3dev and 3.2.0 Enterprise images deployed, per CI tests.
Upd: works now.

armab added 5 commits May 13, 2020 18:13
Latest rabbitmq-ha `1.44.4` fails with error:
```
Error: validation failed: unable to recognize "": no matches for kind "PrometheusRule" in version "monitoring.coreos.com/v1"
```
mongodb-replicaset `3.14.1` shows the following warning during the helm install:
```
2020/05/13 23:42:49 Warning: Merging destination map for chart 'mongodb-ha'. The destination item 'global' is a table and ignoring the source 'global' as it has a non-table value of: <nil>
2020/05/13 23:42:49 Warning: Merging destination map for chart 'mongodb-ha'. The destination item 'global' is a table and ignoring the source 'global' as it has a non-table value of: <nil>
```

See helm/charts#21630 (comment)
* Switch from MongoDB `3.4` to `4.0` for the mongodb-ha Helm chart (#129)
* Update `etcd-operator` 3rd party chart from `0.10.0` to latest `0.10.3` (#129)
* Update `rabbitmq-ha` 3rd party chart from `1.36.4` to `1.44.1` (#129)
* Update `mongodb-replicaset` 3rd party chart from `3.9.6` to `3.14.0` (#129)
Copy link
Member Author

@arm4b arm4b May 13, 2020

Choose a reason for hiding this comment

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

Spot helm/charts#21630 (comment) bug in mongodb-replicaset 3.14.1 along the way.

* Migrate from `py2` `Ubuntu Xenial` to `py3` `Ubuntu Bionic` as a base StackStorm OS (StackStorm/st2-dockerfiles#16, #129)
* Switch from MongoDB `3.4` to `4.0` for the mongodb-ha Helm chart (#129)
* Update `etcd-operator` 3rd party chart from `0.10.0` to latest `0.10.3` (#129)
* Update `rabbitmq-ha` 3rd party chart from `1.36.4` to `1.44.1` (#129)
Copy link
Member Author

@arm4b arm4b May 13, 2020

Choose a reason for hiding this comment

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

Spot helm/charts#21274 (comment) bug in rabbitmq-ha 1.44.2 along the way.

@pull-request-size pull-request-size bot added size/M PR that changes 30-99 lines. Good size to review. and removed size/S PR that changes 10-29 lines. Very easy to review. labels May 14, 2020
@arm4b arm4b merged commit 6d8e12a into master May 18, 2020
@arm4b arm4b deleted the bionic-upgrade branch May 18, 2020 19:42
@arm4b
Copy link
Member Author

arm4b commented May 18, 2020

New stackstorm-ha chart version 0.30.0 was just released with this breaking change:
https://github.com/StackStorm/stackstorm-ha/releases/tag/v0.30.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change feature size/M PR that changes 30-99 lines. Good size to review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants