[Fedora-livecd-list] building an automatic installer with livecd-creator
Holger Levsen
holger at layer-acht.org
Fri May 11 19:01:32 UTC 2007
Hi,
I used the --shell option of livecd-creator and copied the fixed text.py from
the anaconda CVS into the live-system and gave it another try. And I hit
another exception :)
anacdump.txt is attached :) (well named a bit differently, but..)
regards,
Holger
-------------- next part --------------
Traceback (most recent call first):
File "/usr/lib/anaconda/network.py", line 327, in lookupHostname
ret = isys.pumpNetDevice(dev.get('device'), dev.get('dhcpclass'))
File "/usr/lib/anaconda/network.py", line 484, in write
ip = self.lookupHostname()
File "/usr/lib/anaconda/instdata.py", line 154, in write
self.network.write (anaconda.rootPath)
File "/usr/lib/anaconda/backend.py", line 249, in writeConfiguration
anaconda.id.write(anaconda)
File "/usr/lib/anaconda/dispatch.py", line 203, in moveStep
rc = stepFunc(self.anaconda)
File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext
self.moveStep()
File "/usr/lib/anaconda/text.py", line 605, in run
anaconda.dispatch.gotoNext()
File "/usr/sbin/anaconda", line 955, in <module>
anaconda.intf.run(anaconda)
AttributeError: 'module' object has no attribute 'pumpNetDevice'
Local variables in innermost frame:
self: <network.Network instance at 0x87b31ac>
myns: 10.0.2.3
dev: DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=08:00:27:66:6C:FF
IPV6_AUTOCONF=yes
ONBOOT=yes
Anaconda instance, containing members:
rootPath: /mnt/sysimage
rescue_mount: True
intf: InstallInterface instance, containing members:
intf.screen: SnackScreen instance, containing members:
intf.screen.width: 80
intf.screen.helpCb: <bound method InstallInterface.helpWindow of <text.InstallInterface instance at 0x8d130ec>>
intf.screen.height: 25
intf.instLanguage: Language instance, containing members:
intf.instLanguage.targetLang: None
intf.instLanguage.default: en_US.UTF-8
intf.instLanguage.displayMode: t
intf.instLanguage.current: en_US.UTF-8
intf.showingHelpOnHelp: 0
rescue: False
updateSrc: None
methodstr: livecd:///dev/live-osimg
dispatch: Dispatcher instance, containing members:
dispatch.skipSteps: {'upgradecontinue': 1, 'bootloader': 1, 'group-selection': 1, 'findrootparts': 1, 'findinstall': 1, 'language': 2, 'upgradeswapsuggestion': 1, 'confirmupgrade': 1, 'partition': 1, 'bootloaderadvanced': 1, 'tasksel': 1, 'upgrademount': 1, 'upgbootloader': 1, 'upgrademigfind': 1, 'addswap': 1, 'upgrademigratefs': 1, 'regkey': 1}
dispatch.method: LiveCDImageMethod instance, containing members:
dispatch.method.splitmethod: False
dispatch.method.intf: Already dumped
dispatch.method.tree: None
dispatch.method.rootPath: /mnt/sysimage
dispatch.method.osimg: //dev/live-osimg
dispatch.step: 40
dispatch.anaconda: Already dumped
dispatch.firstStep: 0
dispatch.dir: 1
method: Already dumped
isKickstart: False
id: InstallData instance, containing members:
id.firewall: Firewall instance, containing members:
id.firewall.portlist: [22:tcp]
id.firewall.trustdevs: []
id.firewall.enabled: 1
id.rootParts: None
id.instProgress: None
id.upgradeRoot: None
id.xsetup: XSetup instance, containing members:
id.xsetup.skipx: 0
id.xsetup.xserver: XServer instance, containing members:
id.xsetup.xserver.videohw: primary: 0
vidCards: [<rhpxl.videocard.VideoCard instance at 0x8c684cc>]
Primary Video Card Info:
device: None
driver : vesa
descr : InnoTek Systemberatung GmbH VirtualBox Graphics Adapter
vidRam: None
id.xsetup.xserver.serverflags: [vt6, -config, /tmp/XConfig.test, -extension, Composite, -s, 1440, -dpms, -v, -ac, -nolisten, tcp]
id.xsetup.xserver.resolution: 800x600
id.xsetup.xserver.root: /
id.xsetup.xserver.hwstate: XF86HardwareState instance, containing members:
id.xsetup.xserver.hwstate.videocard_PCIFn: None
id.xsetup.xserver.hwstate.monitor: monName: None
monID: Unprobed Monitor
monHoriz: None
monVert: None
physicalWidth: 0
physicalHeight: 0
id.xsetup.xserver.hwstate.config_resolutions: []
id.xsetup.xserver.hwstate.videocard_name: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter
id.xsetup.xserver.hwstate.monitor_name: Unknown monitor
id.xsetup.xserver.hwstate.video_ram: 0
id.xsetup.xserver.hwstate.videocard: Already dumped
id.xsetup.xserver.hwstate.videocard_driver: vesa
id.xsetup.xserver.hwstate.videocard_options: []
id.xsetup.xserver.hwstate.all_resolutions: [640x480, 800x480, 800x512, 800x600, 848x480, 854x480, 1024x600, 1024x768, 1152x768, 1152x864, 1200x900, 1280x720, 1280x800, 1280x854, 1280x960, 1280x1024, 1360x768, 1400x900, 1400x1050, 1440x900, 1600x1024, 1600x1200, 1680x1050, 1900x1200, 1920x1080, 1920x1200, 1920x1440, 2048x1536, 2560x1600]
id.xsetup.xserver.hwstate.hsync: 31.5-37.9
id.xsetup.xserver.hwstate.vsync: 50-70
id.xsetup.xserver.hwstate.probed_video_ram: 0
id.xsetup.xserver.hwstate.videocard_PCIBus: None
id.xsetup.xserver.hwstate.colordepth: 24
id.xsetup.xserver.hwstate.videocard_PCIDev: None
id.xsetup.xserver.hwstate.resolution: 800x600
id.xsetup.xserver.hwstate.dri_enabled: 0
id.xsetup.xserver.hwstate.xconfig: None
id.xsetup.xserver.monitorhw: Already dumped
id.xsetup.xserver.keyboard: Keyboard instance, containing members:
id.xsetup.xserver.keyboard.info: {'KEYBOARDTYPE': pc, 'KEYTABLE': de}
id.xsetup.xserver.keyboard.type: PC
id.xsetup.xserver.keyboard.beenset: 1
id.xsetup.xserver.keyboard._mods: KeyboardModels instance, containing members:
id.xsetup.xserver.mousehw: FULLNAME="Generic - 3 Button Mouse (PS/2)"
MOUSETYPE="imps2"
XEMU3="no"
XMOUSETYPE="IMPS/2"
id.xsetup.xserver.defaultdepth: 24
id.xsetup.xserver.logfile: /dev/null
id.xsetup.xserver.config: None
id.xsetup.xserver.display: :9
id.xsetup.anaconda: Already dumped
id.keyboard: Already dumped
id.timezone: Timezone instance, containing members:
id.timezone.utc: True
id.timezone.arc: 0
id.timezone.tz: America/New_York
id.mouse: Already dumped
id.zfcp: ZFCP instance, containing members:
id.zfcp.hasReadConfig: True
id.zfcp.fcpdevs: []
id.upgrade: None
id.monitor: Already dumped
id.iscsi: <iscsi.iscsi object at 0x8c7deec>
id.methodstr: livecd:///dev/live-osimg
id.fsset: FileSystemSet instance, containing members:
id.fsset.messageWindow: <bound method InstallInterface.messageWindow of <text.InstallInterface instance at 0x8d130ec>>
id.fsset.volumesCreated: 1
id.fsset.progressWindow: <bound method InstallInterface.progressWindow of <text.InstallInterface instance at 0x8d130ec>>
id.fsset.migratedfs: 1
id.fsset.waitWindow: <bound method InstallInterface.waitWindow of <text.InstallInterface instance at 0x8d130ec>>
id.fsset.entries: [fsentry -- device: VolGroup00/LogVol00 mountpoint: /
fsystem: ext3 format: 1
ismounted: 1 options: 'defaults'
bytesPerInode: 4096 label: /
, fsentry -- device: sda1 mountpoint: /boot
fsystem: ext3 format: 1
ismounted: 1 options: 'defaults'
bytesPerInode: 4096 label: /boot
, fsentry -- device: shm mountpoint: /dev/shm
fsystem: tmpfs format: 0
ismounted: 0 options: 'defaults'
bytesPerInode: 4096 label: None
, fsentry -- device: devpts mountpoint: /dev/pts
fsystem: devpts format: 0
ismounted: 0 options: 'gid=5,mode=620'
bytesPerInode: 4096 label: None
, fsentry -- device: sys mountpoint: /sys
fsystem: sysfs format: 0
ismounted: 1 options: 'defaults'
bytesPerInode: 4096 label: None
, fsentry -- device: proc mountpoint: /proc
fsystem: proc format: 0
ismounted: 1 options: 'defaults'
bytesPerInode: 4096 label: None
, fsentry -- device: VolGroup00/LogVol01 mountpoint: swap
fsystem: swap format: 1
ismounted: 1 options: 'defaults'
bytesPerInode: 4096 label: None
, fsentry -- device: VolGroup00 mountpoint: None
fsystem: volume group (LVM) format: 1
ismounted: 0 options: 'defaults'
bytesPerInode: 4096 label: None
, fsentry -- device: sda2 mountpoint: None
fsystem: physical volume (LVM) format: 1
ismounted: 0 options: 'defaults'
bytesPerInode: 4096 label: None
]
id.fsset.mountcount: 9
id.desktop: Desktop instance, containing members:
id.desktop.info: {}
id.desktop.runlevel: 5
id.x_already_set: 0
id.backend: LiveCDCopyBackend instance, containing members:
id.backend.modeText:
id.backend.instPath: /mnt/sysimage
id.backend.supportsPackageSelection: False
id.backend.instLog: None
id.backend.supportsUpgrades: False
id.backend.method: Already dumped
id.firstboot: 0
id.diskset: DiskSet instance, containing members:
id.diskset.disks: {'sda': <PedDisk object at 0x8b203f8>}
id.diskset.anaconda: Already dumped
id.diskset.onlyPrimary: None
id.users: None
id.displayMode: t
id.auth: --enableshadow --enablemd5
id.ksdata: None
id.bootloader: x86BootloaderInfo instance, containing members:
id.bootloader.doUpgradeOnly: 0
id.bootloader.above1024: 0
id.bootloader.defaultDevice: mbr
id.bootloader.pure: None
id.bootloader.serialDevice: None
id.bootloader.args: KernelArguments instance, containing members:
id.bootloader.args.args: rhgb quiet
id.bootloader.kernelLocation: /boot/
id.bootloader.device: sda
id.bootloader.configfile: /etc/lilo.conf
id.bootloader.kickstart: 0
id.bootloader.serialOptions: None
id.bootloader.useGrubVal: 1
id.bootloader._drivelist: [sda]
id.bootloader.images: BootImages instance, containing members:
id.bootloader.images.default: VolGroup00/LogVol00
id.bootloader.images.images: {'VolGroup00/LogVol00': ('linux', 'Fedora', 'ext3')}
id.bootloader.serial: 0
id.bootloader.password: None
id.bootloader.forceLBA32: 0
id.extraModules: []
id.network: Network instance, containing members:
id.network.hostname: olpc-server
id.network.overrideDHCPhostname: 1
id.network.netdevices: {'eth0': DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=08:00:27:66:6C:FF
IPV6_AUTOCONF=yes
ONBOOT=yes
}
id.network.primaryNS: 10.0.2.3
id.network.firstnetdevice: eth0
id.network.isConfigured: 0
id.network.domains: []
id.network.secondaryNS:
id.network.gateway:
id.instClass: DefaultInstall instance, containing members:
id.floppyDevice: fd0
id.partitions: Partitions instance, containing members:
id.partitions.useFdisk: 0
id.partitions.useAutopartitioning: 1
id.partitions.autoClearPartType: 0
id.partitions.nextUniqueID: 11
id.partitions.reinitializeDisks: 0
id.partitions.autoClearPartDrives: [sda]
id.partitions.zeroMbr: 0
id.partitions.isKickstart: 0
id.partitions.requests: [New Part Request -- mountpoint: /boot uniqueID: 9
type: ext3 format: 1 badblocks: None
device: sda1 drive: ['sda'] primary: None
size: 100 grow: 0 maxsize: None
start: None end: None migrate: None fslabel: None origfstype: None
bytesPerInode: 4096 options: 'None'
, LV Request -- mountpoint: None uniqueID: 10
type: swap format: 1 badblocks: None
size: 1024 lvname: LogVol01 volgroup: 7
bytesPerInode: 4096 options: 'None'
, VG Request -- name: VolGroup00 uniqueID: 7
format: 1 pesize: 32768
physvols: [6]
, LV Request -- mountpoint: / uniqueID: 8
type: ext3 format: 1 badblocks: None
size: 6816 lvname: LogVol00 volgroup: 7
bytesPerInode: 4096 options: 'None'
, New Part Request -- mountpoint: None uniqueID: 6
type: physical volume (LVM) format: 1 badblocks: None
device: sda2 drive: ['sda'] primary: None
size: 0 grow: 1 maxsize: None
start: None end: None migrate: None fslabel: None origfstype: None
bytesPerInode: 4096 options: 'None'
]
id.partitions.autoPartitionRequests: [New Part Request -- mountpoint: None uniqueID: None
type: physical volume (LVM) format: 1 badblocks: None
device: None drive: None primary: None
size: 0 grow: 1 maxsize: None
start: None end: None migrate: None fslabel: None origfstype: None
bytesPerInode: 4096 options: 'None'
, VG Request -- name: lvm uniqueID: None
format: 1 pesize: 32768
physvols: []
, LV Request -- mountpoint: / uniqueID: None
type: ext3 format: 1 badblocks: None
size: 1024 lvname: LogVol00 volgroup: lvm
bytesPerInode: 4096 options: 'None'
, New Part Request -- mountpoint: /boot uniqueID: None
type: ext3 format: 1 badblocks: None
device: None drive: None primary: None
size: 100 grow: 0 maxsize: None
start: None end: None migrate: None fslabel: None origfstype: None
bytesPerInode: 4096 options: 'None'
, LV Request -- mountpoint: None uniqueID: None
type: swap format: 1 badblocks: None
size: 512 lvname: LogVol01 volgroup: lvm
bytesPerInode: 4096 options: 'None'
]
id.partitions.deletes: [lvname: LogVol01 vgname: VolGroup00
, drive: sda start: 208845 end: 16370234
, vgname: VolGroup00
, lvname: LogVol00 vgname: VolGroup00
, drive: sda start: 63 end: 208844
]
id.isHeadless: 0
id.videocard: Already dumped
id.instLanguage: Already dumped
id.security: Security instance, containing members:
id.security.selinux: 1
id.upgradeSwapInfo: None
dir: 1
backend: Already dumped
/tmp/anaconda.log:
19:23:32 INFO : using only installclass _Fedora
19:23:33 INFO : anaconda called with cmdline = ['/usr/sbin/anaconda', '--method=livecd:///dev/live-osimg', '--lang', 'en_US.UTF-8']
19:23:33 INFO : Display mode = g
19:23:33 INFO : Method = livecd:///dev/live-osimg
19:23:33 INFO : anaconda floppy device fd0
19:23:36 WARNING : Graphical installation not available... Starting text mode.
19:23:39 INFO : Detected 512M of memory
19:23:39 INFO : Swap attempt of 512M to 1024M
19:23:39 WARNING : step installtype does not exist
19:23:39 WARNING : step complete does not exist
19:23:39 INFO : moving (1) to step welcome
19:23:57 INFO : moving (1) to step betanag
19:23:58 INFO : moving (1) to step keyboard
19:24:00 ERROR : Could not install keymap de: Permission denied
19:24:00 INFO : moving (1) to step partitionobjinit
19:24:00 INFO : no /tmp/fcpconfig; not configuring zfcp
19:24:00 DEBUG : starting mpaths
19:24:00 DEBUG : self.driveList(): ['sda']
19:24:00 DEBUG : DiskSet.skippedDisks: []
19:24:00 DEBUG : DiskSet.skippedDisks: []
19:24:00 DEBUG : starting all mpaths on drives ['sda']
19:24:00 DEBUG : scanning for multipath on drives ['sda']
19:24:00 DEBUG : mpaths: []
19:24:00 DEBUG : done starting mpaths. Drivelist: ['sda']
19:24:00 DEBUG : starting dmraids
19:24:00 DEBUG : self.driveList(): ['sda']
19:24:00 DEBUG : DiskSet.skippedDisks: []
19:24:00 DEBUG : DiskSet.skippedDisks: []
19:24:00 DEBUG : starting all dmraids on drives ['sda']
19:24:00 DEBUG : scanning for dmraid on drives ['sda']
19:24:01 DEBUG : done starting dmraids. Drivelist: ['sda']
19:24:05 INFO : lv is VolGroup00/LogVol00, size of 6816
19:24:05 INFO : lv is VolGroup00/LogVol01, size of 1024
19:24:15 INFO : pv is /dev/sda2 in vg VolGroup00, size is 7891
19:24:17 INFO : vg VolGroup00, size is 7872, pesize is 32768
19:24:19 INFO : lv is VolGroup00/LogVol00, size of 6816
19:24:19 INFO : lv is VolGroup00/LogVol01, size of 1024
19:24:20 INFO : scd0 is a protected partition
19:24:20 INFO : no request, probably a removable drive
19:24:20 INFO : moving (1) to step parttype
19:24:31 INFO : moving (1) to step autopartitionexecute
19:24:33 DEBUG : used space is 1536
19:24:33 DEBUG : actual space is 7840
19:24:33 DEBUG : used space is 2048
19:24:33 DEBUG : actual space is 7840
19:24:33 DEBUG : used space is 7840
19:24:33 DEBUG : actual space is 7840
19:24:33 DEBUG : used space is 7840
19:24:33 DEBUG : actual space is 7840
19:24:33 INFO : moving (1) to step partitiondone
19:24:33 INFO : moving (1) to step bootloadersetup
19:24:33 INFO : moving (1) to step networkdevicecheck
19:24:33 INFO : moving (1) to step network
19:24:52 INFO : moving (1) to step timezone
19:24:55 INFO : moving (1) to step accounts
19:25:02 INFO : moving (1) to step reposetup
19:25:02 INFO : moving (1) to step basepkgsel
19:25:02 INFO : moving (1) to step postselection
19:25:02 INFO : moving (1) to step confirminstall
19:25:04 INFO : moving (1) to step install
19:25:04 INFO : moving (1) to step enablefilesystems
19:25:15 INFO : lv is VolGroup00/LogVol00, size of 6816
19:25:15 INFO : lv is VolGroup00/LogVol01, size of 1024
19:25:15 INFO : removing lv LogVol01
19:25:15 INFO : removing lv LogVol00
19:25:16 INFO : pv is /dev/sda2 in vg VolGroup00, size is 7891
19:25:16 INFO : vgremove -v VolGroup00
19:25:17 INFO : pvremove -ff -y -v /dev/sda2
19:25:17 INFO : pvcreate -ff -y -v /dev/sda2
19:25:24 INFO : formatting swap as swap
19:25:24 INFO : formatting / as ext3
19:25:24 INFO : Format command: ['mke2fs', '/dev/VolGroup00/LogVol00', '-i', '4096', '-j']
19:25:53 INFO : formatting /boot as ext3
19:25:53 INFO : Format command: ['mke2fs', '/tmp/sda1', '-i', '4096', '-j']
19:26:00 INFO : lv is VolGroup00/LogVol00, size of 6816
19:26:00 INFO : lv is VolGroup00/LogVol01, size of 1024
19:26:01 ERROR : running vgchange failed: 5
19:26:02 DEBUG : error reading swap label on /dev/VolGroup00: [Errno 21] Is a directory
19:26:02 DEBUG : error reading xfs label on /dev/VolGroup00: [Errno 21] Is a directory
19:26:02 DEBUG : error reading jfs label on /dev/VolGroup00: [Errno 21] Is a directory
19:26:02 DEBUG : error reading reiserfs label on /dev/VolGroup00: [Errno 21] Is a directory
19:26:02 INFO : trying to mount VolGroup00/LogVol00 on /
19:26:03 INFO : set SELinux context for mountpoint / to system_u:object_r:root_t
19:26:03 DEBUG : isys.py:mount()- going to mount /dev/VolGroup00/LogVol00 on /mnt/sysimage
19:26:03 INFO : trying to mount sda1 on /boot
19:26:03 INFO : set SELinux context for mountpoint /boot to system_u:object_r:boot_t
19:26:03 DEBUG : isys.py:mount()- going to mount /tmp/sda1 on /mnt/sysimage/boot
19:26:03 INFO : trying to mount sys on /sys
19:26:03 INFO : set SELinux context for mountpoint /sys to None
19:26:03 DEBUG : isys.py:mount()- going to mount sys on /mnt/sysimage/sys
19:26:03 INFO : trying to mount proc on /proc
19:26:03 INFO : set SELinux context for mountpoint /proc to None
19:26:03 DEBUG : isys.py:mount()- going to mount proc on /mnt/sysimage/proc
19:26:04 INFO : moving (1) to step migratefilesystems
19:26:04 INFO : moving (1) to step setuptime
15:26:05 INFO : moving (1) to step preinstallconfig
15:26:05 INFO : moving (1) to step installpackages
15:26:05 INFO : Preparing to install packages
15:40:12 INFO : moving (1) to step postinstallconfig
15:40:12 INFO : doing post-install fs mangling
15:40:12 INFO : trying to mount VolGroup00/LogVol00 on /
15:40:12 INFO : set SELinux context for mountpoint / to system_u:object_r:root_t
15:40:12 DEBUG : isys.py:mount()- going to mount /dev/VolGroup00/LogVol00 on /mnt/sysimage
15:40:13 INFO : trying to mount sda1 on /boot
15:40:13 INFO : set SELinux context for mountpoint /boot to system_u:object_r:boot_t
15:40:13 DEBUG : isys.py:mount()- going to mount /tmp/sda1 on /mnt/sysimage/boot
15:40:14 INFO : trying to mount sys on /sys
15:40:15 INFO : set SELinux context for mountpoint /sys to None
15:40:15 DEBUG : isys.py:mount()- going to mount sys on /mnt/sysimage/sys
15:40:15 INFO : trying to mount proc on /proc
15:40:15 INFO : set SELinux context for mountpoint /proc to None
15:40:15 DEBUG : isys.py:mount()- going to mount proc on /mnt/sysimage/proc
15:40:23 INFO : doing the copy for /boot
15:40:23 INFO : set SELinux context for mountpoint /boot to system_u:object_r:boot_t
15:40:23 DEBUG : isys.py:mount()- going to mount /tmp/sda1 on /mnt/sysimage/mnt/boot
15:40:24 INFO : set SELinux context for mountpoint /boot to system_u:object_r:boot_t
15:40:24 DEBUG : isys.py:mount()- going to mount /tmp/sda1 on /mnt/sysimage/boot
15:40:24 INFO : set fc of /boot/System.map-2.6.21-1.3116.fc7 to system_u:object_r:system_map_t
15:40:24 INFO : set fc of /boot/vmlinuz-2.6.21-1.3116.fc7 to system_u:object_r:boot_t
15:40:24 INFO : set fc of /boot/config-2.6.21-1.3116.fc7 to system_u:object_r:boot_t
15:40:24 INFO : set fc of /boot to system_u:object_r:boot_t
15:40:24 INFO : set fc of /boot/grub/splash.xpm.gz to system_u:object_r:boot_t
15:40:24 INFO : set fc of /boot/grub to system_u:object_r:boot_t
15:40:24 INFO : set fc of /boot/lost+found to system_u:object_r:lost_found_t
15:40:24 DEBUG : isys.py:mount()- going to mount /selinux on /mnt/sysimage/selinux
15:40:24 DEBUG : isys.py:mount()- going to mount /dev on /mnt/sysimage/dev
15:40:24 INFO : going to do resize
15:40:35 INFO : recreating initrd for 2.6.21-1.3116.fc7
15:41:28 INFO : moving (1) to step writeconfig
15:41:28 INFO : Writing main configuration
15:41:33 INFO : self.hostname = olpc-server
/tmp/lvmout:
Finding all logical volumes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/livecd/attachments/20070511/c15b6ae8/attachment.bin
More information about the livecd
mailing list