RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1466508 - [container-storage-setup] sfdisk unable to partition a disk
Summary: [container-storage-setup] sfdisk unable to partition a disk
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: container-storage-setup
Version: 7.4
Hardware: All
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Vivek Goyal
QA Contact: atomic-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-29 20:33 UTC by Qian Cai
Modified: 2017-08-02 00:11 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-02 00:11:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:2343 0 normal SHIPPED_LIVE new package: container-storage-setup 2017-08-08 22:51:31 UTC

Description Qian Cai 2017-06-29 20:33:45 UTC
Description of problem:
# cat /etc/sysconfig/docker-storage-setup
DEVS=/dev/vdb

# container-storage-setup
Checking that no-one is using this disk right now ...
OK

Disk /dev/vdb: 20805 cylinders, 16 heads, 63 sectors/track
sfdisk:  /dev/vdb: unrecognized partition table type

Old situation:
sfdisk: No partitions found

sfdisk: trailing junk after number

sfdisk: bad input

This looks like a typo in create_partition_sfdisk() function,

    cat <<EOF | sfdisk $dev
unit: sectors
start=     2048, size=  ${size}, Id=8e
EOF

I managed to change one line as in the old docker-storage-setup and everything is working fine again.

${dev}1 : start=     2048, size=  ${size}, Id=8e

Version-Release number of selected component (if applicable):
container-storage-setup-0.3.0-2.git9b77bcb.el7.noarch

How reproducible:
always

Comment 1 Vivek Goyal 2017-06-30 14:35:13 UTC
Proposed a PR upstream.

https://github.com/projectatomic/container-storage-setup/pull/246

Cai Qian, can you give that a try and see if it works for you now.

Comment 5 errata-xmlrpc 2017-08-02 00:11:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:2343


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