- Issued:
- 2013-06-10
- Updated:
- 2013-06-10
RHBA-2013:0890 - Bug Fix Advisory
Synopsis
rhevm-cli bug fix and enhancement update
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
An updated rhevm-cli package that fixes various bugs and adds multiple
enhancements is now available.
Description
The rhevm-cli package provides a command line interface for interacting
with Red Hat Enterprise Virtualization Manager. Users of the Red Hat
Enterprise Virtualization Manager who want to script their specific
environment logic should install this package.
This update fixes the following bugs:
- Previously, using Ctrl+C at the RHEVM-shell password prompt caused
rhevm-cli to crash with a traceback. Now, using Ctrl+C at the password
prompt returns the user to their original Bash prompt. (BZ#868647)
- Previously, a negative value for 'scheduling_policy-thresholds-low' was
not recognized as a number and caused an error. This has been rectified so
negative values can now be used. (BZ#880216)
- If a connection failed, an incorrect error message was displayed
- 'unknown error: [ERROR]::Connection failure, [Errno 111] Connection
refused'. Now, the correct status is displayed in the error message.
(BZ#890559)
- A misnamed section in 'settings.py' prevented '.rhevmshellrc' from
connecting to the interface, resulting in an error. The relevant section
has been corrected and using '.rhevmshellrc' to connect to the interface
now works as expected. (BZ#880641)
- When using auto complete 'from_event_id' was being included in the
results. This error was triggered when the 'list events' command was
executed, subsequent auto completes would erroneously include
'from_event_id'. The code has been altered to exclude this happening.
(BZ#886792)
- By default the 'remove' command never printed an acknowledgment to the
screen if the operation was successful. Only unsuccessful attempts were
acknowledged. Now when 'remove' operates successfully the word 'Accepted'
is printed to the screen. (BZ#886941)
- When suspending a virtual machine, an incorrect error message displayed:
'error: action status "pending".' The system state of 'pending' was not
being recognized and triggered the error message. This state is now
recognized by the system and 'pending' is displayed when a suspend request
on a virtual machine is executed. (BZ#886944)
- Previously, 'remove permit' was not processing the '--role-identifier'
parameter and would fail without message or error. Now, the command works
with identifiers and prints 'accepted' when successfully executed.
(BZ#887805)
- The help page for 'update' incorrectly used the word "delete" in place of
"update". This has been corrected to be accurate for the 'update' command.
(BZ#890368)
- An 'unknown error' message was displayed if the incorrect syntax was used
when adding a disk. The message was displayed when the storage domain value
was empty. The message now indicates that it is a syntax error and where
the error is occurring. It also suggests the relevant help topic to view.
(BZ#890525)
- When a command containing an empty keyword argument (kwarg) was used in
the CLI, an incorrect error message was displayed -'unknown error: need
more than 1 value to unpack'. The message did not clearly show what the
problem was. The error message now correctly identifies the problem.
(BZ#891080)
- Previously, the SDK ignored the '--insecure' option and would still
require a CA certificate when connecting to the CLI using RHEVM-shell. A
new parameter 'dont-validate-cert-chain', that does not validate server the
CA certificate, has now been added. (BZ#915231)
As well, this update adds the following enhancements:
- A new feature has been added that allows output pagination to be
disabled. This has been done to assist with automation and testing.This is
done by adding 'autopage = False' value in the .rhevmshellrc file.
(BZ#866853)
- The .rhevmshellrc configuration file was difficult to locate if the user
did not know its name or path. Information detailing the name and path of
the configuration file has been added to the main help in RHEVM-shell.
(BZ#890800)
Users of Red Hat Enterprise Virtualization environments should install this
updated package which fixes these bugs and adds these enhancements.
Solution
Before applying this update, make sure all previously-released errata
relevant to your system have been applied.
This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/knowledge/articles/11258
Affected Products
- Red Hat Virtualization 3.2 x86_64
Fixes
- BZ - 866853 - RHEVM-CLI: disable output pagination via config file
- BZ - 868647 - RHEVM-CLI: Sending CTRL + C signal while password prompt appears causes to rhevm-cli to fall with traceback
- BZ - 880216 - RHEVM-CLI: negative numbers wrapped as strings
- BZ - 880559 - RHEVM-CLI: Update prompt status upon "Connection failure"
- BZ - 880641 - RHEVM-CLI: Wrong name of section in .rhevmshell causes to traceback when running rhevm-shell
- BZ - 886792 - RHEVM-CLI: auto complete suggests "from_event_id" while it shouldn't
- BZ - 886941 - RHEVM-CLI: missing acknowledgement for remove commands
- BZ - 886944 - RHEVM-CLI: wrong response (error: action status "pending") for suspend VM
- BZ - 887805 - RHEVM-CLI: 'remove permit' command doesn't work by-id (by-name works fine)
- BZ - 890368 - RHEVM-CLI: typo in help update manual [TEXT]
- BZ - 890525 - RHEVM-CLI: Wrong error message when trying to add disk with empty storage domain [TEXT]
- BZ - 890800 - [RHEVM-CLI]: adding to help message location of .rhevmshellrc and help for it
- BZ - 891080 - RHEVM-CLI: Wrong error when passing empty kwargs to CLI
- BZ - 915231 - RHEVM-CLI: Add flag --dont-validate-cert-chain
CVEs
(none)
References
(none)
Red Hat Virtualization 3.2
SRPM | |
---|---|
x86_64 | |
rhevm-cli-3.2.0.9-1.el6ev.noarch.rpm | SHA-256: aa6bd389f815011292bde44080b108f5c3ee4bde77e5890115905a08add2ab76 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.