public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Andrei Perapiolkin <andrei.perepiolkin@open-e.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [pve-devel][storage][ui] Debugging UI for storage
Date: Wed, 15 Dec 2021 10:51:33 -0500	[thread overview]
Message-ID: <332e8099-faee-8be3-515a-d8af7bf937b5@open-e.com> (raw)

Hi,


Im working plugin for a proxmox so it can use third party data storage 
system.

And Im having a hard time with implementing `list_images` method for my 
plugin(/usr/share/perl5/PVE/Storage/Plugin.pm)

Periodically proxmox web UI fails to show list of specific 
volumes/images/backups using my plugin.

One out of 3 or 4 calls are failing with "Too many redirections (599)" 
error.


This happens while `pvesh` and `pvesm` works perfectly fine and deliver 
correct list on every call.


What am I missing? Is there any test sets that I can run to verify 
correctness of `list_images` output?

Or is there any efficient way to debug UI issues like this?


Many thanks for your time and concern,

Andrei Perepiolkin




             reply	other threads:[~2021-12-15 15:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-15 15:51 Andrei Perapiolkin [this message]
2021-12-16  7:56 ` Fabian Grünbichler
2021-12-21 19:22   ` Andrei Perapiolkin

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=332e8099-faee-8be3-515a-d8af7bf937b5@open-e.com \
    --to=andrei.perepiolkin@open-e.com \
    --cc=pbs-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 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