Project

General

Profile

Bug #65115

Return a more verbose error message in new UI on plugin failure

Added by Brandon Schneider 11 months ago. Updated 8 months ago.

Status:
Closed
Priority:
No priority
Assignee:
Lola Yang
Category:
GUI (new)
Target version:
Severity:
New
Reason for Closing:
Not Applicable
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Copying to miwi as the source plugin doesn't return anything when it's failing along with it's broken.

root@freenas[~]# /root/iocage/iocage fetch -P -n zoneminder ip4_addr='vnet0|DHCP' ; echo $?
Plugin: Zoneminder
  Official Plugin: True
  Using RELEASE: 11.2-RELEASE
  Using Branch: 11.2-RELEASE
  Post-install Artifact: https://github.com/freenas/iocage-plugin-zoneminder
  These pkgs will be installed:
    - multimedia/zoneminder
    - www/fcgiwrap
    - www/nginx
    - databases/mysql56-server

Testing Host DNS response to pkg.cdn.trueos.org
Testing zoneminder_2's SRV response to pkg.cdn.trueos.org
Testing zoneminder_2's DNSSEC response to pkg.cdn.trueos.org

Installing plugin packages:
  - multimedia/zoneminder... 
  - www/fcgiwrap... 
  - www/nginx... 
  - databases/mysql56-server... 

Fetching artifact... 

Branch 11.2-RELEASE does not exist at https://github.com/freenas/iocage-plugin-zoneminder!
Using "master" branch for plugin, this may not work with your RELEASE

Running post_install.sh

Command output:

1

Users message:
Screenshot: https://imgur.com/a/C7BYA2H

At present, attempting to install the ZoneMinder plugin seems to fail during the post install script, but there doesn't seem to be a way to determine what went wrong. In the GUI, the only indication is the progress dialog box displaying the text "Exception: RuntimeError: occured, destroyed zoneminder."

Thankfully it does indeed destroy the partial jail so conflicts don't occur with duplicate names (since you can't choose the name of the jail when creating a plugin for some reason), but it would be nice to know if there's something else that can be done, some syslog entry or whatever that tells me any information at all.

Build FreeNAS-11.3-MASTER-201812170909


Related issues

Related to FreeNAS - Bug #59715: Interpret error message as text strings in new UIDone
Copied from FreeNAS - Bug #65007: Have middleware return a more verbose error message on plugin failureDone

History

#1 Updated by Brandon Schneider 11 months ago

  • Copied from Bug #65007: Have middleware return a more verbose error message on plugin failure added

#2 Updated by Dru Lavigne 10 months ago

  • Category changed from Plugins to GUI (new)
  • Assignee changed from Martin Wilke to Erin Clark
  • Target version changed from 11.2-U3 to 11.3-BETA1
  • Private changed from Yes to No

#3 Updated by Dru Lavigne 10 months ago

  • File deleted (debug-freenas-20181219003820.tgz)

#4 Updated by Dru Lavigne 10 months ago

  • Subject changed from Plugin installation failure doesn't have any information to Return a more verbose error message in new UI on plugin failure

#5 Updated by Erin Clark 8 months ago

  • Assignee changed from Erin Clark to Lola Yang

#6 Updated by Lola Yang 8 months ago

  • Related to Bug #59715: Interpret error message as text strings in new UI added

#7 Updated by Lola Yang 8 months ago

  • Status changed from Unscreened to Closed
  • Reason for Closing set to Not Applicable

There is nothing UI side needs to do. The cut off error message is already fixed in ticket 59715.

#8 Updated by Dru Lavigne 8 months ago

  • Target version changed from 11.3-BETA1 to N/A

Also available in: Atom PDF