← Back to team overview

registry team mailing list archive

[Bug 620027] Re: vgcreate/lvcreate in volume/service.py fail and go undetected

 

** Description changed:

  I noticed that service.py under nova/volume contains this flag:
  
  flags.DEFINE_string('storage_dev', '/dev/sdb', 'Physical device to use
  for volumes')
  
  my host does not have a /dev/sdb, so vgcreate in
  _init_volume_group(self) fails and consequently lvcreate in _create_lv
  fails too. It seems that no exeption is reported in the log file.
- Shouldn't storage_dev be /dev/loop0?
+ Shouldn't storage_dev be /dev/loop0 or any other free loop device chosen
+ by losetup?
  
  Thanks,
  Armando

** Description changed:

  I noticed that service.py under nova/volume contains this flag:
  
  flags.DEFINE_string('storage_dev', '/dev/sdb', 'Physical device to use
  for volumes')
  
  my host does not have a /dev/sdb, so vgcreate in
  _init_volume_group(self) fails and consequently lvcreate in _create_lv
  fails too. It seems that no exeption is reported in the log file.
  Shouldn't storage_dev be /dev/loop0 or any other free loop device chosen
- by losetup?
+ by losetup passed by $NOVA_VOLUME_ARGS?
  
  Thanks,
  Armando

-- 
vgcreate/lvcreate in volume/service.py fail and go undetected
https://bugs.launchpad.net/bugs/620027
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack.



Follow ups

References