Project

General

Profile

Bug #70993

Use on/off values for hostid_strict_check in new UI

Added by Jurgen Segaert almost 3 years ago. Updated over 2 years ago.

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

Description

Seen in: FreeNAS-11.3-MASTER-201901180948

When one tries to create a plugin, using the "Advanced Plugin Installation" screen, the installation fails with a popup showing the error below. Screenshot attached:

"no" not a value for hostid_strict_check.  Value must be "on" or "off" 

This happens for all plugins. Installing from the regular/simple screen works as expected.


Related issues

Has duplicate FreeNAS - Bug #84412: unable to create emby from plugin - hostid_strict_check input issueClosed
Has duplicate FreeNAS - Bug #84524: 11.2-U3-cannot create new jail after updateClosed
Copied to FreeNAS - Bug #75945: Correct bad validation for iocage hostid_strict_checkDone

History

#1 Updated by Dru Lavigne almost 3 years ago

  • Assignee changed from Release Council to William Grzybowski

#2 Updated by William Grzybowski over 2 years ago

  • Category changed from Middleware to GUI (new)
  • Assignee changed from William Grzybowski to Anonymous

Erin, can your team please verify what value is being sent to middleware?

#3 Updated by William Grzybowski over 2 years ago

  • Target version changed from Backlog to 11.3

#4 Updated by Anonymous over 2 years ago

  • Assignee changed from Anonymous to Lola Yang

#5 Updated by Lola Yang over 2 years ago

  • Category changed from GUI (new) to Middleware
  • Assignee changed from Lola Yang to Brandon Schneider

#7 Updated by Brandon Schneider over 2 years ago

  • Status changed from Unscreened to In Progress

#9 Updated by Lola Yang over 2 years ago

  • Category changed from Middleware to GUI (new)
  • Status changed from In Progress to Screened
  • Assignee changed from Brandon Schneider to Lola Yang

#11 Updated by Bug Clerk over 2 years ago

  • Status changed from Screened to Ready for Testing

#12 Updated by Brandon Schneider over 2 years ago

  • Status changed from Ready for Testing to Screened

#14 Updated by Lola Yang over 2 years ago

  • Status changed from Screened to In Progress

#15 Updated by Bug Clerk over 2 years ago

  • Status changed from In Progress to Ready for Testing

#16 Updated by Bug Clerk over 2 years ago

  • Target version changed from 11.3 to 11.2-U3

#17 Updated by Dru Lavigne over 2 years ago

  • Copied to Bug #75945: Correct bad validation for iocage hostid_strict_check added

#18 Updated by Dru Lavigne over 2 years ago

  • Target version changed from 11.2-U3 to 11.3-BETA1

#19 Updated by Dru Lavigne over 2 years ago

  • Status changed from Ready for Testing to In Progress

#20 Updated by Anonymous over 2 years ago

  • Status changed from In Progress to Ready for Testing
  • Needs Merging changed from Yes to No

#21 Updated by Dru Lavigne over 2 years ago

  • Subject changed from Advanced Plugin Installation sets wrong value for hostid_strict_check to Use on/off values for hostid_strict_check in new UI
  • Needs Doc changed from Yes to No

#24 Updated by Jurgen Segaert over 2 years ago

Dru,

Unfortunately, it looks like this issue snuck into FreeNAS 12.3-U3 that was just released.

https://www.ixsystems.com/community/threads/11-2-u3-cannot-create-jails-no-is-not-a-valid-value-for-hostid_strict_check.75172/

#25 Updated by Lola Yang over 2 years ago

Jurgen Segaert wrote:

Dru,

Unfortunately, it looks like this issue snuck into FreeNAS 12.3-U3 that was just released.

https://www.ixsystems.com/community/threads/11-2-u3-cannot-create-jails-no-is-not-a-valid-value-for-hostid_strict_check.75172/

Thanks for letting us know it. I already create a PR for stable branch
https://github.com/freenas/webui/pull/2134

#26 Updated by Dru Lavigne over 2 years ago

  • Status changed from Ready for Testing to In Progress
  • Target version changed from 11.3-BETA1 to 11.2-U4

#27 Updated by Dru Lavigne over 2 years ago

  • Status changed from In Progress to Ready for Testing

#28 Updated by David Beitey over 2 years ago

I already create a PR for stable branch https://github.com/freenas/webui/pull/2134

For those that need to create/edit a jail in the meantime before 11.2-U4 gets released, you can modify the minified JS in situ within /usr/local/www/webui. The code isn't obfuscated so it's just a case of finding each reference to 'hostid_strict_check' under the this.YNFields array and moving it into the this.OFfields array (and then reloading your browser).

Or else use the iocage command directly...

#29 Updated by Lola Yang over 2 years ago

  • Has duplicate Bug #84412: unable to create emby from plugin - hostid_strict_check input issue added

#30 Updated by Dru Lavigne over 2 years ago

  • Has duplicate Bug #84524: 11.2-U3-cannot create new jail after update added

Also available in: Atom PDF