Open vponomaryov opened 1 year ago
It is open question about how we should get it on K8S. AMIs already have it pre-installed, but not docker images...
Played with it manually, and the scylla-server-dbg
binary cannot be installed without all other scylla binaries:
# curl --retry 5 --retry-max-time 300 -o /etc/apt/sources.list.d/scylla.list -L https://s3.amazonaws.com/downloads.scylladb.com/deb/ubuntu/scylla-5.2.list
# mkdir -p /etc/apt/keyrings
# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $key1
# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $key2
# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $key3
# apt install gnupg2 # or gnupg?
# gpg --homedir /tmp --no-default-keyring --keyring /etc/apt/keyrings/scylladb.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys $key1
# gpg --homedir /tmp --no-default-keyring --keyring /etc/apt/keyrings/scylladb.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys $key1
# gpg --homedir /tmp --no-default-keyring --keyring /etc/apt/keyrings/scylladb.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys $key1
# apt-get install scylla-server-dbg
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
scylla scylla-conf scylla-jmx scylla-kernel-conf scylla-node-exporter scylla-python3 scylla-server scylla-tools scylla-tools-core
The following NEW packages will be installed:
scylla-server-dbg
The following packages will be upgraded:
scylla scylla-conf scylla-jmx scylla-kernel-conf scylla-node-exporter scylla-python3 scylla-server scylla-tools scylla-tools-core
9 upgraded, 1 newly installed, 0 to remove and 23 not upgraded.
Need to get 333 MB of archives.
After this operation, 1770 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
# scylla --version
5.2.1-0.20230508.f1c45553bc29
# apt-get install scylla-server-dbg=5.2.1-0.20230508.f1c45553bc29
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package scylla-server-dbg is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Version '5.2.1-0.20230508.f1c45553bc29' for 'scylla-server-dbg' was not found
So, looks like the docker image build config must be updated...
I think first we need to make sure we sent out the event, if there are no debug symbols
Then we could think how to get the symbols, or if we want them part of the image, they weren't always part of the AMIs (SCT still has code to install it)
Prerequisites
Versions
Logs
Description
If core dumps happens running on K8S backend then we get following error:
Installation of the package fails:
So, need to make it work.
Steps to Reproduce
coredump
happensExpected behavior:
scylla-server-dbg
binary must be installed on all the K8S scylla pods.Actual behavior:
scylla-server-dbg
binary fails to be installed.