Bug 1786718 - [Upgrade] After upgrade from 6.6 to 6.7 hammer ping command failed
Summary: [Upgrade] After upgrade from 6.6 to 6.7 hammer ping command failed
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Satellite Maintain
Version: 6.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.7.0
Assignee: Kavita
QA Contact: Jameer Pathan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-27 13:09 UTC by Kavita
Modified: 2023-12-15 17:08 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-28 09:55:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 28579 0 Normal Closed [Upgrade] After upgrade from 6.6 to latest hammer ping command failed 2021-01-11 16:23:14 UTC

Description Kavita 2019-12-27 13:09:31 UTC
Description of problem:
After upgrade from 6.6 to 6.7 hammer ping command failed.

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

How reproducible:
always.

Steps to Reproduce:
1. After Upgrade from 6.6 to 6.7 hammer command gets failed with below error

# hammer ping
Error: The server does not support such operation.

Actual results:
Hammer command execution get failed

Expected results:
Hammer command should be successfully executed

Additional info:

Comment 4 Bryan Kearney 2019-12-27 15:01:25 UTC
Upstream bug assigned to kgaikwad

Comment 5 Bryan Kearney 2019-12-27 15:01:27 UTC
Upstream bug assigned to kgaikwad

Comment 6 Mike McCune 2020-01-14 20:24:50 UTC
Unable to reproduce this upgrading from 6.6.1 to SNAP8. 


[root@ci-vm-10-0-150-58 ~]# foreman-maintain upgrade run --target-version 6.7 ..
...


Running Procedures after migrating to Satellite 6.7
================================================================================
Start applicable services: 
Starting the following service(s):

rh-mongodb34-mongod, postgresql, qdrouterd, qpidd, squid, pulp_celerybeat, pulp_resource_manager, pulp_streamer, pulp_workers, smart_proxy_dynflow_core, tomcat, dynflowd, httpd, puppetserver, foreman-proxy
| All services started                                                [OK]      
--------------------------------------------------------------------------------
re-enable sync plans: 
/ Total 0 sync plans are now enabled.                                 [OK]      
--------------------------------------------------------------------------------
Remove maintenance_mode chain from iptables:                          [OK]
--------------------------------------------------------------------------------


Running Checks after upgrading to Satellite 6.7
================================================================================
Check for verifying syntax for ISP DHCP configurations:               [SKIPPED]
DHCP feature is not enabled
--------------------------------------------------------------------------------
Check whether all services are running:                               [OK]
--------------------------------------------------------------------------------
Check whether all services are running using the ping call:           [OK]
--------------------------------------------------------------------------------
Check for paused tasks:                                               [OK]
--------------------------------------------------------------------------------
Check to verify no empty CA cert requests exist:                      [OK]
--------------------------------------------------------------------------------
Check whether system is self-registered or not:                       [OK]
--------------------------------------------------------------------------------
Check if only installed assets are present on the system: 
/ Checking for presence of non-original assets...                     [OK]      
--------------------------------------------------------------------------------


--------------------------------------------------------------------------------
Upgrade finished.
[root@ci-vm-10-0-150-58 ~]# rpm -q satellite
satellite-6.7.0-4.beta.el7sat.noarch
[root@ci-vm-10-0-150-58 ~]# hammer ping
database:       
    Status:          ok
    Server Response: Duration: 0ms
candlepin:      
    Status:          ok
    Server Response: Duration: 17ms
candlepin_auth: 
    Status:          ok
    Server Response: Duration: 17ms
pulp:           
    Status:          ok
    Server Response: Duration: 95ms
pulp_auth:      
    Status:          ok
    Server Response: Duration: 31ms
foreman_tasks:  
    Status:          ok
    Server Response: Duration: 4ms

Can you reproduce and if so, share system reproducer information?


Going to move this back ON_QA as this doesn't appear to be happening anymore or not reproducible in dev or in the QE automation for upgrades that I can see.

Comment 7 Kavita 2020-01-17 08:49:01 UTC
Hello Mike,

I have created this BZ when QE reported this issue for automation. 
But Jameer (QE for Foreman-Maintain) confirmed that he is not able to reproduce this scenario. 

@Jameer - Could you please share your observations while testing the latest builds.

Comment 8 Jameer Pathan 2020-01-20 06:20:14 UTC
Hello Kavita,

I was also not able to reproduce this issue.
I upgraded Satellite 6.6.1 to Satellite 6.7 snap 7 and
did hammer ping. Hammer ping command was working before and after satellite upgrade.

Comment 11 Jameer Pathan 2020-01-28 09:55:48 UTC
Unable to reproduce this issue, closing this BZ as WORKSFORME.

Comment 12 Boopathiraj 2020-04-22 16:10:21 UTC
I came across the same issue now.  Looking for a solution

After Upgrade from 6.6 to 6.7 hammer command gets failed with below error

# hammer ping
Error: The server does not support such operation.

Comment 13 Boopathiraj 2020-04-22 16:23:22 UTC
/usr/bin/hammer created

Comment 14 Boopathiraj 2020-04-22 16:24:05 UTC
(In reply to Boopathiraj from comment #13)
> path was missed and solved this issue for now.


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