Absent Member.. JasonCantrell Absent Member..
Absent Member..
58 views

[OO Tip] SSH using logon/shell/logoff operators ignore "sessionId"

Issue:

It is expected that a Secure Shell (SSH) session using logon/shell/logoff operators should use the sessionId passed from the subflows in later versions of OO 10.01, 10.01.001 similarly to how it was handled in 9.00.

Using Operations Orchestration (OO) 10.00 the following flow design works:

  1. Main flow starts a subflow to create an SSH session (operation: SSH Logon found at "/Library/Operations/Remote Command Execution/SSH")
  2. Main flow gets the sessionId output from the subflow (SSH Shell found at "/Library/Operations/Remote Command Execution/SSH")
  3. Main flow starts a subflow to execute a command via the SSH session, passing along sessionId
  4. Main flow starts a subflow to logoff from the SSH session (SSH Logoff found at "/Library/Operations/Remote Command Execution/SSH")

After applying the 10.01 patch, this does not work anymore. It turns out that a SSH session using logon/shell/logoff operators only works in a single flow, it's not passed through from and to subflows.  However, while the actual input is populated with the correct value, the sessionId is ignored.

Additionally the patch 10.01.001 shows the same behavior as 10.01.

 

Solution:

The Session ID is not ignored, however the session context itself is not shared between parent flows and subflows. This is done intentionally, for backwards compatibility with version 9.00.

In OO version 10.00, the behavior was different from 9.00, and therefore was changed in 10.01 by design.

 

The reference document can be found here:

http://support.openview.hp.com/selfsolve/document/KM00830146

HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Labels (2)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.