Project

General

Profile

Feature #41694

Improve validation for jail creation

Added by Lola Yang about 2 years ago. Updated about 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
Waqar Ahmed
Category:
Middleware
Target version:
Estimated time:
Severity:
Med High
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:

Description

UI was trying to handle it, but it cause some other issues. Could middleware handle this problem? Thanks


Related issues

Related to FreeNAS - Bug #40848: Can install multiple plugins with same static IPClosed
Blocks FreeNAS - Bug #39682: Fix issues associated with a failed or interrupted plugin install in the new UIDone
Blocks FreeNAS - Bug #41324: If Jail exists with preferred jailname of a plugin, plugin script DESTROYS jail.Closed

Associated revisions

Revision 59256dcf (diff)
Added by Waqar Ahmed about 2 years ago

Validation for jail creation improved This commit improves validation for jail creation ensuring that in case of failure, we remove any allocated resources. Ticket: #41694

Revision e9211137 (diff)
Added by Waqar Ahmed about 2 years ago

Improve validation for jail creation This commit improves validation when creating jails by ensuring that if a jail with the same name exists, we shouldn't go and try to create another one. Secondly, in case of any failure with jail creation, a call is made to delete any resources which still might be allocated. Ticket: #41694

Revision 7f9c23b5 (diff)
Added by Waqar Ahmed about 2 years ago

Improve validation for jail creation This commit improves validation when creating jails by ensuring that if a jail with the same name exists, we shouldn't go and try to create another one. Secondly, in case of any failure with jail creation, a call is made to delete any resources which still might be allocated. Ticket: #41694

Revision 0484ebec (diff)
Added by Waqar Ahmed about 2 years ago

Improve validation for jail creation This commit improves validation when creating jails by ensuring that if a jail with the same name exists, we shouldn't go and try to create another one. Secondly, in case of any failure with jail creation, a call is made to delete any resources which still might be allocated. Ticket: #41694

Revision 11f6cdff (diff)
Added by Waqar Ahmed about 2 years ago

Improve validation for jail creation This commit improves validation when creating jails by ensuring that if a jail with the same name exists, we shouldn't go and try to create another one. Secondly, in case of any failure with jail creation, a call is made to delete any resources which still might be allocated. Ticket: #41694

Revision 9db1915c (diff)
Added by Waqar Ahmed about 2 years ago

Improve validation for jail creation This commit improves validation when creating jails by ensuring that if a jail with the same name exists, we shouldn't go and try to create another one. Secondly, in case of any failure with jail creation, a call is made to delete any resources which still might be allocated. Ticket: #41694

Revision a3947ec0 (diff)
Added by Waqar Ahmed about 2 years ago

Improve validation for jail creation This commit improves validation when creating jails by ensuring that if a jail with the same name exists, we shouldn't go and try to create another one. Secondly, in case of any failure with jail creation, a call is made to delete any resources which still might be allocated. Ticket: #41694

Revision 9320ea84 (diff)
Added by Waqar Ahmed about 2 years ago

Improve validation for jail creation This commit improves validation when creating jails by ensuring that if a jail with the same name exists, we shouldn't go and try to create another one. Secondly, in case of any failure with jail creation, a call is made to delete any resources which still might be allocated. Ticket: #41694

History

#1 Updated by Lola Yang about 2 years ago

  • Blocks Bug #39682: Fix issues associated with a failed or interrupted plugin install in the new UI added

#2 Updated by Lola Yang about 2 years ago

  • Blocks Bug #41324: If Jail exists with preferred jailname of a plugin, plugin script DESTROYS jail. added

#3 Updated by Lola Yang about 2 years ago

  • Target version changed from Backlog to 11.2-BETA3

#4 Updated by William Grzybowski about 2 years ago

  • Assignee changed from William Grzybowski to Waqar Ahmed
  • Severity changed from New to Med High

Waqar can you look at this, please?

We need to be careful though because the install may fail because of another jail already exists (e.g. legacy jail not from iocage).

#5 Updated by Waqar Ahmed about 2 years ago

  • Status changed from Unscreened to In Progress

#6 Updated by Lola Yang about 2 years ago

  • Related to Bug #40848: Can install multiple plugins with same static IP added

#8 Updated by Bug Clerk about 2 years ago

  • Status changed from In Progress to Ready for Testing

#9 Updated by Dru Lavigne about 2 years ago

  • Subject changed from Need middleware to delete the plugin/jail if it was installed/created failed to Improve validation for jail creation
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#10 Updated by Dru Lavigne about 2 years ago

  • Status changed from Ready for Testing to Done
  • Needs QA changed from Yes to No

Also available in: Atom PDF