Skip to content

feat: Updates post-install for linux package builds#26893

Merged
devanbenz merged 4 commits intomaster-1.xfrom
db/rhel-pi-update
Oct 10, 2025
Merged

feat: Updates post-install for linux package builds#26893
devanbenz merged 4 commits intomaster-1.xfrom
db/rhel-pi-update

Conversation

@devanbenz
Copy link
Copy Markdown

No description provided.

@devanbenz devanbenz reopened this Oct 9, 2025
@devanbenz devanbenz marked this pull request as ready for review October 9, 2025 19:53
Copy link
Copy Markdown
Contributor

@jdstrand jdstrand left a comment

Choose a reason for hiding this comment

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

Thanks! I'm inclined to approve as this looks like what I tested, but can you detail the testing performed? I think at the very least showing a fresh install works and an upgrade from 1.11.8.

After this is merged, main-2.x should need a similar fix (so it is part of the 2.8 work).

@devanbenz
Copy link
Copy Markdown
Author

devanbenz commented Oct 10, 2025

@jdstrand here is the detail regarding my testing, this is on a fresh Rocky 9 box:

  1. Download influxdb 1.11.8 and circleCI artifact RPMs (I am using an ARM machine so these are aarch64)
wget https://repos.influxdata.com/packages/influxdb-1.11.8.aarch64.rpm &&
wget https://output.circle-artifacts.com/output/job/784b6d62-30c8-45f8-acf2-da1fa1900eac/artifacts/0/packages/influxdb-1.x_030bb5aa-1.aarch64.rpm
  1. Install influxdb 1.11.8
sudo yum localinstall influxdb-1.11.8.aarch64.rpm
  1. Start the influxdb service and verify it is running
sudo systemctl enable --now influxdb &&
sudo systemctl status influxdb
  1. After enabling and checking the service I use the influx CLI tool to write a point.
  2. Install the new RPM
[devan@rocky ~]$ sudo yum install influxdb-1.x_d397555f-1.aarch64.rpm
Last metadata expiration check: 0:01:51 ago on Fri 10 Oct 2025 07:45:21 AM CDT.
Dependencies resolved.
======================================================================================================================================================================================
 Package                                  Architecture                            Version                                          Repository                                    Size
======================================================================================================================================================================================
Downgrading:
 influxdb                                 aarch64                                 1.x_d397555f-1                                   @commandline                                  35 M

Transaction Summary
======================================================================================================================================================================================
Downgrade  1 Package

Total size: 35 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                              1/1
  Running scriptlet: influxdb-1.x_d397555f-1.aarch64                                                                                                                              1/2
  Downgrading      : influxdb-1.x_d397555f-1.aarch64                                                                                                                              1/2
  Running scriptlet: influxdb-1.x_d397555f-1.aarch64                                                                                                                              1/2
Synchronizing state of influxdb.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable influxdb

  Cleanup          : influxdb-1.11.8-1.aarch64                                                                                                                                    2/2
  Running scriptlet: influxdb-1.11.8-1.aarch64                                                                                                                                    2/2

Downgraded:
  influxdb-1.x_d397555f-1.aarch64

Complete!
  1. The process completes. Afterward I reload the systemctl daemon and restart the influxdb service.
  2. check journalctl -u influxdb and see the commit is our PRs latest commit:
Oct 10 07:48:58 rocky influxd-systemd-start.sh[4104]: ts=2025-10-10T12:48:58.765095Z lvl=info msg="InfluxDB starting" log_id=0zVYWyZG000 version=1.x-d397555f9e branch=BNP_rhel-pi-update-patches commit=d397555f9e0a2c4c5ceeba6f9cf39664d89f1d06

Copy link
Copy Markdown
Contributor

@jdstrand jdstrand left a comment

Choose a reason for hiding this comment

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

Thanks! LGTM

@devanbenz devanbenz changed the title feat: Updates post-install for Rocky Linux feat: Updates post-install for linux package builds Oct 10, 2025
@devanbenz devanbenz merged commit 310d97a into master-1.x Oct 10, 2025
10 checks passed
@devanbenz devanbenz deleted the db/rhel-pi-update branch October 10, 2025 14:53
devanbenz added a commit that referenced this pull request Oct 10, 2025
Co-authored-by: Brandon Pfeifer <bpfeifer@influxdata.com>
(cherry picked from commit 310d97a)
devanbenz added a commit that referenced this pull request Oct 10, 2025
Co-authored-by: Brandon Pfeifer <bpfeifer@influxdata.com>
(cherry picked from commit 310d97a)
devanbenz added a commit that referenced this pull request Oct 14, 2025
Co-authored-by: Brandon Pfeifer <bpfeifer@influxdata.com>
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.

3 participants