"exclude_dirs" option is not excluding a directory from the CC backup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Joseph Vazhappilly |
Bug Description
Brief Description
-----------------
When performing a backup for the Central Controller the current behavior generates a backup with platform configurations, the data within "/opt/dc-vault/" directory, and optionally the container images exists in the local registry.
There is an option within the backup playbook (exclude_dirs) that should exclude a specific directory from the backup. However, this option is not working properly, and it didn't excluding the subcloud backups directory we are trying to exclude "/opt/dc-vault/**".
Severity
--------
<Major: System/Feature is usable but degraded>
Steps to Reproduce
------------------
Perform a backup on the CC with an option that exclude /opt/dc-vault/ directory and its contents
ansible-playbook /usr/share/
Expected Behavior
------------------
The "/opt/dc-vault/" directory and all its contents should be excluded from the CC backup archives, when we use the "exclude_dirs" option.
Actual Behavior
----------------
The "/opt/dc-vault/" directory and all its contents is included by default in the CC backup, even if we use the "exclude_dirs" option.
Reproducibility
---------------
100%
System Configuration
-------
Multi-node system (DC)
Branch/Pull Time/Commit
-------
master
Last Pass
---------
NA
Timestamp/Logs
--------------
NA
Test Activity
-------------
Developer Testing
Workaround
----------
NA
Changed in starlingx: | |
assignee: | nobody → Joseph Vazhappilly (jvazhapp) |
importance: | Undecided → Medium |
tags: | added: stx.9.0 stx.distcloud stx.update |
Fix proposed to branch: master /review. opendev. org/c/starlingx /ansible- playbooks/ +/898738
Review: https:/