Bug 1075903
| Summary: | [RFE]Add ovirt-node-config commandline tool to configure Node. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | haiyang,dong <hadong> |
| Component: | ovirt-node | Assignee: | Fabian Deutsch <fdeutsch> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | unspecified | CC: | cshao, gklein, gouyang, hadong, huiwa, iheim, leiwang, sherold, yaniwang, ycui |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | 3.5.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | node | ||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1075902 | Environment: | |
| Last Closed: | 2015-02-11 20:53:45 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Node | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1075902, 1097295 | ||
| Bug Blocks: | 1142923, 1156165 | ||
|
Description
haiyang,dong
2014-03-13 07:38:04 UTC
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 |