Skip to content

Conversation

@jdstrand
Copy link
Contributor

@jdstrand jdstrand commented Dec 16, 2025

  • feat: add influxdb3-launcher as well as systemd unit and SysV init files
  • chore: add preliminary influxdb3-core.conf (toml)
  • feat(ci): add build_and_persist_packages pipeline parameter
  • fix: updates for config.yaml for package linters
  • chore: update .gitignore to include artifacts/
  • fix(rh): fix maintainer scripts and config for RPM
  • chore: remove .keepdir files from populated directories
  • fix: add pre-uninstall and move stop/disable of service to it
  • fix(launcher): add missing config items

This was not a cherry-pick from influxdb_pro since some files are named differently, etc. Here is what I did:

  1. git show > /path/to/pro.diff from influxdb_pro
  2. copied /path/to/pro.diff to /path/to/pro-clean.diff and pulled out changes to .circleci/config.yml, .circleci/packages/config.yaml and .gitignore
  3. cat /path/to/pro-clean.diff | patch -p1 (this was clean)
  4. git mv .circleci/packages/influxdb3/fs/lib/systemd/system/influxdb3-enterprise.service .circleci/packages/influxdb3/fs/lib/systemd/system/influxdb3-core.service and update .circleci/packages/influxdb3/fs/lib/systemd/system/influxdb3-core.service for core
  5. git mv .circleci/packages/influxdb3/fs/usr/share/influxdb3/influxdb3-enterprise.conf .circleci/packages/influxdb3/fs/usr/share/influxdb3/influxdb3-core.conf and pull out enterprise-specific config and update a few things for s/enterprise/core/
  6. manually apply changes to .circleci/config.yml, .circleci/packages/config.yaml and .gitignore from /path/to/pro.diff
  7. apply as a single commit, then do git show > /path/to/core.diff, then compare (eg, meld /path/to/pro.diff /path/to/core.diff)

Testing

Test Ubuntu 24.04 Ubuntu 14.04 Debian 12 Rocky 10 Rocky 8 AL 2
install/remove cleans up
install enables but doesn't start db[1]
install/config/start/remove cleans up[2]
install Ent with Core blocked
upgrade Core to Core[3]
upgrade Core to Ent[4]
downgrade Ent to Core blocked[5]
create db/write/query
create db/sandbox_verify.py[6] ✅ [7]
notifier plugin via API[8]
create db/write/query via explorer[9]
system_metrics plugin via Explorer
downsampler plugin via API
  • [1] expected Unknown lvalue on AL2 and Rocky 8. AL2 has expected `Failed to
  • parse protect system value, ignoring: strict. Tested with systemctl status influxdb3-core`
  • [2] cleanup properly stops the server proces, removes files and leaves data in /var/lib/influxdb3 and configuration in /etc/influxdb3
  • [3] server restarted (new pid)
  • [4] launcher logs messages
  • [5] install enterprise, start it, remove enterprise, install core, expected E: Cannot downgrade from InfluxDB 3 Enterprise to Core via journalctl --no-pager -u influxdb3-core after start (and STDIN with sysv init script)
  • [6] script runs everywhere. Expected 'FAIL's on Ubuntu 14.04, AL2 and Rocky 8 due to lack of systemd features.
  • [7] 'Func_https' failure on Rocky 8 is CERTIFICATE_VERIFY_FAILED. This requires the unit to be started with SSL_CERT_FILE=/etc/pki/tls/certs/ca-bundle.crt. Will fix in launcher
  • [8] installed via influxdb3 create trigger --plugin-filename gh:influxdata/...
  • [9] create/list/delete databases, list tokens, query databases, write sample data and query them, create dashboard, browse plugins, install system_metrics

* feat: add influxdb3-launcher as well as systemd unit and SysV init files
* chore: add preliminary influxdb3-core.conf (toml)
* feat(ci): add build_and_persist_packages pipeline parameter
* fix: updates for config.yaml for package linters
* chore: update .gitignore to include artifacts/
* fix(rh): fix maintainer scripts and config for RPM
* chore: remove .keepdir files from populated directories
* fix: add pre-uninstall and move stop/disable of service to it
* fix(launcher): INFLUXDB3_NODE_IDENTIFIER_FROM_ENV is in Core too

* fix(launcher): add missing config items. Thanks Pete Barnett
Copy link
Contributor

@praveen-influx praveen-influx left a comment

Choose a reason for hiding this comment

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

🚢

@jdstrand jdstrand merged commit caa38ff into main Dec 16, 2025
25 checks passed
@jdstrand jdstrand deleted the jdstrand/linux-srv-mgmt branch December 16, 2025 20:55
jdstrand added a commit that referenced this pull request Dec 16, 2025
* feat: Linux service management

* feat: add influxdb3-launcher as well as systemd unit and SysV init files
* chore: add preliminary influxdb3-core.conf (toml)
* feat(ci): add build_and_persist_packages pipeline parameter
* fix: updates for config.yaml for package linters
* chore: update .gitignore to include artifacts/
* fix(rh): fix maintainer scripts and config for RPM
* chore: remove .keepdir files from populated directories
* fix: add pre-uninstall and move stop/disable of service to it

* fix(launcher): add missing config items (#1989)

* fix(launcher): INFLUXDB3_NODE_IDENTIFIER_FROM_ENV is in Core too

* fix(launcher): add missing config items. Thanks Pete Barnett
jdstrand added a commit that referenced this pull request Dec 16, 2025
* feat: Linux service management

* feat: add influxdb3-launcher as well as systemd unit and SysV init files
* chore: add preliminary influxdb3-core.conf (toml)
* feat(ci): add build_and_persist_packages pipeline parameter
* fix: updates for config.yaml for package linters
* chore: update .gitignore to include artifacts/
* fix(rh): fix maintainer scripts and config for RPM
* chore: remove .keepdir files from populated directories
* fix: add pre-uninstall and move stop/disable of service to it

* fix(launcher): add missing config items (#1989)

* fix(launcher): INFLUXDB3_NODE_IDENTIFIER_FROM_ENV is in Core too

* fix(launcher): add missing config items. Thanks Pete Barnett
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants