Comment 4 for bug 620027

Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :

in the --nodaemon case nova-volume works like a charm, it creates both the physical volume and the volume group. It's the case without the --nodaemon switch that has troubles...the difference between the two pvcreate outputs:

*** WITH --nodaemon switch ***

  --- Physical volume ---
  PV Name /dev/loop0
  VG Name nova-volumes
  PV Size 10.00 GiB / not usable 4.00 MiB
  Allocatable yes
  PE Size 4.00 MiB
  Total PE 2559
  Free PE 2559
  Allocated PE 0
  PV UUID 5AKxZf-9TlO-3CSF-8UoG-GHzF-v910-CqIsEg

*** WITHOUT --nodaemon switch ***
  "/dev/loop0" is a new physical volume of "10.00 GiB"
  --- NEW Physical volume ---
  PV Name /dev/loop0
  VG Name
  PV Size 10.00 GiB
  Allocatable NO
  PE Size 0
  Total PE 0
  Free PE 0
  Allocated PE 0
  PV UUID FWH78L-I3b2-eMS6-hE43-V7dp-t1Fb-ksNDTI

It looks like that pvcreate fails silently...but I don't see any messages in /var/log/syslog or /var/log/messages. Any clues?