Description of problem: Logging in as root to a new 4.1-20161222.0 installation of RHVH shows the following error: usage: nodectl [-h] [--version] [--debug] [--machine-readable] {info,rollback,check,motd,init,generate-banner} ... nodectl: error: unrecognized arguments: --oneline Version-Release number of selected component (if applicable): 4.1-20161222.0 Steps to Reproduce: 1. Install RHVH-4.1-20161222.0 2. Login as root
It looks like nodectl might be not fresh enough? Did you consider to add the required version to the *-release specfile? We would gain a little more confidence in what versions can be expected inside the image.
/etc/profile.d/nodectl-motd.sh (runs nodectl check --oneline) and /usr/sbin/nodectl are provided by the same rpm (ovirt-node-ng-nodectl-4.1.0-0.20161220.0.el7) so there's a mismatch between the shell script and the arguments that nodectl can accept.
Test version: rhvh-4.1-0.20170116.0 imgbased-0.9.4-0.1.el7ev.noarch Test steps: 1. Install RHVH-4.1-20170116.0 2. Login as root Test result: No nodectl error after login, so the bug is fixed, change bug status to VERIFIED.