Skip to content

Instantly share code, notes, and snippets.

@syuu1228
Created June 26, 2019 21:12
Show Gist options
  • Save syuu1228/0470a3b5ee0c06be9a841909d23cf56a to your computer and use it in GitHub Desktop.
Save syuu1228/0470a3b5ee0c06be9a841909d23cf56a to your computer and use it in GitHub Desktop.
[root@4b447ac99262 scylla.50]# yum install build/redhat/RPMS/x86_64/scylla-* /home/syuu/scylla-tools-java/build/redhat/RPMS/noarch/scylla-tools-* /home/syuu/scylla-jmx/build//redhat/RPMS/noarch/scylla-jmx-666.development-20190618.dfe7db4.noarch.rpm
Loaded plugins: fastestmirror, ovl
Examining build/redhat/RPMS/x86_64/scylla-666.development-0.20190626.0803176cb.el7.x86_64.rpm: scylla-666.development-0.20190626.0803176cb.el7.x86_64
Marking build/redhat/RPMS/x86_64/scylla-666.development-0.20190626.0803176cb.el7.x86_64.rpm as an update to scylla-3.0.7-0.20190528.4c16c1fe1.el7.x86_64
Examining build/redhat/RPMS/x86_64/scylla-conf-666.development-0.20190626.0803176cb.el7.x86_64.rpm: scylla-conf-666.development-0.20190626.0803176cb.el7.x86_64
Marking build/redhat/RPMS/x86_64/scylla-conf-666.development-0.20190626.0803176cb.el7.x86_64.rpm as an update to scylla-conf-3.0.7-0.20190528.4c16c1fe1.el7.x86_64
Examining build/redhat/RPMS/x86_64/scylla-debuginfo-666.development-0.20190626.0803176cb.el7.x86_64.rpm: scylla-debuginfo-666.development-0.20190626.0803176cb.el7.x86_64
Marking build/redhat/RPMS/x86_64/scylla-debuginfo-666.development-0.20190626.0803176cb.el7.x86_64.rpm to be installed
Examining build/redhat/RPMS/x86_64/scylla-kernel-conf-666.development-0.20190626.0803176cb.el7.x86_64.rpm: scylla-kernel-conf-666.development-0.20190626.0803176cb.el7.x86_64
Marking build/redhat/RPMS/x86_64/scylla-kernel-conf-666.development-0.20190626.0803176cb.el7.x86_64.rpm as an update to scylla-kernel-conf-3.0.7-0.20190528.4c16c1fe1.el7.x86_64
Examining build/redhat/RPMS/x86_64/scylla-python3-3.7.2-0.20190627.0803176cb.el7.x86_64.rpm: scylla-python3-3.7.2-0.20190627.0803176cb.el7.x86_64
Marking build/redhat/RPMS/x86_64/scylla-python3-3.7.2-0.20190627.0803176cb.el7.x86_64.rpm to be installed
Examining build/redhat/RPMS/x86_64/scylla-server-666.development-0.20190626.0803176cb.el7.x86_64.rpm: scylla-server-666.development-0.20190626.0803176cb.el7.x86_64
Marking build/redhat/RPMS/x86_64/scylla-server-666.development-0.20190626.0803176cb.el7.x86_64.rpm as an update to scylla-server-3.0.7-0.20190528.4c16c1fe1.el7.x86_64
Examining /home/syuu/scylla-tools-java/build/redhat/RPMS/noarch/scylla-tools-666.development-20190618.6c713dea10.noarch.rpm: scylla-tools-666.development-20190618.6c713dea10.noarch
Marking /home/syuu/scylla-tools-java/build/redhat/RPMS/noarch/scylla-tools-666.development-20190618.6c713dea10.noarch.rpm as an update to scylla-tools-3.0.7-20190528.24bd7f3aad.el7.noarch
Examining /home/syuu/scylla-tools-java/build/redhat/RPMS/noarch/scylla-tools-core-666.development-20190618.6c713dea10.noarch.rpm: scylla-tools-core-666.development-20190618.6c713dea10.noarch
Marking /home/syuu/scylla-tools-java/build/redhat/RPMS/noarch/scylla-tools-core-666.development-20190618.6c713dea10.noarch.rpm as an update to scylla-tools-core-3.0.7-20190528.24bd7f3aad.el7.noarch
Examining /home/syuu/scylla-jmx/build//redhat/RPMS/noarch/scylla-jmx-666.development-20190618.dfe7db4.noarch.rpm: scylla-jmx-666.development-20190618.dfe7db4.noarch
Marking /home/syuu/scylla-jmx/build//redhat/RPMS/noarch/scylla-jmx-666.development-20190618.dfe7db4.noarch.rpm as an update to scylla-jmx-3.0.7-20190528.c9dd098.el7.noarch
Resolving Dependencies
--> Running transaction check
---> Package scylla.x86_64 0:3.0.7-0.20190528.4c16c1fe1.el7 will be updated
---> Package scylla.x86_64 0:666.development-0.20190626.0803176cb.el7 will be an update
---> Package scylla-conf.x86_64 0:3.0.7-0.20190528.4c16c1fe1.el7 will be updated
---> Package scylla-conf.x86_64 0:666.development-0.20190626.0803176cb.el7 will be an update
---> Package scylla-debuginfo.x86_64 0:666.development-0.20190626.0803176cb.el7 will be installed
---> Package scylla-jmx.noarch 0:3.0.7-20190528.c9dd098.el7 will be updated
---> Package scylla-jmx.noarch 0:666.development-20190618.dfe7db4 will be an update
---> Package scylla-kernel-conf.x86_64 0:3.0.7-0.20190528.4c16c1fe1.el7 will be updated
---> Package scylla-kernel-conf.x86_64 0:666.development-0.20190626.0803176cb.el7 will be an update
---> Package scylla-python3.x86_64 0:3.7.2-0.20190627.0803176cb.el7 will be installed
---> Package scylla-server.x86_64 0:3.0.7-0.20190528.4c16c1fe1.el7 will be updated
---> Package scylla-server.x86_64 0:666.development-0.20190626.0803176cb.el7 will be an update
---> Package scylla-tools.noarch 0:3.0.7-20190528.24bd7f3aad.el7 will be updated
---> Package scylla-tools.noarch 0:666.development-20190618.6c713dea10 will be an update
---> Package scylla-tools-core.noarch 0:3.0.7-20190528.24bd7f3aad.el7 will be updated
---> Package scylla-tools-core.noarch 0:666.development-20190618.6c713dea10 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository
Size
================================================================================
Installing:
scylla-debuginfo x86_64 666.development-0.20190626.0803176cb.el7 /scylla-debuginfo-666.development-0.20190626.0803176cb.el7.x86_64
3.0 G
scylla-python3 x86_64 3.7.2-0.20190627.0803176cb.el7 /scylla-python3-3.7.2-0.20190627.0803176cb.el7.x86_64
88 M
Updating:
scylla x86_64 666.development-0.20190626.0803176cb.el7 /scylla-666.development-0.20190626.0803176cb.el7.x86_64
0.0
scylla-conf x86_64 666.development-0.20190626.0803176cb.el7 /scylla-conf-666.development-0.20190626.0803176cb.el7.x86_64
36 k
scylla-jmx noarch 666.development-20190618.dfe7db4 /scylla-jmx-666.development-20190618.dfe7db4.noarch
6.5 M
scylla-kernel-conf x86_64 666.development-0.20190626.0803176cb.el7 /scylla-kernel-conf-666.development-0.20190626.0803176cb.el7.x86_64
503
scylla-server x86_64 666.development-0.20190626.0803176cb.el7 /scylla-server-666.development-0.20190626.0803176cb.el7.x86_64
131 M
scylla-tools noarch 666.development-20190618.6c713dea10 /scylla-tools-666.development-20190618.6c713dea10.noarch
675 k
scylla-tools-core noarch 666.development-20190618.6c713dea10 /scylla-tools-core-666.development-20190618.6c713dea10.noarch
31 M
Transaction Summary
================================================================================
Install 2 Packages
Upgrade 7 Packages
Total size: 3.3 G
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : scylla-conf-666.development-0.20190626.0803176cb.el7.x86 1/16
warning: /etc/scylla/scylla.yaml created as /etc/scylla/scylla.yaml.rpmnew
Updating : scylla-tools-core-666.development-20190618.6c713dea10.no 2/16
Updating : scylla-tools-666.development-20190618.6c713dea10.noarch 3/16
Updating : scylla-kernel-conf-666.development-0.20190626.0803176cb. 4/16
Installing : scylla-python3-3.7.2-0.20190627.0803176cb.el7.x86_64 5/16
scylla:x:1000:
scylla:x:999:1000::/var/lib/scylla:/sbin/nologin
Updating : scylla-server-666.development-0.20190626.0803176cb.el7.x 6/16
Error unpacking rpm package scylla-server-666.development-0.20190626.0803176cb.el7.x86_64
error: unpacking of archive failed on file /usr/lib/scylla: cpio: rename
error: scylla-server-666.development-0.20190626.0803176cb.el7.x86_64: install failed
Updating : scylla-jmx-666.development-20190618.dfe7db4.noarch 7/16
Updating : scylla-666.development-0.20190626.0803176cb.el7.x86_64 8/16
Installing : scylla-debuginfo-666.development-0.20190626.0803176cb.el 9/16
Cleanup : scylla-3.0.7-0.20190528.4c16c1fe1.el7.x86_64 10/16
Cleanup : scylla-tools-3.0.7-20190528.24bd7f3aad.el7.noarch 11/16
Cleanup : scylla-jmx-3.0.7-20190528.c9dd098.el7.noarch 12/16
Cleanup : scylla-tools-core-3.0.7-20190528.24bd7f3aad.el7.noarch 13/16
Cleanup : scylla-kernel-conf-3.0.7-0.20190528.4c16c1fe1.el7.x86_64 14/16
Cleanup : scylla-conf-3.0.7-0.20190528.4c16c1fe1.el7.x86_64 15/16
error: scylla-server-3.0.7-0.20190528.4c16c1fe1.el7.x86_64: erase skipped
Verifying : scylla-tools-core-666.development-20190618.6c713dea10.no 1/16
Verifying : scylla-666.development-0.20190626.0803176cb.el7.x86_64 2/16
Verifying : scylla-python3-3.7.2-0.20190627.0803176cb.el7.x86_64 3/16
Verifying : scylla-jmx-666.development-20190618.dfe7db4.noarch 4/16
Verifying : scylla-debuginfo-666.development-0.20190626.0803176cb.el 5/16
Verifying : scylla-tools-666.development-20190618.6c713dea10.noarch 6/16
Verifying : scylla-conf-666.development-0.20190626.0803176cb.el7.x86 7/16
Verifying : scylla-kernel-conf-666.development-0.20190626.0803176cb. 8/16
Verifying : scylla-3.0.7-0.20190528.4c16c1fe1.el7.x86_64 9/16
Verifying : scylla-conf-3.0.7-0.20190528.4c16c1fe1.el7.x86_64 10/16
scylla-server-3.0.7-0.20190528.4c16c1fe1.el7.x86_64 was supposed to be removed but is not!
Verifying : scylla-server-3.0.7-0.20190528.4c16c1fe1.el7.x86_64 11/16
Verifying : scylla-tools-core-3.0.7-20190528.24bd7f3aad.el7.noarch 12/16
Verifying : scylla-tools-3.0.7-20190528.24bd7f3aad.el7.noarch 13/16
Verifying : scylla-server-666.development-0.20190626.0803176cb.el7.x 14/16
Verifying : scylla-jmx-3.0.7-20190528.c9dd098.el7.noarch 15/16
Verifying : scylla-kernel-conf-3.0.7-0.20190528.4c16c1fe1.el7.x86_64 16/16
Installed:
scylla-debuginfo.x86_64 0:666.development-0.20190626.0803176cb.el7
scylla-python3.x86_64 0:3.7.2-0.20190627.0803176cb.el7
Updated:
scylla.x86_64 0:666.development-0.20190626.0803176cb.el7
scylla-conf.x86_64 0:666.development-0.20190626.0803176cb.el7
scylla-jmx.noarch 0:666.development-20190618.dfe7db4
scylla-kernel-conf.x86_64 0:666.development-0.20190626.0803176cb.el7
scylla-tools.noarch 0:666.development-20190618.6c713dea10
scylla-tools-core.noarch 0:666.development-20190618.6c713dea10
Failed:
scylla-server.x86_64 0:3.0.7-0.20190528.4c16c1fe1.el7
scylla-server.x86_64 0:666.development-0.20190626.0803176cb.el7
Complete!
[root@4b447ac99262 scylla.50]# ls -l /usr/lib/
total 20
drwxr-xr-x 2 root root 6 Feb 19 17:35 binfmt.d
drwxr-xr-x 1 root root 34 Jun 26 21:08 debug
drwxr-xr-x 4 root root 236 Mar 5 17:35 dracut
drwxr-xr-x 73 root root 8192 May 30 11:56 firmware
dr-xr-xr-x 2 root root 6 Apr 11 2018 games
drwxr-xr-x 2 root root 6 Nov 20 2015 java
drwxr-xr-x 2 root root 6 Nov 20 2015 java-1.5.0
drwxr-xr-x 2 root root 6 Nov 20 2015 java-1.6.0
drwxr-xr-x 2 root root 6 Nov 20 2015 java-1.7.0
drwxr-xr-x 2 root root 6 Nov 20 2015 java-1.8.0
drwxr-xr-x 2 root root 6 Nov 20 2015 java-ext
drwxr-xr-x 3 root root 187 May 31 08:42 jvm
drwxr-xr-x 2 root root 6 Nov 20 2015 jvm-commmon
drwxr-xr-x 3 root root 162 May 31 08:42 jvm-exports
drwxr-xr-x 4 root root 122 May 31 08:42 jvm-private
drwxr-xr-x 3 root root 23 Feb 19 17:35 kernel
drwxr-xr-x 2 root root 55 Mar 5 17:34 locale
drwxr-xr-x 1 root root 33 Jun 13 23:05 modprobe.d
drwxr-xr-x 1 root root 40 May 30 11:56 modules
drwxr-xr-x 2 root root 6 Feb 19 17:35 modules-load.d
drwxr-xr-x 1 root root 27 Mar 5 17:35 python2.7
drwxr-xr-x 3 root root 27 Jun 13 23:05 python3.6
drwxr-xr-x 1 root root 110 May 31 08:41 rpm
drwxr-xr-x 7 root root 4096 Jun 26 20:44 scylla
lrwxrwxrwx 1 root root 26 Jun 26 21:07 scylla;5d13dea2 -> ../../opt/scylladb/scripts
drwxr-xr-x 7 root root 4096 Jun 26 05:30 scylla.old
dr-xr-xr-x 2 root root 6 Apr 11 2018 sse2
drwxr-xr-x 1 root root 82 Jun 26 21:07 sysctl.d
drwxr-xr-x 1 root root 240 May 30 11:56 systemd
drwxr-xr-x 1 root root 65 Jun 11 12:30 tmpfiles.d
drwxr-xr-x 1 root root 78 May 30 11:56 udev
drwxr-xr-x 2 root root 124 Mar 5 17:35 yum-plugins
[root@4b447ac99262 scylla.50]# ls -l /usr/lib/scylla
total 240
drwxr-xr-x 3 root root 21 Jun 26 20:44 api
-rwxr-xr-x 1 root root 26803 May 28 06:41 dpdk-devbind.py
-rwxr-xr-x 1 root root 1051 May 28 06:41 hex2list.py
drwxr-xr-x 3 root root 22 Jun 26 21:09 jmx
-rwxr-xr-x 1 root root 2732 May 28 06:41 node_exporter_install
-rwxr-xr-x 1 root root 18585 May 28 06:41 node_health_check
-rwxr-xr-x 1 root root 47514 May 28 06:41 perftune.py
drwxr-xr-x 2 root root 40 Jun 26 20:44 __pycache__
-rwxr-xr-x 1 root root 1778 May 28 06:41 scylla-blocktune
-rw-r--r-- 1 root root 3008 May 28 06:41 scylla_blocktune.py
-rwxr-xr-x 1 root root 2328 May 28 06:41 scylla_bootparam_setup
-rwxr-xr-x 1 root root 1685 May 28 06:41 scylla_config_get.py
-rwxr-xr-x 1 root root 2925 May 28 06:41 scylla_coredump_setup
-rwxr-xr-x 1 root root 2439 May 28 06:41 scylla_cpuscaling_setup
-rwxr-xr-x 1 root root 1713 May 28 06:41 scylla_cpuset_setup
-rwxr-xr-x 1 root root 1388 May 28 06:41 scylla_dev_mode_setup
-rwxr-xr-x 1 root root 2306 May 28 06:41 scylla_ec2_check
-rwxr-xr-x 1 root root 1908 May 28 06:41 scylla_fstrim
-rwxr-xr-x 1 root root 1197 May 28 06:41 scylla_fstrim_setup
-rwxr-xr-x 1 root root 6571 May 28 06:41 scylla-housekeeping
-rwxr-xr-x 1 root root 5281 May 28 06:41 scylla_io_setup
-rwxr-xr-x 1 root root 2069 May 28 06:41 scylla_kernel_check
-rwxr-xr-x 1 root root 3500 May 28 06:41 scylla_ntp_setup
-rwxr-xr-x 1 root root 2655 May 28 06:41 scylla_prepare
-rwxr-xr-x 1 root root 6153 May 28 06:41 scylla_raid_setup
-rwxr-xr-x 1 root root 1243 May 28 06:41 scylla_selinux_setup
-rwxr-xr-x 1 root root 18432 May 28 06:41 scylla_setup
-rwxr-xr-x 1 root root 1433 May 28 06:41 scylla_stop
-rwxr-xr-x 1 root root 4324 May 28 06:41 scylla_sysconfig_setup
drwxr-xr-x 3 root root 217 Jun 26 20:44 scyllatop
-rwxr-xr-x 1 root root 17775 May 28 06:41 scylla_util.py
drwxr-xr-x 3 root root 18 Jun 26 20:44 swagger-ui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment