TrueNAS SCALE 22.02.0 (Angelfish) Release

eturgeon

Super Moderator
Moderator
iXsystems
Joined
Nov 29, 2021
Messages
60

ClassicGOD

Contributor
Joined
Jul 28, 2011
Messages
145
Few issues popped up for me after update:
  1. This issue happened again: https://jira.ixsystems.com/browse/NAS-113969 not sure if I should report it again, I don't see it mentioned in change log. But I found a workaround. If this happens to you and you can't delete the folder do this:
    • Go to System -> Boot and activate previous version boot environment
    • Reboot
    • Do not unlock your pools (you can verify if your dataset folders in /mnt do not contain anything)
    • Run the update again
    • You should be able to unlock pools as normal after the update completes
  2. I had 2 IP addresses on my main bridge (br0): 10.0.0.100 (gui, smb) and 10.0.0.110 (Kubernetes node IP) For some reason 10.0.0.100 was removed after update and everything was switched to 10.0.0.110. I thought my system is gone after it rebooted until I noticed the new IP. Not sure if it's just a fluke with my config or more wildly spread bug.
 

sybreeder

Explorer
Joined
Aug 15, 2013
Messages
75
I wasn't ableto upgrade to release. Something like this popped up.
1645553906101.png


Error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/job.py", line 409, in run await self.future File "/usr/lib/python3/dist-packages/middlewared/job.py", line 445, in __run_body rv = await self.method(*([self] + args)) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1269, in nf return await func(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/update.py", line 412, in file await self.middleware.call('update.install_manual_impl', job, destfile, dest_extracted) File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1324, in call return await self._call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1292, in _call return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1192, in run_in_executor return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs)) File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/update_/install_linux.py", line 23, in install_manual_impl self._install( File "/usr/lib/python3/dist-packages/middlewared/plugins/update_/install_linux.py", line 43, in _install self.middleware.call_sync("update.install_scale", mounted, progress_callback, options) File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1351, in call_sync return methodobj(*prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/plugins/update_/install.py", line 72, in install_scale raise CallError(error) middlewared.service_exception.CallError: [EFAULT] Command ['chroot', '/tmp/tmpvtjzmb5_', 'update-grub'] failed with exit code 1: /usr/sbin/grub-probe: error: failed to get canonical path of `/dev/disk/by-id/wwn-0x5002538043584d30-part3'.

reboot didn't helped.
 
Last edited:

f3_

Cadet
Joined
Feb 22, 2022
Messages
1
weird issue after upgrading from RC2
 

Attachments

  • Screen Shot 2022-02-22 at 11.57.23 AM.png
    Screen Shot 2022-02-22 at 11.57.23 AM.png
    97.1 KB · Views: 712
  • Screen Shot 2022-02-22 at 12.00.53 PM.png
    Screen Shot 2022-02-22 at 12.00.53 PM.png
    122.2 KB · Views: 932
  • Screen Shot 2022-02-22 at 12.00.58 PM.png
    Screen Shot 2022-02-22 at 12.00.58 PM.png
    119.4 KB · Views: 896

Glowtape

Dabbler
Joined
Apr 8, 2017
Messages
45
Hmm, I'm being refused access to apt on the sudo interactive shell? That's new.

--edit: Also as root in the web shell.

--edit: Nevermind, they all don't have the execute flag for whatever reason.
Code:
root@truenas[~]# ls -l /usr/bin/apt*
-rw-r--r-- 1 root root  18664 Jun 10  2021 /usr/bin/apt
-rw-r--r-- 1 root root  88376 Jun 10  2021 /usr/bin/apt-cache
-rw-r--r-- 1 root root  26936 Jun 10  2021 /usr/bin/apt-cdrom
-rw-r--r-- 1 root root  26856 Jun 10  2021 /usr/bin/apt-config
-rw-r--r-- 1 root root  22848 Jun 10  2021 /usr/bin/apt-extracttemplates
-rw-r--r-- 1 root root 276800 Jun 10  2021 /usr/bin/apt-ftparchive
-rw-r--r-- 1 root root  47416 Jun 10  2021 /usr/bin/apt-get
-rw-r--r-- 1 root root  28191 Jun 10  2021 /usr/bin/apt-key
-rw-r--r-- 1 root root  51512 Jun 10  2021 /usr/bin/apt-mark
-rw-r--r-- 1 root root  39152 Jun 10  2021 /usr/bin/apt-sortpkgs
 

sybreeder

Explorer
Joined
Aug 15, 2013
Messages
75

jakommo

Cadet
Joined
Feb 22, 2022
Messages
1
I'm facing the same issue as f3_. I installed Truenas SCALE RC2 a few weeks ago and upgraded today using the UI.
After the upgrade I'm presented with another upgrade, but it fails with
Code:
Error: [EFAULT] Unable to downgrade from 22.02.0 to 22.02.RELEASE


I rolled back to RC2 to double check which version it was installing and interestingly my RC2 upgrade screen looks like sybreeder's.

Screenshot from 2022-02-22 21-54-23.png


But after applying this upgrade and rebooting, I'm presented with another upgrade that looks like:

Screenshot from 2022-02-22 22-00-06.png


And then results in the error.
Screenshot from 2022-02-22 22-00-46.png


It feels like the ".RELEASE" part of the version number is missing somewhere and that's why the system thinks there is another upgrade.
 

Sean Hafeez

Dabbler
Joined
Jun 23, 2014
Messages
31
So I just updated. On reboot I had a very strange issues with VM startup. The status for autostart was flipped, VMs that I did not want to start did, and VMs I wanted to start did not. The check boxes in the GUI where reversed from the setting from before the reboot and upgrade.
 

Yazik

Cadet
Joined
Nov 28, 2021
Messages
4
After fresh install TrueNAS SCALE 22.02.0 (Angelfish) Release i have this message to update. Why? iso 8ab1cb587ac03e6b8f3688c07863b8746a009bed26c40b104a005bd1f06e47cd isn't release or what? Why i got
infoThis is not a production release, and should only be used for testing.

Снимок экрана от 2022-02-23 11-04-21.png
 

mjflower

Dabbler
Joined
Sep 14, 2020
Messages
25
I have the same situation as f3 reported
 

crkinard

Explorer
Joined
Oct 24, 2019
Messages
80
weird issue after upgrading from RC2
Getting this too with a clean load on a wiped drive form the download and verified ISO.
UpgradeTrueNAS-22.02.0 -> TrueNAS-22.02.RELEASE
Error: [EFAULT] Unable to downgrade from 22.02.0 to 22.02.RELEASE
 

proligde

Dabbler
Joined
Jan 29, 2014
Messages
21
First of all - Thanks for the great work! It has been a pleasure to use FreeNAS and TrueNAS Core / -Scale in the last 10 Years!

Unfortunately now I had severe Issues i.e. not-working-anymore regarding the NFS service after Upgrading to RELEASE when trying to connect from different linux-machines in my network, as well as from VMs on the TrueNAS itself.

Removing/Recreating NFS-Shares didn't help, neither did trying different configurations of the service itself (nfs3/4) and the shares (allowed networks, maproot/mapuser etc.).

I always got a `permission denied` and a `showmount -e <myTrueNASSCaleIP>` showed zero entries, even when running it as root on the TrueNAS server itself, even after opening exports to 0.0.0.0/0.

After booting back into RC2 everything went back to normal. Before that I also checked `journalctl` logs where stopping/starting of the NFSD seemed to work as intended with no obvious errors. Still it didn't work.

The Permission Denied message changed to "no supported protocols" when disabling NFS completely. So at least the clients tried to communicate but not much more. A `mount -v` didn't help either: I see that it tried to handshake (correctly AFAIK) for a matching version, depending on the NFSd-Settings for v3/4 but after that -> Permission Denied.

I couldn't find anything similar in Jira but I read a comment in another thread about "NFS server was switched to kernel server.".

Im not deep enough into the TrueNAS Core NFSd implementation to investigate a more useful bug description, unfortunately.

Thanks - Max
 

nickspacemonkey

Dabbler
Joined
Jan 13, 2022
Messages
22
First of all - Thanks for the great work! It has been a pleasure to use FreeNAS and TrueNAS Core / -Scale in the last 10 Years!

Unfortunately now I had severe Issues i.e. not-working-anymore regarding the NFS service after Upgrading to RELEASE when trying to connect from different linux-machines in my network, as well as from VMs on the TrueNAS itself.

Removing/Recreating NFS-Shares didn't help, neither did trying different configurations of the service itself (nfs3/4) and the shares (allowed networks, maproot/mapuser etc.).

I always got a `permission denied` and a `showmount -e <myTrueNASSCaleIP>` showed zero entries, even when running it as root on the TrueNAS server itself, even after opening exports to 0.0.0.0/0.

After booting back into RC2 everything went back to normal. Before that I also checked `journalctl` logs where stopping/starting of the NFSD seemed to work as intended with no obvious errors. Still it didn't work.

The Permission Denied message changed to "no supported protocols" when disabling NFS completely. So at least the clients tried to communicate but not much more. A `mount -v` didn't help either: I see that it tried to handshake (correctly AFAIK) for a matching version, depending on the NFSd-Settings for v3/4 but after that -> Permission Denied.

I couldn't find anything similar in Jira but I read a comment in another thread about "NFS server was switched to kernel server.".

Im not deep enough into the TrueNAS Core NFSd implementation to investigate a more useful bug description, unfortunately.

Thanks - Max
My Proxmox box couldn't reconnect to an NFS share after the upgrade. I rebooted the Proxmox host and all was good.
 

proligde

Dabbler
Joined
Jan 29, 2014
Messages
21
My Proxmox box couldn't reconnect to an NFS share after the upgrade. I rebooted the Proxmox host and all was good.
I heard the same thing about ESXI clients (reboot/reconnect worked) but unfortunately nothing helped with the Linux clients I tried to connect. I'm using current versions of Ubuntu (20.04) on x86-64 infrastructure and current versions of debian on ARM. Both don't work anymore until I booted SCALE back into RC2

I might add: my fstab entries look as follows:

Code:
<truenasIP>:/export-path /mountpath nfs rw,hard,intr,rsize=8192,wsize=8192,timeo=14,nofail
 

xenu

Dabbler
Joined
Nov 12, 2015
Messages
43
@proligde : Does "/etc/exports" contain entries?
I use NFSv4 shares with kerberos on several clients and they all work fine. For my proxmox host I had to disable the storage entries, do a "umount" on the CLI and the enable the storage entries again (but I always had to do this after a TrueNAS reboot because of the nfs kerberos ticket). showmount -e works as well.
I use user mounts defined by FreeIPA rules and manual entries via autofs. Manual mounting also works.
autofs entry: /mnt/truenas/media -fstype=nfs4,vers=4.2,rw,sec=krb5,soft,proto=tcp truenas01.ipa.mydomain.com:/mnt/tank/media/
 

proligde

Dabbler
Joined
Jan 29, 2014
Messages
21
@proligde : Does "/etc/exports" contain entries?
I use NFSv4 shares with kerberos on several clients and they all work fine. For my proxmox host I had to disable the storage entries, do a "umount" on the CLI and the enable the storage entries again (but I always had to do this after a TrueNAS reboot because of the nfs kerberos ticket). showmount -e works as well.
I use user mounts defined by FreeIPA rules and manual entries via autofs. Manual mounting also works.
autofs entry: /mnt/truenas/media -fstype=nfs4,vers=4.2,rw,sec=krb5,soft,proto=tcp truenas01.ipa.mydomain.com:/mnt/tank/media/
The file did not contain any entries on RELEASE while it doesn't exist on RC2 at all, as I just see now. But that's interesting: Maybe something prevents the file from being created properly / populated after switching to RELEASE? Are there any logs other than journalctl I could look into? I couldn't find anything regarding NFS logs in particular other than that.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
The file did not contain any entries on RELEASE while it doesn't exist on RC2 at all, as I just see now. But that's interesting: Maybe something prevents the file from being created properly / populated after switching to RELEASE? Are there any logs other than journalctl I could look into? I couldn't find anything regarding NFS logs in particular other than that.
Can you PM me a debug please?
 
Top