public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
From: Rommel Rodriguez Toirac <rommelrt@nauta.cu>
To: pve-user@pve.proxmox.com
Subject: [PVE-User] Problem downloading repositories
Date: Wed, 02 Sep 2020 16:05:05 -0400	[thread overview]
Message-ID: <E6BBFFA6-7E26-4538-9D05-177D331B17C0@nauta.cu> (raw)

Hello all;

I use a little script to create a local repository by downloading the packages 
from the official site [download.proxmox.com] using the debmirror application, 
for this I use a server with Debian 10.5 operating system and debmirror 1:2.32
This is the script:

******
#!/bin/sh
: ${URLDIRE:=download.proxmox.com}
: ${OUTPATH:=/var/www/html/repos/proxmox}
: ${LOGFILE:=/var/log/actualiza_proxmox.log}
# Crear el directorio de destino si no existe.
if [ ! -d "$OUTPATH" ] ; then mkdir -p "$OUTPATH"; fi
# Inicio archivo de registro.
cat > $LOGFILE <<EOL
Iniciando Mirror (`env LANG=es_ES.UTF-8 date`)
EOL
# Matamos el mirror si ya está corriendo
killall debmirror
# Ejecutar.
debmirror --progress --verbose --debug --host $URLDIRE --root=/debian/pve \
--method=http --dist=buster \
--section=pve-no-subscription --arch=amd64 --nosource --no-check-gpg 
\
--ignore-missing-release --ignore-release-gpg --postcleanup \
--diff=none --ignore-small-errors --allow-dist-rename --timeout=2000 
\
$OUTPATH >> $LOGFILE 2>&1 &
# Fin.
exit 0
*******

I look at the logs and the download always interrupts saying that dists/
buster/pve-no-subscription/binary-all/Packages.gz is missing.

********
Ignoring missing Release file for dists/buster/pve-no-subscription/binary-all/
Packages.gz
http://download.proxmox.com/debian/pve/dists/buster/pve-no-subscription/
binary-all/Packages.gz => [100%] Getting: dists/buster/pve-no-subscription/
binary-all/Packages.gz... #** GET http://download.proxmox.com/debian/pve/
dists/buster/pve-no-subscription/binary-all/Packages.gz ==> 404 Not Found
404 Not Found
Download of dists/buster/pve-no-subscription/binary-all/Packages.gz failed: 
404 Not Found
Errors:
Ignoring missing Release file for dists/buster/pve-no-subscription/binary-all/
Packages.gz
Download of dists/buster/pve-no-subscription/binary-all/Packages.gz failed: 
404 Not Found
Failed to download some Package, Sources or Release files!
WARNING: releasing 1 pending lock...
*********

At http://download.proxmox.com/debian/pve/dists/buster/pve-no-subscription/ 
actually there is no binary-all/Packages

What am I doing wrong? 

How can I fix this and download the full repository from Debian 10 using 
debmirror?

Thanks in advance.
-- 
Rommel Rodriguez Toirac
rommelrt@nauta.cu
From tobias.guth@ecos.de  Thu Sep  3 12:45:49 2020
Return-Path: <tobias.guth@ecos.de>
X-Original-To: pve-user@lists.proxmox.com
Delivered-To: pve-user@lists.proxmox.com
Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by lists.proxmox.com (Postfix) with ESMTPS id 342E660AD4
 for <pve-user@lists.proxmox.com>; Thu,  3 Sep 2020 12:45:49 +0200 (CEST)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
 by firstgate.proxmox.com (Proxmox) with ESMTP id 1F5F717EF5
 for <pve-user@lists.proxmox.com>; Thu,  3 Sep 2020 12:45:49 +0200 (CEST)
Received: from mail.ecos.de (mail.ecos.de [94.130.18.74])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by firstgate.proxmox.com (Proxmox) with ESMTPS id 8487E17EDD
 for <pve-user@lists.proxmox.com>; Thu,  3 Sep 2020 12:45:47 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
 by mail.ecos.de (Postfix) with ESMTP id 37FF934CBC
 for <pve-user@lists.proxmox.com>; Thu,  3 Sep 2020 12:36:35 +0200 (CEST)
X-Virus-Scanned: amavisd-new at rz.ecos.de
Received: from mail.ecos.de ([127.0.0.1])
 by localhost (mail.ecos.de [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id IJ0p0MXmM06P for <pve-user@lists.proxmox.com>;
 Thu,  3 Sep 2020 12:36:35 +0200 (CEST)
Received: from srvmail3.i.ecos.de (unknown [10.133.7.2])
 by mail.ecos.de (Postfix) with ESMTPS id F1A00329FA
 for <pve-user@lists.proxmox.com>; Thu,  3 Sep 2020 12:36:34 +0200 (CEST)
Received: from localhost (localhost.localdomain [127.0.0.1])
 by srvmail3.i.ecos.de (Postfix) with ESMTP id EBA941343627;
 Thu,  3 Sep 2020 12:36:34 +0200 (CEST)
Received: from srvmail3.i.ecos.de ([127.0.0.1])
 by localhost (srvmail3.i.ecos.de [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id P4ZeXhhudMZJ; Thu,  3 Sep 2020 12:36:34 +0200 (CEST)
Received: from localhost.localdomain (unknown [10.85.200.169])
 by srvmail3.i.ecos.de (Postfix) with ESMTPSA id CA2601343626
 for <pve-user@lists.proxmox.com>; Thu,  3 Sep 2020 12:36:34 +0200 (CEST)
To: pve-user@lists.proxmox.com
From: Tobias Guth <tobias.guth@ecos.de>
Autocrypt: addr=tobias.guth@ecos.de; keydata mDMEXp6ztRYJKwYBBAHaRw8BAQdAbjIZYx6k89LXf67gxLZjcd2ld5csqA1f5WoqToLqX3S0
 OFRvYmlhcyBHdXRoIC0gRUNPUyBUZWNobm9sb2d5IEdtYkggPHRvYmlhcy5ndXRoQGVjb3Mu
 ZGU+iJYEExYIAD4WIQTYNkxoo1/U4UJ7clo1fSgp4cs8xQUCXp6ztQIbAwUJAeFD6wULCQgH
 AgYVCgkICwIEFgIDAQIeAQIXgAAKCRA1fSgp4cs8xQeqAQCz/GuSCST67D5Vx1BJ5Yt32LAd
 3rsXJENKMDxIdSLL5gD/b+C2aioUDvAyI124o7Zl+wc6NQU2dHtMyzbE21AdsA24OARenrO1
 EgorBgEEAZdVAQUBAQdA7q33j3Jz9ujaROs7xl3CQU3KbK0hwJNk5ASye6DlEk8DAQgHiH4E
 GBYIACYWIQTYNkxoo1/U4UJ7clo1fSgp4cs8xQUCXp6ztQIbDAUJAeFD6wAKCRA1fSgp4cs8
 xdopAQCE7PnDnSnqAD1keMQK3XeKQq9y8+WVWQUM1jstr54shwD+N5A3VlTnGTVa7Cei5QKa
 rw3pnpsXb/qBpoi13ec9SQQMessage-ID: <88f905da-f9cc-4636-3f54-c653f48b78c4@ecos.de>
Date: Thu, 3 Sep 2020 12:36:32 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.11.0
MIME-Version: 1.0
Content-Type: multipart/signed; protocol="application/pkcs7-signature";
 micalg=sha-256; boundary="------------ms030502070403070008090608"
X-SPAM-LEVEL: Spam detection results:  0
 KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment
 SPF_HELO_NONE           0.001 SPF: HELO does not publish an SPF Record
 SPF_PASS               -0.001 SPF: sender matches SPF record
 URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See
 http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more
 information. [proxmox.com]
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
Subject: [PVE-User] User permissions for some hosts
X-BeenThere: pve-user@lists.proxmox.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Proxmox VE user list <pve-user.lists.proxmox.com>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-user>,
 <mailto:pve-user-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pve-user/>
List-Post: <mailto:pve-user@lists.proxmox.com>
List-Help: <mailto:pve-user-request@lists.proxmox.com?subject=help>
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user>,
 <mailto:pve-user-request@lists.proxmox.com?subject=subscribe>
X-List-Received-Date: Thu, 03 Sep 2020 10:45:49 -0000

This is a cryptographically signed message in MIME format.

--------------ms030502070403070008090608
Content-Type: multipart/mixed;
 boundary="------------45FD80F12CFF87D52BE7B3BF"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------45FD80F12CFF87D52BE7B3BF
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi,

I have posted some issue on the pve forum regarding user permissions on
some pve hosts.
(https://forum.proxmox.com/threads/permission-set-for-specific-hosts.75138/)

but no answer so far.

I try to give some usergroup the permission to create/delete/modify
virtual machines on just 2 hosts of our cluster.
But I have no luck to configure the right permissions that this group
can not modify or delete virtual machines on the hosts.
There is no namespace like /vms/nodes or /vms/node1, just /vms.

Is there any way to configure this ?

And one more question. Was exatly does the propagade option with
permissions ?
Does it mean to propagade given permissions through out the cluster ?

Regards

iBot


--------------45FD80F12CFF87D52BE7B3BF--

--------------ms030502070403070008090608--



             reply	other threads:[~2020-09-02 20:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-02 20:05 Rommel Rodriguez Toirac [this message]
2020-09-03 14:29 ` Chris Hofstaedtler | Deduktiva
2020-09-03 17:57   ` Rommel Rodriguez Toirac
2020-09-08  8:45 ` Mechtilde
2020-09-13  1:37   ` Rommel Rodriguez Toirac

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=E6BBFFA6-7E26-4538-9D05-177D331B17C0@nauta.cu \
    --to=rommelrt@nauta.cu \
    --cc=pve-user@pve.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