VM Deployment Fails with NFS drivers
|Assignee:||Javi Fontan||% Done:|
|Category:||Drivers - Auth||Estimated time:||1.00 hour|
|Target version:||Release 2.2|
Symptoms: oned creates the image and the context in /var/lib/one instead of the shared directory /srv/cloud/one/var/images/ after upgrading to 2.1-1
After seeing all my VM failing to boot, I started watching the log wandering under which absurd hypotesis (i.e. "The Vogon already demolished the planet" :) ) an
echo "/one/var/images/[vmid]/images/disk.0" | $SED -e 's/^[^:]*:\(.*\)$/\1/'
(core of arg_path called in tm_clone.sh) would change /srv/cloud/one/var/images/[vmid] into /var/lib/one/[vmid] when I saw a little
about in line 35... This function is defined in tm_common.sh and does that change :) !
Therefore i commented it and did the same to the
inline 41 of tm_context.sh and to the
in line 34 of tm_delete.sh
Could it be that these instructions slipped in from the SSH driver ?
(reopens 484, sorry!)