2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-08-05 10:17:49 +00:00
Commit Graph

17 Commits

Author SHA1 Message Date
Vinícius Ferrão 4d8d5539b4 fix(pasu): filter more OneCLI status banner lines from command output
pasu strips OneCLI's banner and status lines so only the requested settings are
shown, but OneCLI has grown several status lines over the years that were not
filtered and leaked into the output. Add the missing patterns.

Recovered from the unmerged lenovobuild branch (229533cb, a6932bb4), which added
"Connected to BMC at IP address" (master only matched "by"), "Succeed in running
the command:" and "start to convert cmd.". Extended after testing a current
OneCLI 5.3.0 on a Lenovo ThinkSystem SR635, which also emits "Start to connect
...", "Connected to the node(N) by KCS" and a trailing "Succeed." -- now
filtered too.

Validated by running a real OneCLI 5.3.0 "config show" through the filter:
every banner/footer line is removed and all 756 setting lines pass unchanged.

Co-authored-by: Jarrod Johnson <10814490+jjohnson42@users.noreply.github.com>
2026-07-25 21:41:23 -03:00
Jarrod Johnson 489ee67c6a Oneclipasu (#4020)
* Filter out extraneous output of OneCli

* Remove extraneous content from pasu

* Update pasu filtering

* Fix recognizing success to filter

* Update for new Lenovo OneCLI rpm

The new packaging offers up iflash64 and asu in a consistent
location.

* Workaround different IPv6 syntax for asu/onecli

* Filter out header of new version of OneCLI

* Filter out the Invoking SET command output of onecli
2017-09-27 20:32:17 -05:00
Mark Gurevich fb911143fe perltidy all perl files, part 2 2016-07-21 13:27:40 -04:00
wangxiaopeng ca7c9ad69a issue 1171: set SSL_verifycn_scheme => none for IO::Socket::SSL->new 2016-06-22 10:04:04 -04:00
bybai c118070d7b pasu/psh/pscp Connection failure in sles11.4,error info in rh7.1 2015-11-26 06:05:33 -05:00
Jarrod Johnson 78cd80b9d3 Remove never applicable '-n' from pasu/piflash usage
Usage output referenced -n option which doesn't actually exist
2015-06-26 16:42:51 -04:00
jjohnson2 1ea9b98f0a Remove '-n' from pasu/piflash
Since '-n' can't work for pasu/piflash context, remove the option.
2015-06-04 10:42:54 -04:00
Jarrod Johnson 21a1a1b1bd Fix piflash invocation
iflash64 requires --unattended to behave properly.  Inject that
into the $::utilcmd to provide correct function.
2015-05-27 15:51:34 -04:00
jjohnson2 c9dd5b6aed Fix issue with using getipmicons for pasu/piflash
getipmicons structures the data differently from getNodesAttribs.
Accomodate by merging each responses data in node by node rather
than simply overwriting with the last data.
2015-05-18 15:20:18 -04:00
jjohnson2 4b426bad0b Make pasu/piflash consistent with other hardware credential lookup
Previously, pasu/piflash went to some trouble to hit common cases.
Switch to a method that uses the common target lookup code as
rpower/reventlog/etc to be consistent.
2015-05-13 14:48:59 -04:00
jjohnson2 3ba09c4157 Implement piflash
pasu can be slightly changed and frontend iflash.  Have pasu change
to use the command name to modify behavior.
2015-05-13 10:19:43 -04:00
jjohnson2 d123aab564 Fix lenovo utility usage of pasu
Lenovo uses the same asu utility, but a different path.  Try to
use the lenovo utility, falling back to the IBM location if
not found.
2015-05-08 10:53:18 -04:00
jjohnson2 3cc5e0cdf4 Fix asu handling of exotic characters
Exotic characters that may be interpreted by shell
are now quoted to prevent any interpolation.
2015-03-26 15:52:44 -04:00
Jarrod Johnson 29d9d824fe Fix pasu with multi-node eX5 systems 2013-09-17 17:27:47 -04:00
Jarrod Johnson 433866fb0b Default in user/password in the same way that ipmi works in plugin 2013-08-15 11:35:12 -04:00
bp-sawyers 83d5fe80bc updated pasu to get the ipmi attribs from the db
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14985 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 16:46:15 +00:00
bp-sawyers 001c60917c Added new pasu (parallel ASU) cmd and man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14969 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 22:03:17 +00:00