Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1105300 - [Docs] [CLI] No information on section headers
[Docs] [CLI] No information on section headers
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: Documentation (Show other bugs)
3.3.0
Unspecified Unspecified
unspecified Severity unspecified
: ---
: 3.5.0
Assigned To: Andrew Burden
Tahlia Richardson
:
Depends On:
Blocks: 1193259
  Show dependency treegraph
 
Reported: 2014-06-05 15:49 EDT by Stephen Gordon
Modified: 2015-03-13 02:27 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Build Name: 22457, Command Line Shell Guide-3.3-1 Build Date: 29-04-2014 13:25:07 Topic ID: 13040-592055 [Specified]
Last Closed: 2015-03-13 02:27:49 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Stephen Gordon 2014-06-05 15:49:34 EDT
Title: .rhevmshellrc Configuration

Describe the issue:

The .rhevmshellrc configuration requires section headers, if you don't have them it barfs. This isn't mentioned in the guide at all and it's left as an exercise for the reader to guess what they should be.

Traceback (most recent call last):
  File "/usr/bin/rhevm-shell", line 9, in <module>
    load_entry_point('rhevm-shell==3.4.0.6', 'console_scripts', 'rhevm-shell')()
  File "/usr/lib/python2.6/site-packages/ovirtcli/main.py", line 27, in main
    context = OvirtCliExecutionContext(sys.argv, parser)
  File "/usr/lib/python2.6/site-packages/ovirtcli/infrastructure/context.py", line 47, in __init__
    super(OvirtCliExecutionContext, self).__init__(args=args, option_parser=option_parser)
  File "/usr/lib/python2.6/site-packages/cli/context.py", line 75, in __init__
    self._load_settings()
  File "/usr/lib/python2.6/site-packages/cli/context.py", line 133, in _load_settings
    found, old_format = self.settings.load_config_file()
  File "/usr/lib/python2.6/site-packages/cli/settings.py", line 131, in load_config_file
    if not cp.read(fname):
  File "/usr/lib64/python2.6/ConfigParser.py", line 286, in read
    self._read(fp, filename)
  File "/usr/lib64/python2.6/ConfigParser.py", line 482, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
ConfigParser.MissingSectionHeaderError: File contains no section headers.
file: /root/.rhevmshellrc, line: 1
'username=admin@internal\n'

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