Bug 1226177
| Summary: | [origin_infrastructure_410] ansible-playbook is broken when force partitioning an already partitioned disk | ||
|---|---|---|---|
| Product: | OKD | Reporter: | Jianwei Hou <jhou> |
| Component: | Storage | Assignee: | Mark Turansky <mturansk> |
| Status: | CLOSED WONTFIX | QA Contact: | Liang Xia <lxia> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.x | CC: | jhou, jsafrane, libra-bugs, xtian |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-06-09 14:31:54 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: | |
| Embargoed: | |||
|
Description
Jianwei Hou
2015-05-29 06:55:18 UTC
(In reply to Hou Jianwei from comment #0) > File "/usr/lib64/python2.7/site-packages/parted/disk.py", line 246, in > addPartition > constraint.getPedConstraint()) > _ped.PartitionException: Can't have a partition outside the disk! I've never seen this error message. Can I have access to the machine? I guess there may be some rounding errors. I admit that re-running the role with different sizes and force=true will most probably not work - it should deregister the old partitions from Kuubernetes, un-export them from NFS, unmount them and the role does none of this. Some serious development is needed here. You should see different error messages though ("Device /dev/vda6 not found." - the new partitions were created, but kernel does not know about them, because the old ones are still mounted...) Add needinfor flag in case it's missed. The original requirements to the developer were not for an interactive tool to manage NFS. The ansible scripts provided are to help an admin initially provision a cluster and to provide a working example. This will not be fixed. |