** Description changed:

  Ubuntu Focal
  ga kernel
  
  This problem was originally reported here:
  https://bugzilla.redhat.com/show_bug.cgi?id=1783075
  
  Using the linux-generic-hwe-20.04-edge packages resolves the issue.
  
  We hit this while exploring storage options for PS5 where we would like
  to put a Optane as cache device in front of a NVMe SSD backing device
  with 512 byte optimum I/O size.
  
  While the problem appears to be fixed for the kernel we file this bug to
  document a need for Focal hwe-edge images for commissioning/deploy in
  MAAS.
+ 
+ Excerpt from MAAS deploy log:
+ register_bcache: /dev/nvme1n1 > /sys/fs/bcache/register        bcache dev 
/dev/nvme1n1 not ready, waiting 0.2s        check just created bcache 
/dev/nvme1n1 if it is registered, try=60        Running command ['udevadm', 
'settle'] with allowed return codes [0] (capture=False)        TIMED 
udevadm_settle(): 0.015        bcache device path not found: 
/sys/class/block/nvme1n1/bcache        bcache device was not registered, 
registering /dev/nvme1n1 at /sys/fs/bcache/register        register_bcache: 
/dev/nvme1n1 > /sys/fs/bcache/register        bcache dev /dev/nvme1n1 not 
ready, waiting 0.2s        Repetitive error registering the bcache dev 
/dev/nvme1n1        An error occured handling 'bcache0': RuntimeError - bcache 
device /dev/nvme1n1 can't be registered        finish: 
cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: configuring 
bcache: bcache0        TIMED BLOCK_META: 28.332        finish: 
cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin command 
block-meta        Traceback (most recent call last):          File 
"/curtin/curtin/commands/main.py", line 202, in main            ret = 
args.func(args)          File "/curtin/curtin/log.py", line 97, in wrapper      
      return log_time("TIMED %s: " % msg, func, *args, **kwargs)          File 
"/curtin/curtin/log.py", line 79, in log_time            return func(*args, 
**kwargs)          File "/curtin/curtin/commands/block_meta.py", line 111, in 
block_meta            return meta_custom(args)          File 
"/curtin/curtin/commands/block_meta.py", line 1911, in meta_custom            
handler(command, storage_config_dict)          File 
"/curtin/curtin/commands/block_meta.py", line 1652, in bcache_handler           
 bcache_dev = bcache.create_backing_device(backing_device, cache_device,        
  File "/curtin/curtin/block/bcache.py", line 479, in create_backing_device     
       ensure_bcache_is_registered(backing_device, target_sysfs_path)          
File "/curtin/curtin/block/bcache.py", line 436, in ensure_bcache_is_registered 
           raise RuntimeError("bcache device %s can't be registered" %        
RuntimeError: bcache device /dev/nvme1n1 can't be registered        bcache 
device /dev/nvme1n1 can't be registered

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1910201

Title:
  bcache: overflow in stripe number calculations for devices with small
  io_opt

Status in MAAS:
  New
Status in linux package in Ubuntu:
  Fix Committed

Bug description:
  Ubuntu Focal
  ga kernel

  This problem was originally reported here:
  https://bugzilla.redhat.com/show_bug.cgi?id=1783075

  Using the linux-generic-hwe-20.04-edge packages resolves the issue.

  We hit this while exploring storage options for PS5 where we would
  like to put a Optane as cache device in front of a NVMe SSD backing
  device with 512 byte optimum I/O size.

  While the problem appears to be fixed for the kernel we file this bug
  to document a need for Focal hwe-edge images for commissioning/deploy
  in MAAS.

  Excerpt from MAAS deploy log:
  register_bcache: /dev/nvme1n1 > /sys/fs/bcache/register        bcache dev 
/dev/nvme1n1 not ready, waiting 0.2s        check just created bcache 
/dev/nvme1n1 if it is registered, try=60        Running command ['udevadm', 
'settle'] with allowed return codes [0] (capture=False)        TIMED 
udevadm_settle(): 0.015        bcache device path not found: 
/sys/class/block/nvme1n1/bcache        bcache device was not registered, 
registering /dev/nvme1n1 at /sys/fs/bcache/register        register_bcache: 
/dev/nvme1n1 > /sys/fs/bcache/register        bcache dev /dev/nvme1n1 not 
ready, waiting 0.2s        Repetitive error registering the bcache dev 
/dev/nvme1n1        An error occured handling 'bcache0': RuntimeError - bcache 
device /dev/nvme1n1 can't be registered        finish: 
cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: configuring 
bcache: bcache0        TIMED BLOCK_META: 28.332        finish: 
cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin command 
block-meta        Traceback (most recent call last):          File 
"/curtin/curtin/commands/main.py", line 202, in main            ret = 
args.func(args)          File "/curtin/curtin/log.py", line 97, in wrapper      
      return log_time("TIMED %s: " % msg, func, *args, **kwargs)          File 
"/curtin/curtin/log.py", line 79, in log_time            return func(*args, 
**kwargs)          File "/curtin/curtin/commands/block_meta.py", line 111, in 
block_meta            return meta_custom(args)          File 
"/curtin/curtin/commands/block_meta.py", line 1911, in meta_custom            
handler(command, storage_config_dict)          File 
"/curtin/curtin/commands/block_meta.py", line 1652, in bcache_handler           
 bcache_dev = bcache.create_backing_device(backing_device, cache_device,        
  File "/curtin/curtin/block/bcache.py", line 479, in create_backing_device     
       ensure_bcache_is_registered(backing_device, target_sysfs_path)          
File "/curtin/curtin/block/bcache.py", line 436, in ensure_bcache_is_registered 
           raise RuntimeError("bcache device %s can't be registered" %        
RuntimeError: bcache device /dev/nvme1n1 can't be registered        bcache 
device /dev/nvme1n1 can't be registered

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1910201/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to