ansible-collections / community.cassandra

Cassandra Ansible Collection
http://galaxy.ansible.com/community/cassandra
GNU General Public License v3.0
25 stars 17 forks source link

setup_cassandra - Issue install cassandra 4.0.5 rpm on CentOS 7 #224

Closed rhysmeister closed 1 year ago

rhysmeister commented 1 year ago
SUMMARY

There is a problem running the CI for centos7. This container is based on CentOS 7.9 and cassandra will not install on it. The error is....

(jre-1.8.0 or jre-11) is needed by cassandra-4.0.5-1.noarch
rpmlib(RichDependencies) <= 4.12.0-1 is needed by cassandra-4.0.5-1.noarch
To diagnose the problem, try running: 'rpm -Va --nofiles --nodigest'.
You probably have corrupted RPMDB, running 'rpm --rebuilddb' might fix the issue.
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.

This is after trying to install with yum. Trying that first results in...

yum install cassandra
---> Package cassandra.noarch 0:4.0.5-1 will be installed
Error: Invalid version flag: or

Removing this from the CI for now but this should be looked at in more detail.

ISSUE TYPE
COMPONENT NAME

CI - setup_cassandra

rhysmeister commented 1 year ago

Fixed in 4.0.6

https://gitbox.apache.org/repos/asf?p=cassandra.git;a=commit;h=3b49283ef9049b35e41313081a2d2777cc0f2067

We should be able to reinstate CentOS7.

rhysmeister commented 1 year ago

rpms not yet updated in offocial repo: https://downloads.apache.org/cassandra/redhat/40x/

rhysmeister commented 1 year ago

We're now on 4.0.10 and centos7 is dropped from CI so this is irrelevant.