Project

General

Profile

Bug #22139

Atomic Host 7.4.2 deployed from Foreman cannot be upgraded out of the box

Added by Marek Hulán 12 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Category:
Templates
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1514013

Description of problem:
When deploying an Atomic Host machine (at least version 7.4.2) from Satellite, the ostree setup is wrong. This means 'atomic host upgrade' throws an error.

Version-Release number of selected component (if applicable):
Satellite 6.2.12, Atomic Host 7.4.2.

How reproducible:

Steps to Reproduce:
1. Install Satellite 6.2.12, sync in the current version of Atomic Host kickstart (which is 7.4.2)
2. install Atomic Host on new machine
3. Log into the new machine, run 'atomic host upgrade'

Actual results:
Error is thrown:
error: /install/ostree: opendir(/install/ostree): No such file or directory

Expected results:
Machine is upgraded without issues.

Additional info:
Problem seems to stem from a change in the way subscription-manager handles ostree setup during deployment, in combination with the kickstart template in Satellite 6.2.12.

Workaround:
As a workaround, it's possible to run the following on the new machine to re-enable upgrades:

ostree remote delete rhel-atomic-host
ostree admin set-origin rhel-atomic-host-ostree https://very_long_satellite_url rhel-atomic-host/7/x86_64/standard

Associated revisions

Revision 0f17c81a (diff)
Added by Lukas Zapletal 2 months ago

Fixes #22139 - resolved atomic ostree conflict

History

#1 Updated by Eric Helms 12 months ago

  • Legacy Backlogs Release (now unused) set to 284
  • Subject changed from Atomic Host 7.4.2 deployed from Satellite 6.2.12 cannot be upgraded out of the box to Atomic Host 7.4.2 deployed from Satellite 6.2.12 cannot be upgraded out of the box

#2 Updated by John Mitsch 9 months ago

  • Legacy Backlogs Release (now unused) changed from 284 to 352

#3 Updated by Lukas Zapletal 7 months ago

  • Category set to Templates
  • Project changed from Katello to Foreman

#4 Updated by The Foreman Bot 7 months ago

  • Assignee set to Lukas Zapletal
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/community-templates/pull/479 added

#5 Updated by Daniel Lobato Garcia 7 months ago

  • Subject changed from Atomic Host 7.4.2 deployed from Satellite 6.2.12 cannot be upgraded out of the box to Atomic Host 7.4.2 deployed from Foreman cannot be upgraded out of the box

#6 Updated by Tomer Brisker 5 months ago

  • Triaged set to No
  • Target version deleted (Katello 3.6.1)

#7 Updated by Michael Moll 2 months ago

  • Fixed in Releases 1.20.0 added

#8 Updated by Anonymous 2 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF