2015-07-13 09:20:21 |
bugproxy |
bug |
|
|
added bug |
2015-07-13 09:20:23 |
bugproxy |
tags |
|
architecture-ppc64le bugnameltc-127443 severity-high targetmilestone-inin14043 |
|
2015-07-13 09:20:24 |
bugproxy |
attachment added |
|
udevadm monitor -p outputs when bug reproduced https://bugs.launchpad.net/bugs/1473903/+attachment/4428186/+files/dilllp1.txt |
|
2015-07-13 09:39:06 |
vaishnavi |
summary |
ISST-LTE: parted will generate two devices when adding one partition on mpath device |
parted will generate two devices when adding one partition on mpath device |
|
2015-07-13 12:23:13 |
Ubuntu Foundations Team Bug Bot |
tags |
architecture-ppc64le bugnameltc-127443 severity-high targetmilestone-inin14043 |
architecture-ppc64le bot-comment bugnameltc-127443 severity-high targetmilestone-inin14043 |
|
2015-07-14 05:23:13 |
vaishnavi |
affects |
ubuntu |
parted (Ubuntu) |
|
2015-07-14 12:36:47 |
Phillip Susi |
bug task added |
|
multipath-tools (Ubuntu) |
|
2015-07-21 22:35:28 |
Steve Langasek |
parted (Ubuntu): assignee |
|
Mathieu Trudel-Lapierre (mathieu-tl) |
|
2015-07-21 22:35:38 |
Steve Langasek |
multipath-tools (Ubuntu): assignee |
|
Mathieu Trudel-Lapierre (mathieu-tl) |
|
2015-08-25 16:19:45 |
Mathieu Trudel-Lapierre |
multipath-tools (Ubuntu): status |
New |
Invalid |
|
2015-08-25 16:19:48 |
Mathieu Trudel-Lapierre |
multipath-tools (Ubuntu): assignee |
Mathieu Trudel-Lapierre (mathieu-tl) |
|
|
2015-08-25 16:19:54 |
Mathieu Trudel-Lapierre |
parted (Ubuntu): status |
New |
Triaged |
|
2015-08-25 16:19:56 |
Mathieu Trudel-Lapierre |
parted (Ubuntu): importance |
Undecided |
High |
|
2015-08-31 18:01:44 |
bugproxy |
attachment added |
|
debian packages with suggested patch https://bugs.launchpad.net/bugs/1473903/+attachment/4455225/+files/libparted2_3.2-7ubuntu1_ppc64el.deb |
|
2015-08-31 18:01:46 |
bugproxy |
attachment added |
|
udev https://bugs.launchpad.net/bugs/1473903/+attachment/4455226/+files/libparted2-udeb_3.2-7ubuntu1_ppc64el.udeb |
|
2015-08-31 18:01:48 |
bugproxy |
attachment added |
|
fs-resize0 https://bugs.launchpad.net/bugs/1473903/+attachment/4455227/+files/libparted-fs-resize0_3.2-7ubuntu1_ppc64el.deb |
|
2015-08-31 18:01:50 |
bugproxy |
attachment added |
|
i18n https://bugs.launchpad.net/bugs/1473903/+attachment/4455228/+files/libparted-i18n_3.2-7ubuntu1_all.deb |
|
2015-08-31 18:01:52 |
bugproxy |
attachment added |
|
parted https://bugs.launchpad.net/bugs/1473903/+attachment/4455229/+files/parted_3.2-7ubuntu1_ppc64el.deb |
|
2015-08-31 18:01:53 |
bugproxy |
attachment added |
|
parted-udeb https://bugs.launchpad.net/bugs/1473903/+attachment/4455230/+files/parted-udeb_3.2-7ubuntu1_ppc64el.udeb |
|
2015-09-01 07:34:55 |
bugproxy |
attachment added |
|
proposed patch https://bugs.launchpad.net/bugs/1473903/+attachment/4455524/+files/file_127443.txt |
|
2015-09-16 18:07:26 |
Phillip Susi |
parted (Ubuntu): status |
Triaged |
Invalid |
|
2015-09-16 18:07:29 |
Phillip Susi |
multipath-tools (Ubuntu): status |
Invalid |
Triaged |
|
2015-09-16 18:07:48 |
Phillip Susi |
multipath-tools (Ubuntu): assignee |
|
Mathieu Trudel-Lapierre (mathieu-tl) |
|
2016-01-29 15:56:57 |
Mathieu Trudel-Lapierre |
multipath-tools (Ubuntu): importance |
Undecided |
High |
|
2016-01-29 15:56:59 |
Mathieu Trudel-Lapierre |
parted (Ubuntu): status |
Invalid |
Triaged |
|
2016-01-29 15:57:02 |
Mathieu Trudel-Lapierre |
parted (Ubuntu): status |
Triaged |
In Progress |
|
2016-01-29 15:57:04 |
Mathieu Trudel-Lapierre |
multipath-tools (Ubuntu): status |
Triaged |
In Progress |
|
2016-02-01 14:24:48 |
Mathieu Trudel-Lapierre |
description |
Problem Description
=============================
Two deivce created when creating 1 partition on a mpath device:
% sudo parted /dev/mapper/mpath2
GNU Parted 2.3
Using /dev/mapper/mpath2
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: Linux device-mapper (multipath) (dm)
Disk /dev/mapper/mpath2: 284GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
(parted) mkpart
mkpart mkpartfs
(parted) mkpart
Partition type? primary/extended? primary
File system type? [ext2]?
Start? 0%
End? 10%
Device /dev/mapper/mpath2p1 not found
device-mapper: table ioctl on failed: No such device or address
Device /dev/mapper/mpath2p1 not found
device-mapper: table ioctl on failed: No such device or address
(parted) p
Model: Linux device-mapper (multipath) (dm)
Disk /dev/mapper/mpath2: 284GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 28.4GB 28.4GB primary
(parted) q
Information: You may need to update /etc/fstab.
% ls /dev/mapper/mpath2*
/dev/mapper/mpath2 /dev/mapper/mpath2p1 /dev/mapper/mpath2-part1
%
Steps to Reproduce
===================================
1. install ubuntu 14.04.3 on a system which has mpath device
2. try to partition the mpath device, add one partition
---uname output---
Linux dilllp1 3.19.0-22-generic #22~14.04.1-Ubuntu SMP Wed Jun 17 10:03:39 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
Userspace tool common name: parted
Userspace rpm: parted, version: 2.3-19ubuntu1
The userspace tool has the following bit modes: 64-bit
== Comment: #2 - David Heller <hellerda@us.ibm.com> - 2015-07-09 20:16:11 ==
Hi Ping,
Are you sure that /dev/mapper/mpath2p1 device was not left over from install, and perhaps existed before you did the parted? Remember there were some changes to multipath in the installer, and the installer now uses mpathXpX, and the running os uses mpathX-partX.. I think that is right?
If the two devices truly were created in the same parted operation, if you can reproduce it, can you run "udevadm monitor -p" during the operation, and provide the output? thx.
== Comment: #3 - Ping Tian Han <pthan@cn.ibm.com> - 2015-07-09 22:03:53 ==
(In reply to comment #2)
> Hi Ping,
>
> Are you sure that /dev/mapper/mpath2p1 device was not left over from
> install, and perhaps existed before you did the parted? Remember there were
Yes, I'm pretty sure the device wasn't left over from install:
% ls /dev/mapper/mpath4*
/dev/mapper/mpath4
% sudo parted /dev/mapper/mpath4*
GNU Parted 2.3
Using /dev/mapper/mpath4
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Error: /dev/mapper/mpath4: unrecognised disk label
(parted) mklabel msdos
(parted) p
Model: Linux device-mapper (multipath) (dm)
Disk /dev/mapper/mpath4: 284GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
(parted) mkpart 1
parted: invalid token: 1
Partition type? primary/extended? primary
File system type? [ext2]?
Start? 0%
End? 10%
Device /dev/mapper/mpath4p1 not found
device-mapper: table ioctl on failed: No such device or address
Device /dev/mapper/mpath4p1 not found
device-mapper: table ioctl on failed: No such device or address
(parted) p
Model: Linux device-mapper (multipath) (dm)
Disk /dev/mapper/mpath4: 284GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 28.4GB 28.4GB primary
(parted) q
Information: You may need to update /etc/fstab.
% ls /dev/mapper/mpath4*
/dev/mapper/mpath4 /dev/mapper/mpath4p1 /dev/mapper/mpath4-part1
%
> some changes to multipath in the installer, and the installer now uses
> mpathXpX, and the running os uses mpathX-partX.. I think that is right?
>
> If the two devices truly were created in the same parted operation, if you
> can reproduce it, can you run "udevadm monitor -p" during the operation, and
> provide the output? thx.
No problem, I'll upload the result.
== Comment: #5 - Ping Tian Han <pthan@cn.ibm.com> - 2015-07-09 22:09:59 ==
(In reply to comment #4)
> Created attachment 100079 [details]
> udevadm monitor -p outputs when bug reproduced
This is the outputs when creating mpath4-part2.
== Comment: #6 - Vaishnavi Bhat <vaish123@in.ibm.com> - 2015-07-10 11:08:42 ==
Hi Ping Tian Han,
Can you please try to install the latest parted package from http://ftp.gnu.org/gnu/parted/ and check if the issue is reproduced ?
Thank you.
== Comment: #7 - Ping Tian Han <pthan@cn.ibm.com> - 2015-07-12 22:05:17 ==
(In reply to comment #6)
> Hi Ping Tian Han,
>
> Can you please try to install the latest parted package from
> http://ftp.gnu.org/gnu/parted/ and check if the issue is reproduced ?
>
> Thank you.
The latest 3.2 version doesn't have this problem on dilllp1. |
[Impact]
Admins who use parted to partition a multipath device after installation will find that more than one device may be generated for the same partition: one in the form XXXXpN, and one in the form XXXX-partN.
[Test case]
See below; use parted to partition a multipath device.
[Regression Potential]
Scripted tools which deal with the partitioning via parted and would depend on the devices from multipath being named "XXXXpN" will find that the device node is no longer available, since it was chosen to align with general udev rules for multipath coming from udev and multipath-tools, using the "XXXX-partN" form.
---
Problem Description
=============================
Two deivce created when creating 1 partition on a mpath device:
% sudo parted /dev/mapper/mpath2
GNU Parted 2.3
Using /dev/mapper/mpath2
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: Linux device-mapper (multipath) (dm)
Disk /dev/mapper/mpath2: 284GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
(parted) mkpart
mkpart mkpartfs
(parted) mkpart
Partition type? primary/extended? primary
File system type? [ext2]?
Start? 0%
End? 10%
Device /dev/mapper/mpath2p1 not found
device-mapper: table ioctl on failed: No such device or address
Device /dev/mapper/mpath2p1 not found
device-mapper: table ioctl on failed: No such device or address
(parted) p
Model: Linux device-mapper (multipath) (dm)
Disk /dev/mapper/mpath2: 284GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 28.4GB 28.4GB primary
(parted) q
Information: You may need to update /etc/fstab.
% ls /dev/mapper/mpath2*
/dev/mapper/mpath2 /dev/mapper/mpath2p1 /dev/mapper/mpath2-part1
%
Steps to Reproduce
===================================
1. install ubuntu 14.04.3 on a system which has mpath device
2. try to partition the mpath device, add one partition
---uname output---
Linux dilllp1 3.19.0-22-generic #22~14.04.1-Ubuntu SMP Wed Jun 17 10:03:39 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
Userspace tool common name: parted
Userspace rpm: parted, version: 2.3-19ubuntu1
The userspace tool has the following bit modes: 64-bit
== Comment: #2 - David Heller <hellerda@us.ibm.com> - 2015-07-09 20:16:11 ==
Hi Ping,
Are you sure that /dev/mapper/mpath2p1 device was not left over from install, and perhaps existed before you did the parted? Remember there were some changes to multipath in the installer, and the installer now uses mpathXpX, and the running os uses mpathX-partX.. I think that is right?
If the two devices truly were created in the same parted operation, if you can reproduce it, can you run "udevadm monitor -p" during the operation, and provide the output? thx.
== Comment: #3 - Ping Tian Han <pthan@cn.ibm.com> - 2015-07-09 22:03:53 ==
(In reply to comment #2)
> Hi Ping,
>
> Are you sure that /dev/mapper/mpath2p1 device was not left over from
> install, and perhaps existed before you did the parted? Remember there were
Yes, I'm pretty sure the device wasn't left over from install:
% ls /dev/mapper/mpath4*
/dev/mapper/mpath4
% sudo parted /dev/mapper/mpath4*
GNU Parted 2.3
Using /dev/mapper/mpath4
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Error: /dev/mapper/mpath4: unrecognised disk label
(parted) mklabel msdos
(parted) p
Model: Linux device-mapper (multipath) (dm)
Disk /dev/mapper/mpath4: 284GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
(parted) mkpart 1
parted: invalid token: 1
Partition type? primary/extended? primary
File system type? [ext2]?
Start? 0%
End? 10%
Device /dev/mapper/mpath4p1 not found
device-mapper: table ioctl on failed: No such device or address
Device /dev/mapper/mpath4p1 not found
device-mapper: table ioctl on failed: No such device or address
(parted) p
Model: Linux device-mapper (multipath) (dm)
Disk /dev/mapper/mpath4: 284GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 28.4GB 28.4GB primary
(parted) q
Information: You may need to update /etc/fstab.
% ls /dev/mapper/mpath4*
/dev/mapper/mpath4 /dev/mapper/mpath4p1 /dev/mapper/mpath4-part1
%
> some changes to multipath in the installer, and the installer now uses
> mpathXpX, and the running os uses mpathX-partX.. I think that is right?
>
> If the two devices truly were created in the same parted operation, if you
> can reproduce it, can you run "udevadm monitor -p" during the operation, and
> provide the output? thx.
No problem, I'll upload the result.
== Comment: #5 - Ping Tian Han <pthan@cn.ibm.com> - 2015-07-09 22:09:59 ==
(In reply to comment #4)
> Created attachment 100079 [details]
> udevadm monitor -p outputs when bug reproduced
This is the outputs when creating mpath4-part2.
== Comment: #6 - Vaishnavi Bhat <vaish123@in.ibm.com> - 2015-07-10 11:08:42 ==
Hi Ping Tian Han,
Can you please try to install the latest parted package from http://ftp.gnu.org/gnu/parted/ and check if the issue is reproduced ?
Thank you.
== Comment: #7 - Ping Tian Han <pthan@cn.ibm.com> - 2015-07-12 22:05:17 ==
(In reply to comment #6)
> Hi Ping Tian Han,
>
> Can you please try to install the latest parted package from
> http://ftp.gnu.org/gnu/parted/ and check if the issue is reproduced ?
>
> Thank you.
The latest 3.2 version doesn't have this problem on dilllp1. |
|
2016-02-01 14:26:26 |
Mathieu Trudel-Lapierre |
nominated for series |
|
Ubuntu Trusty |
|
2016-02-01 14:26:26 |
Mathieu Trudel-Lapierre |
bug task added |
|
parted (Ubuntu Trusty) |
|
2016-02-01 14:26:26 |
Mathieu Trudel-Lapierre |
bug task added |
|
multipath-tools (Ubuntu Trusty) |
|
2016-02-01 14:26:33 |
Mathieu Trudel-Lapierre |
parted (Ubuntu): status |
In Progress |
Fix Released |
|
2016-02-01 14:26:38 |
Mathieu Trudel-Lapierre |
multipath-tools (Ubuntu): status |
In Progress |
Fix Released |
|
2016-02-01 14:26:46 |
Mathieu Trudel-Lapierre |
parted (Ubuntu): status |
Fix Released |
Triaged |
|
2016-02-01 14:26:51 |
Mathieu Trudel-Lapierre |
multipath-tools (Ubuntu Trusty): status |
New |
In Progress |
|
2016-02-01 14:26:55 |
Mathieu Trudel-Lapierre |
parted (Ubuntu Trusty): status |
New |
Triaged |
|
2016-02-01 14:26:57 |
Mathieu Trudel-Lapierre |
parted (Ubuntu Trusty): importance |
Undecided |
High |
|
2016-02-01 14:26:59 |
Mathieu Trudel-Lapierre |
multipath-tools (Ubuntu Trusty): importance |
Undecided |
High |
|
2016-02-01 14:27:02 |
Mathieu Trudel-Lapierre |
multipath-tools (Ubuntu Trusty): assignee |
|
Mathieu Trudel-Lapierre (mathieu-tl) |
|
2016-02-01 14:27:03 |
Mathieu Trudel-Lapierre |
parted (Ubuntu Trusty): assignee |
|
Mathieu Trudel-Lapierre (mathieu-tl) |
|
2016-02-01 16:42:37 |
Mathieu Trudel-Lapierre |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2016-02-01 16:44:51 |
Mathieu Trudel-Lapierre |
parted (Ubuntu): status |
Triaged |
Fix Released |
|
2016-02-01 16:44:54 |
Mathieu Trudel-Lapierre |
parted (Ubuntu Trusty): status |
Triaged |
In Progress |
|
2016-02-03 01:11:48 |
Adam Conrad |
parted (Ubuntu Trusty): status |
In Progress |
Fix Committed |
|
2016-02-03 01:11:53 |
Adam Conrad |
bug |
|
|
added subscriber SRU Verification |
2016-02-03 01:11:57 |
Adam Conrad |
tags |
architecture-ppc64le bot-comment bugnameltc-127443 severity-high targetmilestone-inin14043 |
architecture-ppc64le bot-comment bugnameltc-127443 severity-high targetmilestone-inin14043 verification-needed |
|
2016-02-03 01:42:20 |
bugproxy |
attachment added |
|
i18n https://bugs.launchpad.net/bugs/1473903/+attachment/4562643/+files/libparted-i18n_3.2-7ubuntu1_all.deb |
|
2016-02-05 00:05:02 |
Brian Murray |
multipath-tools (Ubuntu Trusty): status |
In Progress |
Fix Committed |
|
2016-02-09 16:08:39 |
Mauricio Faria de Oliveira |
tags |
architecture-ppc64le bot-comment bugnameltc-127443 severity-high targetmilestone-inin14043 verification-needed |
architecture-ppc64le bot-comment bugnameltc-127443 severity-high targetmilestone-inin14043 verification-done |
|
2016-02-11 18:04:16 |
Phillip Susi |
parted (Ubuntu): status |
Fix Released |
Triaged |
|
2016-02-11 18:04:19 |
Phillip Susi |
multipath-tools (Ubuntu): status |
Fix Released |
Triaged |
|
2016-02-11 18:04:30 |
Phillip Susi |
tags |
architecture-ppc64le bot-comment bugnameltc-127443 severity-high targetmilestone-inin14043 verification-done |
architecture-ppc64le bot-comment bugnameltc-127443 severity-high targetmilestone-inin14043 verification-failed |
|
2016-02-11 19:08:08 |
Brian Murray |
tags |
architecture-ppc64le bot-comment bugnameltc-127443 severity-high targetmilestone-inin14043 verification-failed |
architecture-ppc64le bot-comment bugnameltc-127443 severity-high targetmilestone-inin14043 |
|
2016-02-11 19:08:09 |
Brian Murray |
tags |
architecture-ppc64le bot-comment bugnameltc-127443 severity-high targetmilestone-inin14043 |
architecture-ppc64le bot-comment bugnameltc-127443 severity-high targetmilestone-inin14043 verification-needed |
|
2016-02-11 21:50:32 |
Mathieu Trudel-Lapierre |
tags |
architecture-ppc64le bot-comment bugnameltc-127443 severity-high targetmilestone-inin14043 verification-needed |
architecture-ppc64le bot-comment bugnameltc-127443 severity-high targetmilestone-inin14043 verification-done |
|
2016-02-15 23:15:28 |
Launchpad Janitor |
multipath-tools (Ubuntu Trusty): status |
Fix Committed |
Fix Released |
|
2016-02-15 23:15:49 |
Adam Conrad |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2016-06-22 08:35:21 |
Ming-Xun Zhong |
bug |
|
|
added subscriber Ming-Xun Zhong |
2016-06-23 14:52:18 |
Phillip Susi |
multipath-tools (Ubuntu Trusty): status |
Fix Released |
Triaged |
|
2016-06-23 14:52:22 |
Phillip Susi |
parted (Ubuntu Trusty): status |
Fix Committed |
Invalid |
|
2016-06-23 14:52:29 |
Phillip Susi |
parted (Ubuntu): status |
Triaged |
Invalid |
|
2016-07-06 13:02:01 |
Mathieu Trudel-Lapierre |
multipath-tools (Ubuntu): status |
Triaged |
Fix Released |
|
2016-07-06 13:02:07 |
Mathieu Trudel-Lapierre |
parted (Ubuntu): status |
Invalid |
Triaged |
|
2016-07-06 13:02:10 |
Mathieu Trudel-Lapierre |
parted (Ubuntu Trusty): status |
Invalid |
Triaged |
|
2016-08-23 15:35:34 |
Phillip Susi |
parted (Ubuntu Trusty): status |
Triaged |
Invalid |
|
2016-08-23 15:35:37 |
Phillip Susi |
parted (Ubuntu): status |
Triaged |
Invalid |
|
2016-11-21 16:21:51 |
Martin Pitt |
multipath-tools (Ubuntu Trusty): status |
Triaged |
Won't Fix |
|