pveceph install kept switching to enterprise repo

proxr

New Member
Oct 7, 2023
3
1
1
On a Proxmox 8.0.4 node, I have the following in /etc/apt/sources.list.d/ceph.list:

deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription

I executed apt update, then run pveceph install

But I always received the following message:
Code:
WARN: Enterprise repository selected, but no active subscription!

This will install Ceph Quincy - continue (y/N)?

If I click 'Y' to continue, the installation will fail since it's trying to download packages from the ceph enterprice repo that I do not have subscription to:

Code:
update available package list
E: Failed to fetch https://enterprise.proxmox.com/debian/ceph-quincy/dists/bookworm/InRelease  401  Unauthorized [IP: 144.217.225.162 443]
E: The repository 'https://enterprise.proxmox.com/debian/ceph-quincy bookworm InRelease' is not signed.
start installation
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package ceph-volume
apt failed during ceph installation (25600)

Then I look at /etc/apt/sources.list.d/ceph.list, the repo had been changed to: deb https://enterprise.proxmox.com/debian/ceph-quincy bookworm enterprise.

Why did pveceph think that I am trying to use the enterprise repo, even though I had specified the no-subscription repo in ceph.list? Is there any other config that I missed to force pveceph install to use the no-subscription repo?
 
Some things that could cause your symptoms:
  1. Did you really save the file? What editor did you use?
  2. Is your root filesystem read-only (see output of "mount").
  3. Is there an entry for Ceph in another file under /etc/apt (find -type f|xargs grep ceph)?
 
Some things that could cause your symptoms:
  1. Did you really save the file? What editor did you use?
  2. Is your root filesystem read-only (see output of "mount").
  3. Is there an entry for Ceph in another file under /etc/apt (find -type f|xargs grep ceph)?
1. Yes - I used nano to edit ceph.list. I also tried the WebGUI to add no-subscription and remove enterprise repos.
2. Root file system seems to be rw (I used zfs) -
Code:
rpool on /rpool type zfs (rw,relatime,xattr,noacl)
rpool/ROOT on /rpool/ROOT type zfs (rw,relatime,xattr,noacl)
rpool/data on /rpool/data type zfs (rw,relatime,xattr,noacl)
3. This is all i can find, the enterprise repo was commented out by the WebGUI
Code:
./sources.list.d/ceph.list:# deb https://enterprise.proxmox.com/debian/ceph-quincy bookworm enterprise
./sources.list.d/ceph.list:deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription

Not sure if this matters, but this node was just added to my existing PVE cluster that already have ceph-quincy setup and running. The node was successfully added to the PVE cluster, but i am stuck at installing pveceph to join the existing ceph cluster.
 
Found the solution, need to run it like this: pveceph install --repository no-subscription. Wish this was documented on the Ceph WIKI.
 
  • Like
Reactions: yotakun 4132

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!