Hi,
I have FE (front-end vps - no Volume Group)
and kvm NODE with volume group.
VMs get created from images (files on NODE) into logical volumes (also on NODE) as I wanted.
For unknown reason - after clicking STOP on a VM - Nebula tries to move the LV to frontend VPS (no volume group there - it is only for management)
and reports FAILURE “Error executing image transfer script: Error activating disk /var/lib/one/datastores/110/31/disk.0”
Log for the VM reads:
Thu Jul 25 05:19:03 2019 [Z0][TM][I]: Command execution failed (exit code: 5): /var/lib/one/remotes/tm/fs_lvm/mv NODE:/var/lib/one//datastores/110/31/disk.0 FE:/var/lib
/one//datastores/110/31/disk.0 31 111
Thu Jul 25 05:19:03 2019 [Z0][TM][E]: mv: Command " set -ex -o pipefail
Thu Jul 25 05:19:03 2019 [Z0][TM][I]: sudo sync
Thu Jul 25 05:19:03 2019 [Z0][TM][I]: sudo lvscan
Thu Jul 25 05:19:03 2019 [Z0][TM][I]: sudo lvchange -ay “/dev/vg-one-110/lv-one-31-0”
Thu Jul 25 05:19:03 2019 [Z0][TM][I]:
Thu Jul 25 05:19:03 2019 [Z0][TM][I]: hostname -f >"/var/lib/one/datastores/110/31/.host" || :" failed: + sudo sync
Thu Jul 25 05:19:03 2019 [Z0][TM][I]: + sudo lvscan
Thu Jul 25 05:19:03 2019 [Z0][TM][I]: + sudo lvchange -ay /dev/vg-one-110/lv-one-31-0
Thu Jul 25 05:19:03 2019 [Z0][TM][I]: Volume group “vg-one-110” not found
Thu Jul 25 05:19:03 2019 [Z0][TM][I]: Cannot process volume group vg-one-110
Thu Jul 25 05:19:03 2019 [Z0][TM][E]: Error activating disk /var/lib/one/datastores/110/31/disk.0
Thu Jul 25 05:19:03 2019 [Z0][TM][E]: Error executing image transfer script: Error activating disk /var/lib/one/datastores/110/31/disk.0
Thu Jul 25 05:19:03 2019 [Z0][VM][I]: New LCM state is EPILOG_STOP_FAILURE
- Why ONE tries to move 8GB LV from kvm NODE to management frontend?
- How to prevent it?
My Datastores are:
ID Name Owner Group Capacity Cluster Type Status
111 lvm_image_1 oneadmin oneadmin 5.3GB / 31.3GB (17%)0 IMAGE ON
110 lvm_system_1 oneadmin oneadmin 20.5GB / 767GB (3%)0 SYSTEM ON
2 files oneadmin oneadmin 2.9GB / 9.8GB (30%)0 FILE ON
1 default oneadmin oneadmin 2.9GB / 9.8GB (30%)0 IMAGE ON
Datastore 0 already deleted in hope it solves the problem but no change.
Thank you