DLPX-96879 Disable Influxdb default package#863
Open
dbshah12 wants to merge 2 commits into
Open
Conversation
44c429f to
d233f80
Compare
VenkatanadhanG
approved these changes
Apr 2, 2026
VenkatanadhanG
left a comment
Contributor
There was a problem hiding this comment.
Do we need to wait for https://github.com/delphix/performance-diagnostics/pull/119/changes before merging this.
Changes looks good.
d233f80 to
7efa1b6
Compare
ShibasishDelphix
approved these changes
Apr 2, 2026
ShibasishDelphix
left a comment
There was a problem hiding this comment.
LGTM, I think we need to merge https://github.com/delphix/performance-diagnostics/pull/119/changes first though.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The
influxdb2package ships with a defaultinfluxdb.servicesystemd unit that starts automatically when the package is installed. The performance-diagnostics package (delphix/performance-diagnostics#119) declaresinfluxdb2as a runtime dependency and provides its own custom service wrapper (delphix-influxdb.service) that handles InfluxDB startup along with one-time initialization (org/bucket/token setup). If the defaultinfluxdb.serviceis not disabled, it will auto-start on install/boot and conflict with the custom service.Solution
Add
influxdb.serviceto the list of services that are disabled and masked at appliance build time in theappliance-build.virtualization-commonAnsible role. This follows the same pattern used for other services (e.g.,nginx.service,postgresql.service,telegraf.service) that are installed by packages but managed by Delphix-specific service wrappers.This ensures that when
influxdb2is installed via theperformance-diagnosticspackage, the default upstream service does not auto-start and thedelphix-influxdb.serviceunit remains the sole entry point for managing InfluxDB on the appliance.Testing Done
Covered by the ab-pre-push run in the dependent PR: delphix/performance-diagnostics#119.