Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

P.C. create_instance logs list fix #19285

Merged
merged 1 commit into from May 11, 2024

Conversation

m-dati
Copy link
Contributor

@m-dati m-dati commented May 10, 2024

During logs upload in create_instance, the ssh ls check returns the 'list of file to upload' with an unexpected '\t' in place of space separator, causing names fusion in the tar command, then error. See i.e. job 14271031.

After attempts to purify the spaces of the string representing the file-list, the better stable and successful solution resulted to convert filenames in array then join members in the tar command.

lib/publiccloud/instance.pm Outdated Show resolved Hide resolved
lib/publiccloud/instance.pm Outdated Show resolved Hide resolved
lib/publiccloud/instance.pm Show resolved Hide resolved
lib/publiccloud/instance.pm Show resolved Hide resolved
@ricardobranco777 ricardobranco777 merged commit 3849607 into os-autoinst:master May 11, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants