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 1369266 - upgrade fails on update_subscription_facet_backend_data with validation failed: Name has already been taken
Summary: upgrade fails on update_subscription_facet_backend_data with validation faile...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Upgrades
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: Sat6_Upgrades
TreeView+ depends on / blocked
 
Reported: 2016-08-22 21:58 UTC by Kathryn Dixon
Modified: 2021-06-10 11:28 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-14 15:54:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Kathryn Dixon 2016-08-22 21:58:22 UTC
Created attachment 1193096 [details]
subsription_facet_upgrade log

Description of problem:

After successful upgrade to 6.2.1 and now running upgrade to grab

https://access.redhat.com/errata/RHBA-2016:1643

Failing with

[ INFO 2016-08-22 15:17:42 main] Upgrade Step: update_subscription_facet_backend_data (this may take a while) ...
[DEBUG 2016-08-22 15:28:14 main] ***********************************
*************WARNING***************
Errors detected during upgrade step.
Details saved to: /tmp/subscription_facet_upgrade-1471897693.log
This step can be rerun with:
  foreman-rake katello:upgrades:3.0:update_subscription_facet_backend_data
You are likely encountering a bug.
***********************************
Updating backend data for subscription facets

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


How reproducible: 100% on customers system


Steps to Reproduce:
1. Upgrade to 6.2.1
2. yum update
3. satellite-installer --upgrade to grab new errata

Actual results:

upgrade completes with success except

[ INFO 2016-08-22 15:17:42 main] Upgrade Step: update_subscription_facet_backend_data (this may take a while) ...
[DEBUG 2016-08-22 15:28:14 main] ***********************************
*************WARNING***************
Errors detected during upgrade step.
Details saved to: /tmp/subscription_facet_upgrade-1471897693.log
This step can be rerun with:
  foreman-rake katello:upgrades:3.0:update_subscription_facet_backend_data
You are likely encountering a bug.
***********************************
Updating backend data for subscription facets


Expected results: success in all parts of upgrade


Additional info: attaching logs

Comment 3 Justin Sherrill 2016-08-23 20:39:06 UTC
It looks like hosts with Ids 368 and 355 have the same name, but one has an uppercase letter.  Since this task supposedly passed previously, it tells me maybe that one of these is new.


Could you run the following and provide the output:



curl -X GET -u admin:password https://hostname/api/v2/hosts/368

curl -X GET -u admin:password https://hostname/api/v2/hosts/355


replacing hostname with the satellite's hostname, admin with an admin user, and password with that user's password.

Comment 9 Bryan Kearney 2017-09-14 15:54:39 UTC
Closing this out as we have not been able to reproduce it. If you have additional reproducers, please feel free to re-open.


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