Project

General

Profile

Actions

Bug #11123

closed

[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 almost 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Foreman Proxy Content
Target version:
Difficulty:
Triaged:
Yes
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.

Actions #1

Updated by The Foreman Bot almost 9 years ago

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

Updated by Stephen Benjamin almost 9 years ago

  • translation missing: en.field_release set to 31
  • Triaged changed from No to Yes
Actions #3

Updated by Anonymous almost 9 years ago

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

Also available in: Atom PDF