Bug #22139
closedAtomic Host 7.4.2 deployed from Foreman cannot be upgraded out of the box
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
Updated by Eric Helms over 6 years 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 Satellite 6.2.12 cannot be upgraded out of the box
- Translation missing: en.field_release set to 284
Updated by John Mitsch over 6 years ago
- Translation missing: en.field_release changed from 284 to 352
Updated by Lukas Zapletal over 6 years ago
- Project changed from Katello to Foreman
- Category set to Templates
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Assignee set to Lukas Zapletal
- Pull request https://github.com/theforeman/community-templates/pull/479 added
Updated by Daniel Lobato Garcia over 6 years 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
Updated by Tomer Brisker about 6 years ago
- Target version deleted (
Katello 3.6.1) - Triaged set to No
Updated by Anonymous almost 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset community-templates|0f17c81a471f459b754a6e226c94868248ede98c.