Bug 1409388 - nodectl error after login
Summary: nodectl error after login
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-node
Classification: oVirt
Component: General
Version: 4.1
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ovirt-4.1.0-rc
: 4.1
Assignee: Yuval Turgeman
QA Contact: cshao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-01-01 15:38 UTC by Yuval Turgeman
Modified: 2017-02-01 14:57 UTC (History)
9 users (show)

Fixed In Version: ovirt-node-ng-4.1.0-0.20170104.0.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-01 14:57:34 UTC
oVirt Team: Node
Embargoed:
rule-engine: ovirt-4.1+
rule-engine: blocker+
rule-engine: planning_ack+
fdeutsch: devel_ack+
cshao: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 69481 0 master MERGED nodectl: Add --oneline argument to 'nodectl check' 2017-01-03 17:50:13 UTC
oVirt gerrit 69522 0 ovirt-4.1-pre MERGED nodectl: Add --oneline argument to 'nodectl check' 2017-01-03 17:50:28 UTC

Description Yuval Turgeman 2017-01-01 15:38:11 UTC
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

Comment 1 Fabian Deutsch 2017-01-02 10:06:45 UTC
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.

Comment 2 Yuval Turgeman 2017-01-02 10:15:46 UTC
/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.

Comment 3 cshao 2017-01-19 08:16:21 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.