#can´t add new ontap systems to nabox

1 messages · Page 1 of 1 (latest)

fathom kraken
#

hello, is there a problem adding new ontap systems to nabox version NAbox v4.0.5 (ef25d0a), Harvest 24.08.0, Grafana 11.1.4, Victoria Metrics 2.24.0?

if i add a new system i only see the circle running and running.

fathom kraken
#

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.

robust ridge
#

@red rose

red rose
#

What’s in the logs ?
dc logs -f havrest

fathom kraken
fathom kraken
#

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.

robust ridge
#

@fathom kraken Could you share content of file
/harvest-conf/active/rest/9.12.0/custom_node.yaml

fathom kraken
#

@robust ridge you mean this file:
" # less /etc/nabox/harvest/active/rest/9.12.0/custom_node.yaml
plugins:
-ChangeLog

robust ridge
#

@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
fathom kraken
#

add new system after insert those lines to custom_node.yaml works, but the poller for the new system isn´t running.

robust ridge
#

Do you see any errors in poller logs?

fathom kraken
#

can i send a support bundle? don´t know how to troubleshoot the poller logs.

robust ridge
fathom kraken
#

please see mail and send me an upload link - thank you

robust ridge
#

@red rose Could you please share a link to upload support bundle.

red rose
#

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 ?

fathom kraken
#

thank you @red rose - upload done

robust ridge
#

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.

fathom kraken
#

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.

robust ridge
#

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

fathom kraken
#

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.

robust ridge
#

Once you update the files, Let's restart pollers in nabox.

fathom kraken
#

@robust ridge , can you also share the custom_node.yaml please because i tried to enable changlog on SVM, volume and node.

robust ridge
fathom kraken
#

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?

robust ridge
#

Not needed. Nabox upgrade will not touch these files.

fathom kraken
#

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?

robust ridge
#

Yes, For me custom_volume.yaml works fine. We'll have to check logs again to see the problem.

fathom kraken
#

@robust ridge , upload done - see nabox-logs-2024-10-23_123318.tgz
thank you so much!

robust ridge
#

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?

fathom kraken
#

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 😍