Public bug reported:

Release version
=====================
lsb_release -rd
Description:    Ubuntu 14.04.3 LTS
Release:        14.04

package version
=====================
apt-cache policy cloud-utils
cloud-utils:
  Installed: 0.27-0ubuntu9.1
  Candidate: 0.27-0ubuntu9.1
  Version table:
 *** 0.27-0ubuntu9.1 0
        500 http://MIRROR/ubuntu/ trusty-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     0.27-0ubuntu9 0
        500 http://MIRROR/ubuntu/ trusty/main amd64 Packages

behavior
=====================
growpart -v /dev/sda 10
update-partition set to true
found MBR partition table (id = 83)
geometry is -C 48561 -H 255 -S 63. total size=780132465
## sfdisk -C 48561 -H 255 -S 63 --unit=S --dump /dev/sda
# partition table of /dev/sda
unit: sectors

/dev/sda1 : start=     2048, size= 20973568, Id=83, bootable
/dev/sda2 : start= 20975616, size=   133120, Id=83
/dev/sda3 : start= 21110782, size=759021683, Id= 5
/dev/sda4 : start=        0, size=        0, Id= 0
/dev/sda5 : start= 21110784, size=  2107392, Id=83
/dev/sda6 : start= 23220224, size= 41951232, Id=83
/dev/sda7 : start= 65173504, size=  2107392, Id=83
/dev/sda8 : start= 67282944, size=  2107392, Id=83
/dev/sda9 : start= 69392384, size= 31248384, Id=82
/dev/sda10: start=100642816, size=  5851136, Id=83

FAILED: failed to get start and end for /dev/sda10 in /dev/sda

Looks like because of no space between '/dev/sda10' and ':' parsing
doesn't work

Expected behavior
=====================
Extending partition without errors

** Affects: cloud-utils
     Importance: Undecided
         Status: New

** Description changed:

  Release version
  =====================
  lsb_release -rd
  Description:  Ubuntu 14.04.3 LTS
  Release:      14.04
  
  package version
  =====================
  apt-cache policy cloud-utils
  cloud-utils:
-   Installed: 0.27-0ubuntu9.1
-   Candidate: 0.27-0ubuntu9.1
-   Version table:
-  *** 0.27-0ubuntu9.1 0
-         500 http://mirror.ash2.symcpe.net/ubuntu/ trusty-updates/main amd64 
Packages
-         100 /var/lib/dpkg/status
-      0.27-0ubuntu9 0
-         500 http://mirror.ash2.symcpe.net/ubuntu/ trusty/main amd64 Packages
+   Installed: 0.27-0ubuntu9.1
+   Candidate: 0.27-0ubuntu9.1
+   Version table:
+  *** 0.27-0ubuntu9.1 0
+         500 http://MIRROR/ubuntu/ trusty-updates/main amd64 Packages
+         100 /var/lib/dpkg/status
+      0.27-0ubuntu9 0
+         500 http://MIRROR/ubuntu/ trusty/main amd64 Packages
  
  behavior
  =====================
  growpart -v /dev/sda 10
  update-partition set to true
  found MBR partition table (id = 83)
  geometry is -C 48561 -H 255 -S 63. total size=780132465
  ## sfdisk -C 48561 -H 255 -S 63 --unit=S --dump /dev/sda
  # partition table of /dev/sda
  unit: sectors
  
  /dev/sda1 : start=     2048, size= 20973568, Id=83, bootable
  /dev/sda2 : start= 20975616, size=   133120, Id=83
  /dev/sda3 : start= 21110782, size=759021683, Id= 5
  /dev/sda4 : start=        0, size=        0, Id= 0
  /dev/sda5 : start= 21110784, size=  2107392, Id=83
  /dev/sda6 : start= 23220224, size= 41951232, Id=83
  /dev/sda7 : start= 65173504, size=  2107392, Id=83
  /dev/sda8 : start= 67282944, size=  2107392, Id=83
  /dev/sda9 : start= 69392384, size= 31248384, Id=82
  /dev/sda10: start=100642816, size=  5851136, Id=83
  
  FAILED: failed to get start and end for /dev/sda10 in /dev/sda
  
  Looks like because of no space between '/dev/sda10' and ':' parsing
  doesn't work
  
  Expected behavior
  =====================
  Extending partition without errors

** Also affects: cloud-utils
   Importance: Undecided
       Status: New

** No longer affects: cloud-utils (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1499600

Title:
  growpart can't resize partition with two digits

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-utils/+bug/1499600/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to