Status: New
Owner: ----
New issue 384 by [email protected]: gnt-backup import fails when
/srv/ganeti/export is mounted by nfs
http://code.google.com/p/ganeti/issues/detail?id=384
What software version are you running? Please provide the output of "gnt-
cluster --version" and "gnt-cluster version".
# gnt-cluster --version
gnt-cluster (ganeti v2.6.2) 2.6.2
# gnt-cluster version
Software version: 2.6.2
Internode protocol: 2060000
Configuration format: 2060000
OS api version: 20
Export interface: 0
What distribution are you using?
Debian squeeze
What steps will reproduce the problem?
Create (i.e. gnt-backup import) instance instance1 from template while
/srv/ganeti/export points to a NFS mounted directory :
# gnt-backup import -t sharedfile -n node1 -B vcpus=1,memory=256m --disk
0:size=3G --net 0:mac=54:52:00:01:23:45,link=br0 --src-node=node1
--src-dir=/srv/ganeti/export/template instance1
What is the expected output?
This is the output I get, when /srv/ganeti/export is on a local disk:
Wed Feb 20 13:38:08 2013 - INFO: Resolved given name 'instance1'
to 'instance1'
Wed Feb 20 13:38:19 2013 * disk 0, size 3.0G
Wed Feb 20 13:38:19 2013 * creating instance disks...
Wed Feb 20 13:38:19 2013 adding instance instance1 to cluster config
Wed Feb 20 13:38:20 2013 - INFO: Waiting for instance instance1 to sync
disks.
Wed Feb 20 13:38:20 2013 - INFO: Instance instance1's disks are in sync.
Wed Feb 20 13:38:20 2013 * running the instance OS import scripts...
Wed Feb 20 13:38:20 2013 Exporting disk/0 from node1 to node1
Wed Feb 20 13:38:23 2013 disk/0 is now listening, starting export
Wed Feb 20 13:38:26 2013 disk/0 is receiving data on node1
Wed Feb 20 13:38:26 2013 disk/0 is sending data on node1
Wed Feb 20 13:38:31 2013 disk/0 sent 86M, 14.0 MiB/s, 3%, ETA 2m 48s
Wed Feb 20 13:39:33 2013 disk/0 sent 1021M, 15.1 MiB/s, 41%, ETA 1m 34s
...
What do you see instead?
Wed Feb 20 12:59:25 2013 - INFO: Resolved given name 'instance1'
to 'instance1'
Wed Feb 20 12:59:36 2013 * disk 0, size 3.0G
Wed Feb 20 12:59:36 2013 * creating instance disks...
Wed Feb 20 12:59:36 2013 adding instance instance1 to cluster config
Wed Feb 20 12:59:37 2013 - INFO: Waiting for instance instance1 to sync
disks.
Wed Feb 20 12:59:37 2013 - INFO: Instance instance1's disks are in sync.
Wed Feb 20 12:59:37 2013 * running the instance OS import scripts...
Wed Feb 20 12:59:37 2013 Exporting disk/0 from node1 to node1
Wed Feb 20 12:59:40 2013 disk/0 is now listening, starting export
Wed Feb 20 12:59:41 2013 - WARNING: export on node1 failed: Failed to
start export on node1:
File '/srv/ganeti/export/vhrz477/19d123c8-69cb-474e-983a-75cff05ece2b.disk0.snap'
is not under exports directory '/srv/ganeti/export':
/fs/ganeti/export/vhrz477/19d123c8-69cb-474e-983a-75cff05ece2b.disk0.snap
Wed Feb 20 12:59:41 2013 disk/0 failed to send data: Failed to start export
on node1:
File '/srv/ganeti/export/vhrz477/19d123c8-69cb-474e-983a-75cff05ece2b.disk0.snap'
is not under exports directory '/srv/ganeti/export':
/fs/ganeti/export/vhrz477/19d123c8-69cb-474e-983a-75cff05ece2b.disk0.snap
(recent output: None)
Wed Feb 20 12:59:41 2013 - WARNING: Aborting
import 'import-disk0-2013-02-20_12_59_37-zxFRyH' on node1
Wed Feb 20 12:59:42 2013 - WARNING:
import 'import-disk0-2013-02-20_12_59_37-zxFRyH' on node1 failed: Exited
due to signal 15
Wed Feb 20 12:59:42 2013 disk/0 failed to receive data: Exited due to
signal 15 (recent output: ++ mktemp -d\n+ DUMPDIR=/tmp/tmp.POpPhXDtAI\n+
CLEANUP+=("rm -rf $DUMPDIR")\n+ '[' '!' yes = yes ']'\n+ cd
/tmp/tmp.POpPhXDtAI\n+ tar -xf -\nsocat: W exiting on signal 15\n++
cleanup\n++ '[' 3 -gt 0 ']'\n++ LAST_ELEMENT=2\n+++ seq 2 -1 0\n++
REVERSE_INDEXES='2\n1\n0'\n++ for i in '$REVERSE_INDEXES'\n++ rm -rf
/tmp/tmp.POpPhXDtAI\n++ for i in '$REVERSE_INDEXES'\n++ rmdir
/tmp/tmp.I2d78dpRcA\n++ for i in '$REVERSE_INDEXES'\n++ /sbin/losetup -d
/dev/loop0)
Please provide any additional information below.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings