Bug 1093094

Summary: phyp - connection hang - seg fault
Product: [Community] Virtualization Tools Reporter: John Wiebalk <wiebjr>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED DEFERRED QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: crobinso, rbalakri, wiebjr
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Mac OS   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-10 18:18:28 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:
Attachments:
Description Flags
Config log from libvirt build
none
connection log from phyp attempts none

Description John Wiebalk 2014-04-30 15:05:16 UTC
Description of problem:
I am attempting to use virsh/libvirt/phyp to connect to one of our hmc's. Connection is accepting password but then hangs, when I press enter or type list and enter it says:

error: no valid connection
error: this function is not supported by the connection driver: virConnectSetKeepAlive

Segmentation fault: 11


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


How reproducible:Everytime I try to connect to any HMC with any user.


Steps to Reproduce:
1. virsh -c phyp://[user]@[hmc]/[managed system]
2. enter password
3. hangs
4. press enter or "list" then enter
5. seg faults

Actual results:


error: no valid connection
error: this function is not supported by the connection driver: virConnectSetKeepAlive

Segmentation fault: 11


Expected results:

opens connection and allows me to list


Additional info:

Comment 1 John Wiebalk 2014-04-30 15:07:56 UTC
Created attachment 891206 [details]
Config log from libvirt build

Here is my build log from ./configure on the libvirt

Comment 2 John Wiebalk 2014-04-30 15:08:34 UTC
Created attachment 891207 [details]
connection log from phyp attempts

Here is the log from my connection attempts using phyp

Comment 3 John Wiebalk 2014-04-30 15:30:47 UTC
I tried it using another managed system (the first one was in standby) here are the results of that:


2014-04-30 15:30:06.963+0000: 18446744073709551615: info : libvirt version: 1.2.4
2014-04-30 15:30:06.963+0000: 18446744073709551615: warning : phypUUIDTable_ReadFile:627 : Unable to read from information from local file.
error: failed to connect to the hypervisor
error: An error occurred, but the cause is unknown

Comment 4 John Wiebalk 2014-04-30 15:39:53 UTC
Heres what's happening on the HMC:

Apr 30 11:36:50 hmcXXXXXXX sshd[5669]:   user *myusername* is type LDAP_USER
Apr 30 11:36:50 hmcXXXXXXX sshd[5669]: pam_unix_session(sshd:session): session opened for user *myusername* by (uid=0)
Apr 30 11:36:50 hmcXXXXXXX sshd[5669]: pam_hsc open session.
Apr 30 11:39:19 hmcXXXXXXX sshd[5669]: pam_unix_session(sshd:session): session closed for user *myusername*


I left virsh hanging for that time period, it wasn't until I hit enter is when it closed the connection and gave my the UUID error.

Comment 5 Cole Robinson 2016-04-10 18:18:28 UTC
Sorry this never received a response. Unfortunately the phyp driver is not materially maintained upstream these days, so unless someone provides a patch I doubt this will be fixed. Closing as DEFERRED since this bug isn't going to accomplish much