Skip to content

Refine ECE SUSE host configuration page#6598

Merged
eedugon merged 21 commits into
mainfrom
mw-ece-suse
Jul 15, 2026
Merged

Refine ECE SUSE host configuration page#6598
eedugon merged 21 commits into
mainfrom
mw-ece-suse

Conversation

@marciw

@marciw marciw commented May 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Created by Claude

Fixes https://github.com/elastic/docs-content-internal/issues/24

Preview of main changes to review: Configure a SuSE host

  • Rewrite the SUSE host configuration page: drop the unsupported Docker 24.0.7 examples, flag SLES 12 SP5 EOL (October 2024), drop SLES 12-specific install commands, and label the remaining Docker command as an example to cross-check against the Support matrix.
  • Reword the intros on all three sibling pages (RHEL, SUSE, Ubuntu) so they diverge enough to be indexed independently by search engines (per eedugon's "extra improvement" bullet in the issue).
  • Drop the "Think like a minimalist / Cover your bases" intro from the SUSE page per kunisen's comment on the issue.

🚨 SME validation needed before merge

All commands have been tested in SLES 15 SP4 by @eedugon

  1. Did you use a generative AI (GenAI) tool to assist in creating this contribution?
  • Yes
  • No
    Tools and models used: Claude Code CLI default

Rewrite the SUSE host configuration page to address GitHub issue
docs-content-internal#24: drop the unsupported Docker 24.0.7 examples,
flag SLES 12 SP5 EOL, and label commands as examples that should be
cross-checked against the Support matrix. Extract the Docker version
into a shared ece-docker-version substitution so the Ubuntu and SUSE
pages stay in sync. Reword the intros on all three sibling pages
(RHEL, SUSE, Ubuntu) so they diverge enough to be indexed
independently by search engines. Replace the deprecated
`service network restart` with `systemctl restart NetworkManager`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented May 20, 2026

Copy link
Copy Markdown
Contributor

Elastic Docs AI PR menu

Check the box to run an AI review for this pull request.

Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team.

@github-actions

github-actions Bot commented May 20, 2026

Copy link
Copy Markdown
Contributor

@github-actions

This comment was marked as outdated.

marciw and others added 4 commits May 21, 2026 12:01
Follow-up to the SUSE refinement: SLES 12 SP5 is EOL, so the page now
targets SLES 15 only with a note pointing migrators at the last SUSE-
shipped Docker for SLES 12 SP5. Also drop `sudo systemctl restart
NetworkManager` from the sysctl apply step — that's the wrong command
for SUSE (default network manager is wicked, not NetworkManager), and
the network restart isn't actually needed after `sysctl -p` for the
parameters being set here. Link the SUSE Docker installation doc
instead of half-documenting the SUSEConnect command.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…mand

Three small follow-ups from a fresh-eyes pass:

- SUSE: remove stray `s` after the closing fence on the Containers Module tip.
- Ubuntu: add the missing period at the end of the Docker example sentence.
- Ubuntu: add `subs=true` to the `docker-ce` install code block so
  `{{ece-docker-version}}` resolves like it does in the SUSE block.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Docs review summary

Focus areas

  • Style and clarity: Good overall. Two issues flagged inline: "workflow" jargon + non-standard "ready" verb in the Ubuntu intro; stacked tip+note admonitions in the SUSE Docker install step.
  • Jargon: ECE is used in the RHEL intro without expansion, but {{ece}} in the same sentence renders to "Elastic Cloud Enterprise" — acceptable. Other terms are fine.
  • Frontmatter and applies_to: Unchanged; no issues.
  • Content type fit: All three pages are how-to guides. The reorganization of OS-group setup into step 4 of the "Install Docker on SLES" section is a mild structural mismatch (the H2 heading doesn't cover OS groups), but it simplifies the flow and is not harmful enough to block the PR.
  • Parent issue satisfaction: Satisfied. The PR addresses all items in the linked issue: drops deprecated Docker 24.0.7 examples, flags SLES 12 SP5 EOL, extracts a shared ece-docker-version substitution, rewrites the three sibling page intros for SEO, removes the deprecated service network restart call, and drops the "minimalist/cover your bases" framing.

Nits

  • configure-host-suse.md line 49: The step text repeats the variable name twice ("example of installing Docker {{ece-docker-version}}. To install a different Docker version, replace {{ece-docker-version}}..."). A tighter phrasing: "Install Docker {{ece-docker-version}} and other required packages on SLES 15. To use a different version, check the Support matrix."
  • configure-host-suse.md line 17: Contraction "you've" — Elastic style prefers contractions in a friendly tone so this is fine, but if editors prefer no contractions, "the versions you have identified" works.

Notes

  • The pre-fetched Vale output was empty (0 eligible files reported by the workflow data), but there are clearly eligible changed markdown files in this PR. The review was performed from the diff directly.
  • The PR is marked as a draft pending SME validation of the SLES 15 commands; the review findings here are independent of that validation.

Generated by Docs review agent for issue #6598 · ● 325.8K

Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-ubuntu.md Outdated
Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-suse.md Outdated
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@github-actions

github-actions Bot commented May 21, 2026

Copy link
Copy Markdown
Contributor

Elastic Docs Style Checker (Vale)

Summary: 1 suggestion found

💡 Suggestions (1): Optional style improvements. Apply when helpful.
File Line Rule Message
deploy-manage/deploy/cloud-enterprise/configure-host-suse.md 350 Elastic.WordChoice Consider using 'start, run' instead of 'boot', unless the term is in the UI.

The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale.

@marciw
marciw marked this pull request as ready for review May 21, 2026 22:13
@marciw
marciw requested review from a team as code owners May 21, 2026 22:13
@marciw
marciw marked this pull request as draft May 21, 2026 22:27
@eedugon eedugon assigned eedugon and unassigned eedugon May 22, 2026

@eedugon eedugon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I've reviewed RHEL and Ubuntu small changes.
I'll test all SuSE commands and the new content in a lab environment and get back to you next week!

Thanks a lot for working on this issue!

Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-rhel.md Outdated
Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-ubuntu.md Outdated

@eedugon eedugon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Installation works fine with SLES15-SP4 and Docker 25, but not with newer SPs where Docker 25 is not available, and for some reason ECE install doesn't work in SuSE with Docker 27.

Also SP4 is close to EOL and it's difficult to find images, and newer SPs (SP7) don't include Docker 25 anymore in the package repositories. This has been raised to cloud team for their consideration. Ideally we should support newer SPs and Docker versions soon.

Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-suse.md Outdated
Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-suse.md Outdated
Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-suse.md Outdated
Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-suse.md
Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-suse.md Outdated
Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-suse.md Outdated
Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-suse.md Outdated
Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-suse.md Outdated
Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-suse.md
Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-suse.md Outdated
@marciw
marciw requested a review from eedugon June 16, 2026 23:55
@marciw

marciw commented Jun 16, 2026

Copy link
Copy Markdown
Contributor Author

thanks for all the detailed comments, @eedugon! I think I've addressed everything except for the one I left open. Take a look when you get a chance.

@marciw
marciw marked this pull request as ready for review June 16, 2026 23:56

@eedugon eedugon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Things are looking much better, thanks a lot!
Sharing some extra comments for small movements and refinement. Afterwards I'll do a new set of testing and I might suggest small changes on the order of the directories and mount point configuration steps.

Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-suse.md Outdated
Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-suse.md Outdated
Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-suse.md
Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-suse.md Outdated
Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-suse.md Outdated
Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-suse.md Outdated
Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-suse.md Outdated
Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-ubuntu.md Outdated
Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-rhel.md Outdated
@eedugon

eedugon commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Do we still have this on the board or shall we merge this PR first and later when we have the plan in more affirmative state then we take further action?

My plan is to finish with this PR very soon, and then align the other install guides to this one at a later stage.
I hope to get this in a state for a final review between today and tomorrow.

@eedugon eedugon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approving to remove the lock, then I'll set new reviewers

@eedugon
eedugon requested review from a team, eedugon and kunisen June 30, 2026 17:20
@eedugon

eedugon commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

@kunisen, I've added significant changes to the PR, please let me know your thoughts.

I've updated a lot the structure to ensure the steps are separated in clear and differentiated areas.
Also added a list of verification steps after reboot to ensure all is ready for the ECE installation, incuded a Next steps section, and some other changes.

In the near future I'll check with PMs and devs to see if we can align the 3 OSs documents so they have similar structure.

@eedugon
eedugon requested a review from a team June 30, 2026 17:27
@eedugon
eedugon removed their request for review June 30, 2026 17:37
Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-suse.md
sudo useradd -m -g elastic -G docker elastic
```

The user that prepares the host must be able to run commands with `sudo`. Configure sudo access according to your organization's policies. For example, to allow the `elastic` user to run the commands in this guide without entering a password:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I have some questions on this:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I've removed all that part if I'm not mistaken. And I agreed, that level of detail shouldn't be needed. Our doc's main focus should be ECE preparations and requirements, not general knowledge like how to configure sudo.

@kunisen kunisen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@eedugon thank you!

[1]

I see some order change made in 545cd4d and 48ffa2f.

I think I am not in the position of reviewing the order change is good enough and won't impact on installation or not.
My personal feeling is I can see they generally look good, but if you want to get 100% sign-off, I would recommend you reach out to ECE dev for a 2nd look.

[2]

Other than that, the changes look good in general.
There are some detailed places that I have questions, but no thing big.


For the next, if you are confident enough with the reordering per above [1], then I am fine with we merge the PR to have a much clearer OS prep docs :)
Thanks again mate!

@eedugon

eedugon commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

I think I am not in the position of reviewing the order change is good enough and won't impact on installation or not.

ordering is fine, the steps were unrelated and I've tried to give better sense to the steps and their order, although in some cases the order of certain actions is completely irrelevant.

Also I've tested everything step by step, and we'll be waiting for control-plane review and ack on this.
thanks!

@shainaraskas shainaraskas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't know enough about suse to validate this from a technical perspective, but this doc is looking really nice from a content/style perspective.

I dropped some style comments throughout for you to look at, and some questions that I got stuck on that might not be super relevant to a seasoned user.

since I'm out for the next bit, don't worry about waiting on me for another loop of reviews - it's basically good to go as is.

SLES 12 SP5 reached general support end of life on **October 31, 2024**. Use SLES 15 or later for new {{ece}} installations, and migrate existing SLES 12 SP5 hosts.
::::

* [Prerequisites](#ece-configure-host-suse-prerequisites)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this page nav duplicates the right hand nav. do we expect people will be jumping around this guide much? if we expect people to have to do all of these steps, I would skip putting this full list in

if the steps are order-sensitive (or partially order-sensitive) we should make sure that the steps get numbered or dependencies are called out in the prose (the latter for the 'only sometimes the order matters' case)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I've added a little extra prose to the relevant sections, the majority of them are independent.
Page nav removed. I agree it's better like this.

Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-suse.md Outdated
sudo usermod -g <elastic_group_gid> $USER
```

## Install Docker on SLES [ece-install-docker-sles12]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

need an intro sentence after the heading

Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-suse.md Outdated
Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-suse.md Outdated
Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-suse.md Outdated
* `net.ipv4.tcp_keepalive_probes`
:::

## Configure the Docker daemon [ece-configure-docker-daemon-sles12]

@shainaraskas shainaraskas Jul 5, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

haven't been commenting on this, but pref a little tl;dr of what is being done / the role of the thing you're configuring below each heading

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

included, together with the statement about data directories preparation and docker install steps should have been already performed.

Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-suse.md Outdated
Comment thread deploy-manage/deploy/cloud-enterprise/configure-host-suse.md Outdated
```

4. Recommended: Tune your network settings.
Then log in again as your ECE user.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

is this process obvious to the user?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yes, how to log in as a certain user or become a certain user in the OS should be obvious to the reader.

Do you prefer to put that directly in the step?

  1. Reboot your system and log in again as your ECE user to ensure that all configuration changes take effect:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

no preference, just wondering :)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

updated, hoping it's better now :)

eedugon and others added 2 commits July 6, 2026 12:56
Co-authored-by: shainaraskas <58563081+shainaraskas@users.noreply.github.com>

@Frannie-Ludmilla Frannie-Ludmilla left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM, maybe just a nit about a (possibly) duplicate action if the user did not exist.
Thank you for the env to test this 💻 !


```sh
sudo zypper install -y curl device-mapper lvm2 net-tools docker=24.0.7_ce-150000.198.2 net-tools
sudo usermod -aG elastic,docker $USER

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

If the user decide to create elastic as $USER then the previous

 sudo useradd -m -g elastic -G docker elastic

already sets the elastic user to have elastic,docker as groups.
What I am trying to say is that if the user takes the optional step, then this step could be skipped as these groups are already assigned.
This step is important if they decide to use an already existent user and we need to add (by appending) the needed groups.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yeah, that step is only needed if the user didn't create a user in the previous step, good point. I'll fix it.


```sh
/dev/xvdg1 /mnt/data xfs defaults,pquota,prjquota,x-systemd.automount 0 0
sudo install -o $USER -g elastic -d -m 700 /mnt/data

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

TBH, since I didn't know for sure whether it actually did anything (apart from returning a 0 exit code), we may suggest to check that the newly created folder has elastic (owner) and elastic (group) as well as drwx------ (700)

francescapesci@francesca-ece-suse:~> ls -ld /mnt/data
drwx------ 2 elastic elastic 6 Jul 14 16:13 /mnt/data

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

yeah, the verification is at the end of the doc. But it's a good point, I'll check this a bit further.

@eedugon
eedugon enabled auto-merge (squash) July 15, 2026 07:31
@eedugon
eedugon merged commit c3527b9 into main Jul 15, 2026
7 checks passed
@eedugon
eedugon deleted the mw-ece-suse branch July 15, 2026 07:31
@kunisen

kunisen commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Thank you all!

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.

5 participants