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

fix(docker-backend): do not start scylla-manager installation #9331

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dimakr
Copy link
Contributor

@dimakr dimakr commented Nov 21, 2024

If scylla-manager is not disabled in a test config when running a test on docker backend, the test will try to install the manager and eventually fail (this is due to the fact that SCT installs scylla-manager server on monitor node and docker backend doesn't support dedicated monitoring node docker instance).

The change adds a check for this situation, to be able to fail fast and do not continue with manager installation on docker backend.

Closes: #9028

Testing

PR pre-checks (self review)

  • I added the relevant backport labels
  • I didn't leave commented-out/debugging code

Reminders

  • Add New configuration option and document them (in sdcm/sct_config.py)
  • Add unit tests to cover my changes (under unit-test/ folder)
  • Update the Readme/doc folder relevant to this change (if needed)

@dimakr dimakr marked this pull request as ready for review November 21, 2024 20:51
@dimakr dimakr requested review from fruch and a team November 21, 2024 20:51
sdcm/cluster.py Outdated
@@ -5497,6 +5497,8 @@ def node_startup(self, node, **kwargs): # pylint: disable=unused-argument
pass

def install_scylla_manager(self, node):
if node.is_docker():
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you really want to fail fast

This should be checked in sct_config.py

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right, that would be faster)

@soyacz
Copy link
Contributor

soyacz commented Nov 22, 2024

@asias AFAIR you need to test repair - is that correct?
If yes, this PR won't fix initial problem as will disable mgmt_repair nemesis used by test_latency_write_with_nemesis. We need to add support for manager in docker backend then.

@dimakr dimakr force-pushed the docker_backend_sudo_9028 branch 4 times, most recently from bb145f6 to f43ab7a Compare November 22, 2024 13:46
If scylla-manager is not disabled in a test config when running a test on docker
backend, the test will try to install the manager and eventually fail (this is
due to the fact that SCT installs scylla-manager server on monitor node and docker
backend doesn't support dedicated monitoring node docker instance).

The change adds a check for this situation, to be able to fail fast and
do not continue uch a test configuration on docker backend.

Closes: scylladb#9028
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

Successfully merging this pull request may close these issues.

In the middle of sct test on docker backend sct asks for sudo password
3 participants