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 1962127 - Host group loses the values of the 'Content View', 'Lifecycle Environment' and 'Content Source' parameters after upgrade to Satellite 6.9.1
Summary: Host group loses the values of the 'Content View', 'Lifecycle Environment' an...
Keywords:
Status: CLOSED DUPLICATE of bug 1958674
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Host Group
Version: 6.9.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Tasos Papaioannou
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-19 11:04 UTC by momran
Modified: 2024-10-01 18:15 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-21 13:34:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 6055471 0 None None None 2021-05-19 11:28:01 UTC

Description momran 2021-05-19 11:04:54 UTC
Description of problem:

Host group loses the values of the 'Content View', 'Lifecycle Environment' and 'Content Source' parameters after upgrade to RH Satellite 6.9.1

If the host group is used for provisioning, the 'hammer host create' command fails if neither '--kickstart-repository REPOSITORY_NAME' nor '--kickstart-repository-id KICKSTART_REPOSITORY_ID' is included in the command. In this case, the 'hammer host create' command aborts with the error "Could not create the host: Medium can't be blank".


Version-Release number of selected component (if applicable):

RH Satellite 6.9.1


How reproducible:

Always


Steps to Reproduce:

1. On Satellite sevrer, set the following parameters for a hostgroup X used for provisioning:
    - Content View
    - Lifecycle Environment
    - Content Source

2. Upgrade RH Satellite server to the 6.9.1 release, following the procedure in the official documentation, or the Red Hat Satellite Upgrade Helper tool.

3. Run the following command against the hostgroup X:
     ~~~
     # hammer hostgroup info --id <hostgroup_id>
     ~~~
   and observe that the following parameters are blank after the upgrade of the Satellite server:
     ~~~
     Content View:
         ID:
         Name:
     Lifecycle Environment:
         ID:
         Name:
     Content Source:
         ID:
         Name:
     ~~~

4. Try to provision a host using the 'hammer host create' command, without using the '--kickstart-repository REPOSITORY_NAME' nor '--kickstart-repository-id KICKSTART_REPOSITORY_ID' options, and observe that the command aborts with the error "Could not create the host: Medium can't be blank".


Actual results:

- The 'Content View', 'Lifecycle Environment' and 'Content Source' parameters of the host group lose their values after upgrading Satellite server to RH Satellite 6.9.1

- The 'hammer host create' command aborts with the error "Could not create the host: Medium can't be blank".


Expected results:

- The 'Content View', 'Lifecycle Environment' and 'Content Source' parameters of the host group retain their values after upgrading Satellite server to RH Satellite 6.9.1

- The 'hammer host create' command completes successfully, and the new host is provisioned.


Additional info:

Provisioning via Satellite's web UI still works after the upgrade.

Comment 1 Kenny Tordeurs 2021-05-21 13:34:12 UTC

*** This bug has been marked as a duplicate of bug 1958674 ***


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