Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1762651 - [DDF] I always recommend my customers to follow this section, when they ask about how to proceed when updating Operating
Summary: [DDF] I always recommend my customers to follow this section, when they ask a...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Documentation
Version: 6.5.0
Hardware: All
OS: All
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Sergei Petrosian
QA Contact: satellite-doc-list
URL:
Whiteboard:
Depends On: 1759588
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-17 07:46 UTC by Direct Docs Feedback
Modified: 2020-03-04 15:32 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-04 15:32:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Direct Docs Feedback 2019-10-17 07:46:28 UTC
I always recommend my customers to follow this section, when they ask about how to proceed when updating Operating System is required.
As not always a new bugfix-version is available (I guess even the wording minor-version is wrong. Following the guideline from semantic versioning [1], we're talking about bugfix version), a os-update might be necessary.

So I would like to have this section re-phrased to also catch the requirement of updating Satellite from OS-level point of view. 
Instead of doing a `yum update` the customer always should perform the foreman-maintain procedure, which includes the os-upgrade as well.

Thanks

Reported by: rhn-support-sfroemer

https://access.redhat.com/documentation/en-us/red_hat_satellite/6.5/html/upgrading_and_updating_red_hat_satellite/updating_satellite_server_capsule_server_and_content_hosts#annotations:595b7f76-7d51-4bed-9a44-feebda7368c4

Comment 1 Steffen Froemer 2019-10-17 07:47:56 UTC
Forgot the link reference to semantic versioning
  https://semver.org/


Summary

Given a version number MAJOR.MINOR.PATCH, increment the:

    MAJOR version when you make incompatible API changes,
    MINOR version when you add functionality in a backwards compatible manner, and
    PATCH version when you make backwards compatible bug fixes.

Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.

Comment 2 Melanie Corr 2019-10-17 11:09:41 UTC
(In reply to Direct Docs Feedback from comment #0)
> I always recommend my customers to follow this section, when they ask about
> how to proceed when updating Operating System is required.
> As not always a new bugfix-version is available (I guess even the wording
> minor-version is wrong. Following the guideline from semantic versioning
> [1], we're talking about bugfix version), a os-update might be necessary.
> 
> So I would like to have this section re-phrased to also catch the
> requirement of updating Satellite from OS-level point of view. 
> Instead of doing a `yum update` the customer always should perform the
> foreman-maintain procedure, which includes the os-upgrade as well.
> 
> Thanks
> 
> Reported by: rhn-support-sfroemer
> 
> https://access.redhat.com/documentation/en-us/red_hat_satellite/6.5/html/
> upgrading_and_updating_red_hat_satellite/
> updating_satellite_server_capsule_server_and_content_hosts#annotations:
> 595b7f76-7d51-4bed-9a44-feebda7368c4

Hi Steffen, 

Thank you for raising this bug. I would like to ask you for further clarification. We are trying to figure out exactly what needs to be changed here. 

With regards to `yum update`, in the docs, we say to use `yum update` only for Capsule, based on the information about Capsule support for foreman-maintain, which still remains limited. Please see, BZ#1535466 - [RFE] Foreman maintain support for Capsules.


For Satellite, we have used foreman-maintain https://access.redhat.com/documentation/en-us/red_hat_satellite/6.5/html/upgrading_and_updating_red_hat_satellite/updating_satellite_server_capsule_server_and_content_hosts#updating_satellite_server_to_next_minor_version

There is potential here to introduce confusion with changing the language about how we refer to versions. Satellite 6 has been the distinct product name rather than the version. I think that any changes of major, minor, patch, would probably have to come from product management. 

I would appreciate any clarification you can provide. 

Thank you, 

Melanie

Comment 3 Sergei Petrosian 2019-10-17 11:19:02 UTC
1Hi Steffen, 

different upgrade scenarios and the way how we refer to them are described in Chapter 1. Upgrade Overview [2]. There are three scenarios and the following wording:
1) Update your Satellite (to the lastest z-version and after. For example, Satellite 6.5.1 to Satellite 6.5.3 or 6.5.3.0 to Satellite 6.5.3.1.
2) Upgrade Satellite to the next y-version. For example Satellite 6.4 to Satellite 6.5.
3) Migrate Satellite to the next x-version. For example 5 to Satellite 6. 

Each of this upgrade/update includes updating the OS too.

[2] https://access.redhat.com/documentation/en-us/red_hat_satellite/6.5/html/upgrading_and_updating_red_hat_satellite/upgrading_process_overview#upgrading_prerequisites

Thank you

Comment 4 Steffen Froemer 2019-10-22 11:00:20 UTC
Hi,

what I would like to have covered in the update-documentation, is a scenario, where RHEL-updates are available, but no newer z-stream packages for satellite itself.
It's a scenario, where you might install a security patch or something like that. In general a customer might to use `yum update` in this case.

But as already written, I would like to avoid that and would like to push customers to use `foreman-maintain` command even when there is _no_ satellite update available.
But exactly this scenario is not covered in documentation. 

Something like "In any case of update, a customer would like to install on satellite, he has to use foreman-maintain command, which will cover the os-updates as well"

Does it make more sense now?

Comment 5 Sergei Petrosian 2019-10-22 11:41:51 UTC
The scenario to update the Satellite base operating system is now considered in BZ#1759588. It should be performed by either running `foreman-maintain packages update \\*` or `foreman-maintain upgrade`.Any decision made will be revealed in future comments on BZ#1759588. We can update our documentation accordingly when the decision is made.

Comment 6 Sergei Petrosian 2019-12-10 10:57:59 UTC
Hi Martin,

there is a request from customers to have a procedure that describes how to update the os where Satellite is installed without updating the Satellite itself. Do we support such a configuration?

BZ#1759588 mentions entering the `satellite-maintain packages update \\*` command to update all packages, this is something that can cause errors in Satellite itself.
Should this be done via `satellite-maintain upgrade run --target-version 6.6.z` instead?

Thank you

Comment 7 Sergei Petrosian 2020-03-04 15:32:37 UTC
In 6.6, updating all packages via satellite-maintain packages is not supported.

In 6.7, as per BZ#1759588, the output of the satellite-maintain packages update has the following warning:
~~~~
WARNING: No specific packages to update were provided
so we are going to update all available packages.
It is recommended to update everything only as part of upgrade
of the Satellite to the next version. 
To Upgrade to next version use 'foreman-maintain upgrade'
~~~~

We recommend updating all packages on the base OS of Satellite only as part of the Satellite update. Hence, if required to update packages, update Satellite Server via `satellite-maintain upgrade`.

Feel free to re-open this bug if you have any further concerns.

Thank you


Note You need to log in before you can comment on or make changes to this bug.