public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: "Fabian Grünbichler" <f.gruenbichler@proxmox.com>
To: Rovshan Pashayev <Rovshan.Pashayev@veeam.com>,
	Proxmox VE development discussion <pve-devel@lists.proxmox.com>
Subject: Re: [pve-devel] Feature Request: Enhancing Error Messaging
Date: Tue, 2 Jul 2024 15:22:38 +0200 (CEST)	[thread overview]
Message-ID: <522691913.2845.1719926558483@webmail.proxmox.com> (raw)
In-Reply-To: <PH0PR14MB473525099909EC233147C0759FDC2@PH0PR14MB4735.namprd14.prod.outlook.com>

> Rovshan Pashayev <rovshan.pashayev@veeam.com> hat am 02.07.2024 15:02 CEST geschrieben:
> Hello Fabian,
> 
> Example:
> If we attempt to start VM with problematic storages from WebUI, we might see following error (example):
> https://i.ibb.co/Lx5QjCg/image-2.png
> 
> But if we attempt start action via SSH request we get both output in the one line (example):
> WARN: no efidisk configured! Using temporary efivars disk. storage 'NFS_pve-storage' does not exist
> 
> Which causes confusion, during differentiating errors.

please post "pveversion -v" and the contents of the corresponding task file for that start task (/var/log/pve/tasks/...). it seems very likely that this issue is on your end (i.e., with the terminal/shell/.. you are using?)).

the screenshot would indicate that the task log is correct. if I manually try to provoke the same error and run "qm start XXX" in a shell, there is a proper new line between the warning line and the final line with the fatal error:

$ qm start 740001
generating cloud-init ISO
WARN: no efidisk configured! Using temporary efivars disk.
storage 'ext3' does not exist

note that everything but the last line is printed on STDOUT, while the last line is printed on STDERR..


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


      parent reply	other threads:[~2024-07-02 13:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-02 10:50 Rovshan Pashayev via pve-devel
2024-07-02 12:19 ` Fabian Grünbichler
2024-07-02 13:02   ` Rovshan Pashayev via pve-devel
     [not found]   ` <PH0PR14MB473525099909EC233147C0759FDC2@PH0PR14MB4735.namprd14.prod.outlook.com>
2024-07-02 13:22     ` Fabian Grünbichler [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=522691913.2845.1719926558483@webmail.proxmox.com \
    --to=f.gruenbichler@proxmox.com \
    --cc=Rovshan.Pashayev@veeam.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 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