TrueCommand 2.0.2 is now available

kenmoore

TrueCommand Project Lead
iXsystems
Joined
May 1, 2019
Messages
51
The TrueCommand team has just published Maintenance release 2 of TrueCommand 2.0 (version 2.0.2). This update resolves several issues surrounding SSL functionality, as well as adding a new Hardware Reporting feature:

  • Each system card on the TrueCommand dashboard now has an optional “drop down” arrow which expands the card to show available hardware information about the system.
  • There is a new “System Inventory” page in the menu which allows you to inspect the hardware information about all of the TrueNAS systems. This also lets you drill down into the specific network interfaces or hard drive information.

For additional information, feel free to browse the Release Notes for this update.
If you have any suggestions for changes or improvements, please open up tickets on the TrueCommand bug tracker!
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
Hey @kenmoore

Related to ticket TC-1799 :
I can now add the CA but it does not show in the list once added properly. The IMPORT function works but the CA is just not visible in the UI.

But better again :
If I try to connect Atlas using its IP, I now have an explicit error message saying that the certificate is valid for the name but not for the IP. Good. Here, we have a hard evidence that TC can connect TCP level with Atlas and receives its TLS certificate.

What happen when I configure the system using its name ? TCP Time Out again! And again, when I open a shell in the container, I can connect using "openssl s_client -connect atlas.jb.lan:443". Also, despite there is a delay between the command and the connection, connection is established within less than 6 seconds. Here, in your log, the timeout is mentioned after 10 seconds. OpenSSL connects within that window.

Here is an extract from your middleware log :
Code:
[2021-08-16, 19:05:11 UTC] Initializing NAS connection: Atlas - tvid:6sUtcd7rj1uxebmc
[2021-08-16, 19:05:11 UTC] WARNING: NAS Connection Error: Nickname:Atlas Location: 172.24.128.146 Error: x509: certificate is valid for atlas.jb.lan, not
[2021-08-16, 19:05:20 UTC] [Removing Stats Table for system: 6sUtcd7rj1uxebmc Atlas]
[2021-08-16, 19:05:20 UTC] [Removing Notices Table for system: 6sUtcd7rj1uxebmc Atlas]
[2021-08-16, 19:06:22 UTC] WARNING: WebSocket Read Error for ID: 1d6uuqo644tuq websocket: close 3001: The UI has been destroyed.
[2021-08-16, 19:08:11 UTC] Initializing NAS connection: Atlas - tvid:Yq8Ccdl68vwqeoaa
[2021-08-16, 19:08:21 UTC] WARNING: NAS Connection Error: Nickname:Atlas Location: atlas.jb.lan Error: dial tcp: i/o timeout
[2021-08-16, 19:08:36 UTC] Initializing NAS connection: Atlas - tvid:Yq8Ccdl68vwqeoaa
[2021-08-16, 19:08:46 UTC] WARNING: NAS Connection Error: Nickname:Atlas Location: 172.24.128.146 Error: dial tcp: i/o timeout
[2021-08-16, 19:09:01 UTC] Initializing NAS connection: Atlas - tvid:Yq8Ccdl68vwqeoaa
[2021-08-16, 19:09:01 UTC] WARNING: NAS Connection Error: Nickname:Atlas Location: 172.24.128.146 Error: x509: certificate is valid for atlas.jb.lan, not


I did a "grep -R -i atlas" in /data inside the container, just in case there would be leftovers from a previous container. Grep did not found anything.

Should you wish to debug from my instance, you can provide me with a public key (either SSH ou a CSR for a personal certificate) and I will give you a secure access to my instance.
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
And by the way, Yes, this is after restarting the container. In the ticket, you mentioned that problem and here, restarting the container does not fix the problem...
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
And here is another extra for you :

I tried to increase log verbosity for that system and received this :

Code:
{ "name": "response", "namespace": "direct/message", "id": "a0f6e738-4c88-3343-6ab9-076ec3d95423", "args": { "error": "json: cannot unmarshal array into Go struct field ServerObjectPublic.ignore_alerts of type bool" } }
 
Joined
Jan 4, 2014
Messages
1,644
The new features are super useful! Also, love that I can now securely connect to upstream servers from the TC dashboard.

  • Each system card on the TrueCommand dashboard now has an optional “drop down” arrow which expands the card to show available hardware information about the system.

What I like about this feature is I no longer have to drill down into the single system view to check the system uptime. I can view it using the drop-down from the TC dashboard.

tc86.jpg
tc87.jpg


  • There is a new “System Inventory” page in the menu which allows you to inspect the hardware information about all of the TrueNAS systems. This also lets you drill down into the specific network interfaces or hard drive information.

The inventory details are comprehensive and nicely summarised.

tc88.jpg
tc89.jpg
 

kenmoore

TrueCommand Project Lead
iXsystems
Joined
May 1, 2019
Messages
51
Hey @kenmoore

Related to ticket TC-1799 :
I can now add the CA but it does not show in the list once added properly. The IMPORT function works but the CA is just not visible in the UI.

But better again :
If I try to connect Atlas using its IP, I now have an explicit error message saying that the certificate is valid for the name but not for the IP. Good. Here, we have a hard evidence that TC can connect TCP level with Atlas and receives its TLS certificate.

What happen when I configure the system using its name ? TCP Time Out again! And again, when I open a shell in the container, I can connect using "openssl s_client -connect atlas.jb.lan:443". Also, despite there is a delay between the command and the connection, connection is established within less than 6 seconds. Here, in your log, the timeout is mentioned after 10 seconds. OpenSSL connects within that window.

Here is an extract from your middleware log :
Code:
[2021-08-16, 19:05:11 UTC] Initializing NAS connection: Atlas - tvid:6sUtcd7rj1uxebmc
[2021-08-16, 19:05:11 UTC] WARNING: NAS Connection Error: Nickname:Atlas Location: 172.24.128.146 Error: x509: certificate is valid for atlas.jb.lan, not
[2021-08-16, 19:05:20 UTC] [Removing Stats Table for system: 6sUtcd7rj1uxebmc Atlas]
[2021-08-16, 19:05:20 UTC] [Removing Notices Table for system: 6sUtcd7rj1uxebmc Atlas]
[2021-08-16, 19:06:22 UTC] WARNING: WebSocket Read Error for ID: 1d6uuqo644tuq websocket: close 3001: The UI has been destroyed.
[2021-08-16, 19:08:11 UTC] Initializing NAS connection: Atlas - tvid:Yq8Ccdl68vwqeoaa
[2021-08-16, 19:08:21 UTC] WARNING: NAS Connection Error: Nickname:Atlas Location: atlas.jb.lan Error: dial tcp: i/o timeout
[2021-08-16, 19:08:36 UTC] Initializing NAS connection: Atlas - tvid:Yq8Ccdl68vwqeoaa
[2021-08-16, 19:08:46 UTC] WARNING: NAS Connection Error: Nickname:Atlas Location: 172.24.128.146 Error: dial tcp: i/o timeout
[2021-08-16, 19:09:01 UTC] Initializing NAS connection: Atlas - tvid:Yq8Ccdl68vwqeoaa
[2021-08-16, 19:09:01 UTC] WARNING: NAS Connection Error: Nickname:Atlas Location: 172.24.128.146 Error: x509: certificate is valid for atlas.jb.lan, not


I did a "grep -R -i atlas" in /data inside the container, just in case there would be leftovers from a previous container. Grep did not found anything.

Should you wish to debug from my instance, you can provide me with a public key (either SSH ou a CSR for a personal certificate) and I will give you a secure access to my instance.
I have created a ticket in our bug tracker to follow up with you on this issue. Please read/reply here: https://jira.ixsystems.com/browse/TC-1812
 
Joined
Jan 4, 2014
Messages
1,644
Has the Activity Wheel been replaced?

tc90.jpg


Is there a name for this? We can't call it a wheel anymore can we? Maybe an activity spring :wink:
 
Last edited:
Joined
Jan 4, 2014
Messages
1,644
What's really neat about running TC on SCALE, rather than in a VM on CORE, is that CORE updates like the present U5.1 release don't bring TC down as well.
 

aervin

iXsystems
iXsystems
Joined
Jun 13, 2018
Messages
114
Has the Activity Wheel been replaced?

View attachment 48844

Is there a name for this? We can't call it a wheel anymore can we? Maybe an activity spring :wink:

There are now individual indicators for Update, Replication, Resilver/Scrub. Should provide better "at-a-glance" info about what the system is up to.
 

smillan

Cadet
Joined
Jan 15, 2021
Messages
8
FYI
for me....Chrome seems to have issues loading the drop-down for the TC dashboard. ; like almost never there on first load of the page and subsequent loads appear but don't actually have any of the details once clicked on

Chrome Version 92.0.4515.159 (Official Build) (64-bit)

(note i have clicked the drop down on the left side one)
2021-08-20 12_40_45-Dashboard _ TrueCommand.png


Firefox (91.0.1 (64-bit)) and Edge (Version 92.0.902.78 (Official build) (64-bit)


both on the other hand seem all good.
2021-08-20 12_51_47-2021-08-20 12_47_40-Dashboard _ TrueCommand — Mozilla Firefox.png_ ‎- Pain...png


anybody else see this behavior via Chrome?
 

Attachments

  • 2021-08-20 12_47_40-Dashboard _ TrueCommand — Mozilla Firefox.png
    2021-08-20 12_47_40-Dashboard _ TrueCommand — Mozilla Firefox.png
    541.5 KB · Views: 256
Joined
Jan 4, 2014
Messages
1,644
FYI
for me....Chrome seems to have issues loading the drop-down for the TC dashboard. ; like almost never there on first load of the page and subsequent loads appear but don't actually have any of the details once clicked on

Chrome Version 92.0.4515.159 (Official Build) (64-bit)

(note i have clicked the drop down on the left side one)
View attachment 48896

Firefox (91.0.1 (64-bit)) and Edge (Version 92.0.902.78 (Official build) (64-bit)


both on the other hand seem all good.
View attachment 48898

anybody else see this behavior via Chrome?
Try clearing your browser cache.
 
Joined
Jan 4, 2014
Messages
1,644
Last edited:
Joined
Jan 4, 2014
Messages
1,644
I've finally spotted the replication icon. It's appeared in the TC nightly with middleware version Master-20211111.

tc107.jpg
 
Top