Skip to content

Changes in /opt/harvest/conf/zapiperf/cdot/9.8.0/volume.yaml file was overwritten during harvest upgrade #309

Description

@madhusudhanarya

Describe the bug
We have made few custom changes to /opt/harvest/conf/zapiperf/cdot/9.8.0/volume.yaml file. During harvest upgrade, this changes have been overwriiten.

Harvest version: harvest version 21.05.3-2 (commit b482aff) (build date 2021-06-28T21:08:05+0530) linux/amd64
Command line arguments used: harvest start clus01
OS: CentOS Linux release 7.9.2009 (Core)
Install method: YUM
ONTAP Version: 9.8P4

To Reproduce
Make some changes to volume.yaml file and run harvest update

Expected behavior
Config files should not be overwritten during the upgrade.

Actual behavior
Custom changes made to the volume.yaml file was overwritten

Possible solution, workaround, fix
Make a copy of the production file and diff it against the default one in the RPM. If there are any changes, copy the production file to another location and ask customer to check and copy back his file to required path

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions