Menu

#4254 [FVT] rcons --version return invalid information

2.9
pending
rcons (6)
hw ctrl
3
2014-09-16
2014-08-21
Le Yin
No

[root@p5n02 iso]# rcons -help
rcons - remotely accesses the serial console of a node
rcons <singlenode> [conserver] [-f]
rcons <singlenode> [conserver] [-s]
rcons [-h|--help|-v|--version]
[root@p5n02 iso]# rcons -v
Version 2.8
[root@p5n02 iso]# rcons --version
console: invalid option -- '-' ========>>>>something wrong here
usage: console [generic-args] [-aAfFsS] [-e esc] console
console [generic-args] [-iIuwWx] [console]
console [generic-args] [-hPqQrRV] [-[bB] message] [-d [user][@console]]
[-t [user][@console] message] [-[zZ] cmd]</singlenode></singlenode>

   generic-args: [-7DEnUv] [-c cred] [-C config] [-M master]
                 [-p port] [-l username]

Discussion

  • Lissa Valletta

    Lissa Valletta - 2014-09-08
    • assigned_to: zhao er tao --> Lissa Valletta
     
  • Lissa Valletta

    Lissa Valletta - 2014-09-08

    2.8.6
    commit c66264b04cc4b0ee525fadddc206284786b43c8c

    2.9
    commit 40b5891c4a5e51e0e2d17b6c54ab7bedc0c32ffa

    I notice that version is coded into this script. That means we need to change it with each new release. It would be good if it could extract it from Version.pm libary like the Perl scripts do. That would imply that perl-xCAT* rpm is installed where you run rcons. I did not do that.

     
  • Lissa Valletta

    Lissa Valletta - 2014-09-08
    • status: open --> pending
     
MongoDB Logo MongoDB