Project

General

Profile

Bug #67170

jail list mismatch between "iocage list", "jls", and the web ui

Added by David Glover-Aoki 9 months ago. Updated 9 months ago.

Status:
Closed
Priority:
No priority
Assignee:
Brandon Schneider
Category:
Middleware
Target version:
Severity:
New
Reason for Closing:
Not Applicable
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

My FreeNAS install started with 9.x and has been upgraded over time through to the current version.

I started creating iocage jails in 11.0, before the new web UI.

When 11.2 came out I started creating new 11.2 jails in the web UI, and deleted some older jails from the command lline using "iocage destroy".

Now, the list of jails from "iocage list" and "jls" don't match, iocage list throws some errors, and the web UI claims I do not have any jails at all:

# iocage list
jexec: jail "ioc-plex-11.2" not found
jexec: jail "ioc-unimirror-11.2" not found
jexec: jail "ioc-shreddit-11.2" not found
jexec: jail "ioc-syncthing-lion-11.2" not found
jexec: jail "ioc-beets-11.2" not found
+-----+---------------------+-------+--------------+---------------------+
| JID |        NAME         | STATE |   RELEASE    |         IP4         |
+=====+=====================+=======+==============+=====================+
| 6   | beets-11.2          | up    | 11.2-RELEASE | DHCP(Network Issue) |
+-----+---------------------+-------+--------------+---------------------+
| -   | bittorrent          | down  | 11.1-RELEASE | DHCP                |
+-----+---------------------+-------+--------------+---------------------+
| -   | handbrake           | down  | 11.1-RELEASE | DHCP                |
+-----+---------------------+-------+--------------+---------------------+
| -   | homebridge          | down  | 11.1-RELEASE | DHCP                |
+-----+---------------------+-------+--------------+---------------------+
| -   | misc                | down  | 11.1-RELEASE | DHCP                |
+-----+---------------------+-------+--------------+---------------------+
| 1   | plex-11.2           | up    | 11.2-RELEASE | DHCP(Network Issue) |
+-----+---------------------+-------+--------------+---------------------+
| 5   | shreddit-11.2       | up    | 11.2-RELEASE | DHCP(Network Issue) |
+-----+---------------------+-------+--------------+---------------------+
| -   | sync                | down  | 11.1-RELEASE | DHCP                |
+-----+---------------------+-------+--------------+---------------------+
| 2   | syncthing-lion-11.2 | up    | 11.2-RELEASE | DHCP(Network Issue) |
+-----+---------------------+-------+--------------+---------------------+
| -   | uk                  | down  | 11.1-RELEASE | DHCP                |
+-----+---------------------+-------+--------------+---------------------+
| 3   | unimirror-11.2      | up    | 11.2-RELEASE | DHCP(Network Issue) |
+-----+---------------------+-------+--------------+---------------------+
| -   | videotron-11.2      | down  | 11.2-RELEASE | DHCP                |
+-----+---------------------+-------+--------------+---------------------+
# jls
   JID  IP Address      Hostname                      Path
     1                  plex-11.2                     /mnt/data/iocage/jails/plex-11.2/root
     2                  syncthing-lion-11.2           /mnt/data/iocage/jails/syncthing-lion-11.2/root
     3                  unimirror-11.2                /mnt/data/iocage/jails/unimirror-11.2/root
     5                  shreddit-11.2                 /mnt/data/iocage/jails/shreddit-11.2/root
     6                  beets-11.2                    /mnt/data/iocage/jails/beets-11.2/root

The web UI jails page says "No data to display".

History

#1 Updated by Dru Lavigne 9 months ago

  • Assignee changed from Release Council to William Grzybowski

#2 Updated by William Grzybowski 9 months ago

  • Assignee changed from William Grzybowski to Brandon Schneider
  • Target version changed from Backlog to 11.2-U2

#3 Updated by Brandon Schneider 9 months ago

David: Can you attach a debug please?

#4 Updated by Brandon Schneider 9 months ago

  • Status changed from Unscreened to In Progress

#5 Updated by David Glover-Aoki 9 months ago

  • File debug-solitude-20190103175551.tgz added

Debug attached.

#6 Updated by Brandon Schneider 9 months ago

  • Status changed from In Progress to Blocked
  • Reason for Blocked set to Need verification

I suspect this is an older bug with jails that have a "." in their name, try renaming them to something like "plex-11_2" and see if that solves your issue

#7 Updated by David Glover-Aoki 9 months ago

I think this has solved the problem.

"iocage list" no longer throws errors, and the web UI now looks normal.

The "jls" list is now empty - maybe this is normal?

#8 Updated by Brandon Schneider 9 months ago

  • Status changed from Blocked to Closed
  • Reason for Blocked deleted (Need verification)
  • Needs QA changed from Yes to No
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

Yep :) that’s good news. Closing.

#9 Updated by Brandon Schneider 9 months ago

  • File deleted (debug-solitude-20190103175551.tgz)

#10 Updated by Dru Lavigne 9 months ago

  • Target version changed from 11.2-U2 to N/A
  • Reason for Closing set to Not Applicable

Also available in: Atom PDF