+++ This bug was initially created as a clone of Bug #1075902 +++ Description of problem: ovirt-node-config is a commandline tool to configure Node. Basically the tool exposes the classes of ovirt-node.config.defaults. That way the system can basically configured using the commandline. The same codepaths are shared between the CLI and TUI. This is mainly intended for quality issue to check all codepaths. Some examples: General help: $ ovirt-node-config -h Help on a class: $ ovirt-node-config help IPv6 Help on a function: $ ovirt-node-config help IPv6.configure_dhcp Run a function: $ ovirt-node-config run IPv6.configure_dhcp $ ovirt-node-config run Network.configure_static ens3 1.2.3.4 255.0.0.0 1.2.3.254 Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
clone this REF bug form upstream to also track it in rhevh
Test version: rhevh-7.0-20141006.0.el7ev.iso ovirt-node-3.1.0-0.20.20141006gitc421e04.el7.noarch Test steps: 1.[root@dhcp-8-124 admin]# ovirt-node-config h Usage: ovirt-node-config [options] help|run [<CLASS>[.<FUNC> [<ARG> [<ARG>] ...]]]] Options: -h, --help show this help message and exit -m MODULE, --module=MODULE Module to use --dry Enable dry mode --config=CFGFILE Config file to use Available classes in module 'ovirt.node.config.defaults': - Collectd - ConfigVersion - Hostname - IPv6 - Installation - KDump - Keyboard - Logrotate - Management - NFSv4 - Nameservers - Netconsole - Network - NetworkLayout - NicBonding - NodeConfigFileSection - RuntimeImageState - SCSIDhAlua - SSH - Syslog - Timeservers - iSCSI 2. [root@dhcp-8-124 admin]# ovirt-node-config h KDump Functions in class 'KDump': - configure_disable - configure_local - configure_nfs <NFS_LOCATION> - configure_ssh <SSH_LOCATION> [<SSH_KEY=None>] 3.[root@dhcp-8-124 admin]# ovirt-node-config run KDump.configure_disable Configuring kdump ----------------- Checking pre-conditions ... (1/3) Backing up config files (2/3) Removing set kdump options (3/3) Removing kdump backup All changes were applied successfully. [root@dhcp-8-124 admin]# ovirt-node-config run KDump.configure_local Configuring kdump ----------------- Checking pre-conditions ... (1/4) Backing up config files (2/4) Removing set kdump options (3/4) Setting local kdump config (4/4) Restarting kdump service All changes were applied successfully. 4. [root@dhcp-8-124 admin]# ovirt-node-config help Hostname Functions in class 'Hostname': - configure_hostname <HOSTNAME> Configure the hostname of this system Args: hostname: Hostname to be set [root@dhcp-8-124 admin]# ovirt-node-config run Hostname.configure_hostname redhat Configuring hostname -------------------- Checking pre-conditions ... (1/1) Setting hostname All changes were applied successfully. [root@dhcp-8-124 admin]# hostname redhat so add ovirt-node-config commandline tool to configure Node basic functions feature can work well. change the status into "VERIFIED".
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2015-0160.html