Project

General

Profile

Actions

action #89993

closed

OSD deployment rollback failed finding "before" and "osd_deployment_rpm_q" files

Added by okurz about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
Start date:
2021-03-12
Due date:
2021-04-13
% Done:

0%

Estimated time:

Description

Observation

https://gitlab.suse.de/openqa/osd-deployment/-/jobs/359422

$ ssh $TARGET \ # collapsed multi-line command
cat: before: No such file or directory
+++ cat osd-deployment_rpm_q
cat: osd-deployment_rpm_q: No such file or directory
+++ paste -sd,
++ ssh openqa.suse.de 'set -x; cd /tmp &&      test -e /tmp/before &&      sudo zypper -n --no-refresh in --oldpackage $(eval "ls /var/cache/zypp/packages/*/*/{}* | paste -sd'\'' '\''") &&      sudo salt -C '\''G@roles:worker'\'' cmd.run '\''zypper -n --no-refresh in --oldpackage $(eval "ls /var/cache/zypp/packages/*/*/{}* | paste -sd'\'' '\''")'\'''
Warning: Permanently added the ECDSA host key for IP address '10.160.0.207' to the list of known hosts.
+ cd /tmp
+ test -e /tmp/before
++ eval 'ls /var/cache/zypp/packages/*/*/{}* | paste -sd'\'' '\'''
+++ paste '-sd '
+++ ls '/var/cache/zypp/packages/*/*/{}*'
ls: cannot access '/var/cache/zypp/packages/*/*/{}*': No such file or directory
+ sudo zypper -n --no-refresh in --oldpackage
install (in) [OPTIONS] <CAPABILITY|RPM_FILE_URI> ...
Install packages with specified capabilities or RPM files with specified location. A capability is
NAME[.ARCH][OP<VERSION>], where OP is one of <, <=, =, >=, >.
  Command options:
-t, --type <TYPE>           Type of package (package, patch, pattern, product).
Actions

Also available in: Atom PDF