Bug 1219219 - AttributeError: 'DiskDevice' object has no attribute 'disk' [NEEDINFO]
Summary: AttributeError: 'DiskDevice' object has no attribute 'disk'
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 22
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:9a413b806830f05e9534b4d2e93...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-06 20:44 UTC by Tomas Toth
Modified: 2015-11-23 17:13 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-23 17:13:35 UTC
Type: ---
Embargoed:
jforbes: needinfo?


Attachments (Terms of Use)
File: anaconda-tb (494.13 KB, text/plain)
2015-05-06 20:44 UTC, Tomas Toth
no flags Details
File: anaconda.log (25.18 KB, text/plain)
2015-05-06 20:44 UTC, Tomas Toth
no flags Details
File: environ (654 bytes, text/plain)
2015-05-06 20:44 UTC, Tomas Toth
no flags Details
File: journalctl (241.49 KB, text/plain)
2015-05-06 20:44 UTC, Tomas Toth
no flags Details
File: lsblk_output (1.99 KB, text/plain)
2015-05-06 20:44 UTC, Tomas Toth
no flags Details
File: nmcli_dev_list (1.02 KB, text/plain)
2015-05-06 20:44 UTC, Tomas Toth
no flags Details
File: os_info (443 bytes, text/plain)
2015-05-06 20:44 UTC, Tomas Toth
no flags Details
File: program.log (29.93 KB, text/plain)
2015-05-06 20:44 UTC, Tomas Toth
no flags Details
File: storage.log (115.67 KB, text/plain)
2015-05-06 20:44 UTC, Tomas Toth
no flags Details
File: ifcfg.log (2.26 KB, text/plain)
2015-05-06 20:44 UTC, Tomas Toth
no flags Details
journalctl log from the F21 host (commented) (8.29 KB, text/plain)
2015-05-07 21:33 UTC, Tomas Toth
no flags Details

Description Tomas Toth 2015-05-06 20:44:00 UTC
Description of problem:
Tried to install Fedora-Live-KDE-x86_64-22_Beta-3.iso as VM into F21.
Filled in the basincs in anaconda, pressed Begin installation.

Version-Release number of selected component:
anaconda-core-22.20.9-1.fc22.x86_64

The following was filed automatically by anaconda:
anaconda 22.20.9-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 370, in processActions
    if dep.exists and dep.dependsOn(action.device.disk):
  File "/usr/lib/python2.7/site-packages/blivet/blivet.py", line 162, in doIt
    self.devicetree.processActions(callbacks)
  File "/usr/lib/python2.7/site-packages/blivet/osinstall.py", line 1058, in turnOnFilesystems
    storage.doIt(callbacks)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 196, in doInstall
    turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall, callbacks=callbacks_reg)
  File "/usr/lib64/python2.7/threading.py", line 766, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 244, in run
    threading.Thread.run(self, *args, **kwargs)
AttributeError: 'DiskDevice' object has no attribute 'disk'

Additional info:
cmdline:        /usr/bin/python2  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-KDE-x86_64-22_B-3 rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.0.0-0.rc5.git4.1.fc22.x86_64
other involved packages: python-blivet-1.0.7-1.fc22.noarch, python-libs-2.7.9-5.fc22.x86_64
product:        Fedora
release:        Fedora release 22 (Twenty Two)
type:           anaconda
version:        22

Comment 1 Tomas Toth 2015-05-06 20:44:06 UTC
Created attachment 1022796 [details]
File: anaconda-tb

Comment 2 Tomas Toth 2015-05-06 20:44:08 UTC
Created attachment 1022797 [details]
File: anaconda.log

Comment 3 Tomas Toth 2015-05-06 20:44:09 UTC
Created attachment 1022798 [details]
File: environ

Comment 4 Tomas Toth 2015-05-06 20:44:13 UTC
Created attachment 1022799 [details]
File: journalctl

Comment 5 Tomas Toth 2015-05-06 20:44:14 UTC
Created attachment 1022800 [details]
File: lsblk_output

Comment 6 Tomas Toth 2015-05-06 20:44:15 UTC
Created attachment 1022801 [details]
File: nmcli_dev_list

Comment 7 Tomas Toth 2015-05-06 20:44:17 UTC
Created attachment 1022802 [details]
File: os_info

Comment 8 Tomas Toth 2015-05-06 20:44:19 UTC
Created attachment 1022803 [details]
File: program.log

Comment 9 Tomas Toth 2015-05-06 20:44:21 UTC
Created attachment 1022804 [details]
File: storage.log

Comment 10 Tomas Toth 2015-05-06 20:44:23 UTC
Created attachment 1022805 [details]
File: ifcfg.log

Comment 11 Tomas Toth 2015-05-07 06:56:35 UTC
The journal/log is contains many of theses messages:

May 06 16:38:12 localhost kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
May 06 16:38:12 localhost kernel: ata1.00: BMDMA stat 0x4
May 06 16:38:12 localhost kernel: ata1.00: failed command: WRITE DMA
May 06 16:38:12 localhost kernel: ata1.00: cmd ca/00:18:00:00:00/00:00:00:00:00/e0 tag 0 dma 12288 out
res 41/04:18:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
May 06 16:38:12 localhost kernel: ata1.00: status: { DRDY ERR }
May 06 16:38:12 localhost kernel: ata1.00: error: { ABRT }
May 06 16:38:12 localhost kernel: ata1.00: configured for MWDMA2
May 06 16:38:12 localhost kernel: ata1.01: configured for MWDMA2
May 06 16:38:12 localhost kernel: ata1: EH complete
May 06 16:38:12 localhost kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
May 06 16:38:12 localhost kernel: ata1.00: BMDMA stat 0x4
May 06 16:38:12 localhost kernel: ata1.00: failed command: WRITE DMA
May 06 16:38:12 localhost kernel: ata1.00: cmd ca/00:18:00:00:00/00:00:00:00:00/e0 tag 0 dma 12288 out
res 41/04:18:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
May 06 16:38:12 localhost kernel: ata1.00: status: { DRDY ERR }
May 06 16:38:12 localhost kernel: ata1.00: error: { ABRT }
May 06 16:38:12 localhost kernel: ata1.00: configured for MWDMA2
May 06 16:38:12 localhost kernel: ata1.01: configured for MWDMA2
May 06 16:38:12 localhost kernel: ata1: EH complete

Please note that my disk on the F21 host is OK. The issue could be in virtualization / (host) kernel.

Could you please advice what other logs would help to narrow this down and how to generate them?

I used virt-manager to setup the VM. I did not found how to export the VM's configuration from it. I get similar issues when trying to setup any CentOS, F21, F22 VM on my F21 host.

Thanks.

Comment 12 Tomas Toth 2015-05-07 20:00:14 UTC
Another user experienced a similar problem:

Another try to install Fedora-Live-KDE-x86_64-22_Beta-3.iso as VM into F21 host using virt-manager.

cmdline:        /usr/bin/python2  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-KDE-x86_64-22_B-3 rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 
hashmarkername: anaconda
kernel:         4.0.0-0.rc5.git4.1.fc22.x86_64
other involved packages: python-blivet-1.0.7-1.fc22.noarch, python-libs-2.7.9-5.fc22.x86_64
package:        anaconda-core-22.20.9-1.fc22.x86_64
packaging.log:  
product:        Fedora
reason:         AttributeError: 'DiskDevice' object has no attribute 'disk'
release:        Fedora release 22 (Twenty Two)
version:        22

Comment 13 Tomas Toth 2015-05-07 21:33:29 UTC
Created attachment 1023274 [details]
journalctl log from the F21 host (commented)

Comments in the journalctl log show:
- When the virt-manager was started - beginning of the log.
- When New Virtual Machine was (started to be) created.

The anaconda in the F22 guest crashes right after Begin Installation is pressed. It was at 23:13:20 of the host's time.

There are no messages in the host's log after 07 23:08:23.

Comment 14 David Shea 2015-05-08 12:57:48 UTC
Reassigning to kernel based on comment 11

Comment 15 Justin M. Forbes 2015-10-20 19:24:32 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 22 kernel bugs.

Fedora 22 has now been rebased to 4.2.3-200.fc22.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you have moved on to Fedora 23, and are still experiencing this issue, please change the version to Fedora 23.

If you experience different issues, please open a new bug report for those.

Comment 16 Fedora Kernel Team 2015-11-23 17:13:35 UTC
*********** MASS BUG UPDATE **************
This bug is being closed with INSUFFICIENT_DATA as there has not been a response in over 4 weeks. If you are still experiencing this issue, please reopen and attach the relevant data from the latest kernel you are running and any data that might have been requested previously.


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