all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Lorne Guse <boomshankerx@hotmail.com>
To: "m.carrara@proxmox.com" <m.carrara@proxmox.com>,
	Proxmox VE development discussion <pve-devel@lists.proxmox.com>
Subject: proxmox-truenas storage plugin api2 issue
Date: Wed, 15 Apr 2026 21:59:20 +0000	[thread overview]
Message-ID: <CO1PR17MB52769FFEFEC846C7D11AC72AD0222@CO1PR17MB5276.namprd17.prod.outlook.com> (raw)

One of my users ran across an issue I could use some help with. https://github.com/boomshankerx/proxmox-truenas/issues/133
When trying to use Veeam with my custom storage plugin, the output of /api2/json/nodes/NODE/storage shows the active field as string "1" instead of int 1. This is causing tools like Veeam to fail.

Is this a problem with my plugin or something further up the stack?

# OUTPUT JSON

{
    "data": [
        {
            "shared": 0,
            "storage": "local",
            "content": "iso,vztmpl,backup",
            "used": 131072,
            "type": "dir",
            "enabled": 1,
            "avail": 236805029888,
            "used_fraction": 5.53501450173799e-7,
            "active": 1,
            "total": 236805160960
        },
        {
            "shared": 1,
            "content": "images",
            "storage": "nas.proxmox",
            "used": 0,
            "type": "nfs",
            "enabled": 1,
            "avail": 7313282826240,
            "used_fraction": 0,
            "active": 1,
            "total": 7313282826240
        },
        {
            "shared": 1,
            "storage": "nas",
            "content": "images",
            "used": 443571322880,
            "type": "truenas",
            "enabled": 1,
            "used_fraction": 0.0571844359724994,
            "avail": 7313282711552,
            "active": "1",
            "total": 7756854034432
        },

    ]
}

--
BooMShanꓘerX
(Lorne Guse)

             reply	other threads:[~2026-04-15 21:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-15 21:59 Lorne Guse [this message]
2026-04-16  6:03 ` Arthur Bied-Charreton
2026-04-16  6:20   ` Arthur Bied-Charreton

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=CO1PR17MB52769FFEFEC846C7D11AC72AD0222@CO1PR17MB5276.namprd17.prod.outlook.com \
    --to=boomshankerx@hotmail.com \
    --cc=m.carrara@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