Error with "raid swap" in kickstart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am having problems setting up a kickstart disk on v7.2.  I have a
workaround, but before I report this as a bug, can someone verify that it is
not?

Here is the disk configuration section.

clearpart --all
part raid.1 --size 46 --ondisk hda
part raid.2 --size 46 --ondisk hdb
part raid.3 --size 512 --ondisk hda
part raid.4 --size 512 --ondisk hdb
part raid.5 --size 1 --grow --ondisk hda
part raid.6 --size 1 --grow --ondisk hdb
raid /boot --fstype ext3 --level 1 --device md0 raid.2 raid.1
raid /     --fstype ext3 --level 1 --device md2 raid.5 raid.6
raid swap  --fstype swap --level 1 --device md1 raid.3 raid.4

I get the following error messages (with dump info included here).  If I
comment out the "raid swap" line, kickstart works flawlessly.

Traceback (innermost last):
  File "/usr/bin/anaconda", line 620, in ?
    intf.run(id, dispatch, configFileData)
  File "/usr/lib/anaconda/text.py", line 364, in run
    (step, args) = dispatch.currentStep()
  File "/usr/lib/anaconda/dispatch.py", line 243, in currentStep
    self.gotoNext()
  File "/usr/lib/anaconda/dispatch.py", line 143, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/dispatch.py", line 208, in moveStep
    rc = apply(func, self.bindArgs(args))
  File "/usr/lib/anaconda/autopart.py", line 899, in doAutoPartition
    (errors, warnings) = sanityCheckAllRequests(partitions, diskset, 1)
  File "/usr/lib/anaconda/partitioning.py", line 595, in
sanityCheckAllRequests
    swapSize = swapSize + requestSize(request, diskset)
TypeError: number coercion failed
-----------------------------------
In Debug mode, "print requestSize(request, diskset)" returns "none" (might
be "None").  Here is more dump info...
------------------------
Local variables in innermost frame:
size: 20
baseChecks: 1
requests: <partitioning.Partitions instance at 849ded0>
rc: None
slash: mountpoint: /   type: ext3   uniqueID:9
  size: NoneM   requestSize: NoneM  grow: 0   max: None
  start: None   end: None   partnum: None
  drive: None   primary: None
  format: 1, options: None  device: None, currentDrive: None
  raidlevel: RAID1  raidspares: 0  raidmembers: ['raid.5', 'raid.6']
diskset: <partitioning.DiskSet instance at 81a5fc8>
swapSize: 0
request: mountpoint: None   type: swap   uniqueID:7
  size: NoneM   requestSize: NoneM  grow: 0   max: None
  start: None   end: None   partnum: None
  drive: None   primary: None
  format: 1, options: None  device: None, currentDrive: None
  raidlevel: RAID1  raidspares: 0  raidmembers: ['raid.3', 'raid.4']
req: mountpoint: /boot   type: ext3   uniqueID:8
  size: NoneM   requestSize: NoneM  grow: 0   max: None
  start: None   end: None   partnum: None
  drive: None   primary: None
  format: 1, options: None  device: None, currentDrive: None
  raidlevel: RAID1  raidspares: 0  raidmembers: ['raid.2', 'raid.1']
mount: /boot
warnings: []
errors: []
foundSwap: 1
checkSizes: [('/usr', 250), ('/tmp', 50), ('/var', 50), ('/home', 100),
('/boot', 20)]
----------------------------------------------------------------------------

Is this a bug or user error?  Any help is appreciated beyond compensation.

Jay McCanta
Immunex







[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux