Bug 673170 - do not offer 'Back' option for depsolving exception during kickstart installs
Summary: do not offer 'Back' option for depsolving exception during kickstart installs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: David Cantrell
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 670159
TreeView+ depends on / blocked
 
Reported: 2011-01-27 16:02 UTC by Alexander Todorov
Modified: 2016-04-08 10:22 UTC (History)
3 users (show)

Fixed In Version: anaconda-13.21.104-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 12:37:22 UTC
Target Upstream Version:


Attachments (Terms of Use)
anaconda-tb file generated by Anaconda (313.57 KB, text/xml)
2011-01-27 16:02 UTC, Alexander Todorov
no flags Details
1st dialog (189.81 KB, image/png)
2011-03-09 16:08 UTC, Alexander Todorov
no flags Details
2nd dialog (104.86 KB, image/png)
2011-03-09 16:08 UTC, Alexander Todorov
no flags Details
3rd window - traceback (268.69 KB, image/png)
2011-03-09 16:09 UTC, Alexander Todorov
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0530 0 normal SHIPPED_LIVE anaconda bug fix and enhancement update 2011-05-18 17:44:52 UTC

Description Alexander Todorov 2011-01-27 16:02:04 UTC
Created attachment 475629 [details]
anaconda-tb file generated by Anaconda

Description of problem:

I get unhandled exception when going back and forth after a file conflict. The exception is below. See steps to reproduce for details.

Traceback (most recent call first):
  File "/usr/lib/anaconda/users.py", line 243, in setUserPassword
    self.admin.setpassUser(user, password, True)
  File "/usr/lib/anaconda/users.py", line 253, in setRootPassword
    return self.setUserPassword("root", password, isCrypted, lock, algo)
  File "/usr/lib/anaconda/instdata.py", line 170, in write
    algo=self.getPassAlgo())
  File "/usr/lib/anaconda/backend.py", line 319, in writeConfiguration
    anaconda.id.write()
  File "/usr/lib/anaconda/dispatch.py", line 208, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/gui.py", line 1393, in nextClicked
    self.anaconda.dispatch.gotoNext()
  File "/usr/lib/anaconda/iw/progress_gui.py", line 79, in renderCallback
    self.intf.icw.nextClicked()
  File "/usr/lib/anaconda/gui.py", line 1414, in handleRenderCallback
    self.currentWindow.renderCallback()
TypeError: argument 1 must be Entity, not None


Version-Release number of selected component (if applicable):
anaconda 13.21.91

How reproducible:
Always

Steps to Reproduce:
1. Start a kickstart install with the Workstation variant (I guess anyone will do). Put the following packages section in the kickstart:

%packages
*
-@conflicts

2. The conflicts part is wrong. It should have been -@conflicts-<variant> instead. This leads to a file conflict in the transaction. 

file conflicts: file /usr/lib64/libcmpiCppImpl.so conflicts between attempted installs of libcmpiCppImpl0-2.0.1-5.el6.x86_64 and tog-pegasus-2:2.9.1-5.el6.x86_64

3. Anaconda catches the conflict and gives the user options to go back or exit. 
4. I selected to go back. Anaconda told me that I can't go back because file systems have already been partitioned. It offered me to exit the install or continue.
5. I selected to continue and shortly after I got this exception.
  
Actual results:
Exception.

Expected results:
Because I was not able to modify anything at the first place anaconda probably shouldn't have offered me to go back. 

OTOH because nothing changed I expected to see the same file conflict when doing back -> continue instead of a traceback.

Additional info:

Comment 1 Alexander Todorov 2011-01-27 16:03:04 UTC
My last lines of anaconda.log are below. The exceprt starts after the file conflict and ends after I hit the traceback.

05:50:15,852 ERROR   : file conflicts: file /usr/lib64/libcmpiCppImpl.so conflicts between attempted installs of libcmpiCppImpl0-2.0.1-5.el6.x86_64 and tog-pegasus-2:2.9.1-5.el6.x86_64
05:50:44,141 INFO    : leaving (-1) step installpackages
05:50:44,141 INFO    : moving (-1) to step preinstallconfig
05:50:44,141 DEBUG   : preinstallconfig is a direct step
05:50:44,142 DEBUG   : isys.py:umount()- going to unmount /mnt/sysimage/selinux, removeDir = False
05:50:44,232 DEBUG   : isys.py:umount()- going to unmount /mnt/sysimage/dev, removeDir = False
05:50:44,282 ERROR   : unable to unmount /dev: (4, None)
05:50:44,283 DEBUG   : isys.py:umount()- going to unmount /mnt/sysimage/proc/bus/usb, removeDir = False
05:50:44,330 INFO    : leaving (-1) step preinstallconfig
05:50:44,330 INFO    : moving (-1) to step install
05:50:44,346 INFO    : leaving (-1) step install
05:50:44,346 INFO    : moving (-1) to step reipl
05:50:44,347 DEBUG   : reipl is a direct step
05:50:44,347 INFO    : leaving (-1) step reipl
05:50:44,347 INFO    : moving (-1) to step postselection
05:50:44,347 DEBUG   : postselection is a direct step
05:50:44,347 INFO    : leaving (-1) step postselection
05:50:44,348 INFO    : moving (-1) to step basepkgsel
05:50:44,348 DEBUG   : basepkgsel is a direct step
05:50:44,767 DEBUG   : no package matching koan
05:50:49,196 DEBUG   : no package matching beah
05:50:49,199 DEBUG   : no package matching install
05:50:49,529 DEBUG   : no such group development-tools
05:50:49,558 DEBUG   : no such group development-libs
05:50:49,602 DEBUG   : no such group conflicts
05:50:49,602 INFO    : leaving (-1) step basepkgsel
05:50:49,602 INFO    : moving (-1) to step reposetup
05:50:49,602 DEBUG   : reposetup is a direct step
05:50:49,603 INFO    : leaving (-1) step reposetup
05:50:49,603 INFO    : moving (-1) to step bootloadersetup
05:50:49,603 DEBUG   : bootloadersetup is a direct step
05:50:57,587 INFO    : leaving (1) step bootloadersetup
05:50:57,588 INFO    : moving (1) to step reposetup
05:50:57,588 DEBUG   : reposetup is a direct step
05:50:57,736 INFO    : added repository Scalable Filesystem Support with URL file:///mnt/source/ScalableFileSystem
05:50:59,658 INFO    : leaving (1) step reposetup
05:50:59,658 INFO    : moving (1) to step basepkgsel
05:50:59,659 DEBUG   : basepkgsel is a direct step
05:51:00,381 DEBUG   : no package matching koan
05:51:05,275 DEBUG   : no package matching beah
05:51:05,276 DEBUG   : no package matching install
05:51:05,759 DEBUG   : no such group development-tools
05:51:05,788 DEBUG   : no such group development-libs
05:51:05,831 DEBUG   : no such group conflicts
05:51:05,831 INFO    : leaving (1) step basepkgsel
05:51:05,831 INFO    : moving (1) to step postselection
05:51:05,831 DEBUG   : postselection is a direct step
05:51:05,841 INFO    : selected kernel package for kernel
05:51:09,804 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/fs/ext4/ext4.ko.gz
05:51:09,804 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/fs/jbd2/jbd2.ko.gz
05:51:09,804 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/scsi/fcoe/fcoe.ko.gz
05:51:09,804 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/scsi/fcoe/libfcoe.ko.gz
05:51:09,804 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/scsi/libfc/libfc.ko.gz
05:51:09,805 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/scsi/scsi_transport_fc.ko.gz
05:51:09,805 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/scsi/scsi_tgt.ko.gz
05:51:09,805 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/crypto/xts.ko.gz
05:51:09,805 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/crypto/lrw.ko.gz
05:51:09,805 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/crypto/gf128mul.ko.gz
05:51:09,805 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/crypto/sha256_generic.ko.gz
05:51:09,805 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/crypto/cbc.ko.gz
05:51:09,805 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/md/dm-crypt.ko.gz
05:51:09,806 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/md/dm-round-robin.ko.gz
05:51:09,806 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/md/dm-multipath.ko.gz
05:51:09,806 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/md/dm-snapshot.ko.gz
05:51:09,806 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/md/dm-mirror.ko.gz
05:51:09,806 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/md/dm-region-hash.ko.gz
05:51:09,806 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/md/dm-log.ko.gz
05:51:09,806 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/md/dm-zero.ko.gz
05:51:09,806 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/md/dm-mod.ko.gz
05:51:09,807 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/md/linear.ko.gz
05:51:09,807 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/md/raid10.ko.gz
05:51:09,807 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/md/raid456.ko.gz
05:51:09,807 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/crypto/async_tx/async_raid6_recov.ko.gz
05:51:09,807 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/crypto/async_tx/async_pq.ko.gz
05:51:09,807 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/md/raid6_pq.ko.gz
05:51:09,807 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/crypto/async_tx/async_xor.ko.gz
05:51:09,808 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/crypto/xor.ko.gz
05:51:09,808 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/crypto/async_tx/async_memcpy.ko.gz
05:51:09,808 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/crypto/async_tx/async_tx.ko.gz
05:51:09,808 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/md/raid1.ko.gz
05:51:09,808 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/md/raid0.ko.gz
05:51:09,808 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/fs/ext2/ext2.ko.gz
05:51:09,808 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/fs/mbcache.ko.gz
05:51:09,808 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/fs/nfs/nfs.ko.gz
05:51:09,809 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/fs/lockd/lockd.ko.gz
05:51:09,809 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/fs/fscache/fscache.ko.gz
05:51:09,809 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/fs/nfs_common/nfs_acl.ko.gz
05:51:09,809 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/net/sunrpc/auth_gss/auth_rpcgss.ko.gz
05:51:09,809 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/net/sunrpc/sunrpc.ko.gz
05:51:09,809 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/scsi/sg.ko.gz
05:51:09,809 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/scsi/sd_mod.ko.gz
05:51:09,810 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/lib/crc-t10dif.ko.gz
05:51:09,810 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/scsi/sr_mod.ko.gz
05:51:09,810 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/cdrom/cdrom.ko.gz
05:51:09,810 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/gpu/drm/radeon/radeon.ko.gz
05:51:09,810 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/gpu/drm/ttm/ttm.ko.gz
05:51:09,810 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/gpu/drm/drm_kms_helper.ko.gz
05:51:09,810 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/gpu/drm/drm.ko.gz
05:51:09,810 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/i2c/algos/i2c-algo-bit.ko.gz
05:51:09,811 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/i2c/i2c-core.ko.gz
05:51:09,811 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/message/fusion/mptsas.ko.gz
05:51:09,811 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/message/fusion/mptscsih.ko.gz
05:51:09,811 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/message/fusion/mptbase.ko.gz
05:51:09,811 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/scsi/scsi_transport_sas.ko.gz
05:51:09,811 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/net/bnx2.ko.gz
05:51:09,811 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/ata/pata_acpi.ko.gz
05:51:09,811 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/ata/ata_generic.ko.gz
05:51:09,812 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/ata/ata_piix.ko.gz
05:51:09,812 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/net/ipv6/ipv6.ko.gz
05:51:09,812 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/firmware/iscsi_ibft.ko.gz
05:51:09,812 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/input/misc/pcspkr.ko.gz
05:51:09,812 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/firmware/edd.ko.gz
05:51:09,812 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/scsi/iscsi_tcp.ko.gz
05:51:09,812 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/scsi/libiscsi_tcp.ko.gz
05:51:09,812 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/scsi/libiscsi.ko.gz
05:51:09,813 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/scsi/scsi_transport_iscsi.ko.gz
05:51:09,813 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/fs/squashfs/squashfs.ko.gz
05:51:09,813 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/fs/cramfs/cramfs.ko.gz
05:51:09,813 DEBUG   : Checking for DUD module /lib/modules/2.6.32-94.el6.x86_64/kernel/drivers/usb/storage/usb-storage.ko.gz
05:51:09,813 DEBUG   : selecting kernel-devel
05:51:26,992 INFO    : leaving (1) step postselection
05:51:26,993 INFO    : moving (1) to step reipl
05:51:26,993 DEBUG   : reipl is a direct step
05:51:26,993 INFO    : leaving (1) step reipl
05:51:26,993 INFO    : moving (1) to step install
05:51:27,354 INFO    : leaving (1) step install
05:51:27,355 INFO    : moving (1) to step preinstallconfig
05:51:27,355 DEBUG   : preinstallconfig is a direct step
05:51:27,803 WARNING : /var/tmp already exists as a symlink to /mnt/sysimage//var/tmp
05:51:27,815 WARNING : /var/lib/rpm already exists as a symlink to /mnt/sysimage//var/lib/rpm
05:51:27,815 DEBUG   : isys.py:mount()- going to mount /selinux on /mnt/sysimage/selinux as selinuxfs with options defaults
05:51:28,118 DEBUG   : isys.py:mount()- going to mount /proc/bus/usb on /mnt/sysimage/proc/bus/usb as usbfs with options defaults
05:51:29,394 INFO    : leaving (1) step preinstallconfig
05:51:29,402 INFO    : moving (1) to step installpackages
05:51:29,403 DEBUG   : installpackages is a direct step
05:51:29,403 INFO    : Preparing to install packages
05:51:29,825 INFO    : leaving (1) step installpackages
05:51:29,825 INFO    : moving (1) to step postinstallconfig
05:51:29,825 DEBUG   : postinstallconfig is a direct step
05:51:30,619 INFO    : leaving (1) step postinstallconfig
05:51:30,620 INFO    : moving (1) to step writeconfig
05:51:30,620 DEBUG   : writeconfig is a direct step
05:51:30,620 INFO    : Writing main configuration
05:51:30,644 ERROR   : Timezone to be copied (/mnt/sysimage/usr/share/zoneinfo/America/New_York) doesn't exist
05:51:30,660 WARNING : '/usr/sbin/authconfig' specified as full path
05:51:30,812 ERROR   : Error running /usr/sbin/authconfig: No such file or directory
05:51:30,816 ERROR   : Error running ['--update', '--nostart', '--enableshadow', '--passalgo=sha512', '--enablefingerprint']: Error running /usr/sbin/authconfig: No such file or directory
05:51:30,820 WARNING : '/usr/sbin/lokkit' specified as full path
05:51:30,944 ERROR   : Error running /usr/sbin/lokkit: No such file or directory
05:51:30,945 ERROR   : lokkit run failed: Error running /usr/sbin/lokkit: No such file or directory
05:51:30,945 WARNING : '/usr/sbin/lokkit' specified as full path
05:51:31,044 ERROR   : Error running /usr/sbin/lokkit: No such file or directory
05:51:31,045 ERROR   : lokkit run failed: Error running /usr/sbin/lokkit: No such file or directory
05:51:31,045 WARNING : there is no inittab, bad things will happen!
05:51:31,491 INFO    : removing libuser.conf at /tmp/libuser.5kDGpm
05:51:31,491 INFO    : created new libuser.conf at /tmp/libuser.5kDGpm with instPath="/mnt/sysimage"
05:51:32,141 INFO    : Running kickstart %%traceback script(s)
05:51:32,141 INFO    : All kickstart %%traceback script(s) have been run
05:51:32,160 CRITICAL: anaconda 13.21.91 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/users.py", line 243, in setUserPassword
    self.admin.setpassUser(user, password, True)
  File "/usr/lib/anaconda/users.py", line 253, in setRootPassword
    return self.setUserPassword("root", password, isCrypted, lock, algo)
  File "/usr/lib/anaconda/instdata.py", line 170, in write
    algo=self.getPassAlgo())
  File "/usr/lib/anaconda/backend.py", line 319, in writeConfiguration
    anaconda.id.write()
  File "/usr/lib/anaconda/dispatch.py", line 208, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/gui.py", line 1393, in nextClicked
    self.anaconda.dispatch.gotoNext()
  File "/usr/lib/anaconda/iw/progress_gui.py", line 79, in renderCallback
    self.intf.icw.nextClicked()
  File "/usr/lib/anaconda/gui.py", line 1414, in handleRenderCallback
    self.currentWindow.renderCallback()
TypeError: argument 1 must be Entity, not None

05:52:54,466 CRITICAL: anaconda 13.21.91 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/users.py", line 243, in setUserPassword
    self.admin.setpassUser(user, password, True)
  File "/usr/lib/anaconda/users.py", line 253, in setRootPassword
    return self.setUserPassword("root", password, isCrypted, lock, algo)
  File "/usr/lib/anaconda/instdata.py", line 170, in write
    algo=self.getPassAlgo())
  File "/usr/lib/anaconda/backend.py", line 319, in writeConfiguration
    anaconda.id.write()
  File "/usr/lib/anaconda/dispatch.py", line 208, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/gui.py", line 1393, in nextClicked
    self.anaconda.dispatch.gotoNext()
  File "/usr/lib/anaconda/iw/progress_gui.py", line 79, in renderCallback
    self.intf.icw.nextClicked()
  File "/usr/lib/anaconda/gui.py", line 1414, in handleRenderCallback
    self.currentWindow.renderCallback()
TypeError: argument 1 must be Entity, not None

Comment 3 RHEL Program Management 2011-02-01 06:23:26 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 4 David Cantrell 2011-02-02 18:39:29 UTC
Is this still happening on current nightly trees?

Comment 5 Alexander Todorov 2011-02-03 08:23:51 UTC
Same exception with latest nightly. See Job:50583.

Comment 6 David Cantrell 2011-02-05 01:04:11 UTC
Using the 02-Feb nightly, I am unable to get the "TypeError: argument 1 must be Entity, not None" exception.  anaconda does throw up the warning for the libcmpiCppImpl0 conflicts with tog-pegasus, but I never see a traceback.

The conflict is a packaging error between those two components, so I'm going to reassign the component.  The conflict message from yum returned is:

    libcmpiCppImpl0 conflicts with tog-pegasus

The installation is performed via kickstart with the packages section looking like this:

    %packages
    *
    -@conflicts
    %end

Comment 7 Vitezslav Crhonek 2011-02-07 11:35:47 UTC
libcmpiCppImpl0 must be conflicting with tog-pegasus - both contain non-compatible library with the same name and path.

There's a minor issue in tog-pegasus spec file - it doesn't have explicit "Conflicts: libcmpiCppImpl0". But libcmpiCppImpl0 states "Conflicts: tog-pegasus", so I think that's enough and it's not the problem.

Related bugs solved in RHEL6.0:
https://bugzilla.redhat.com/show_bug.cgi?id=604578
https://bugzilla.redhat.com/show_bug.cgi?id=588914

Comment 8 Ondrej Vasik 2011-02-23 14:39:14 UTC
Based on Comment #7 closing NOTABUG. Conflicts are necessary there and there was no change in tog-pegasus nor libcmpiCppImpl0 . So if you think this has to be solved, feel free to reopen and reassign to different place ( maybe comps groups are changed if the issue is new in 6.1? )

Comment 9 Alexander Todorov 2011-02-23 15:10:41 UTC
Moving back to anaconda where it belongs.

Comment 10 Alexander Todorov 2011-02-23 15:12:28 UTC
(In reply to comment #6)
> Using the 02-Feb nightly, I am unable to get the "TypeError: argument 1 must be
> Entity, not None" exception.  anaconda does throw up the warning for the
> libcmpiCppImpl0 conflicts with tog-pegasus, but I never see a traceback.
> 

Please see the steps to reproduce. This is still happening with the latest nightly.

After the file conflict the following thing happens:

3. Anaconda catches the conflict and gives the user options to go back or exit. 
4. I selected to go back. Anaconda told me that I can't go back because file
systems have already been partitioned. It offered me to exit the install or
continue.
5. I selected to continue and shortly after I got this exception.

Expected results:
Because I was not able to modify anything at the first place anaconda probably
shouldn't have offered me to go back and exit the installation directly.

OTOH because nothing changed I expected to see the same file conflict when
doing back -> continue instead of a traceback.

Comment 11 David Cantrell 2011-03-02 17:27:57 UTC
(In reply to comment #10)
> Expected results:
> Because I was not able to modify anything at the first place anaconda probably
> shouldn't have offered me to go back and exit the installation directly.
> 
> OTOH because nothing changed I expected to see the same file conflict when
> doing back -> continue instead of a traceback.

The original reported traceback no longer appears for me (TypeError: argument 1 must be Entity, not None).  I can see removing the 'Back' option for kickstart installs as you can't really do anything at that point with changing your package selection.  Those windows also pop up for people doing interactive installs, and since depsolving happens when you leave the package selection screen, we can still go back at that point.

(Changing the title on this bug too.)

Comment 12 RHEL Program Management 2011-03-02 17:39:48 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has 
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed 
products. This request is not yet committed for inclusion in an Update release.

Comment 15 Alexander Todorov 2011-03-09 13:19:57 UTC
With anaconda-13.21.103-1.el6.x86_64 I no longer see the "TypeError: argument 1 must be Entity, not None" traceback. However I still see the Back button while comment #11 implies that it will be removed.

Comment 16 David Cantrell 2011-03-09 15:28:33 UTC
(In reply to comment #15)
> With anaconda-13.21.103-1.el6.x86_64 I no longer see the "TypeError: argument 1
> must be Entity, not None" traceback. However I still see the Back button while
> comment #11 implies that it will be removed.

The Back button in the dialog that pops up telling you the depsolving step cannot finish lacks the Back button now, what back button are you referring to?  Also, how are you trying to verify this bug now?  What steps are you performing exactly?

Comment 17 Alexander Todorov 2011-03-09 16:07:20 UTC
I'm using the steps to reproduce from comment #0, i.e. install with this ks.cfg:

%packages --ignoremissing
@Base
*
-@conflicts
%end

See attached screenshots. Btw I still got the TypeError: argument 1
> must be Entity, not None traceback.

Comment 18 Alexander Todorov 2011-03-09 16:08:11 UTC
Created attachment 483250 [details]
1st dialog

This is the first time Anaconda tells me about the file conflict. The window has a Back button.

Comment 19 Alexander Todorov 2011-03-09 16:08:52 UTC
Created attachment 483251 [details]
2nd dialog

After I press Back I see this window. I press Continue.

Comment 20 Alexander Todorov 2011-03-09 16:09:36 UTC
Created attachment 483252 [details]
3rd window - traceback

After a while I get this window which shows the traceback from comment #0.

Comment 22 Alexander Todorov 2011-03-22 11:10:34 UTC
Fixed in anaconda-13.21.104-1.el6

Comment 23 errata-xmlrpc 2011-05-19 12:37:22 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0530.html


Note You need to log in before you can comment on or make changes to this bug.