Support Migration Notice: To update migrated JIRA cases click here to open a new case use www.vmware.com/go/sr | vFabric Hyperic 5.7.0 is Now Available

Hyperic HQ

vSphere plugin - Command line discover finds zero servers

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Deferred
  • Affects Version/s: 4.4.0.2, 4.5, 4.6, 4.x Sprint 27
  • Fix Version/s: None
  • Component/s: Plugins
  • Environment:
    Hyperic server 4.6.0-EE-242 on CentOS 5.4 x64 with external MySQL DB
    Hyperic agent 4.6.0-EE-242 on Windows 2008
     - vCenter Server 4.0 running on agent platform
  • Case Links:
    none
  • Regression:
    No

Description

vSphere plugin - Command line discover finds zero servers

Running local command 'C:\sw\hyperic\4.6.0-EE-244\hyperic-hqee-agent-4.6.0.BUILD-SNAPSHOT\bundles\agent-4.6.0.BUILD-SNAPSHOT\pdk\lib>java -jar hq-pdk-4.6.0.BUILD-SNAPSHOT.jar -Dplugins.include=vsphere -m discover -Dlog=debug' results with: 0 servers detected

See attached 'vsphere-discover-cli.log' for full output.

Even specifying -Durl, -Duser and -Dpass (as with remote agents):

java -jar hq-pdk-4.6.0.BUILD-SNAPSHOT.jar -Dplugins.include=vsphere -m discover -Durl=https://[IP]/sdk -Duser=[username] -Dpass=[password] -Dlog=debug

The results have the same output: 0 servers detected.

Expected Result:
Command line discover for vSphere functions correctly and discovers servers

Actual Result:
Command line discover for vSphere result shows 0 servers detected

Steps to Reproduce:

  1. Run command line discover on vSphere server
  2. Note result: 0 servers discovered

Additional Information:
This does not work with 4.5 nor 4.4.0.2 (there is a bug in 4.4.0.2 which requires workaround for CLI to function)

Issue Links

Activity

Frederic Calindas made changes -
Field Original Value New Value
Attachment vsphere-discover-cli.txt [ 36547 ]
Nipuna Bhayani made changes -
Affects Version/s 4.6 [ 10728 ]
Tags P2
Fix Version/s 4.x Sprint 28 [ 11209 ]
Patrick Nguyen made changes -
Assignee Todd Rader [ trader ] Patrick Nguyen [ pnguyen ]
Patrick Nguyen made changes -
Status Open [ 1 ] In Progress [ 3 ]
Patrick Nguyen made changes -
Link This issue Is related to HHQ-4218 [ HHQ-4218 ]
Frederic Calindas made changes -
Description vSphere plugin - Command line discover finds zero servers

Running command 'C:\sw\hyperic\4.6.0-EE-244\hyperic-hqee-agent-4.6.0.BUILD-SNAPSHOT\bundles\agent-4.6.0.BUILD-SNAPSHOT\pdk\lib>java -jar hq-pdk-4.6.0.BUILD-SNAPSHOT.jar -Dplugins.include=vsphere -m discover -Dlog=debug' results with: 0 servers detected

See attached 'vsphere-discover-cli.log' for full output.

Even specifying -Durl, -Dusername and -Dpass results with same output: 0 servers detected.

Expected Result:
Command Line discover functions correctly and discovers server

Actual Result:
Command result shows 0 servers detected

Steps to Reproduce:
# Run command line discover on vSphere server
# Note result: 0 servers discovered
\\

Additional Information:
This worked prior to SSL introduction
vSphere plugin - Command line discover finds zero servers

Running local command 'C:\sw\hyperic\4.6.0-EE-244\hyperic-hqee-agent-4.6.0.BUILD-SNAPSHOT\bundles\agent-4.6.0.BUILD-SNAPSHOT\pdk\lib>java -jar hq-pdk-4.6.0.BUILD-SNAPSHOT.jar -Dplugins.include=vsphere -m discover -Dlog=debug' results with: 0 servers detected

See attached 'vsphere-discover-cli.log' for full output.

Even specifying -Durl, -Duser and -Dpass (as with remote agents):

java -jar hq-pdk-4.6.0.BUILD-SNAPSHOT.jar -Dplugins.include=vsphere -m discover -Durl=https://[IP]/sdk -Duser=[username] -Dpass=[password] -Dlog=debug

The results have the same output: 0 servers detected.

Expected Result:
Command line discover for vSphere functions correctly and discovers servers

Actual Result:
Command line discover for vSphere result shows 0 servers detected

Steps to Reproduce:
# Run command line discover on vSphere server
# Note result: 0 servers discovered
\\

Additional Information:
This does not work with 4.5 nor 4.4.0.2 (there is a bug in 4.4.0.2 which requires workaround for CLI to function)
Regression Yes No
Affects Version/s 4.4.0.2 [ 10714 ]
Tags P2
Fix Version/s 4.x Sprint 28 [ 11209 ]
Affects Version/s 4.5 [ 10615 ]
Patrick Nguyen made changes -
Status In Progress [ 3 ] Open [ 1 ]
Idan Hod made changes -
Resolution Deferred [ 2 ]
Status Open [ 1 ] Closed [ 6 ]

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:
    Last comment:
    40 weeks, 4 days ago