tgilber (7) [Avatar] Offline
#1
The instructions in the box on page 43 refer to running this command:

sudo losetup -f /opt/stack/data/stack-volumes-backing-file

/opt/stack/data/stack-volumes-backing-file does not exist.

Tim
cody.bumgardner (57) [Avatar] Offline
#2
Re: After restart, running losetup fails
Tim,

Here is a directory listing of devstack/stable on Ubuntu 12.04.

sysop@devstack:/opt/stack/data$ ls -la
total 1073200
drwxr-xr-x 7 stack root 4096 Jul 15 12:26 .
drwxr-xr-x 35 stack stack 4096 Jul 19 14:32 ..
drwxr-xr-x 4 stack stack 4096 Jul 17 14:40 cinder
drwxr-xr-x 4 stack stack 4096 Jul 15 12:27 glance
drwxr-xr-x 5 stack stack 4096 Jul 15 12:28 neutron
drwxr-xr-x 6 stack root 4096 Jul 15 12:28 nova
-rw-r--r-- 1 stack stack 107374182400 Jul 26 04:42 stack-volumes-backing-file
drwxr-xr-x 2 stack stack 4096 Jul 1 13:49 tempest

The "stack-volumes-backing-file" is created by Cinder. By default in devstack the LVM iSCSI driver is used. Do you perhaps have a space issue on the volume you are using? You can reduce the volume size by setting
"VOLUME_BACKING_FILE_SIZE=102400M" in devstack/local.conf

Let me know if this helps.

Cody