| Summary: | anaconda fails to detect disks on 32-bit Rawhide installs | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adam Williamson <awilliam> |
| Component: | libbytesize | Assignee: | Vratislav Podzimek <vpodzime> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | blivet-maint-list, vpodzime |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-05-05 00:30:23 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Adam Williamson
2016-04-11 21:05:15 UTC
/dev/sda is showing up as media_present = False, and the theory on IRC is that it's the 'self.current_size > Size(0)' part of that condition. The Size(10 GB) for the disk is probably overflowing a 32-bit int and coming out negative or something. This seems to be confirmed by this test:
s = Size("10 GiB")
s > 0
returns 'False', when run on a 32-bit Rawhide image.
Merged. Confirmed this is fixed with libbytesize 0.5. (the 32-bit install seems to suddenly crash a bit later, but that's not your problem...) |