TrueCommand 2 Issues

Joined
Jan 4, 2014
Messages
1,644
Here are a few more; one of them looking a lot like an old one I already posted about and that was fixed long time ago...

1-TrueCommand does not let me upload my local CA. After selecting it as a file or copy-paste the text, the IMPORT button remains greyed out.

2-TrueCommand does not respect its TLS configuration. When I enter my TrueNAS's IP address, TrueCommand connects to it. The problem is, the certificate is valid only for the FQDN name and the old IP address which is not the same anymore. TrueCommand is configured to enforce TLS and the check box to ignore SSL errors is empty (as well as the one with hostname mismatch).

3-TrueCommand does not resolve DNS names. When I enter a system's name, TrueCommand does just plain nothing. Even TCPDump does not detect any reaction. TrueCommand reacts only to IP address. The container is able to resolve names and connect to them. I entered in a shell in the container and used openssl to connect my TrueNAS' TCP port 443 calling it by its name. It worked from openssl inside the container but the GUI is unable to do it.

TrueCommand is running from a Linux Docker host outside TrueNAS. Container's image has been updated (image created 2021-06-22 09:32:52) and is the one designated as ":latest" as of now.

The TrueNAS system I try to connect first is Atlas (description in my signature).
@Heracles According to JIRA ticket TC-1799, these issues are fixed in the latest nightly. Can you test and update the ticket if necessary? Let me know here if you're successful so I can update the table in the previous post.
 
Joined
Jan 4, 2014
Messages
1,644
TC 2 issues table from post #40 brought forward and updated.​

PostsJIRA ticketDescriptionFix VersionTest Result
#3TC-1761Used space on system cards are reported as a whole number2.1
:frown:
#5TC-1772Multiple time formats in use2.1
:frown:
#6TC-1784Active shares not shown in the dashboard2.1
:frown:
#8TC-1783SMR Alert2.1
:frown:
#15TC-1770Calendar improvement for report generation2.1
:frown:
-TC-1812DNS lookup failure2.1
:frown:
-TC-1817New indicators replace activity wheel-
:frown:
-TC-1829Network speed reporting issues2.1
:frown:

As indicated in the OP, if you're certain you've identified a TC problem, consider adding or referencing it in this thread, and linking it to a JIRA ticket. I'll update the table to include it so that it remains visible in the community forum space and doesn't fall through the cracks.
 
Last edited:

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
Ok! I managed to diagnose and workaround the bug that prevents TrueCommand to connect to my hosts using DNS names. I updated TC-1812 with all the details. The root cause is that TrueCommand does not know about patience and redundancy. I had a mis-configuration in my environment that made the primary DNS unusable. Instead of turning to its secondary DNS that was working, TrueCommand just gave up and abandoned ship. OpenSSL from inside the container was working because that one turned to its secondary DNS after the primary failed.

Let see now when a new release will have a permanent fix for that. During that time, I fixed my own configuration and my primary DNS is working again, so TrueCommand can connect to my hosts using DNS names.
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
According the Jira ticket, it should be fixed in 2.1...
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I think I've run into a TC2 issue--it's reporting implausible network utilization:
1633205603062.png

This system has two Gigabit NICs, but only one is in use. The system itself reports pretty good utilization of that one:
1633205851271.png

but obviously not multiple gigabits/sec.
 
Joined
Jan 4, 2014
Messages
1,644
Joined
Jan 4, 2014
Messages
1,644

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
I added to the ticket... though it might end up creating another ticket.
 
Joined
Jan 4, 2014
Messages
1,644
TC 2 issues table from post #43 brought forward and updated.

PostsJIRA ticketDescriptionFix VersionTest Result
#3TC-1761Used space on system cards are reported as a whole number2.1 [1]
:smile:
#5TC-1772Multiple time formats in use2.1 [1]
:smile:
#6TC-1784Active shares not shown in the dashboard2.1 [1]
:smile:
#8TC-1783SMR Alert2.1 [1]
:smile:
#15TC-1770Calendar improvement for report generation2.2
:frown:
-TC-1812DNS lookup failure2.1 [1]
:smile:
-TC-1817New indicators replace activity wheel2.1 [1]
:smile:
-TC-1829Network speed reporting issues2.1 [1]
:smile:
-TC-1833Clumsy resolving long alert messages2.1 [1]
:smile:

[1] Resolved in the TC nightly with middleware version Master-20211111.

As indicated in the OP, if you're certain you've identified a TC problem, consider adding or referencing it in this thread, and linking it to a JIRA ticket. I'll update the table to include it so that it remains visible in the community forum space and doesn't fall through the cracks.
 
Last edited:
Joined
Jan 4, 2014
Messages
1,644
The TC nightly with middleware version Master-20211111 fixes a whole bunch of stuff. Refer to the previous post for details.

@Heracles Based on my understanding of ticket TC-1812, I can only assume the DNS lookup issue has been resolved with this nightly. Are you able to test and confirm? If it's still an issue, you may need to get the ticket reopened.

The latest nightly does introduce a new issue, which I'll discuss in the next post.
 
Last edited:
Joined
Jan 4, 2014
Messages
1,644
Alerts don't stay resolved in the latest nightly Master-20211111. This issue did not exist in the previous nightly. This issue is reproducible for TC on both CORE and SCALE. Browser caches were cleared before testing. I sense all these symptoms are related to the same issue.

These are some of the symptoms of the issue:
  1. Not all issues are resolved if all alerts are cleared.
  2. Resolved issues also reappear after a while.
  3. Resolved issues remain visible, but dimmed out.
  4. Multiple occurrences of the same issue.
  5. The alerts bubble never clears.
Reported under JIRA ticket TC-1870.

Not all issues are resolved if all alerts are cleared.

Resolving all alerts...

tc111.jpg



tc112.jpg


tc113.jpg


... doesn't produce the desired result.

tc114.jpg


Resolved issues also reappear after a while.

Here's a screengrab a while later. Note how the numbers have crept up. I can confirm these are not new issues, but previously resolved issues.

tc116.jpg


These numbers will keep increasing. It seems an issue that was resolved begins to reappear again and again and that's what contributes to the numbers incrementing.

tc117.jpg


Resolved issues remain visible, but dimmed out.

I'm pretty sure that once an issue was resolved for a specific system in the previous nightly, it disappeared from the alerts card for the system. This isn't happening with the latest nightly.

tc118.jpg



Multiple occurrences of the same issue.

For specific systems, note how the same issue is repeated (identical timestamp)...

tc115.jpg


The alerts bubble never clears.

Here's an example of a system where alerts on the Alerts card were cleared, but the alerts bubble remains non-zero.

tc120.jpg
 

Attachments

  • tc116.jpg
    tc116.jpg
    77.1 KB · Views: 159
Last edited:
Joined
Jan 4, 2014
Messages
1,644
TC 2 issues table from post #51 brought forward and updated.

PostsJIRA ticketDescriptionFix VersionTest Result
#15TC-1770Calendar improvement for report generation2.2:frown:
#53TC-1870Alerts do not stay resolved2.1:frown:

As indicated in the OP, if you're certain you've identified a TC problem, consider adding or referencing it in this thread, and linking it to a JIRA ticket. I'll update the table to include it so that it remains visible in the community forum space and doesn't fall through the cracks.
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
I can only assume the DNS lookup issue has been resolved with this nightly. Are you able to test and confirm?

Hi @Basil Hendroff,

Here, I do not work with nightlies. Ticket said that it is to be fixed in 2.1... If you wish to test yourself, the complete procedure to reproduce the bug is documented in the ticket. So create the conditions, have the bug, update to the nightly you are looking for and see if that fixes the problem. If it does not, fix the DNS manually to the internal IP using Docker and see if that workaround is still required.
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
Latest version 2.1 does not even start over here...

Code:
[Jan  5 05:07:01] Starting Middleware

[Jan  5 05:07:01] Starting InfluxDB

[Jan  5 05:07:01] Switching Log Level -> warning

[Jan  5 05:07:01] Starting TrueCommand Middleware...

  Version: 2.1

  BuildDate: 20220104

time="2022-01-05T05:07:02Z" level=info msg="reset OCSP cache file. /root/.cache/snowflake/ocsp_response_cache.json" func="gosnowflake.(*defaultLogger).Infof" file="log.go:104"

time="2022-01-05T05:07:02Z" level=info msg="reading OCSP Response cache file. /root/.cache/snowflake/ocsp_response_cache.json\n" func="gosnowflake.(*defaultLogger).Infof" file="log.go:104"

time="2022-01-05T05:07:02Z" level=error msg="failed to open. Ignored. open /root/.cache/snowflake/ocsp_response_cache.json: no such file or directory\n" func="gosnowflake.(*defaultLogger).Errorf" file="log.go:120"

[Jan  5 05:07:02][ERROR] Unable to start webserver: exit status 1

[Jan  5 05:07:03] Closing down InfluxDB

Cleaning up...

[Jan  5 05:07:03] InfluxDB Stopped

[Jan  5 05:07:03] InfluxDB failing to run for more than 60s. Check the influxdb.log[.prev|.old] files for details


Sounds like I will have to create another Jira ticket for that...

I first updated my existing container and the new one did not start.
I then created a new one while mapping the previous Data directory and again, does not even start.
Just tried to start it without any mounted volume and I still have the error message but at least. the container did start.

I will have to do more debug about that one but clearly not a straight direct upgrade.
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
Hey @Basil Hendroff,

You can add bug TC-1913 to your list if you wish...
 
Top