-
Notifications
You must be signed in to change notification settings - Fork 277
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
[Design] OpenSearch/Dashboards DEB Distribution Design Document #2460
Comments
@peterzhuamazon @gaiksaya @prudhvigodithi @zelinh @dblock Please provide your feedback and comments on this design issue. |
Hi @mnin thanks for the design document. A few points:
Thanks. |
Thanks @peterzhuamazon for reviewing this issue.
I added a comment to the milestone 4 section to clarify this.
I would like to keep the naming convention from Debian: https://www.debian.org/doc/manuals/debian-faq/pkg-basics.en.html#pkgname Or does that not make sense?
I added another point to the milestone 3 to adopt the existing scripts which are used for the RPM package.
I already mentioned Thank you. |
@elfisher @krisfreedain @dblock @setiah Do you have any inputs on the naming part?
|
I like following the standard Debian naming convention as suggested by @mnin. The package naming conventions do vary across platforms so it doesn't seem like a problem to me. |
+1 on following what Debian wants, even though I find it aesthetically displeasing ;) I found this interesting too. |
RPM is already not following the rpm naming scheme, this requires a lot of changes to our build scripts just to consume a new naming scheme. |
+1 to following the Debian naming convention. |
Hi, Just to compare, all of the current artifacts in TAR/RPM/ZIP are following this naming convention:
If we make debian to follow the debian naming scheme it would become an outlier compares to other distribution. Tho not a blocker but definitely something we need to be careful when approaching the renaming. Thanks. |
@elfisher @dblock @setiah @mnin I assume you all are good with following different naming convention for Debian packages compared to existing OpenSearch artifacts as mentioned above by @peterzhuamazon ? Can we proceed based on that assumption? |
I think you should make this call @peterzhuamazon. My opinion is not very uneducated. |
I followed the recommendation of keeping the naming scheme as it currently is with OpenSearch packages. Maybe this can still lead to problems when building the APT repository. |
I'm not sure where to ask, but I guess this is the most appropriate issue: what exactly is the plan for migrations? Many people have simply frozen their ELK stacks on the latest non-SSPL version, hoping that opensearch will mean a direct upgrade path. Based on the fact that names are different and there's no mention of transition/meta packages, I wonder if there are any plans for people wishing to migrate, or will new installations be presumed? |
@bertvandepoel See https://opensearch.org/docs/latest/upgrade-to/upgrade-to/. Do you have a scenario not covered by that? We'd like to help! |
Closing this issue as we have designed and added Debian support in 2.5.0 release |
Coming from #28
OpenSearch DEB Distribution Design Document
Hey everyone,
I want to explain all details for the workflow of providing the DEB packages for the future releases on OpenSearch/Dashboards.
In parts, this topic has already been dealt with in Issue Design OpenSearch/Dashboards DEB/RPM Distribution Design Document · Issue #1452 · opensearch-project/opensearch-build · GitHub.
Please feel free to comment and raising questions about it.
To be transparent, I am currently working for the company Graylog, who would like to provide a DEB packages to their customers as well.
Introduction
As 2022/08, OpenSearch project published Tarball, Docker Images, RPM packages and YUM packages as part of the release artifacts. As a result, the community asked in multiple issues for DEB packages for OpenSearch.
This design issue is based on the issue created in 2022/01 Design OpenSearch/Dashboards DEB/RPM Distribution Design Document · Issue #1452 · opensearch-project/opensearch-build · GitHub. This design issue has already covered parts of the DEB packages build. But then mainly the building of the RPM package was described in the issue.
Requirements
[Milestone 1] OpenSearch build process for DEB package generation
[Milestone 2] DEB Package Signing
debsign
is an option to use (man page is debsign(1) — devscripts — Debian bullseye — Debian Manpages) to sign the packages.[Milestone 3] DEB Package Design
opensearch_1.0.0_amd64.deb
andopensearch-dashboards_1.0.0_amd64.deb
.prerm
,postinst
features to store a script here which will be executed after the package has been unpacked.LICENSE
andREADME
file.[Milestone 4] DEB Package Publishing
Packages
files for the repository should be signed with PGP,aptly
are able to sign the files.[Milestone 5] Installation
The DEB packages should work on the current Debian (11.4 Bullseye) and Ubuntu (22.04.1 LTS) versions.
[Milestone 6] Validation
The build system should apply tests to validate the quality of the delivered product before releasing to public.
These tests should cover the latest Debian and Ubuntu distribution.
Implementation
The already existing workflow should be adapted and extended to build the DEB packages as well as to deploy them in the existing infrastructure to serve the files.
To build the packages, the build system should use Debian Bullseye or Ubuntu 22.04.1 for this.
Assemble the DEB distribution
The existing scripts that already work for RPM packages should be adapted so that they also work for DEB packages.
Usage
Installation
With
dpkg
:With the APT repository:
Test
Once the OpenSearch daemon is installed, the status can be queried from the cluster, checkout the API https://opensearch.org/docs/latest/opensearch/popular-api/
Uninstallation
With
dpkg
or APT repository:Usage with systemd to manipulate the daemon state
Start
Stop
Status
Reference links
The text was updated successfully, but these errors were encountered: