Red Hat Satellite engineering is moving the tracking of its product development work on Satellite 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 "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. 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 "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-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 2090963 - Libvirt compute resource creation failing with error Call to virNodeGetInfo failed: Cannot write data: Broken pipe on Red Hat Satellite
Summary: Libvirt compute resource creation failing with error Call to virNodeGetInfo f...
Keywords:
Status: CLOSED DUPLICATE of bug 1980166
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Compute Resources - libvirt
Version: 6.10.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Lukáš Hellebrandt
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-27 06:09 UTC by Yogendra
Modified: 2022-06-23 10:23 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-23 10:23:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Yogendra 2022-05-27 06:09:51 UTC
Description of problem:

Creating Libvirt compute resource on Red Hat Satellite is failing with below error.

Oops, we're sorry but something went wrong ERF42-5864 [Foreman::Exception]: Unable to connect to libvirt due to: Call to virNodeGetInfo failed: Cannot write data: Broken pipe. Please make sure your libvirt compute resource is reachable and that you have appropriate access permissions.

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

6.10.3

How reproducible:

Only on Customer Red Hat Satellite.

Steps to Reproduce:
1.Create Libvirt compute resource on Satellite Web UI
2.Test connection working but when submit is clicked getting above mentioned error. 
3. Also on Red Hat Satellite server and KVM server below hung process is present.

Actual results:

1) Compute resource is not created and failing with mentioned error.
2) Below hung process is present on Red Hat Satellite and KVM.

Red Hat Satellite:

 # ps -ef | grep nc
    foreman   1228 25857  0 09:11 ?        00:00:00 ssh -l root -- kvm.server.fqdn sh -c 'if 'nc' -q 2>&1 | grep "requires an argument" >/dev/null 2>&1; then ARG=-q0;else ARG=;fi;'nc' $ARG -U /var/run/libvirt/libvirt-sock'
    foreman   1372 25830  0 09:12 ?        00:00:00 ssh -l root -- kvm.server.fqdn sh -c 'if 'nc' -q 2>&1 | grep "requires an argument" >/dev/null 2>&1; then ARG=-q0;else ARG=;fi;'nc' $ARG -U /var/run/libvirt/libvirt-sock'
    foreman   1569 25857  0 09:13 ?        00:00:00 ssh -l root -- kvm.server.fqdn sh -c 'if 'nc' -q 2>&1 | grep "requires an argument" >/dev/null 2>&1; then ARG=-q0;else ARG=;fi;'nc' $ARG -U /var/run/libvirt/libvirt-sock'

KVM :

# ps -ef | grep nc
    root       13670   13669  0 08:55 ?        00:00:00 sh -c if nc -q 2>&1 | grep "requires an argument" >/dev/null 2>&1; then ARG=-q0;else ARG=;fi;nc $ARG -U /var/run/libvirt/libvirt-sock
    root       13781   13780  0 08:56 ?        00:00:00 sh -c if nc -q 2>&1 | grep "requires an argument" >/dev/null 2>&1; then ARG=-q0;else ARG=;fi;nc $ARG -U /var/run/libvirt/libvirt-sock
    root       13822   13821  0 08:56 ?        00:00:00 sh -c if nc -q 2>&1 | grep "requires an argument" >/dev/null 2>&1; then ARG=-q0;else ARG=;fi;nc $ARG -U /var/run/libvirt/libvirt-sock


Expected results:

Compute resource need to be created successfully.


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