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

Compatibility with Scylla 5.2 #269

Open
lattwood opened this issue Jul 28, 2023 · 8 comments
Open

Compatibility with Scylla 5.2 #269

lattwood opened this issue Jul 28, 2023 · 8 comments

Comments

@lattwood
Copy link

lattwood commented Jul 28, 2023

Issue

This role doesn't work with ScyllaDB 5.2 on Ubuntu 20.04, due to changes in ScyllaDB packages.

Known Issues

  • The ScyllaDB 5.2 apt source specifies the required location of the trusted GPG key, where as previous versions didn't.
    • This complicates any potential fix as older versions of the apt source file will likely require the keys to be added to the default apt trusted keychain.
  • scylla_bootparam_setup isn't shipped with Scylla 5.2 anymore, but this role still expects to be able to run it.

Background

ScyllaDB 5.2 was released May 4th, 2023 and the Ansible roles are still being tested with 5.1 as of July 28th, 2023.

Solution Ideas

Point the molecule tests at ScyllaDB 5.2 and iterate.

Going forward, run integration tests on the "pre-release" version of ScyllaDB in addition to current ones.

@tarzanek
Copy link
Collaborator

tarzanek commented Aug 1, 2023

the boot param
is a dup of #256
let's file a PR to fix it

I will try to look at gpg key problem (we should also get molecule auto tests up to 5.1 / 5.2)

@tarzanek
Copy link
Collaborator

tarzanek commented Aug 1, 2023

#276 is field for bootparam

@tarzanek
Copy link
Collaborator

tarzanek commented Aug 4, 2023

ok, I can repro the gpg problem, solution is as per #232 (comment)
but we will need a new PR for that to support 5.2 / 2023

@tarzanek
Copy link
Collaborator

tarzanek commented Aug 4, 2023

wokaround for the nodes with gpg problem:

sudo mkdir -p /etc/apt/keyrings
sudo gpg --homedir /tmp --no-default-keyring --keyring /etc/apt/keyrings/scylladb.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys d0a112e067426ab2

@tarzanek
Copy link
Collaborator

tarzanek commented Aug 4, 2023

also SM 3.1 suffers by above gpg prob

@vladzcloudius
Copy link
Collaborator

wokaround for the nodes with gpg problem:

sudo mkdir -p /etc/apt/keyrings
sudo gpg --homedir /tmp --no-default-keyring --keyring /etc/apt/keyrings/scylladb.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys d0a112e067426ab2

And don't forget to kill the dirmngr the command above is going to spawn and leave behind:

sudo pkill -9 dirmngr

@tarzanek
Copy link
Collaborator

tarzanek commented Aug 7, 2023

see scylladb/scylladb#14965

@tarzanek
Copy link
Collaborator

#279 explicitly calls out the gpg problem

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

3 participants