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

Scylla-JMX starting with wrong EnvironmentFile path by default on Ubuntu #174

Open
tvdu29 opened this issue Jul 29, 2021 · 0 comments
Open
Milestone

Comments

@tvdu29
Copy link

tvdu29 commented Jul 29, 2021

Installation details

Scylla version (or git commit hash): Scylla version 4.4.3-0.20210609.bfafb8456 with build-id 0652dae198a719d3f82df05c921f00c785c2e449
Cluster size: 1 seed + 1 node
OS (RHEL/CentOS/Ubuntu/AWS AMI): custom ami based on ami-03caf24deed650e2c (ubuntu 20.04)

Hardware details (for performance issues)
Platform (physical/VM/cloud instance type/docker): AWS i3.large
Hardware: cores=2vCPU memory=15.25Gib
Disks: 475 GiB NVMe SSD

Installation specifics

Due to scylla-tools-core installing python2 as default python interpreter and breaking our ansible playbooks, we prefer to install scylla-server, scylla-jmx and scylla-kernel-conf independently to keep python3 as default.

Bug descripton

scylla-jmx seems get it's EnvironmentFile from the CentOs path (/etc/sysconfig/scylla-jmx) instead of the expected Ubuntu/Debian path (/etc/default/scylla), thus preventing proper configuration for remote nodetool connection.

Commands to run

$ sudo apt install scylla-server scylla-jmx scylla-kernel-conf
$ sudo scylla_setup --disks /dev/nvme0n1 --nic ens3 --setup-nic-and-disk --no-swap-setup --no-version-check --no-verify-package --no-node-exporter

Expected behavior

$ sudo cat /lib/systemd/system/scylla-jmx.service
...
[Service]
Type=simple
EnvironmentFile=/etc/default/scylla-jmx
...
  • scylla-jmx listening on port 7199 on public facing interface

Actual behavior

$ sudo cat /lib/systemd/system/scylla-jmx.service
...
[Service]
Type=simple
EnvironmentFile=/etc/sysconfig/scylla-jmx
...
  • scylla-jmx listening on port 7199 on loopback interface only

Thank you for your work :)

@DoronArazii DoronArazii added this to the Backlog milestone May 15, 2023
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

2 participants