My Oracle Support Banner

Oracle Linux 7: Fail to Install OS due to "AttributeError: 'DeviceFormat' object has no attribute 'partedDisk'" (Doc ID 2446509.1)

Last updated on JUNE 24, 2020

Applies to:

Linux OS - Version Oracle Linux 7.0 to Oracle Linux 7.5 [Release OL7 to OL7U5]
Linux x86-64

Symptoms

While installing Oracle Linux 7.x, the anaconda installer failed with the following error in the anaconda logs:

anaconda 21.48.22.134-1 exception report
Traceback (most recent call first):
File "/usr/lib/python2.7/site-packages/blivet/devices/partition.py", line 373, in preCommitFixup
_partition = _disklabel.partedDisk.getPartitionBySector(_sector)
File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 291, in _preProcessActions
device.preCommitFixup()
File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 367, in processActions
self._preProcessActions()
File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 380, in doIt
self.devicetree.processActions(callbacks)
File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 230, in turnOnFilesystems
storage.doIt(callbacks)
File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 206, in doInstall
turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall, callbacks=callbacks_reg)
File "/usr/lib64/python2.7/threading.py", line 765, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, in run
threading.Thread.run(self, *args, **kwargs)
AttributeError: 'DeviceFormat' object has no attribute 'partedDisk'

Changes

New install of Oracle Linux 7

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.