#can´t add new ontap systems to nabox
1 messages · Page 1 of 1 (latest)
no problem if i edit the file /etc/nabox/harvest/harvest.yml and add the new ontap storage manuel. seems like the GUI have a problem.
@red rose
What’s in the logs ?
dc logs -f havrest
after waiting for one hour i canceled the "add new system process" and i saw the new stopped poller. tried to start the poller but that doesn´t work - see logs file.
@fathom kraken Could you share content of file
/harvest-conf/active/rest/9.12.0/custom_node.yaml
@robust ridge you mean this file:
" # less /etc/nabox/harvest/active/rest/9.12.0/custom_node.yaml
plugins:
-ChangeLog
@fathom kraken Yes. Thanks. Rest doesn't support merging of templates. It will overwrite only. In that case , this template isn't correct. Could you try below template as custom_node.yaml
name: Node
query: api/cluster/nodes
object: node
counters:
- ^^name => node
- ^controller.cpu.firmware_release => cpu_firmware_release
- ^controller.failed_fan.message.message => failed_fan_message
- ^controller.failed_power_supply.message.message => failed_power_message
- ^controller.over_temperature => over_temperature
- ^ha.partners.0.name => ha_partner
- ^location
- ^model
- ^serial_number => serial
- ^service_processor.firmware_version => bmc_firmware_version
- ^state
- ^uuid
- ^version.full => version
- controller.failed_fan.count => failed_fan
- controller.failed_power_supply.count => failed_power
- uptime
endpoints:
- query: api/private/cli/node
counters:
- ^^node
- ^health => healthy
- ^max_aggr_size
- ^max_node_vvols => max_vol_num
- ^max_vol_size
- ^vendor
- cpu_busy_time => cpu_busytime
plugins:
- SystemNode
- LabelAgent:
value_to_num:
- new_status healthy true up `0`
join:
- warnings `; ` failed_fan_message,failed_power_message,over_temperature
- ChangeLog
export_options:
instance_keys:
- ha_partner
- node
- serial
instance_labels:
- bmc_firmware_version
- cpu_firmware_release
- healthy
- location
- max_aggr_size
- max_vol_num
- max_vol_size
- model
- partner_healthy
- state
- uptime
- vendor
- version
- warnings
add new system after insert those lines to custom_node.yaml works, but the poller for the new system isn´t running.
Do you see any errors in poller logs?
can i send a support bundle? don´t know how to troubleshoot the poller logs.
Yes, you can share these logs @ ng-harvest-files@netapp.com
please see mail and send me an upload link - thank you
@red rose Could you please share a link to upload support bundle.
So on the NAbox side I guess what's wrong is if the poller fails to start it never returns the error to the user ?
thank you @red rose - upload done
From logs, I see poller panicked error only. Does poller name start with u and ends with 1?
Could you share file /etc/nabox/harvest/active/rest/9.10.0/custom_svm.yaml?
Also /etc/nabox/harvest/active/rest/active/rest/9.12.0/custom_volume.yaml?
I suspect that these files also have same issue as custom_node.yaml we fixed above.
yes, thats right. starts with an u and ends with 1.
`admin@nabox ~ $ less /etc/nabox/harvest/active/rest/9.12.0/custom_volume.yaml
plugins:
- ChangeLog
admin@nabox ~ $ less /etc/nabox/harvest/active/rest/9.10.0/custom_svm.yaml
plugins:
- ChangeLog`
is that problem fixed with version NAbox v4.0.7? if yes, i can update.
These files are not present by default in nabox or harvest. Have you created these?
I'll share correct files if you want to enable ChangeLog plugin
yes, i created:
`/etc/nabox/harvest/active
/rest
/custom.yaml
objects:
SVM: custom_svm.yaml
Volume: custom_volume.yaml
Node: custom_node.yaml
/9.10.0
/custom_svm.yaml
plugins:
- ChangeLog
/9.12.0
/custom_node.yaml
plugins:
- ChangeLog
/custom_volume.yaml
plugins:
- ChangeLog
/zapi
/custom.yaml
objects:
SVM: custom_svm.yaml
Volume: custom_volume.yaml
Node: custom_node.yaml
/cdot
/9.8.0
/custom_svm.yaml
plugins:
- ChangeLog
/custom_node.yaml
plugins:
- ChangeLog
/custom_volume.yaml
plugins:
- ChangeLog`
because i´d like to use changelog.
Please use these files in these places to enable changelog
Once you update the files, Let's restart pollers in nabox.
@robust ridge , can you also share the custom_node.yaml please because i tried to enable changlog on SVM, volume and node.
uploaded alle 3 files to /etc/nabox/harvest/user/rest/ and restart nabox. works now - thank you so much for your support.
last question: do i still have all these settings after the next update of nabox?
Not needed. Nabox upgrade will not touch these files.
i have svm & node data, but still no volume data from the newly added system. the custom_volume.yaml is correct in the 9.12.0 directory?
Yes, For me custom_volume.yaml works fine. We'll have to check logs again to see the problem.
Could you upload support bundle here again?
https://upload.nabox.org/zozy-kego-qybo
@robust ridge , upload done - see nabox-logs-2024-10-23_123318.tgz
thank you so much!
Thanks @fathom kraken . Your custom_volume.yaml has node template in it. That's the reason of no data for volumes. Could you check and fix that?
I'm a fu..... idiot and copied the wrong file 🤦♂️ . everything works now 🤝 .
once again .... thank you so much for your support. i have more than 150 nodes (still growing) and that´s the reason why i need that amazing tool the whole time.
thanks for this discord channel - you all make our life much easier 😍