Project

General

Profile

Bug #54468

Avatar?id=14398&size=22x22

Remove legacy warden output from freenas-debug

Added by Bug Clerk over 1 year ago. Updated over 1 year ago.

Status:
Done
Priority:
No priority
Assignee:
Kris Moore
Category:
Services
Target version:
Seen in:
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

Testing with FreeNAS-11.2-INTERNAL29

Plexmedia isn't installed (screenshot provided)
There is no Plexmedia database in iocage in the gui (screenshot provided)
When I run freenas-debug -j I get the following out put that has plexmedia in it
I will attach a debug as soon as it is done

[root@fn07 ~]# freenas-debug j
-------------------------------------------------------------------------------

+ FreeNAS-11.2-INTERNAL29 (e9a5cb2ee) @1540820960
------------------------------------------------------------------------------+
Operating system type: FreeBSD
Operating system release: 11.2-STABLE
Operating system revision: 199506
Kernel version: FreeBSD 11.2-STABLE #0 r325575+3a9793238ff(freenas/11.2-stable): Fri Oct 26 11:36:57 EDT 2018
:/freenas-11.2-releng/freenas/_BE/objs/freenas-11.2-releng/freenas/_BE/os/sys/FreeNAS.amd64
Hostname: fn07.lab.ixsystems.com
Name of kernel file booted: /boot/kernel/kernel
debug finished in 0 seconds for FreeNAS-11.2-INTERNAL29 (e9a5cb2ee)

------------------------------------------------------------------------------
+ jails configuration @1540820960
------------------------------------------------------------------------------+
Path: /mnt/Federation/jails
IPv4 DHCP: 0
IPv4 Network: 10.231.0.0/21
IPv4 Network Range: 10.231.0.1-10.231.7.254
IPv6 Autoconf: 0
IPv6 Network:
IPv6 Network Range: -
Collection URL: http://download.freenas.org/latest/RELEASE/x64/jails
debug finished in 0 seconds for jails configuration

------------------------------------------------------------------------------
+ ls ldF /mnt/Federation/jails @1540820960
-------------------------------------------------------------------------------
+
drwxr-xr-x 6 root wheel 6 Sep 5 10:17 /mnt/Federation/jails/
debug finished in 0 seconds for ls -ldF /mnt/Federation/jails

------------------------------------------------------------------------------
+ getfacl /mnt/Federation/jails @1540820960
------------------------------------------------------------------------------+
  1. file: /mnt/Federation/jails
  2. owner: root
  3. group: wheel
    owner@:rwxp--aARWcCos:-------:allow
    group@:r-x---a-R-c--s:-------:allow
    everyone@:r-x---a-R-c--s:-------:allow
    debug finished in 0 seconds for getfacl /mnt/Federation/jails

------------------------------------------------------------------------------
+ ls aF /mnt/Federation/jails @1540820960
-------------------------------------------------------------------------------
+
total 102
drwxr-xr-x 6 root wheel 6 Sep 5 10:17 .
drwxr-xr-x 14 root wheel 15 Oct 25 13:37 ..
drwxr-xr-x 3 www www 3 Aug 23 09:36 .plugins
drwxrwxrwx 5 root wheel 5 Aug 23 09:37 .warden-files-cache
drwxr-xr-x 18 root wheel 22 Aug 23 09:37 .warden-template-pluginjail-11.0-x64
drwxr-xr-x 18 root wheel 22 Aug 23 14:46 .warden-template-pluginjail-11.0-x64-20180823153514
debug finished in 0 seconds for ls -aF /mnt/Federation/jails

------------------------------------------------------------------------------
+ jls @1540820960
------------------------------------------------------------------------------+
JID IP Address Hostname Path
1 openvpn /mnt/iocage/jails/openvpn/root
2 weechat /mnt/iocage/jails/weechat/root
debug finished in 0 seconds for jls

------------------------------------------------------------------------------
+ jls v @1540820960
-------------------------------------------------------------------------------
+
JID Hostname Path
Name State
CPUSetID
IP Address(es)
1 openvpn /mnt/iocage/jails/openvpn/root
ioc-openvpn ACTIVE
10
2 weechat /mnt/iocage/jails/weechat/root
ioc-weechat ACTIVE
11
debug finished in 0 seconds for jls -v

------------------------------------------------------------------------------
+ warden list @1540820960
------------------------------------------------------------------------------+
ID AUTOSTART STATUS TYPE
---------------------------------------------------------------------------
debug finished in 1 seconds for warden list

------------------------------------------------------------------------------
+ warden list v @1540820961
-------------------------------------------------------------------------------
+
debug finished in 0 seconds for warden list -v

------------------------------------------------------------------------------
+ warden.conf @1540820961
------------------------------------------------------------------------------+
#!/bin/sh
  1. Configuration options for the Warden ######################################################################
  1. Network Interface for the jails to use
    NIC: re0
  1. Directory to use for compressing / decompressing files
    WTMP: /mnt/Federation/jails
  1. Location of the jails
    JDIR: /mnt/Federation/jails
  1. FreeBSD release to use
    FREEBSD_RELEASE: 11.0-RELEASE
    debug finished in 0 seconds for warden.conf

------------------------------------------------------------------------------
+ warden template list @1540820961
------------------------------------------------------------------------------+
Jail Templates:
------------------------------
pluginjail-11.0-x64 - FreeBSD (amd64)
pluginjail-11.0-x64-20180823153514 - FreeBSD (amd64)
debug finished in 0 seconds for warden template list

------------------------------------------------------------------------------
+ warden template list v @1540820961
-------------------------------------------------------------------------------
+
ls: /mnt/Federation/jails/.*.meta: No such file or directory

nick: pluginjail-11.0-x64
type: FreeBSD
version:
arch: amd64
instances: 0

ls: /mnt/Federation/jails/.*.meta: No such file or directory

nick: pluginjail-11.0-x64-20180823153514
type: FreeBSD
version:
arch: amd64
instances: 0

debug finished in 1 seconds for warden template list -v

------------------------------------------------------------------------------
+ templates configuration @1540820962
------------------------------------------------------------------------------+
Name: pluginjail
OS: FreeBSD
Arch: x64
URL: http://download.freenas.org/jails/11/x64/freenas-pluginjail-11.0-RELEASE.tgz
System: 1
Readonly: 0
debug finished in 0 seconds for templates configuration

------------------------------------------------------------------------------
+ jail mountpoints @1540820962
------------------------------------------------------------------------------+
debug finished in 0 seconds for jail mountpoints

------------------------------------------------------------------------------
+ plugins configuration @1540820962
------------------------------------------------------------------------------+
URL: http://download.freenas.org/plugins/9/x64/pbi-meta/pbi-repo.rpo
debug finished in 0 seconds for plugins configuration

------------------------------------------------------------------------------
+ plugins @1540820962
------------------------------------------------------------------------------
------------------------------------------------------------------------------
plexmediaserver @1540820962
------------------------------------------------------------------------------+
Name: plexmediaserver
PBI Name: plexmediaserver-1.12.2.4929-amd64
Version: 1.12.2.4929
API Version: 2
Arch: amd64
Enabled: 1
IPv4 Address: -
Port: 12346
Path: /usr/pbi/plexmediaserver-amd64
Jail: plexmediaserver_1
debug finished in 0 seconds for plexmediaserver

debug finished in 0 seconds for plugins


Related issues

Copied from FreeNAS - Bug #54315: Remove legacy warden output from freenas-debug Closed

Associated revisions

Revision f76eed04 (diff)
Added by Kris Moore over 1 year ago

Remove the -J flag from freenas-debug, and merge it's functionality with -j option Ticket: #54468

Revision d385c726 (diff)
Added by Kris Moore over 1 year ago

Remove the -J flag from freenas-debug, and merge it's functionality with -j option Ticket: #54468 (cherry picked from commit f76eed049c9f18674fc3f0a04f7a8bfb4e6ddd9e)

History

#1 Updated by Bug Clerk over 1 year ago

  • Copied from Bug #54315: Remove legacy warden output from freenas-debug added

#2 Updated by Bug Clerk over 1 year ago

  • Target version changed from Master - FreeNAS Nightlies to 11.2-RC2

#3 Updated by Bug Clerk over 1 year ago

  • Status changed from Unscreened to In Progress

#4 Updated by Bug Clerk over 1 year ago

  • Status changed from In Progress to Ready for Testing

#5 Updated by Dru Lavigne over 1 year ago

  • Subject changed from There is no dataset for Plexmedia but it is in the output from freenas-debug -j to Remove legacy warden output from freenas-debug
  • Needs Merging changed from Yes to No

#6 Updated by Timothy Moore II over 1 year ago

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

Tested with FreeNAS Mini updated to 11.2-INTERNAL32:

Log in and open Shell. Enter

freenas-debug -j
. Verify there is no warden information contained in the output and the iocage jail list appears properly.

#7 Updated by Timothy Moore II over 1 year ago

  • Needs Doc changed from Yes to No

#8 Updated by Dru Lavigne over 1 year ago

  • Status changed from Passed Testing to Failed Testing

freenas-debug still displays 2 jail options:

-J Dump iocage information
-j Dump Jail Information

Worse, running -J shows no jail information while -j shows the iocage jail information. One would expect -j to not exist and -J to display the iocage jail information.

#10 Updated by Bug Clerk over 1 year ago

  • Status changed from Failed Testing to In Progress

#12 Updated by Bug Clerk over 1 year ago

  • Status changed from In Progress to Ready for Testing

#13 Updated by Dru Lavigne over 1 year ago

  • Needs QA changed from No to Yes
  • Needs Doc changed from No to Yes

#14 Updated by Bonnie Follweiler over 1 year ago

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

Test Passed in FreeNAS-11.2-INTERNAL33

#15 Updated by Timothy Moore II over 1 year ago

  • Needs Doc changed from Yes to No

#16 Updated by Dru Lavigne over 1 year ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF