public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: "Alexander Zeidler" <a.zeidler@proxmox.com>
To: "Aaron Lauterer" <a.lauterer@proxmox.com>,
	"Proxmox VE development discussion" <pve-devel@lists.proxmox.com>
Subject: Re: [pve-devel] [PATCH docs v1] package repos: revise Ceph section, introduce 2 attributes
Date: Tue, 25 Mar 2025 18:17:14 +0100	[thread overview]
Message-ID: <D8PINGGB2CKY.3QM9KIK1TYSLH@proxmox.com> (raw)
In-Reply-To: <b97c367a-5b40-45a0-ad7b-6aa2b6e7b6d1@proxmox.com>

On Tue Mar 25, 2025 at 4:26 PM CET, Aaron Lauterer wrote:
> Overall, a nice overhaul to make the section a lot easier to grasp. 
> Thanks! A bit more content wise inline.

Thank you for the review! Will prepare a v2, see comments below.

>
> On  2025-02-10  11:36, Alexander Zeidler wrote:
>> * Remove duplicated text to maintain clarity
>> * Mention available installation methods (web-based wizard, CLI tool)
>> * Create a table to see the support state of Ceph releases
>> * List and link to the EOL dates of Ceph releases
>> * Reword the descriptions of available PVE repositories
>> 
>> * Add two new attributes to avoid manual editing multiple lines
>> ** debian-codename=bookworm
>>     It seems that the codename is not available in the build process,
>>     so updating the new attribute on Debian major release upgrades may
>>     be fine.
>> ** pve-version=8
>>     While `revnumber` ("8.3.1") is made available by the current build
>>     process, it is not as suitable as only mentioning the major version
>>     number.
>> 
>> Signed-off-by: Alexander Zeidler <a.zeidler@proxmox.com>
>> ---
>>   asciidoc/asciidoc-pve.conf |   2 +
>>   pve-package-repos.adoc     | 165 ++++++++++++++-----------------------
>>   2 files changed, 63 insertions(+), 104 deletions(-)
>> 
>> diff --git a/asciidoc/asciidoc-pve.conf b/asciidoc/asciidoc-pve.conf
>> index 0c28298..8ad635f 100644
>> --- a/asciidoc/asciidoc-pve.conf
>> +++ b/asciidoc/asciidoc-pve.conf
>> @@ -3,6 +3,8 @@
>>   proxmoxGmbh=Proxmox Server Solutions GmbH
>>   copyright=Proxmox Server Solutions GmbH
>>   pve=Proxmox VE
>> +pve-version=8
>> +debian-codename=bookworm
>>   pricing-url=https://proxmox.com/en/proxmox-virtual-environment/pricing
>>   website=https://www.proxmox.com/
>>   forum-url=https://forum.proxmox.com/
>> diff --git a/pve-package-repos.adoc b/pve-package-repos.adoc
>> index c831cd9..e0a9fb5 100644
>> --- a/pve-package-repos.adoc
>> +++ b/pve-package-repos.adoc
>> @@ -24,6 +24,7 @@ security updates, bug fixes and new features.
>>   APT Repositories are defined in the file `/etc/apt/sources.list` and in `.list`
>>   files placed in `/etc/apt/sources.list.d/`.
>>   
>> +[[repository_management]]
>>   Repository Management
>>   ^^^^^^^^^^^^^^^^^^^^^
>>   
>> @@ -120,133 +121,90 @@ deb http://download.proxmox.com/debian/pve bookworm pvetest
>>   WARNING: The `pvetest` repository should (as the name implies) only be used for
>>   testing new features or bug fixes.
>>   
>> -[[sysadmin_package_repositories_ceph]]
>> -Ceph Squid Enterprise Repository
>> -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> -
>> -This repository holds the enterprise {pve} Ceph 19.2 Squid packages. They are
>> -suitable for production. Use this repository if you run the Ceph client or a
>> -full Ceph cluster on {pve}.
>> -
>> -.File `/etc/apt/sources.list.d/ceph.list`
>> -----
>> -deb https://enterprise.proxmox.com/debian/ceph-squid bookworm enterprise
>> -----
>> -
>> -
>> -Ceph Squid No-Subscription Repository
>> -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> -
>> -This Ceph repository contains the Ceph 19.2 Squid packages before they are moved
>> -to the enterprise repository and after they where on the test repository.
>> -
>> -NOTE: It's recommended to use the enterprise repository for production
>> -machines.
>> -
>> -.File `/etc/apt/sources.list.d/ceph.list`
>> -----
>> -deb http://download.proxmox.com/debian/ceph-squid bookworm no-subscription
>> -----
>> -
>> -
>> -Ceph Squid Test Repository
>> -~~~~~~~~~~~~~~~~~~~~~~~~~~
>> -
>> -This Ceph repository contains the Ceph 19.2 Squid packages before they are moved
>> -to the main repository. It is used to test new Ceph releases on {pve}.
>> -
>> -.File `/etc/apt/sources.list.d/ceph.list`
>> -----
>> -deb http://download.proxmox.com/debian/ceph-squid bookworm test
>> -----
>>   
>> -Ceph Reef Enterprise Repository
>> -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> +[[sysadmin_package_repositories_ceph]]
>> +Ceph Repositories
>> +~~~~~~~~~~~~~~~~~
>>   
>> -This repository holds the enterprise {pve} Ceph 18.2 Reef packages. They are
>> -suitable for production. Use this repository if you run the Ceph client or a
>> -full Ceph cluster on {pve}.
>> +The optional use of xref:chapter_pveceph[Ceph] requires a configured
>> +Ceph repository. Start by deciding on a recent Ceph release from the
>> +table below and perform the initial setup conveniently using the
>> +xref:pve_ceph_install_wizard[web-based wizard or the CLI tool].
>
> The "conveniently" sounds a bit too much like a cheap sales pitch to me 
> ;). I guess we can avoid such language.
> Also, one does not need to select a ceph repo before installing ceph 
> since it will always be set (explicit or defaults) when running the 
> installation wizard or `pveceph install` and will overwrite what was set 
> before.
>
> We could probably explain why with PVE 8 there is always a Ceph 
> repository configured, even if Ceph isn't used in an HCI fashion.
>
> IIRC: Without our own Ceph repos, the default Debian Ceph packages would 
> be used if one wants to connect to an external Ceph cluster. Those 
> packages might be too old and did cause issues in some situations in the 
> past.
> By having a default Proxmox Ceph repo defined, we have more current RBD 
> and CephFS client packages than what we would get from upstream Debian.

Will implement the suggestions from above.

>
>>   
>> -.File `/etc/apt/sources.list.d/ceph.list`
>> -----
>> -deb https://enterprise.proxmox.com/debian/ceph-reef bookworm enterprise
>> -----
>> +NOTE: Only the listed Ceph releases are supported in {pve}
>> +{pve-version} in a hyper-converged setup (Ceph cluster runs on {pve}
>> +cluster). If your {pve} cluster is not on version {pve-version} yet,
>> +make sure to upgrade Ceph to one of its supported releases in advance.
>> +See the respective {webwiki-url}Category:Ceph_Upgrade[upgrade guide]
>> +for details.
>
> I would refer to the upgrade guide of PVE 7 -> 8. It contains all the 
> necessary info regarding Ceph upgrades for the PVE upgrade.

Will implement it.

>
>>   
>> +[caption=""]
>> +.Ceph Releases in {pve} {pve-version}
>> +[cols="<,^,^,^"]
>>   
>> -Ceph Reef No-Subscription Repository
>> -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> +:t: tech-review

s/review/preview/

>> +:r: recommended
>> +:a: available
>
> I am not sure if we want to have it in such detail. But @Thomas might 
> have an opinion on this, as it will mean a bit more work if we mark a 
> new version as stable and maybe the new default in the install wizard.

It may also be helpful in the install wizard, when the states from above
are included in the drop-down list.

>
> Also, squid is not a tech-preview anymore if the ceph install wizard is 
> any indication.

I agree. By the way, while the preview flag has already been dropped,
the wizard still defaults to `reef`:
https://git.proxmox.com/?p=pve-manager.git;a=blob;f=www/manager6/ceph/CephInstallWizard.js;h=c22d5c64bfd6235a54d250de8b25e09c5ea9bd4b;hb=HEAD#l151

>
>>   
>> -This Ceph repository contains the Ceph 18.2 Reef packages before they are moved
>> -to the enterprise repository and after they where on the test repository.
>> +|===
>> +|                     |**`ceph-squid`**     |**`ceph-reef`**      |**`ceph-quincy`**
>> +|{cephdocs-url}/releases/[Estimated End-of-Life]
>> +                      |2026-09 (v19.2)      |2025-08 (v18.2)      |2025-01 (v17.2)
>> +|**`enterprise`**     |{t}                  |{r}                  |{a}
>> +|**`no-subscription`**|{a}                  |{a}                  |{a}
>> +|**`test`**           |{a}                  |{a}                  |{a}
>> +|===>
>> -NOTE: It's recommended to use the enterprise repository for production
>> -machines.
>> +.Repositories for {pve} {pve-version}
>>   
>> -.File `/etc/apt/sources.list.d/ceph.list`
>> -----
>> -deb http://download.proxmox.com/debian/ceph-reef bookworm no-subscription
>> -----
>> +Choose one of the following repositories during the initial Ceph
>> +setup. Subsequent changes can be made via web interface in the
>> +__xref:repository_management[Repository]__ panel or by manually
>> +editing the `deb` line in the file
>> +`/etc/apt/sources.list.d/ceph.list` .
>>   
>> +====
>> +**`enterprise`**
>>   
>> -Ceph Reef Test Repository
>> -~~~~~~~~~~~~~~~~~~~~~~~~~
>> +This repository is recommended for production use and contains the
>> +most stable packages. It is accessible if the {pve} node has a valid
>> +subscription of any level. For details and included customer support
>> +levels visit:
>>   
>> -This Ceph repository contains the Ceph 18.2 Reef packages before they are moved
>> -to the main repository. It is used to test new Ceph releases on {pve}.
>> +{pricing-url}
>>   
>> -.File `/etc/apt/sources.list.d/ceph.list`
>> +[subs="attributes"]
>>   ----
>> -deb http://download.proxmox.com/debian/ceph-reef bookworm test
>> +deb https://enterprise.proxmox.com/debian/&lt;ceph-release&gt; {debian-codename} enterprise
>
> could we maybe add one full example to make it clear that the ceph 
> release part is  "ceph-..."?
> I think there might be some chance for confusion without it :)

The following speaks against it:
- Nowadays we have the graphical repository management available, making
  manual editing rather obsolete.
- An example is in the to be edited `/etc/apt/sources.list.d/ceph.list`.
- Otherwise we either need to update the release name from time to time
  or need to specify, for example, a clearly outdated release name.


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


      reply	other threads:[~2025-03-25 17:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-10 10:36 Alexander Zeidler
2025-03-24 16:50 ` Aaron Lauterer
2025-03-25 11:19   ` Alexander Zeidler
2025-03-25 15:13     ` Aaron Lauterer
2025-03-25 15:26 ` Aaron Lauterer
2025-03-25 17:17   ` Alexander Zeidler [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D8PINGGB2CKY.3QM9KIK1TYSLH@proxmox.com \
    --to=a.zeidler@proxmox.com \
    --cc=a.lauterer@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal