Red Hat Bugzilla – Bug 799921
v7 1.5 R7 may trace-back on older /etc/v7.xml environment file.
Last modified: 2015-01-04 18:02:26 EST
Description of problem:
If v7 1.5 R7 is run on an older environment file, it produces a traceback:
removing V7 results...
[root@hp-xw6400-02 ~]# v7 plan
found interface for udisks
found device file /dev/sdb
Traceback (most recent call last):
File "/usr/bin/v7", line 45, in <module>
success = v7.do(args)
File "/usr/share/v7/lib/v7/hardwaretest.py", line 192, in do
result = self.commands[self.command]()
File "/usr/share/v7/lib/v7/hardwaretest.py", line 321, in doPlan
File "/usr/share/v7/lib/v7/hardwaretest.py", line 237, in doDiscover
File "/usr/share/v7/lib/v7/documentbase.py", line 251, in load
file = open(filename, "r")
IOError: [Errno 21] Is a directory: u'/var/v7/'
Workaround: delete the environment file: /etc/v7.xml before running v7 plan after installing R7.
Reproduced in v7-1.5-7.el6.noarch and verified in v7-1.5-8.el6.noarch.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
no tech note needed.
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.