Project

General

Profile

Bug #11123

[upgrade] Could not find Content Host with exact name <capsule_fqdn> (Katello::Errors::CapsuleContentMissingConsumer): On synchronising contents from upgraded sat6 to upgraded capsule

Added by Stephen Benjamin about 6 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Foreman Proxy Content
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1228165
Description of problem:
I was trying upgrade from sat6.0.8 to sat6.1 snap7. I successfully upgraded capsule and satellite server.

But when I ran following command on satellite 6.1 server to re-sync contents on capsule, I got:

[root@sat6-qe-rhel66 ~]# hammer -u admin -p changeme capsule content synchronize --id=2
Could not synchronize capsule content:
Could not find Content Host with exact name 'sat6-capsule-rhel66.usersys.redhat.com', verify the Capsule is registered with that name.

[root@sat6-qe-rhel66 ~]# hammer u admin -p changeme capsule list
---|----------------------------------------|---------------------------------------------------

ID | NAME | URL
---|----------------------------------------|----------------------------------------------------
2 | sat6-capsule-rhel66.usersys.redhat.com | https://sat6-capsule-rhel66.usersys.redhat.com:9090
1 | sat6-qe-rhel66.usersys.redhat.com | https://sat6-qe-rhel66.usersys.redhat.com:9090
---|----------------------------------------|----------------------------------------------------

[root@sat6-qe-rhel66 ~]# hammer -u admin -p changeme ping
candlepin:
Status: ok
Server Response: Duration: 21ms
candlepin_auth:
Status: ok
Server Response: Duration: 28ms
pulp:
Status: ok
Server Response: Duration: 27ms
pulp_auth:
Status: ok
Server Response: Duration: 29ms
elasticsearch:
Status: ok
Server Response: Duration: 41ms
foreman_tasks:
Status: ok
Server Response: Duration: 0ms

[root@sat6-qe-rhel66 ~]# hammer u admin -p changeme organization list
---|----------------------|----------------------|-----------

ID | NAME | LABEL | DESCRIPTION
---|----------------------|----------------------|------------
1 | Default_Organization | Default_Organization |
---|----------------------|----------------------|------------

Version-Release number of selected component (if applicable):
upgrade sat6.0.8 -> sat6.1 snap7

How reproducible:
always

Steps to Reproduce:
1. upgrade sat6.0.8 server to sat6.1 GA snap7
2. upgrade sat6.0.8 capsule to sat6.1 capsule
3. sync contents from sat6.1 server to capsule

Actual results:

Expected results:

Additional info:
I've updated the /etc/hosts file with ip and hostnames.. I can ping capsule node from sat6 via hostname and vice-versa.

Associated revisions

Revision 0bc31483 (diff)
Added by Stephen Benjamin about 6 years ago

fixes #11123 - actually assign content_host to capsule

Revision 1cd47f5b
Added by Stephen Benjamin about 6 years ago

Merge pull request #5356 from stbenjam/11123

fixes #11123 - actually assign content_host to capsule

History

#1 Updated by The Foreman Bot about 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5356 added
  • Pull request deleted ()

#2 Updated by Stephen Benjamin about 6 years ago

  • Legacy Backlogs Release (now unused) set to 31
  • Triaged changed from No to Yes

#3 Updated by Anonymous about 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF