all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Friedrich Weber <f.weber@proxmox.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
Subject: Re: [pve-devel] [PATCH] iscsi: fix excessive connection test spam on storage monitoring
Date: Tue, 11 Nov 2025 17:45:11 +0100	[thread overview]
Message-ID: <66ee9a89-9856-4892-92e0-798084774860@proxmox.com> (raw)
In-Reply-To: <DS7PR06MB6903850B07D5E163D38EA903A6CEA@DS7PR06MB6903.namprd06.prod.outlook.com>

Hi Stelios,

On 11/11/2025 00:25, Stelios Vailakakis wrote:
>> So if I understand correctly, after applying only your hostname patch on
>> top of an up-to-date libpve-storage-perl, you are still seeing the
>> "connection lost" entries on the iSCSI target? Can you double-check the
>> version of libpve-storage-perl (e.g. using `pveversion -v | grep
>> libpve-storage`) on top of which you applied your hostname patch? Could
>> you post the (anonymized) output of `iscsiadm -m node` and `iscsiadm -m
>> session` on nodes 1-4 and 5?
> 
> For clarity, the connection lost entries no longer occur after applying my patch on all previously mentioned PVE stacks as well as within 9.01 which I recently upgraded to.

Since your patch for allowing hostnames in $ISCSI_TARGET_RE was already
applied for PVE9.0 [1], your initial patch doesn't apply cleanly anymore
on top of current pve-storage. Just so we are on the same page regarding
the patch we're discussing, could you send the patch you now applied on
your PVE9 node, rebased on current pve-storage?

> 
> Current environment is proxmox1 - patched, proxmox2 - default. I will show icsiadm output on a "good" proxmox1 vs "bad" proxmox2.
> 
> 12345 is a placeholder for domain, IP addresses irrelevant and made up. I will leave my proxmox2 node unpatched in case we need any more information.
> 
> #Version sanity check
> root@proxmox1:~# pveversion -v | grep 'libpve-storage\|pve-manager'
> pve-manager: 9.0.11 (running version: 9.0.11/3bf5476b8a4699e2)
> libpve-storage-perl: 9.0.13
> 
> root@proxmox2:~# pveversion -v | grep 'libpve-storage\|pve-manager'
> pve-manager: 9.0.11 (running version: 9.0.11/3bf5476b8a4699e2)
> libpve-storage-perl: 9.0.13
> 
> 
> #proxmox1 iscsiadm
> root@proxmox1:~# iscsiadm -m node
> nas.12345.com:3260,4294967295 iqn.2024-01.com.12345.vm-stor
> nas.12345.com:3260,4294967295 iqn.2025-06.com.12345.ssd-vm-stor
> root@proxmox1:~# iscsiadm -m session
> tcp: [1] 192.168.1.10:3260,1 iqn.2024-01.com.12345.vm-stor (non-flash)
> tcp: [2] 192.168.1.10:3260,1 iqn.2025-06.com.12345.ssd-vm-stor (non-flash)
> 
> #proxmox2 icsiadm 
> root@proxmox2:~# iscsiadm -m node
> nas.12345.com:3260,4294967295 iqn.2024-01.com.12345.vm-stor
> nas.12345.com:3260,4294967295 iqn.2025-06.com.12345.ssd-vm-stor
> root@proxmox2:~# iscsiadm -m session
> tcp: [1] 192.168.1.10:3260,1 iqn.2025-06.com.12345.ssd-vm-stor (non-flash)
> tcp: [2] 192.168.1.10:3260,1 iqn.2024-01.com.12345.vm-stor (non-flash)
> 

I don't currently have a test setup where the target advertises a portal
via its hostname, hence my question: Do I understand correctly that
`iscsiadm -m node` shows the hostname, and `iscsiadm -m session` shows
the IP the hostname resolves to? And nas.12345.com resolves to 192.168.1.10?

Best wishes,

Friedrich

[1]
https://lore.proxmox.com/all/175433311513.1860744.14234184790651115057.b4-ty@proxmox.com/
[2] https://pve.proxmox.com/wiki/Developer_Documentation



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


      reply	other threads:[~2025-11-11 16:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-20  0:44 Stelios Vailakakis
2025-06-23  8:24 ` Friedrich Weber
2025-07-06 14:14   ` Stelios Vailakakis
2025-07-15 16:11     ` Friedrich Weber
2025-11-10 23:25       ` Stelios Vailakakis
2025-11-11 16:45         ` Friedrich Weber [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=66ee9a89-9856-4892-92e0-798084774860@proxmox.com \
    --to=f.weber@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal