Skip to content

Commit

Permalink
Kafka: fix upgrade and update components
Browse files Browse the repository at this point in the history
  • Loading branch information
cicharka committed Feb 28, 2022
1 parent 7bdc461 commit c7b5f47
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
lineinfile:
path: /opt/kafka/config/server.properties
regexp: "^inter.broker.protocol.version"
line: "inter.broker.protocol.version={{ kafka_version.new }}"
line: "inter.broker.protocol.version={{ kafka_version }}"

- name: Start kafka service
include_tasks: common/start.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
- name: Add current_kafka_version property
lineinfile:
path: /opt/kafka/config/server.properties
line: "CURRENT_KAFKA_VERSION={{ kafka_version.old }}"
line: "CURRENT_KAFKA_VERSION={{ old_kafka_version }}"
when: current_kafka_version_property.stdout == ""

- name: Check if inter.broker.protocol.version property is defined
Expand All @@ -26,5 +26,5 @@
- name: Add inter.broker.protocol.version property
lineinfile:
path: /opt/kafka/config/server.properties
line: "inter.broker.protocol.version={{ kafka_version.old }}"
line: "inter.broker.protocol.version={{ old_kafka_version }}"
when: inter_broker_protocol_version_property.stdout == ""
3 changes: 0 additions & 3 deletions docs/changelogs/CHANGELOG-2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,8 @@
- [#2966](https://github.com/epiphany-platform/epiphany/issues/2966) - `epicli init --full` does not generate configuration for OpenDistro
- [#2942](https://github.com/epiphany-platform/epiphany/issues/2942) - rsync command fails trying to copy artifacts
- [#2930](https://github.com/epiphany-platform/epiphany/issues/2930) - Backup/recovery commands fail when default configuration for backup attached to cluster-config.yml
<<<<<<< HEAD
- [#2989](https://github.com/epiphany-platform/epiphany/issues/2989) - Task `Remove swap from /etc/fstab` does not remove swap entry from file
=======
- [#2803](https://github.com/epiphany-platform/epiphany/issues/2803) - Refactor: rename 'kafka_var' setting
>>>>>>> b7a2c00c (Changelog updated)

### Updated

Expand Down
2 changes: 1 addition & 1 deletion docs/home/COMPONENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Note that versions are default versions and can be changed in certain cases thro
| Flannel | 0.14.0 | https://github.com/coreos/flannel/ | [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0) |
| Canal | 3.20.3 | https://github.com/projectcalico/calico | [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0) |
| Coredns | 1.8.4 | https://github.com/coredns/coredns | [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0) |
| Kafka | 2.6.0 | https://github.com/apache/kafka | [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0) |
| Kafka | 2.8.1 | https://github.com/apache/kafka | [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0) |
| Zookeeper | 3.5.8 | https://github.com/apache/zookeeper | [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0) |
| RabbitMQ | 3.8.9 | https://github.com/rabbitmq/rabbitmq-server | [Mozilla Public License](https://www.mozilla.org/en-US/MPL/) |
| Docker CE | 20.10.8 | https://docs.docker.com/engine/release-notes/ | [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0) |
Expand Down

0 comments on commit c7b5f47

Please sign in to comment.