Bug 1093094 - phyp - connection hang - seg fault
Summary: phyp - connection hang - seg fault
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: All
OS: Mac OS
unspecified
medium
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-30 15:05 UTC by John Wiebalk
Modified: 2016-04-10 18:18 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-04-10 18:18:28 UTC
Embargoed:


Attachments (Terms of Use)
Config log from libvirt build (2.52 MB, text/plain)
2014-04-30 15:07 UTC, John Wiebalk
no flags Details
connection log from phyp attempts (680 bytes, text/plain)
2014-04-30 15:08 UTC, John Wiebalk
no flags Details

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


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