Bug 1901983

Summary: candepin_events not running after changing satellite hostname
Product: Red Hat Satellite Reporter: Peter Ondrejka <pondrejk>
Component: satellite-change-hostnameAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Peter Ondrejka <pondrejk>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.9.0CC: jomitsch, jpathan, jturel, mzalewsk
Target Milestone: 6.9.0Keywords: AutomationBlocker, Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-10 23:32:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Peter Ondrejka 2020-11-26 14:32:19 UTC
Description of problem:

candepin_events not running after changing satellite hostname

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

satellite 6.9 snap 3

How reproducible:
always 

Steps to Reproduce:
1. satellite-change-hostname <new-name> -u <name> -p  <pass>
2. wait until complete, then:

hammer ping

database:         
    Status:          ok
    Server Response: Duration: 0ms
candlepin:        
    Status:          ok
    Server Response: Duration: 67ms
candlepin_events: 
    Status:          FAIL
    message:         Not running
    Server Response: Duration: 1ms
candlepin_auth:   
    Status:          ok
    Server Response: Duration: 75ms
katello_events:   
    Status:          ok
    message:         0 Processed, 0 Failed
    Server Response: Duration: 0ms
pulp:             
    Status:          ok
    Server Response: Duration: 113ms
pulp_auth:        
    Status:          ok
    Server Response: Duration: 46ms
foreman_tasks:    
    Status:          ok
    Server Response: Duration: 3ms


only thing candepin_events related in candlepin logs:

/var/log/candlepin/error.log:2020-11-26 12:11:38,003 [thread=localhost-startStop-1] [=, org=, csid=] WARN  org.apache.activemq.artemis.core.server - AMQ222165: No Dead Letter Address configured for queue katello_candlepin_event_monitor.candlepin_events in AddressSettings
/var/log/candlepin/error.log:2020-11-26 12:11:38,004 [thread=localhost-startStop-1] [=, org=, csid=] WARN  org.apache.activemq.artemis.core.server - AMQ222166: No Expiry Address configured for queue katello_candlepin_event_monitor.candlepin_events in AddressSettings


Additional info:

Running "satellite-maintain service restart" doesn't have any impact on the issue

Comment 1 Mirek Długosz 2020-11-26 15:54:59 UTC
Peter,

I believe this is regression (i.e. candlepin was fine after hostname change in Sat 6.8), and our automation caught it. Added keywords to communicate that. Feel free to remove them if that's wrong.

Comment 6 Jonathon Turel 2020-12-10 23:32:27 UTC

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