RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 1475633 - rmcpping and ipmiping command in freeipmi package could NOT parse command argument
Summary: rmcpping and ipmiping command in freeipmi package could NOT parse command arg...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: freeipmi
Version: 7.4
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Josef Ridky
QA Contact: Rachel Sibley
URL:
Whiteboard:
Depends On:
Blocks: 1630910 1630919 1660473
TreeView+ depends on / blocked
 
Reported: 2017-07-27 03:50 UTC by if_else
Modified: 2021-06-10 12:41 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-10 09:42:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Fix ipmiping and rmcpping command line parsing (1.46 KB, patch)
2017-07-27 10:24 UTC, Josef Ridky
no flags Details | Diff

Description if_else 2017-07-27 03:50:48 UTC
Description of problem:

rmcpping and ipmiping command in freeipmi package on CentOS7 x86_64 could NOT parse command argument:

    # rmcpping -h
    rmcpping [OPTIONS] destination
      -c   count
      -i   interval in seconds
      -I   interface address or device name
      -t   timeout in seconds
      -v   verbose output
      -s   starting sequence number
      -d   turn on debugging

    # rmcpping -c1 -t1 10.0.0.16
    rmcpping: count argument invalid

    # rmcpping -c 1 -t 1 10.0.0.16
    rmcpping: count argument invalid

    # ipmiping -h
    ipmiping [OPTIONS] destination
      -c   count
      -i   interval in seconds
      -I   interface address or device name
      -t   timeout in seconds
      -v   verbose output
      -r   protocol version
      -s   starting sequence number
      -d   turn on debugging

    # ipmiping -c1 -t1 10.0.0.16
    ipmiping: count argument invalid

    # ipmiping -c 1 -t 1 10.0.0.16
    ipmiping: count argument invalid

CentOS6's rmcpping and ipmiping command worked OK:

    # rmcpping -c1 -t1 10.0.0.16
    rmcpping 10.0.0.16 (10.0.0.16)
    pong timed out: message_tag=234
    --- rmcpping 10.0.0.16 statistics ---
    1 pings transmitted, 0 pongs received in time, 100.0% packet loss

    # ipmiping -c1 -t1 10.0.0.16
    ipmiping 10.0.0.16 (10.0.0.16)
    response timed out: rq_seq=20
    --- ipmiping 10.0.0.16 statistics ---
    1 requests transmitted, 0 responses received in time, 100.0% packet loss

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


CentOS7

    # rpm -q freeipmi
    freeipmi-1.2.9-8.el7.x86_64

CentOS6

    # rpm -q freeipmi
    freeipmi-1.2.1-6.el6_5.x86_64

Comment 2 Josef Ridky 2017-07-27 10:24:25 UTC
Created attachment 1305277 [details]
Fix ipmiping and rmcpping command line parsing

Thank you for taking the time to report this issue to us. We appreciate the feedback and use reports such as this one to guide our efforts at improving our products. That being said, this bug tracking system is not a mechanism for requesting support, and we are not able to guarantee the timeliness or suitability of a resolution.

If this issue is critical or in any way time sensitive, please raise a ticket through the regular Red Hat support channels (for RHEL 7.4) to ensure it receives the proper attention and prioritization to assure a timely resolution. 

For information on how to contact the Red Hat production support team, please visit:
    https://www.redhat.com/support/process/production/#howto

---

Proposed patch solves described problem.

Comment 3 if_else 2017-07-27 12:02:28 UTC
@Josef Ridky

Thanks for your patch.

I have package freeipmi on Fedora Copr with your patch fix this problem :

https://copr.fedorainfracloud.org/coprs/outman/freeipmi/

Comment 4 Josef Ridky 2017-08-29 08:30:03 UTC
This issue has been fixed for next RHEL release RHEL-7.5. 

Due this issue has not been raised through the regular Red Hat support channels and do not have any assigned customer ticket, I am closing it as NEXTRELEASE.

Feel free to reopen this issue in case, you want to fix it for RHEL-7.4. Please provide business justification in such case.

Comment 7 Josef Ridky 2019-01-10 09:42:19 UTC
Due no response has been delivered for longer than year, I am closing this bugzilla as CURRENTRELEASE.


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