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

conflicts in scylla-tools when downgrade 2.0->1.7.x #44

Open
abvgedeika opened this issue Jul 25, 2017 · 0 comments
Open

conflicts in scylla-tools when downgrade 2.0->1.7.x #44

abvgedeika opened this issue Jul 25, 2017 · 0 comments

Comments

@abvgedeika
Copy link

steps:

  1. upgrade 1.7.2-> 2.0 latest
echo "[scylla]
name=Scylla for Centos $releasever - $basearch
baseurl=http://downloads.scylladb.com/rpm/unstable/centos/branch-2.0/latest/scylla/\$releasever/\$basearch/
enabled=1
gpgcheck=0

[scylla-generic]
name=Scylla for centos $releasever
baseurl=http://downloads.scylladb.com/rpm/unstable/centos/branch-2.0/latest/scylla/\$releasever/noarch/
enabled=1
gpgcheck=0

[scylla-3rdparty]
name=Scylla 3rdParty for Centos $releasever - $basearch
baseurl=http://downloads.scylladb.com/rpm/unstable/centos/branch-2.0/latest/3rdparty/\$releasever/\$basearch/
enabled=1
gpgcheck=0

[scylla-3rdparty-generic]
name=Scylla 3rdParty for Centos $releasever
baseurl=http://downloads.scylladb.com/rpm/unstable/centos/branch-2.0/latest/3rdparty/\$releasever\/noarch/
enabled=1
gpgcheck=0" > /tmp/scylla.repo

sudo cp /etc/yum.repos.d/scylla.repo ~/scylla.repo-backup
sudo cp /tmp/scylla.repo /etc/yum.repos.d/scylla.repo
            # backup the data
sudo cp /etc/scylla/scylla.yaml /etc/scylla/scylla.yaml-backup
sudo nodetool snapshot
sudo chown root.root /etc/yum.repos.d/scylla.repo
sudo chmod 644 /etc/yum.repos.d/scylla.repo
sudo yum clean all
sudo yum install scylla scylla-server scylla-jmx scylla-tools scylla-conf scylla-kernel-conf scylla-debuginfo -y
        # flush all memtables to SSTables
sudo nodetool drain
sudo systemctl restart scylla-server.service
#        node.wait_db_up(verbose=True)
rpm -qa scylla-server
  1. then try to downgrade till latest 1.7:
rpm -qa scylla-server
sudo cp ~/scylla.repo-backup /etc/yum.repos.d/scylla.repo
# backup the data
nodetool snapshot
sudo chown root.root /etc/yum.repos.d/scylla.repo
sudo chmod 644 /etc/yum.repos.d/scylla.repo
sudo yum clean all
sudo yum downgrade scylla scylla-server scylla-jmx scylla-tools scylla-conf scylla-kernel-conf -y

result:

Transaction check error:
  file /usr/share/scylla/cassandra/apache-cassandra-3.0.8-SNAPSHOT.jar from install of scylla-tools-1.7.3-20170719.ca9c263.el7.centos.noarch conflicts with file from package scylla-tools-core-2.0.rc1-20170723.8e1ef86.el7.centos.noarch
  file /usr/share/scylla/cassandra/apache-cassandra-thrift-3.0.8-SNAPSHOT.jar from install of scylla-tools-1.7.3-20170719.ca9c263.el7.centos.noarch conflicts with file from package scylla-tools-core-2.0.rc1-20170723.8e1ef86.el7.centos.noarch
  file /usr/share/scylla/cassandra/cassandra.in.sh from install of scylla-tools-1.7.3-20170719.ca9c263.el7.centos.noarch conflicts with file from package scylla-tools-core-2.0.rc1-20170723.8e1ef86.el7.centos.noarch
  file /usr/share/scylla/cassandra/scylla-tools-3.0.8-SNAPSHOT.jar from install of scylla-tools-1.7.3-20170719.ca9c263.el7.centos.noarch conflicts with file from package scylla-tools-core-2.0.rc1-20170723.8e1ef86.el7.centos.noarch
  file /usr/share/scylla/cassandra/stress.jar from install of scylla-tools-1.7.3-20170719.ca9c263.el7.centos.noarch conflicts with file from package scylla-tools-core-2.0.rc1-20170723.8e1ef86.el7.centos.noarch

Error Summary

all commands and output https://gist.github.com/abvgedeika/18e63c9e556cb8bb7f1d39ed9ec6c375

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant