This bug is believed to be fixed in cloud-init in version 23.2. If this
is still a problem for you, please make a comment and set the state back
to New

Thank you.

** Changed in: cloud-init
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/2016350

Title:
  Growpart fails on FreeBSD with MBR/Slices

Status in cloud-init:
  Fix Released

Bug description:
  A VM with slices and/or MBR will have a slice named /dev/da0s1a and
  makes growpart fail on its partition detection;

  Traceback (most recent call last):
    File "/usr/local/lib/python3.9/site-packages/cloudinit/config/modules.py", 
line 246, in _run_modules
      ran, _r = cc.run(
    File "/usr/local/lib/python3.9/site-packages/cloudinit/cloud.py", line 67, 
in run
      return self._runners.run(name, functor, args, freq, clear_on_fail)
    File "/usr/local/lib/python3.9/site-packages/cloudinit/helpers.py", line 
185, in run
      results = functor(*args)
    File 
"/usr/local/lib/python3.9/site-packages/cloudinit/config/cc_growpart.py", line 
613, in handle
      resized = util.log_time(
    File "/usr/local/lib/python3.9/site-packages/cloudinit/util.py", line 2721, 
in log_time
      ret = func(*args, **kwargs)
    File 
"/usr/local/lib/python3.9/site-packages/cloudinit/config/cc_growpart.py", line 
526, in resize_devices
      (disk, ptnum) = device_part_info(blockdev)
    File 
"/usr/local/lib/python3.9/site-packages/cloudinit/config/cc_growpart.py", line 
273, in device_part_info
      return (m.group(1), m.group(2))
  AttributeError: 'NoneType' object has no attribute 'group'

  It seems the regex needs to be modified to support MBR disks, if we
  want to support them.

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


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to