Ceph install via offline mirror (POM) fails

KungFuPanda19

New Member
Jan 20, 2025
2
0
1
Dear,

I am new to Proxmox, so please bear with me.
I am currently setting up an offline 4-node test-cluster with PVE in order to convince my boss to move away from standalone ESXi-servers to 1 decent PVE-cluster in the future.
We work in an offline environment so I installed a Proxmox Offline Mirror (POM) with the following mirrors and media:

Code:
proxmox-offline-mirror config mirror list
┌──────────────────────────────┬───────────────────────────────────────────────────────────────────────────┬──────────────────────────────────────────┬────────┬──────┐
│ ID                           │ repository                                                                │ base-dir                                 │ verify │ sync │
╞══════════════════════════════╪═══════════════════════════════════════════════════════════════════════════╪══════════════════════════════════════════╪════════╪══════╡
│ ceph_reef_bookworm           │ deb http://download.proxmox.com/debian/ceph-reef bookworm no-subscription │ /var/lib/proxmox-offline-mirror/mirrors/ │      1 │    1 │
├──────────────────────────────┼───────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────┼────────┼──────┤
│ debian_bookworm_security     │ deb http://deb.debian.org/debian-security bookworm-security main contrib  │ /var/lib/proxmox-offline-mirror/mirrors/ │      1 │    1 │
├──────────────────────────────┼───────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────┼────────┼──────┤
│ pbs_bookworm_no_subscription │ deb http://download.proxmox.com/debian/pbs bookworm pve-no-subscription   │ /var/lib/proxmox-offline-mirror/mirrors/ │      1 │    1 │
├──────────────────────────────┼───────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────┼────────┼──────┤
│ pve_bookworm_no_subscription │ deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription   │ /var/lib/proxmox-offline-mirror/mirrors/ │      1 │    1 │
└──────────────────────────────┴───────────────────────────────────────────────────────────────────────────┴──────────────────────────────────────────┴────────┴──────┘

proxmox-offline-mirror config media list
┌────────┬──────────────────────────────────────────────┬──────────────────────────────────┬────────┬──────┐
│ ID     │ mountpoint                                   │ mirrors                          │ verify │ sync │
╞════════╪══════════════════════════════════════════════╪══════════════════════════════════╪════════╪══════╡
│ ceph   │ /var/lib/proxmox-offline-mirror/media/ceph   │ ["ceph_reef_bookworm"]           │      1 │    1 │
├────────┼──────────────────────────────────────────────┼──────────────────────────────────┼────────┼──────┤
│ debian │ /var/lib/proxmox-offline-mirror/media/debian │ ["debian_bookworm_security"]     │      1 │    1 │
├────────┼──────────────────────────────────────────────┼──────────────────────────────────┼────────┼──────┤
│ pbs    │ /var/lib/proxmox-offline-mirror/media/pbs    │ ["pbs_bookworm_no_subscription"] │      1 │    1 │
├────────┼──────────────────────────────────────────────┼──────────────────────────────────┼────────┼──────┤
│ pve    │ /var/lib/proxmox-offline-mirror/media/pve    │ ["pve_bookworm_no_subscription"] │      1 │    1 │
└────────┴──────────────────────────────────────────────┴──────────────────────────────────┴────────┴──────┘

Now, I configured my mirrors as follows in PVE:
20250120_095302_mRemoteNG - confCons.xml - PLCEWS02 BASFAD.png

However, when I try to install CEPH, it fails AND it tries to connect to the default, online repository (which is not available).
20250120_095335_mRemoteNG - confCons.xml - PLCEWS02 BASFAD.png 20250120_095403_mRemoteNG - confCons.xml - PLCEWS02 BASFAD.png

Furthermore, the configuration of the mirrors is changed after the installation attempt.
20250120_095426_mRemoteNG - confCons.xml - PLCEWS02 BASFAD.png

Could anybody tell me what I am doing wrong?

Thanks for the help.
Matthijs
 
you also need to mirror the regular Debian repositories
 
you also need to mirror the regular Debian repositories
Hi Fabian,

Thanks for the quick help.
Do you mean I need the Debian-main and Debian-updates repositories as well?
I assumed all then necessary Debian stuff would be included in the pve-mirror. But that assumption might have been a mistake.

Is there a way to not download the full 150GB of Debian-repo? Or do I really need all of it to be sure there are no dependency failures?

Matthijs
 
you can filter out parts that you don't need
- games, firmware, kernel packages
- debug packages (if you know you don't need them)
- other big packages that you don't expect to need

but yeah, if you want to ensure you are able to install any optional packages, then you theoretically need a full mirror.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!