B&R: Error trying to find files using wildcards
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Hugo Nicodemos Brito |
Bug Description
Brief Description
-----------------
Some tasks use wildcards to extract files when performing the restore-platform playbook but without the --wildcards parameter the command break.
Severity
--------
<Minor: System/Feature is usable with minor issue>
Steps to Reproduce
------------------
Run restore-platform playbook
Expected Behavior
------------------
restore-platform playbook runs completely.
Actual Behavior
----------------
restore-platform breaks not finding the archive with wildcards in command.
Reproducibility
---------------
<Reproducible>
100% reproducible
System Configuration
-------
<One node system, Two node system, Multi-node system, Dedicated storage, https, IPv4, IPv6 etc.>
Branch/Pull Time/Commit
-------
Master
Last Pass
---------
N/A
Timestamp/Logs
--------------
TASK [bootstrap/
Tuesday 28 June 2022 10:08:50 +0000 (0:00:00.019) 0:00:53.973 **********
fatal: [localhost]: FAILED! => changed=true
cmd:
- tar
- -C
- /tmp/hieradata
- -xpf
- /scratch/
- --transform=s,.*/,,
- opt/platform/
delta: '0:00:00.111843'
end: '2022-06-28 10:08:50.581397'
msg: non-zero return code
rc: 2
start: '2022-06-28 10:08:50.469554'
stderr: |-
tar: Pattern matching characters used in file names
tar: Use --wildcards to enable pattern matching, or --no-wildcards to suppress this warning
tar: opt/platform/
tar: Exiting with failure status due to previous errors
stderr_lines: <omitted>
stdout: ''
stdout_lines: <omitted>
Test Activity
-------------
Backup and Restore
Workaround
----------
N/A
Changed in starlingx: | |
assignee: | nobody → Hugo Nicodemos Brito (hbrito) |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.7.0 |
Fix proposed to branch: master /review. opendev. org/c/starlingx /ansible- playbooks/ +/848038
Review: https:/