Project

General

Profile

Bug #74569

iocage jails stop when detaching an unrelated pool

Added by Kevin Horton over 2 years ago. Updated over 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
Brandon Schneider
Category:
Middleware
Severity:
New
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:
ChangeLog Required:
No

Description

On my system, running FN-11.2-RELEASE-U1, all iocage jails stop when I detach a pool. Iocage is using the main pool, which is not the pool I am detaching when this occurs. I see nothing in messages when iocage stops.

All pools that are detached are backups (created either by replicating recursive periodic snapshots of the root dataset, or by using rsync), which also have a copy of the iocage dataset, so that is possibly implicated in this apparent bug.

Another possible implicated issue: when I first activated iocage, I did an "iocage activate" without specifying the pool, and iocage activated on the first pool when sorted alphabetically, which was not the desired pool. I did "iocage clean -a; iocage activate <pool>" to sort this out, but perhaps some cruft was left behind that is now trigger a bug.


Related issues

Copied to FreeNAS - Bug #76162: When detaching a pool only stop jails on that pool Done

Associated revisions

Revision a7a5f433 (diff)
Added by Brandon Schneider over 2 years ago

fix(pool/export): Only stop jails if the pool is the same as activated Otherwise we are stopping iocage jails that are unrelated to this pool. Ticket: #74569

Revision ec1e9302 (diff)
Added by Brandon Schneider over 2 years ago

tkt-74569: fix(pool/export): Only stop jails if the pool is the same as activated (#2612) * fix(pool/export): Only stop jails if the pool is the same as activated Otherwise we are stopping iocage jails that are unrelated to this pool. Ticket: #74569 * Fix typo

Revision e0007817 (diff)
Added by Bug Clerk over 2 years ago

fix(pool/export): Only stop jails if the pool is the same as activated Otherwise we are stopping iocage jails that are unrelated to this pool. Ticket: #74569

Revision 9c906d08 (diff)
Added by Bug Clerk over 2 years ago

fix(pool/export): Only stop jails if the pool is the same as activated (#2613) Otherwise we are stopping iocage jails that are unrelated to this pool. Ticket: #74569

History

#1 Updated by Dru Lavigne over 2 years ago

  • Private changed from No to Yes
  • Reason for Blocked set to Need additional information from Author

Kevin: please reproduce then attach a debug (System -> Advanced -> Save debug) to this ticket.

#2 Updated by Kevin Horton over 2 years ago

  • File debug-big_bertha-20190210112513.tgz added

Problem reproduced, then Debug saved and attached to this ticket

#3 Updated by Dru Lavigne over 2 years ago

  • Assignee changed from Release Council to Vladimir Vinogradenko
  • Reason for Blocked deleted (Need additional information from Author)

#4 Updated by William Grzybowski over 2 years ago

  • Assignee changed from Vladimir Vinogradenko to Brandon Schneider
  • Target version changed from Backlog to 11.2-U3

#5 Updated by Bug Clerk over 2 years ago

  • Status changed from Unscreened to In Progress

#6 Updated by Bug Clerk over 2 years ago

  • Status changed from In Progress to Ready for Testing

#7 Updated by Bug Clerk over 2 years ago

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

#8 Updated by Bug Clerk over 2 years ago

  • Copied to Bug #76162: When detaching a pool only stop jails on that pool added

#9 Updated by Dru Lavigne over 2 years ago

  • File deleted (debug-big_bertha-20190210112513.tgz)

#10 Updated by Dru Lavigne over 2 years ago

  • Status changed from Ready for Testing to Done
  • Target version changed from 11.3-BETA1 to Master - FreeNAS Nightlies
  • Private changed from Yes to No
  • Needs QA changed from Yes to No
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

Also available in: Atom PDF