Kickstarting RHEL6.4 machine from Satellite is failing with AttributeError: 'LogVolData' object has no attribute 'device'

Solution Verified - Updated -

Issue

  • Kickstarting RHEL6.4 from Satellite is failing and we are forced to reboot.
  • Seeing the following python traceback on the machine being kickstarted:
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/naconda/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 6
  • Kickstart from RHN Satellite

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In