Skip to content

Commit

Permalink
Fixes #36967 - convert2rhel analyze removes OS from the host
Browse files Browse the repository at this point in the history
Workaround for the issue with 'convert2rhel analyze',
where after the job run, OS is unassigned from the host.

See https://issues.redhat.com/browse/RHELC-1280
  • Loading branch information
stejskalleos authored and ares committed Dec 8, 2023
1 parent b2a8fd6 commit cf18013
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/views/templates/script/convert2rhel_analyze.erb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ export CONVERT2RHEL_DISABLE_TELEMETRY=1

/usr/bin/convert2rhel analyze -y

# Workaround for https://issues.redhat.com/browse/RHELC-1280
subscription-manager facts --update

if grep -q ERROR /var/log/convert2rhel/convert2rhel-pre-conversion.json; then
echo "Error: Some error(s) have been found."
echo "Exiting ..."
Expand Down

0 comments on commit cf18013

Please sign in to comment.