[SOLVED] Proxmox-offline-mirror ceph-quincy enterprise repo status code 401

Nov 23, 2022
5
0
1
Guten Morgen,

ich nutze seit Anfang des Jahres den proxmox-offline-mirror sehr erfolgreich um die hier im Betrieb vorhandenen Cluster in dem Update-Stand zu verwalten. Für jeden Cluster wir ein Symlink verwendet, sodass es möglich ist nachträglich Systeme auf den gleichen Stand zu installieren. Das funktioniert bisher einwandfrei.


Jetzt möchte ich gerne die Repositories für bookworm hinzufügen und stoße dabei bei dem ceph-quincy-bookwork enterprise repository auf den "status code 401" und eine synchronisierung ist nicht möglich:

Code:
root@pom:/etc# proxmox-offline-mirror mirror snapshot create ceph_quincy_bookworm
Fetching Release/Release.gpg files
-> GET 'https://enterprise.proxmox.com/debian/ceph-quincy/dists/bookworm/Release.gpg'..
Release.gpg fetch failure: https://enterprise.proxmox.com/debian/ceph-quincy/dists/bookworm/Release.gpg: status code 401
Fetching InRelease file
-> GET 'https://enterprise.proxmox.com/debian/ceph-quincy/dists/bookworm/InRelease'..
InRelease fetch failure: https://enterprise.proxmox.com/debian/ceph-quincy/dists/bookworm/InRelease: status code 401
Error: Neither Release(.gpg) nor InRelease available!

Der POM wurde aus den pbs-client repo installiert und sollte mit 0.6.2 die aktuell verfügbar Version sein:
Code:
root@pom:/etc# apt-cache policy proxmox-offline-mirror
proxmox-offline-mirror:
  Installiert:           0.6.2
  Installationskandidat: 0.6.2
...<snip>

Die config für dieses Repository unter /etc/proxmox-offline-mirror.cfg sieht wie folgt aus und wurde über proxmox-offline-mirror setup erstellt:

Code:
mirror: ceph_quincy_bookworm
        architectures amd64
        architectures all
        base-dir /pom/mirrors/
        ignore-errors false
        key-path /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg
        repository deb https://enterprise.proxmox.com/debian/ceph-quincy bookworm enterprise
        sync true
        verify true

Das deckt sich mit dem unter https://pve.proxmox.com/wiki/Package_Repositories#sysadmin_package_repositories_ceph angegebenen Repo.

Subscription-Keys für PBS, POM und PVE sind hinterlegt und die PVE-Enterprise-Repos können auch erfolgreich synchronisiert werden.


Wenn noch weitere Informationen benötigt werden, nennt die gerne und ich füge sie sehr gerne hier hinzu.

Habe ich hier ein Problem in meiner Config? Sind die Repositories korrekt? Kann ich noch etwas anderes probieren?

Ich bin sehr dankbar für jeden Hinweis.
Lieben Gruß
Fabian
 
Sorry - i noticed that i wrote this post in the international - not the german local Forums..

Here is an english translation:

Good Morning

I use the proxmox-offline-mirror very successfully since beginning of this year to manage the updates of our clusters. For each cluster there is a seperate symlink so that it is possible to install the systems to the very same package-versions. This works perfectly

Now I want to add the repositories for bookworm but with ceph-quincy-bookwork enterprise repository i get "status code 401" and synchronisation is not possible

Code:
root@pom:/etc# proxmox-offline-mirror mirror snapshot create ceph_quincy_bookworm
Fetching Release/Release.gpg files
-> GET 'https://enterprise.proxmox.com/debian/ceph-quincy/dists/bookworm/Release.gpg'..
Release.gpg fetch failure: https://enterprise.proxmox.com/debian/ceph-quincy/dists/bookworm/Release.gpg: status code 401
Fetching InRelease file
-> GET 'https://enterprise.proxmox.com/debian/ceph-quincy/dists/bookworm/InRelease'..
InRelease fetch failure: https://enterprise.proxmox.com/debian/ceph-quincy/dists/bookworm/InRelease: status code 401
Error: Neither Release(.gpg) nor InRelease available!

The POM-Package was installed from the pbs-client repo and with version 0.6.2 it should be the latest one:
Code:
root@pom:/etc# apt-cache policy proxmox-offline-mirror
proxmox-offline-mirror:
  Installiert:           0.6.2
  Installationskandidat: 0.6.2
...<snip>

The configuration for this repository at /etc/proxmox-offline-mirror.cfg looks like this and was generated with proxmox-offline-mirror setup:

Code:
mirror: ceph_quincy_bookworm
        architectures amd64
        architectures all
        base-dir /pom/mirrors/
        ignore-errors false
        key-path /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg
        repository deb https://enterprise.proxmox.com/debian/ceph-quincy bookworm enterprise
        sync true
        verify true

This is the same repository as mentioned at https://pve.proxmox.com/wiki/Package_Repositories#sysadmin_package_repositories_ceph

Subscription-Keys for PBS, POM and PVE are configured and it is possible to synchronise the PVE-Enterprise-Repos.


When some further information is needed, just ask for them and I will add them here


Is there a problem with my config? Is the used repository configuration correct? can I try something else?

Thank you very much for any hint on this

Fabian
 
Hello again,

Thanks to Proxmox-Support i finally was able to solve this issue:

In the mirror-config use-subscription: pve was missing:

Code:
mirror: ceph_quincy_bookworm
    architectures amd64
    architectures all
    base-dir /pom/mirrors/
    ignore-errors false
    key-path /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg
    repository deb https://enterprise.proxmox.com/debian/ceph-quincy bookworm enterprise
    sync true
    verify true
    use-subscription pve

And now it just works!!
 

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!