When kickstarting, why does anaconda hangup with "A logical volume with the name %s has already been defined in volume group"?
Issue
- When kickstarting, why does anaconda hangup with
A logical volume with the name %s has already been defined in volume group
? - Why do I receive the following error in
anaconda
?
Running anaconda 13.21.195, the Red Hat Enterprise Linux system installer - please wait.
Traceback (most recent call last):
File "/usr/bin/anaconda", line 834, in <module>
ksdata = kickstart.parseKickstart(anaconda, opts.ksfile)
File "/usr/lib/anaconda/kickstart.py", line 1407, in parseKickstart
ksparser.readKickstart(file)
File "/usr/lib/python2.6/site-packages/pykickstart/parser.py", line 772, in readKickstart
self._stateMachine (lambda: fh.readline())
File "/usr/lib/python2.6/site-packages/pykickstart/parser.py", line 643, in _stateMachine
self.handleCommand(lineno, args)
File "/usr/lib/anaconda/kickstart.py", line 1351, in handleCommand
retval = KickstartParser.handleCommand(self, lineno, args)
File "/usr/lib/python2.6/site-packages/pykickstart/parser.py", line 481, in handleCommand
retval = self.handler.dispatcher(args, lineno)
File "/usr/lib/python2.6/site-packages/pykickstart/base.py", line 396, in dispatcher
obj = self.commands[cmd].parse(args[1:])
File "/usr/lib/python2.6/site-packages/pykickstart/commands/logvol.py", line 239, in parse
warnings.warn(_("A logical volume with the name %s has already been defined in volume group %s.") % (lvd.device, lvd.vgname))
AttributeError: 'LogVolData' object has no attribute 'device'
install exited abnormally [1/1]
The system will be rebooted when you press Ctrl-C or Ctrl-Alt-Delete.
Environment
- Red Hat Enterprise Linux (RHEL) 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.