#ChangeLog plugin

1 messages · Page 1 of 1 (latest)

dapper tulip
#

I am trying to use the ChangeLog plugin. But it does not seem to be working. Saw this in the logs
2023-11-27T16:30:55Z WRN changelog/change_log.go:157 > missing uuid. ChangeLog is not supported Poller=flc1-lab-lon-storage key=ec01f533-3c1e-11ee-bd68-00a098e3a067 object=volume plugin=Rest:ChangeLog
Our Haverst version is 23.11.0 and Ontap is 10.1.9P14
Thanks!

mossy dawn
#

hi @dapper tulip can you share which template and line number you uncommented? When I uncomment line 108 in conf/rest/9.12.0/volume.yaml I don't see any warnings about missing uuids

dapper tulip
mossy dawn
#

thanks! the shape of your template is quite different than the out of the box one. Would it be possible to clone conf/rest/9.12.0/volume.yaml and apply your changes to the clone? At a minimum, your template will need to use uuid instead of instance_uuid

dapper tulip
#

will do and keep you posted

dapper tulip
#

updated volume template but got this error

│ ield \"fields\" (<field,...>), Code: 262197, Target: fields, API: /api/private/cli/volume?fields=clone_parent_name%2Cphysical_used_percent%2Cused%2Coverwrite_reserve_used%2Cp │
│ ercent_used%2Csnapshot_reserve_available%2Cis_encrypted%2Csnapshot_count%2Csize_available_for_snapshots%2Clogical_used_by_afs%2Clogical_used_percent%2Csize%2Ctotal%2Cvserver% │
│ 2Csnaplock_type%2Cphysical_used%2Cstate%2Cvolume_style_extended%2Cfiles_used%2Clogical_used_by_snapshots%2Cclone_parent_vserver%2Cclone_volume%2Csis_space_saved%2Csize_used_b │
│ y_snapshots%2Caggr_list%2Cautosize_grow_threshold_percent%2Cuuid%2Cexpected_available%2Clogical_used%2Cmax_autosize%2Csis_space_saved_percent%2Cjunction_path%2Cvolume%2Csnaps │
│ hot_policy%2Cpercent_snapshot_space%2Cvsroot%2Cavailable%2Ccompression_space_saved_percent%2Cdedupe_space_saved%2Cfiles%2Csnapshot_space_used%2Cnodes%2Cdedupe_space_saved_per │
│ cent%2Ctype%2Cis_sis_volume%2Ccompression_space_saved%2Cautosize.mode%2Csnapshot_reserve_size%2Cfilesystem_size%2Coverwrite_reserve&is_constituent=%2A&return_records=true" Po │
│ ller=flc1-noprod-ash-storage collector=Rest:Volume task=data```
mossy dawn
#

junction_path is already included in the template - line 18 and 140 in the file you sent. The error implies that autosize.mode is the wrong CLI arg. Let me check what that should be

#

using the CLI's command completion I see this

#

try changing your template from autosize.mode to autosize_mode

dapper tulip
#

will do

dapper tulip
#

It's working now! Thanks!

mossy dawn
#

thanks for letting us know

dapper tulip
#

Hi @mossy dawn, is it possible to monitori volume size change with ChangeLog plugin? Such as auto grow/shrink?

slim lotus
dapper tulip