Bug 868760

Summary: CreateException: Can't have a partition outside the disk!
Product: [Fedora] Fedora Reporter: Steve Tyler <stephent98>
Component: anacondaAssignee: Brian Lane <bcl>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: anaconda-maint-list, g.kaviyarasu, jonathan, stephent98, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:ed52ad4ab0193d40d6354ddb6d17c610d28b817803dd20aaec9ecc5c047ade8e
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-19 19:06:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: ifcfg.log
none
File: anaconda-tb
none
File: environ
none
File: type
none
File: storage.log
none
File: version
none
File: program.log
none
File: product
none
File: anaconda.log
none
File: hashmarkername
none
File: cmdline_file
none
File: release
none
File: messages
none
File: other involved packages none

Description Steve Tyler 2012-10-22 05:00:46 UTC
Version-Release number of selected component:
anaconda-18.19-1.fc18.x86_64

Additional info:
libreport version: 2.0.16
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-osimg-min --lang en_US.UTF-8
kernel:         3.6.1-1.fc18.x86_64

description:
:The following was filed automatically by anaconda:
:anaconda 18.19 exception report
:Traceback (most recent call first):
:  File "/usr/lib64/python2.7/site-packages/parted/geometry.py", line 55, in __init__
:    self.__geometry = _ped.Geometry(self.device.getPedDevice(), start, length)
:  File "/usr/lib64/python2.7/site-packages/parted/decorators.py", line 32, in new
:    ret = fn(*args, **kwds)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 1485, in _computeResize
:    length=newLen)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 1227, in _setTargetSize
:    (constraint, geometry) = self._computeResize(self.partedPartition)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 599, in <lambda>
:    lambda s, v: s._setTargetSize(v),
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/deviceaction.py", line 367, in __init__
:    self.device.targetSize = newsize
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 1261, in resizeDevice
:    self.devicetree.registerAction(action_class(device, new_size))
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1097, in _save_right_side
:    self.__storage.resizeDevice(device, size)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1831, in on_page_clicked
:    self._save_right_side(self._current_selector)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/accordion.py", line 119, in _onExpanded
:    cb(obj.get_child())
:CreateException: Can't have a partition outside the disk!

Comment 1 Steve Tyler 2012-10-22 05:00:49 UTC
Created attachment 631241 [details]
File: ifcfg.log

Comment 2 Steve Tyler 2012-10-22 05:00:52 UTC
Created attachment 631242 [details]
File: anaconda-tb

Comment 3 Steve Tyler 2012-10-22 05:00:54 UTC
Created attachment 631243 [details]
File: environ

Comment 4 Steve Tyler 2012-10-22 05:00:56 UTC
Created attachment 631244 [details]
File: type

Comment 5 Steve Tyler 2012-10-22 05:00:58 UTC
Created attachment 631245 [details]
File: storage.log

Comment 6 Steve Tyler 2012-10-22 05:00:59 UTC
Created attachment 631246 [details]
File: version

Comment 7 Steve Tyler 2012-10-22 05:01:01 UTC
Created attachment 631247 [details]
File: program.log

Comment 8 Steve Tyler 2012-10-22 05:01:02 UTC
Created attachment 631248 [details]
File: product

Comment 9 Steve Tyler 2012-10-22 05:01:04 UTC
Created attachment 631249 [details]
File: anaconda.log

Comment 10 Steve Tyler 2012-10-22 05:01:06 UTC
Created attachment 631250 [details]
File: hashmarkername

Comment 11 Steve Tyler 2012-10-22 05:01:07 UTC
Created attachment 631251 [details]
File: cmdline_file

Comment 12 Steve Tyler 2012-10-22 05:01:08 UTC
Created attachment 631252 [details]
File: release

Comment 13 Steve Tyler 2012-10-22 05:01:10 UTC
Created attachment 631253 [details]
File: messages

Comment 14 Steve Tyler 2012-10-22 05:01:12 UTC
Created attachment 631254 [details]
File: other involved packages

Comment 15 Steve Tyler 2012-11-04 17:28:25 UTC
This bug could be a duplicate of Bug 868755:

install disc is Live CD
sda is 2.64 GiB.
rsync error message: rsync exited with code 12

[snippets from attached messages file]
...
Oct 22 00:32:09 localhost kernel: [    0.000000] Command line: initrd=initrd0.img root=live:CDLABEL=Fedora-18-Beta-TC6-x86_64-Live-D rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0  BOOT_IMAGE=vmlinuz0 
...
Oct 22 00:32:09 localhost kernel: [    0.657238] sd 0:0:0:0: [sda] 5557452 512-byte logical blocks: (2.84 GB/2.64 GiB)
...
Oct 22 00:39:50 localhost program: rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken pipe (32)
Oct 22 00:39:50 localhost program: rsync: connection unexpectedly closed (1801062 bytes received so far) [sender]
Oct 22 00:39:50 localhost program: rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9]
Oct 22 00:39:50 localhost anaconda: rsync exited with code 12
...

Comment 16 Brian Lane 2012-11-05 18:34:24 UTC
How did you get back to the custom spoke? The traceback is from custom, but that's not accessible after starting the install.

Even with that, I think this is another size related error.

Comment 17 Steve Tyler 2012-11-05 20:35:10 UTC
If the installer continues execution after what should have been a fatal error, the behavior is undefined ... :-)

I was doing a disk size edge-test. A disk-size edge-test calls for installing to a disc image slightly smaller or larger than what the installer says is required to install.

messages:
Oct 22 00:32:09 localhost kernel: [    0.657238] sd 0:0:0:0: [sda] 5557452 512-byte logical blocks: (2.84 GB/2.64 GiB)

anaconda.log:
21:35:09,101 DEBUG anaconda: disk free: 1.56 MB  fs free: 0 B  sw needs: 2.66 GB

Maybe the installer is confusing GiB and GB ...