Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-29300

The change relevant to lifecycle_environment and content_view properties of a host should be part of post-upgrade guide

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • Platform
    • Sat_docs_15_2024, Sat_docs_16_2024
    • No Coverage
    • None

       

      Description of problem:

      Here in https://docs.redhat.com/en/documentation/red_hat_satellite/6.14/html-single/release_notes/index#new-features , we mention that 

       

      As a result of an upcoming Satellite feature, hosts will now be assigned Content Views and lifecycle environments as a single unit instead of separately. Hostgroups will be required to assign both a Content View and a lifecycle environment to a host simultaneously. This ensures that a host cannot have a lifecycle environment without an associated Content View.

       

       

      But we do not document the relevant code\macro changes to access those objects for the host

      Due to this, if someone was using a custom kickstart and then upgrade to 6.14, they will not be able to render the provisioning template due to error 

       

      There was an error rendering the $template_name template. undefined method '#lifecycle_environment' for Host::Managed::Jail (Host::Managed)

       

       

      How reproducible:

      Always 

       

      Is this issue a regression from an earlier version:

      yes but only doc steps missing 

       

      Steps to Reproduce:

      1.

      2.

      3.

      Actual behavior:

      There was an error rendering the $template_name template. undefined method '#lifecycle_environment' for Host::Managed::Jail (Host::Managed)

      Expected behavior:

      No such errors.  In the Post-upgrade steps of 6.14, we should document this i.e. 

      Any presence of 

      @host.lifecycle_environment

       should be replaced with 

      @host.single_lifecycle_environment

       

      Similarly, 

      @host.content_view

       should be replaced with 

      @host.single_content_view

       

      Feel free to re-word the statements as per doc standards. Reference KB https://access.redhat.com/solutions/7052414 

       

      Business Impact / Additional info:

       

              rhn-support-agadhave Akshay Gadhave
              rhn-support-saydas Sayan Das
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: