[
https://issues.apache.org/jira/browse/CASSANDRA-18976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17781389#comment-17781389
]
Brandon Williams commented on CASSANDRA-18976:
----------------------------------------------
bq. Yes, all rpm versions are in the repository
That's probably a bit of oversight; only the latest should be there, the rest
are cruft once there is a newer version published.
bq. Consider that many people use automation in large clusters, we use the
official Cassandra repo and it is not possible to change versions so easily
It's quite easy to upgrade to the latest version of that major, or the newest
major, which is what most people are doing. Downgrading is trickier but far
less common. In any case it isn't really feasible for the release manager to
keep all the old packages around locally to be able to create a repo for that
purpose.
> Repository repodata file does not contain all versions.
> -------------------------------------------------------
>
> Key: CASSANDRA-18976
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18976
> Project: Cassandra
> Issue Type: Bug
> Reporter: FAUSTO FIORESE BRANCO
> Priority: Normal
>
> The repomd.xml files inside the noboolean/repodata/ folders are only pointing
> to the latest version rpms, this way we are unable to install using yum from
> previous versions for Centos7.
> The repomd.xml of the main repository is the only one that has all the RPM
> packages, but in such a way that it is impossible to differentiate versions
> for CentOS8 and CentOS7.
> {code:java}
> vi /etc/yum.repos.d/cassandra.repo
> [cassandra]
> name=Apache Cassandra
> baseurl=https://redhat.cassandra.apache.org/40x/noboolean/
> gpgcheck=1
> repo_gpgcheck=1
> gpgkey=https://downloads.apache.org/cassandra/KEYS
> {code}
> {code:java}
> # yum list --showduplicate cassandra\*
> Loaded plugins: fastestmirror, ovl
> Loading mirror speeds from cached hostfile
> * base: mirrors.up.pt
> * extras: mirrors.up.pt
> * updates: mirrors.up.pt
> Available Packages
> cassandra.noarch 4.0.11-1
> cassandra
> cassandra-tools.noarch 4.0.11-1
> cassandra
> {code}
> If I try one of the old versions:
> {code:java}
> # yum install cassandra-4.0.5-1
> Loaded plugins: fastestmirror, ovl
> Loading mirror speeds from cached hostfile
> * base: mirrors.up.pt
> * extras: mirrors.up.pt
> * updates: mirrors.up.pt
> No package cassandra-4.0.5-1 available.
> Error: Nothing to do
> {code}
>
> Changing to main 40x repo folder:
> {code:java}
> vi /etc/yum.repos.d/cassandra.repo
> [cassandra]
> name=Apache Cassandra
> baseurl=https://redhat.cassandra.apache.org/40x/
> gpgcheck=1
> repo_gpgcheck=1
> gpgkey=https://downloads.apache.org/cassandra/KEYS {code}
> Same results:
> {code:java}
> # yum list --showduplicate cassandra\*
> Loaded plugins: fastestmirror, ovl
> Loading mirror speeds from cached hostfile
> * base: mirror.cloudhosting.lv
> * extras: mirror.cloudhosting.lv
> * updates: mirrors.up.pt
> Available Packages
> cassandra.noarch
>
> 4.0.11-1
>
> cassandracassandra-tools.noarch
>
> 4.0.11-1
>
> cassandra
> {code}
>
> [https://apache.jfrog.io/artifactory/cassandra-rpm/noboolean/|http://example.com]
> Has no repodata files.
>
> And
>
> https://apache.jfrog.io/artifactory/cassandra-rpm/repodata/repomd.xml.asc:
> [Errno 14] HTTPS Error 404 - Not Found
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]