-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Integration not working with TrueNAS running in VM #9
Comments
What is your truenas version? |
Truenas: TrueNAS-12.0-U8 That's after the integration setup :) |
I have the same. |
Yeah for sure - https://pastebin.com/1hNb9WPa Let me know if you need anything else! |
hmm, so it can connect, but randomly gets error from api or cant reach it at all. it is not a problem with API key. here we can see it got correct response. but missing hostname is weird, can you check if that is true?
It would be also good idea to check if vmware cpu and network is not overloaded. No idea how truenas api reacts in such a state. Those http error codes are coming directly from api: Are you using SSL to connect to API and SSL verify? Can you give me more info about your vmware setup? I was doing development and testing on truenas installed directly on server hardware. I can try to setup a virtualized envinroment to see how it behaves. also, you dont have to use pastebin. you can paste it here and encluse in tripple back quotes and it will format nicely. out of my couriosity, how did you found out about this integration? since it is still awaiting approval for HACS, I didnt even annouced it yet. |
I was testing scale in VM and I think you have same problem. |
I think I have a very similar configuration Proxmox with TrueNAS Scale and get Unknown for all entities after a Proxmox restart. TrueNAS-SCALE-22.02.0.1
|
Thanks, try with master. It should work now. |
Thanks for the quick response. I'm not sure what the master is, I am using HACS to manage the integration. I did find there was a 1.0.2 version of the integration, but I'm still getting the same 500 error. |
In HACS, you can choose to install master in version selection. Thats the most easy and preferred method. |
Thanks for that bit of advice about HACS, was always just picking the version that came up in the dialogue. The integration is picking up the data as you suggested. I need to check my other integrations are using master as well. |
I would not recommend to use master unless you need to. Its a development version, so things may go wrong. |
ok, I will only use another branch based on author's advice. strange I have 2 TrueNAS Scale servers on different Proxmox servers. 1 is reporting correctly in HA and one I'm still getting a 500.
|
This is not the same issue. Not sure what it could be tho. |
You're probably right, on the dashboard there is an error with getting the network graph. I also see on the second server some of the graphs aren't collecting information. The issue seems to be mine. |
even network? interesting. |
Confirmed this error 500 behaviour like a bug by ixsystems. Jira ticked opened NAS-115761 |
Hi, Im running Truenas Core in a Proxmox VM, and HA in its own VM. However i am unable to get the data via the integration. I even tried installing the master branch as suggested above, but to no avail. My diagnostics file is attached here. |
diagnostics wont help here. you will need to debug it to see where it fails. |
Sure, this is what my logs say
|
This is not master branch, you need to use it for proxmox until next release. |
I'm sorry, i did not understand. I got the "master branch" via HACS. Have i done something wrong, and what does it have to do with Proxmox? |
not sure, try to remove it and install the integration again |
That seems to have fixed the issue. Thanks. |
I will be closing this one as we have workaround. #12 stays open until TrueNAS fixes the bug |
Seems that the intergration isn't able to get data from Truenas. Have made multiple attempts with multiple API keys and doesn't seem to fetch the data from the application
Version
core-2022.3.7
supervisor-2022.03.5
TrueNAS v1.0.1
TrueNAS (IP) unable to fetch data (500)
TrueNAS (IP) unable to fetch data (401)
TrueNAS (IP) unable to fetch data (no_respose)
TrueNAS (IP) unable to fetch data (no_respose)
TrueNAS (IP) unable to fetch data (no_respose)
The text was updated successfully, but these errors were encountered: