vgcreate/lvcreate in volume/service.py fail and go undetected
Bug #620027 reported by
Armando Migliaccio
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I noticed that service.py under nova/volume contains this flag:
flags.DEFINE_
my host does not have a /dev/sdb, so vgcreate in _init_volume_
Thanks,
Armando
description: | updated |
description: | updated |
To post a comment you must log in.
You can pass in a flag for a different storage device --> dev=/dev/ loop0 nova-volume. conf: dev=/dev/ loop0
./nova-volume --nodaemon --verbose --storage_
or in /etc/nova/
--storage_
Also, if you just make sure that the volume group already exists, it will group=vgfoo
work. The group should be called 'nova-volumes'. You can also specify a
different volume group name with a flag
--volume_
Vish
On Wed, Aug 18, 2010 at 11:46 AM, Armando Migliaccio <
<email address hidden>> wrote:
> ** Description changed: string( 'storage_ dev', '/dev/sdb', 'Physical device to use group(self) fails and consequently lvcreate in _create_lv string( 'storage_ dev', '/dev/sdb', 'Physical device to use group(self) fails and consequently lvcreate in _create_lv /bugs.launchpad .net/bugs/ 620027 string( 'storage_ dev', '/dev/sdb', 'Physical device to use for group(self)
>
> I noticed that service.py under nova/volume contains this flag:
>
> flags.DEFINE_
> for volumes')
>
> my host does not have a /dev/sdb, so vgcreate in
> _init_volume_
> 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_
> for volumes')
>
> my host does not have a /dev/sdb, so vgcreate in
> _init_volume_
> 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:/
> You received this bug notification because you are a member of Nova
> Bugs, which is subscribed to OpenStack Compute (nova).
>
> Status in OpenStack Compute (Nova): New
>
> Bug description:
> I noticed that service.py under nova/volume contains this flag:
>
> flags.DEFINE_
> volumes')
>
> my host does not have a /dev/sdb, so vgcreate in _init_volume_
> 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 passed by $NOVA_VOLUME_ARGS?
>
> Thanks,
> Armando
>
>
>
>
>