HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux sci 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: tpdc (1002)
PHP: 7.4.3-4ubuntu2.29
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //etc/xtract-guest.log
+ sourcefilepath=/etc/init.d/nutanix-move
+ echo 'Running /etc/init.d/nutanix-move'
Running /etc/init.d/nutanix-move
+ NUTANIX_MOVE_ARG=
+ xtractMainIP=
+ sudoterm=false
+ retainIP=false
+ skipretainIP=false
+ retainIPscript=
+ reconfigLVM=false
+ configureTempDisk=false
+ configureTempDiskscript=
+ uninstallVMwareTools=false
+ installNgt=false
+ uninstallVMwareToolsscript=
+ cleanup=false
+ cleanupscript=
+ freeBSD=false
+ isCustomIP=false
+ prepConfFilePath=
+ configeditPath=
+ '[' 0 -gt 0 ']'
+ date
Thu 15 May 2025 09:03:51 PM +07
+ name=nutanix_move
+ start_cmd=nutanix_move_start
+ stop_cmd=:
+ destfilepath=/etc/init.d/nutanix-move
+ SOURCE_ID_FILE=/etc/sourcevm-idfile
+ BSD_IFILE=/etc/rc.conf
+ ENABLE_MOVE='nutanix_move_enable="YES"'
+ DHCP_FILE=/etc/sourcevm-dhcpfile
+ SCRIPTS_DIR=/opt/Nutanix/Move/download/scripts
+ LVM_CONFIG_FILE=/etc/lvm/lvm.conf
+ BACKUP_SUFFIX=.bak
+ TEMPDISK_SIZE_FILE=/etc/tempdisk_sizefile
+ CLEANUP_DIR=/opt/Nutanix/Uninstall/scripts
+ cleanupscriptpath=/opt/Nutanix/Uninstall/scripts/cleanup_installation.sh
+ LOG_DIR=/opt/Nutanix/log
+ TARGET_SCRIPT_COMPLETED_STATUS_FILE=/opt/Nutanix/log/target-script-completed.txt
+ BASH_CMD=bash
+ SYSTEMD_PATH=/etc/systemd/system
+ UNINSTALL_VMWARETOOLS_TIMEOUT=180
+ INSTALL_NGT_TIMEOUT=1500
+ CONFIGURE_TEMP_DISK_TIMEOUT=180
+ RETAIN_IP_TIMEOUT=200
+ CLEANUP_SCRIPT_TIMEOUT=100
+ MISC_OPS_TIMEOUT=100
+ TOTAL_SCRIPTS_TIMEOUT=2080
+ NUTANIX_MOVE_SCRIPT_TIMEOUT=2500
+ CONF_DIR=/opt/Nutanix/Move/download/conf
+ PREP_CONF_FILE=/opt/Nutanix/Move/download/conf/pcf.json
+ BIN_DIR=/opt/Nutanix/Move/download/bin
+ CONFIGEDIT_PATH=/opt/Nutanix/Move/download/bin/configedit
+ rm /opt/Nutanix/log/target-script-completed.txt
rm: cannot remove '/opt/Nutanix/log/target-script-completed.txt': No such file or directory
+ rm /etc/target-script-completed.txt
rm: cannot remove '/etc/target-script-completed.txt': No such file or directory
+ '[' 2500 -lt 2080 ']'
+ uname
+ grep -i freebsd
+ errorVal=1
+ '[' 1 = 0 ']'
++ id -u
+ '[' false = true -a 0 '!=' 0 ']'
+ '[' false = true ']'
+ case "$NUTANIX_MOVE_ARG" in
+ write_log 'Starting script nutanix_move'
+ set +x
15-05-2025T21:03:51 INFO Starting script nutanix_move
+ return 0
+ do_start
+ '[' -f /etc/sourcevm-idfile ']'
++ cat /etc/sourcevm-idfile
+ srcUuid=978c3c42-c4c3-68cf-83ad-a3ba859b7ace
+ vmUuid=
+ '[' false = true ']'
++ cat /sys/class/dmi/id/product_uuid
+ vmUuid=cb06e82c-c8f3-4762-b27d-931038d8bfc7
+ write_log 'NutanixMove : do_start with cb06e82c-c8f3-4762-b27d-931038d8bfc7 978c3c42-c4c3-68cf-83ad-a3ba859b7ace'
+ set +x
15-05-2025T21:03:51 INFO NutanixMove : do_start with cb06e82c-c8f3-4762-b27d-931038d8bfc7 978c3c42-c4c3-68cf-83ad-a3ba859b7ace
+ return 0
+ '[' 978c3c42-c4c3-68cf-83ad-a3ba859b7ace = cb06e82c-c8f3-4762-b27d-931038d8bfc7 ']'
+ do_target
+ cleanup_start_of_nutanix_move_service_on_restart
+ destfilename=nutanix-move
+ '[' false = true ']'
+ '[' -f /etc/redhat-release ']'
+ '[' -f /etc/debian_version ']'
+ rc=0
++ whereis systemctl
+ systemctlpath='systemctl: /usr/bin/systemctl /usr/share/man/man1/systemctl.1.gz'
+ '[' -z /usr/bin/systemctl /usr/share/man/man1/systemctl.1.gz ']'
/etc/init.d/nutanix-move: line 279: [: /usr/bin/systemctl: binary operator expected
+ systemctl disable nutanix-move.service
Synchronizing state of nutanix-move.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable nutanix-move
Removed /etc/systemd/system/multi-user.target.wants/nutanix-move.service.
+ rc=0
+ '[' 0 '!=' 0 ']'
+ destfilename=nutanix-move
+ clean_scripts=true
+ '[' false = true ']'
+ which timeout
/usr/bin/timeout
+ is_timeout=0
+ '[' -f /etc/lvm/lvm.conf.bak ']'
+ '[' -f /opt/Nutanix/Move/download/scripts/configureTempDisk.sh ']'
+ '[' -f /opt/Nutanix/Move/download/scripts/uninstallVMwareTools.sh ']'
+ write_log '*** Running uninstallVMwareTools script on target VM ***'
+ set +x
15-05-2025T21:03:52 INFO bin boot cdrom dev etc home lib lib32 lib64 libx32 lost+found media mnt opt proc root run sbin snap srv swap.img sys tmp usr var Running uninstallVMwareTools script on target VM bin boot cdrom dev etc home lib lib32 lib64 libx32 lost+found media mnt opt proc root run sbin snap srv swap.img sys tmp usr var
+ return 0
+ '[' 0 = 0 ']'
+ write_log 'Running the command using timeout'
+ set +x
15-05-2025T21:03:52 INFO Running the command using timeout
+ return 0
+ timeout -s SIGKILL 180 bash /opt/Nutanix/Move/download/scripts/uninstallVMwareTools.sh
Thu 15 May 2025 09:03:52 PM +07

*** Running Uninstall VMware Tools script on target VM ***

/usr/bin/vmware-toolbox-cmd
UninstallVMwareTools_debug : VMware tools installation found. Uninstalling VMware tools...
Package: open-vm-tools
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 3167
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Version: 2:11.3.0-2ubuntu0~ubuntu20.04.8
Replaces: open-vm-tools-desktop (<< 2:10.0.7-3227872-2~)
Depends: libc6 (>= 2.28), libdrm2 (>= 2.4.3), libfuse2 (>= 2.6), libgcc-s1 (>= 3.3), libglib2.0-0 (>= 2.31.8), libmspack0 (>= 0.4), libssl1.1 (>= 1.1.0), libudev1 (>= 183), libxml2 (>= 2.7.4), libxmlsec1 (>= 1.2.28), libxmlsec1-openssl (>= 1.2.28), pciutils, iproute2, lsb-release
Pre-Depends: init-system-helpers (>= 1.54~)
Recommends: ethtool, zerofree, fuse
Suggests: open-vm-tools-desktop, cloud-init
Breaks: open-vm-tools-desktop (<< 2:10.3.5-2~)
Conffiles:
 /etc/init.d/open-vm-tools aeead08272288e4dfbaaf30d0c250726
 /etc/pam.d/vmtoolsd c8d3eb12e396c1824018eea75e5f9d56
 /etc/vmware-tools/poweroff-vm-default 370468e5f19a306e29d39fbf7b72cf08
 /etc/vmware-tools/poweron-vm-default 370468e5f19a306e29d39fbf7b72cf08
 /etc/vmware-tools/resume-vm-default 370468e5f19a306e29d39fbf7b72cf08
 /etc/vmware-tools/scripts/vmware/network 7c883dc469e547173590875efbce5c89
 /etc/vmware-tools/statechange.subr 9ebfc4a9aa22fe49491ad4ac47d4d22c
 /etc/vmware-tools/suspend-vm-default 370468e5f19a306e29d39fbf7b72cf08
 /etc/vmware-tools/tools.conf 76d7075ddb1a4266cb7e43f3a50181b7
 /etc/vmware-tools/tools.conf.example 5f025622ecd232003fa7dc7a93124bcd
 /etc/vmware-tools/vgauth.conf 08a49e9affbd864b51b8b77251accd89
 /etc/vmware-tools/vgauth/schemas/XMLSchema-hasFacetAndProperty.xsd 9308e8b04cbf7d2748a287ace40878ea
 /etc/vmware-tools/vgauth/schemas/XMLSchema-instance.xsd e1059f0307358c02766193e5e24c107b
 /etc/vmware-tools/vgauth/schemas/XMLSchema.dtd 86eafc21ca4ab293b7515e453c2b5dfe
 /etc/vmware-tools/vgauth/schemas/XMLSchema.xsd 54f86ef1a7a41930ba250151f143069b
 /etc/vmware-tools/vgauth/schemas/catalog.xml de4f8846e6e571af9feddd834b33a9be
 /etc/vmware-tools/vgauth/schemas/datatypes.dtd c61228050bb7c1c28a7f659f86a6e6c9
 /etc/vmware-tools/vgauth/schemas/saml-schema-assertion-2.0.xsd 612084dbce32687eef288f56569de391
 /etc/vmware-tools/vgauth/schemas/xenc-schema.xsd 4e7be0e2cae08227fd9ddb261c1e4e93
 /etc/vmware-tools/vgauth/schemas/xml.xsd d4314590e7e7aaf6bcd508be0fd1c614
 /etc/vmware-tools/vgauth/schemas/xmldsig-core-schema.xsd dff329f34df298d952d2e800a097c431
Description: Open VMware Tools for virtual machines hosted on VMware (CLI)
 The Open Virtual Machine Tools (open-vm-tools) project is an open source
 implementation of VMware Tools. It is a suite of virtualization utilities and
 drivers to improve the functionality, user experience and administration of
 VMware virtual machines.
 .
 This package contains only the core user-space programs and libraries.
Homepage: https://github.com/vmware/open-vm-tools
Original-Maintainer: Bernd Zeimetz <bzed@debian.org>
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  libmodbus5 libmspack0 libpciaccess0 libxmlsec1 libxmlsec1-openssl
  python3-xkit ubuntu-drivers-common zerofree
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  open-vm-tools
0 upgraded, 0 newly installed, 1 to remove and 82 not upgraded.
After this operation, 3,243 kB disk space will be freed.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 117514 files and directories currently installed.)
Removing open-vm-tools (2:11.3.0-2ubuntu0~ubuntu20.04.8) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.17) ...
UninstallVMwareTools_debug : Successfully uninstalled open-vm-tools
+ '[' 0 -ne 0 ']'
+ write_log 'Uninstall VMware Tools script completed successfully'
+ set +x
15-05-2025T21:04:00 INFO Uninstall VMware Tools script completed successfully
+ return 0
+ '[' -f /opt/Nutanix/Move/download/scripts/retainIP.sh ']'
+ write_log '*** Running retainIP script on target VM ***'
+ set +x
15-05-2025T21:04:00 INFO bin boot cdrom dev etc home lib lib32 lib64 libx32 lost+found media mnt opt proc root run sbin snap srv swap.img sys tmp usr var Running retainIP script on target VM bin boot cdrom dev etc home lib lib32 lib64 libx32 lost+found media mnt opt proc root run sbin snap srv swap.img sys tmp usr var
+ return 0
+ '[' 0 = 0 ']'
+ write_log 'Running the command using timeout'
+ set +x
15-05-2025T21:04:00 INFO Running the command using timeout
+ return 0
+ timeout -s SIGKILL 200 bash /opt/Nutanix/Move/download/scripts/retainIP.sh target
+ CONF_DIR=/opt/Nutanix/Move/download/conf
+ PREP_CONF_FILE=/opt/Nutanix/Move/download/conf/pcf.json
+ BIN_DIR=/opt/Nutanix/Move/download/bin
+ CONFIGEDIT_PATH=/opt/Nutanix/Move/download/bin/configedit
+ destfilepath=/etc/init.d/nutanix-move
+ IFACE_MAC_ADDR=/etc/mac-nic-address-map
+ BACKUP_PATH=/opt/Nutanix/backup
+ RHEL_IFILE=/etc/sysconfig/network-scripts/ifcfg-
+ SUSE_IFILE=/etc/sysconfig/network/ifcfg-
+ RHEL_NETWORK_SCRIPTS=/etc/sysconfig/network-scripts
+ RHEL_NM_KEY_FILES=/etc/NetworkManager/system-connections
+ SUSE_NETWORK_SCRIPTS=/etc/sysconfig/network
+ NIC_FILE=/sys/class/net
+ DEBIAN_IFILE=/etc/network/interfaces
+ NETPLAN='/etc/netplan/*.yaml'
+ NETPLAN_DIRECTORY=/etc/netplan
+ DHCP_NETPLAN_FILE=/etc/netplan/nutanix.yaml
+ DHCP_FILE=/etc/sourcevm-dhcpfile
+ PERSISTENT_RULES_FILE=/etc/udev/rules.d/70-persistent-net.rules
+ BSD_IFILE=/etc/rc.conf
+ CLOUD_INIT_CONFIGS_DIR=/etc/cloud/cloud.cfg.d
+ NM_KEYFILE_EXT=.nmconnection
+ WAIT_FOR_NETWORK_MANAGER=30
+ OS_ID=
+ OS_ID_RHEL=RHEL
+ OS_ID_RHEL_9X=RHEL_9x
+ OS_ID_FreeBSD=FreeBSD
+ OS_ID_Debian=Debian
+ OS_ID_SUSE=SUSE
+ LNF_IFCFG=lnf_ifcfg
+ LNF_KEYFILE=lnf_keyfile
+ isCustomIP=false
+ freeBSD=false
+ uname
+ grep -i freebsd
+ errorVal=1
+ '[' 1 = 0 ']'
+ '[' target = source ']'
+ '[' target = target ']'
+ do_target
+ echo -e '\n*** Running IP retention script on target VM ***\n'

*** Running IP retention script on target VM ***

+ rm -f /etc/udev/rules.d/70-persistent-net.rules
+ '[' false = true ']'
+ '[' -f /etc/redhat-release ']'
+ '[' -f /etc/debian_version ']'
+ OS_ID=Debian
+ correct_debian_interfaces
+ unassigned_ifaces=
++ ls /etc/netplan/00-installer-config.yaml
++ wc -w
+ num_netplan_config=1
+ create_debian_dhcp_config
+ '[' -f /etc/sourcevm-dhcpfile ']'
++ list_interfaces
++ '[' false = true ']'
+++ ls /sys/class/net
++ for nic in $(ls $NIC_FILE)
++ readlink -f /sys/class/net/ens3
++ grep -v virtual/
++ echo ens3
++ for nic in $(ls $NIC_FILE)
++ readlink -f /sys/class/net/lo
++ grep -v virtual/
+ for iface in $(list_interfaces)
++ query_hwaddr ens3
++ iface=ens3
++ '[' false = true ']'
++ cat /sys/class/net/ens3/address
+ hwaddr=00:50:56:bc:20:14
++ get_old_iface_by_hwaddr 00:50:56:bc:20:14
++ hwaddr_filter=00:50:56:bc:20:14
++ iface_filter=
++ old_iface=
+++ cat /etc/mac-nic-address-map
++ for line in $(cat "$IFACE_MAC_ADDR")
+++ echo 00:50:56:bc:20:14,ens32
+++ cut -d, -f 1
++ hwaddr=00:50:56:bc:20:14
++ '[' 00:50:56:bc:20:14 = 00:50:56:bc:20:14 ']'
+++ echo 00:50:56:bc:20:14,ens32
+++ cut -d, -f 2
++ iface=ens32
++ old_iface=ens32
++ break
++ '[' '!' -z ens32 ']'
++ '[' '!' -z ']'
++ sed -i -e /ens32/d /etc/mac-nic-address-map
++ echo ens32
+ oldiface=ens32
+ '[' -z ens32 ']'
+ echo 'Interface name ens32 mapped to MAC Address 00:50:56:bc:20:14'
Interface name ens32 mapped to MAC Address 00:50:56:bc:20:14
+ echo 'SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:56:bc:20:14", ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="ens32"'
+ add_interface_to_debian_dhcp_config ens32
+ iface=ens32
+ '[' -f /etc/sourcevm-dhcpfile ']'
++ echo ''
+ '[' -d /etc/systemd ']'
+ mkdir -p /etc/systemd/system/systemd-networkd.service.d
+ echo -e '[Service]\nExecStartPre=/bin/sleep 5'
+ [[ 1 -gt 0 ]]
+ for yaml_file in $NETPLAN
+ sed -i '/dhcp-identifier: mac/d' /etc/netplan/00-installer-config.yaml
+ netplan apply
+ rc=0
+ retry=0
+ maxretry=3
+ '[' 0 -lt 3 ']'
+ connect_network_interfaces
+ '[' false = true ']'
+ '[' -f /etc/redhat-release ']'
+ '[' -f /etc/debian_version ']'
+ nmcli
/opt/Nutanix/Move/download/scripts/retainIP.sh: line 591: nmcli: command not found
+ rc_nmcli=127
+ ifup --help
/opt/Nutanix/Move/download/scripts/retainIP.sh: line 593: ifup: command not found
+ rc_ifup=127
+ '[' 127 = 0 ']'
+ [[ 127 = 127 ]]
+ [[ 127 = 0 ]]
++ list_interfaces
++ '[' false = true ']'
+++ ls /sys/class/net
++ for nic in $(ls $NIC_FILE)
++ readlink -f /sys/class/net/ens32
++ grep -v virtual/
++ echo ens32
++ for nic in $(ls $NIC_FILE)
++ readlink -f /sys/class/net/lo
++ grep -v virtual/
+ for iface in $(list_interfaces)
+ ip link set ens32 up
+ return 0
+ '[' 0 = 0 ']'
+ break
+ return 0
+ '[' 0 -ne 0 ']'
+ write_log 'Retain IP script completed successfully'
+ set +x
15-05-2025T21:04:01 INFO Retain IP script completed successfully
+ return 0
+ '[' -f /opt/Nutanix/Move/download/scripts/install_ngt.sh ']'
+ write_log '*** Running install_ngt script on target VM ***'
+ set +x
15-05-2025T21:04:01 INFO bin boot cdrom dev etc home lib lib32 lib64 libx32 lost+found media mnt opt proc root run sbin snap srv swap.img sys tmp usr var Running install_ngt script on target VM bin boot cdrom dev etc home lib lib32 lib64 libx32 lost+found media mnt opt proc root run sbin snap srv swap.img sys tmp usr var
+ return 0
+ '[' 0 = 0 ']'
+ write_log 'Running the command using timeout'
+ set +x
15-05-2025T21:04:01 INFO Running the command using timeout
+ return 0
+ timeout -s SIGKILL 1500 bash /opt/Nutanix/Move/download/scripts/install_ngt.sh
+ SCRIPT_VERSION=5.5.3
+ sourcefilepath=/opt/Nutanix/Move/download/scripts/install_ngt.sh
+ WAIT_FOR_NGT_SERVICE=45
+ WAIT_FOR_NGT_CDROM=5
+ TIMEOUT_FOR_NGT_CDROM=60
+ MNT_NGT_CDROM=0
+ INSTALL_NGT_SCRIPT=0
+ FOUND_PYTHON=0
+ WAIT_FOR_INSTALL_NGT=10
++ id -u
+ '[' 0 '!=' 0 ']'
+ main
+ check_ngt_status
++ service ngt_guest_agent status
+ ngtstatus='Unit ngt_guest_agent.service could not be found.'
+ '[' 4 = 0 ']'
++ systemctl status ngt_guest_agent.service
+ ngtstatus='Unit ngt_guest_agent.service could not be found.'
+ '[' 4 = 0 ']'
+ mount_cdrom
+ end=60
+ '[' 0 -lt 60 ']'
++ lsblk -f
++ grep NUTANIX_TOOLS
++ awk '{print$1}'
+ output=sr0
+ '[' sr0 = '' ']'
+ echo 'Nutanix Tools CD is present/inserted at : sr0'
Nutanix Tools CD is present/inserted at : sr0
+ '[' sr0 = '' ']'
+ echo 'Mounting Nutanix Guest Tools CD to /mnt'
Mounting Nutanix Guest Tools CD to /mnt
+ mkdir -p /mnt
+ [[ sr0 == *\/\d\e\v* ]]
+ mount /dev/sr0 /mnt
mount: /mnt: WARNING: device write-protected, mounted read-only.
+ sleep 5
+ MNT_NGT_CDROM=1
+ break
+ '[' 1 = 0 ']'
+ install_ngt
+ retry=0
+ maxretry=3
+ '[' 0 -lt 3 ']'
+ '[' -f /mnt/installer/linux/install_ngt.py ']'
+ which python2
+ '[' 1 = 0 ']'
+ which python3
/usr/bin/python3
+ '[' 0 = 0 ']'
+ FOUND_PYTHON=1
+ python3 /mnt/installer/linux/install_ngt.py --operation install
[2025-05-15 21:04:06] {install_ngt.py:63} INFO - Executing command: which rpm
[2025-05-15 21:04:06] {install_ngt.py:96} WARNING - RPM command failed due to error : which rpm failed, Status code:1, Output:'', Error:''
[2025-05-15 21:04:06] {install_ngt.py:63} INFO - Executing command: which dpkg
[2025-05-15 21:04:06] {install_ngt.py:83} INFO - Output: /usr/bin/dpkg

[2025-05-15 21:04:06] {install_ngt.py:63} INFO - Executing command: sh /mnt/installer/linux/ngt_deb_installer/ngt_install_upgrade.sh
[2025-05-15 21:04:20] {install_ngt.py:83} INFO - Output: Current Directory: /mnt/installer/linux/ngt_deb_installer
Get:1 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ InRelease
Ign:1 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ InRelease
Get:2 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ InRelease
Ign:2 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ InRelease
Get:3 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Release
Ign:3 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Release
Get:4 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Release
Ign:4 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Release
Get:5 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Packages
Ign:5 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Packages
Get:6 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Translation-en
Ign:6 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Translation-en
Get:7 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Translation-en_US
Ign:7 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Translation-en_US
Get:8 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Packages
Ign:8 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Packages
Get:9 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Translation-en
Ign:9 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Translation-en
Get:10 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Translation-en_US
Ign:10 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Translation-en_US
Get:5 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Packages
Ign:5 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Packages
Get:6 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Translation-en
Ign:6 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Translation-en
Get:7 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Translation-en_US
Ign:7 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Translation-en_US
Get:8 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Packages
Ign:8 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Packages
Get:9 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Translation-en
Ign:9 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Translation-en
Get:10 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Translation-en_US
Ign:10 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Translation-en_US
Get:5 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Packages
Ign:5 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Packages
Get:6 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Translation-en
Ign:6 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Translation-en
Get:7 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Translation-en_US
Ign:7 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Translation-en_US
Get:8 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Packages
Ign:8 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Packages
Get:9 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Translation-en
Ign:9 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Translation-en
Get:10 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Translation-en_US
Ign:10 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Translation-en_US
Get:5 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Packages
Ign:5 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Packages
Get:6 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Translation-en
Ign:6 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Translation-en
Get:7 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Translation-en_US
Ign:7 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Translation-en_US
Get:8 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Packages
Ign:8 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Packages
Get:9 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Translation-en
Ign:9 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Translation-en
Get:10 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Translation-en_US
Ign:10 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Translation-en_US
Get:5 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Packages
Ign:5 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Packages
Get:6 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Translation-en
Ign:6 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Translation-en
Get:7 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Translation-en_US
Ign:7 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Translation-en_US
Get:8 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Packages
Ign:8 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Packages
Get:9 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Translation-en
Ign:9 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Translation-en
Get:10 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Translation-en_US
Ign:10 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Translation-en_US
Get:5 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Packages
Ign:5 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Packages
Get:6 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Translation-en
Ign:6 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Translation-en
Get:7 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Translation-en_US
Ign:7 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Translation-en_US
Get:8 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Packages
Ign:8 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Packages
Get:9 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Translation-en
Ign:9 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Translation-en
Get:10 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Translation-en_US
Ign:10 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Translation-en_US
Get:5 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Packages [593 B]
Get:6 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Translation-en
Ign:6 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Translation-en
Get:7 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Translation-en_US
Ign:7 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ Translation-en_US
Get:8 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Packages [591 B]
Get:9 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Translation-en
Ign:9 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Translation-en
Get:10 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Translation-en_US
Ign:10 file:/mnt/installer/linux/ngt_deb_installer/i386 ./ Translation-en_US
Hit:11 http://th.archive.ubuntu.com/ubuntu focal InRelease
Get:12 http://th.archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]
Get:13 http://th.archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB]
Get:14 http://th.archive.ubuntu.com/ubuntu focal-security InRelease [128 kB]
Get:15 http://th.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [3,941 kB]
Get:16 http://th.archive.ubuntu.com/ubuntu focal-updates/main Translation-en [598 kB]
Hit:17 https://repo.zabbix.com/zabbix/6.4/ubuntu focal InRelease
Get:18 http://th.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [3,901 kB]
Get:19 http://th.archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [545 kB]
Fetched 9,368 kB in 2s (4,277 kB/s)
Reading package lists...
nutanix-guest-agent - Nutanix Guest Tools Agent (NGT) is a software package that you can install in a guest
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  libmodbus5 libmspack0 libpciaccess0 libxmlsec1 libxmlsec1-openssl
  python3-xkit ubuntu-drivers-common zerofree
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  nutanix-guest-agent
0 upgraded, 1 newly installed, 0 to remove and 85 not upgraded.
Need to get 0 B/27.5 MB of archives.
After this operation, 126 MB of additional disk space will be used.
Get:1 file:/mnt/installer/linux/ngt_deb_installer/amd64 ./ nutanix-guest-agent 4.1.2-1 [27.5 MB]
Selecting previously unselected package nutanix-guest-agent.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 117404 files and directories currently installed.)
Preparing to unpack .../nutanix-guest-agent_4.1.2-1_amd64.deb ...
Pre: Nutanix Guest Agent debian package is getting install.
Unpacking nutanix-guest-agent (4.1.2-1) ...
Setting up nutanix-guest-agent (4.1.2-1) ...
Running installer utility script.
INFO: Creating desktop shortcuts...
systemd
Restarting ngt_guest_agent.service systemctl service...
ngt_guest_agent.service service restart done.
Restarting ngt_self_service_restore.service systemctl service...
ngt_self_service_restore.service service restart done.
Processing triggers for mime-support (3.64ubuntu1) ...
cleanup started...
Remove apt-get repo file: /etc/apt/sources.list.d//nutanix-ngt-20250515210406.list, if exists.
Removing temporary created repo file : /tmp/nutanix-ngt-20250515210406.list, if exists. 
cleanup done...

[2025-05-15 21:04:20] {install_ngt.py:85} ERROR - Failure : W: --force-yes is deprecated, use one of the options starting with --allow instead.

+ '[' 0 '!=' 0 ']'
+ echo 'script execution completed successfully using python3'
script execution completed successfully using python3
+ INSTALL_NGT_SCRIPT=1
+ break
+ '[' 1 = 0 ']'
+ sleep 45
+ check_ngt_status
++ service ngt_guest_agent status
+ ngtstatus='● ngt_guest_agent.service - Starts, stops Nutanix Guest Agent.
     Loaded: loaded (/etc/systemd/system/ngt_guest_agent.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2025-05-15 21:04:15 +07; 49s ago
   Main PID: 3104 (python3)
      Tasks: 14 (limit: 9352)
     Memory: 244.6M
     CGroup: /system.slice/ngt_guest_agent.service
             ├─3104 /usr/local/nutanix/ngt/python36/python3 -E /usr/local/nutanix/ngt/python/bin/guest_agent_monitor_linux.py
             └─3189 /usr/local/nutanix/ngt/python36/python3 -E /usr/local/nutanix/ngt/python/bin/guest_agent_monitor_linux.py

May 15 21:04:14 sci systemd[1]: Starting Starts, stops Nutanix Guest Agent....
May 15 21:04:15 sci ngt_guest_agent[3075]: Starting Nutanix Guest Agent daemon.
May 15 21:04:15 sci systemd[1]: Started Starts, stops Nutanix Guest Agent..
May 15 21:04:15 sci systemd[1]: /etc/systemd/system/ngt_guest_agent.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/ngt_guest_agent.pid → /run/ngt_guest_agent.pid; please update the unit file accordingly.'
+ '[' 0 = 0 ']'
+ [[ ● ngt_guest_agent.service - Starts, stops Nutanix Guest Agent.
     Loaded: loaded (/etc/systemd/system/ngt_guest_agent.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2025-05-15 21:04:15 +07; 49s ago
   Main PID: 3104 (python3)
      Tasks: 14 (limit: 9352)
     Memory: 244.6M
     CGroup: /system.slice/ngt_guest_agent.service
             ├─3104 /usr/local/nutanix/ngt/python36/python3 -E /usr/local/nutanix/ngt/python/bin/guest_agent_monitor_linux.py
             └─3189 /usr/local/nutanix/ngt/python36/python3 -E /usr/local/nutanix/ngt/python/bin/guest_agent_monitor_linux.py

May 15 21:04:14 sci systemd[1]: Starting Starts, stops Nutanix Guest Agent....
May 15 21:04:15 sci ngt_guest_agent[3075]: Starting Nutanix Guest Agent daemon.
May 15 21:04:15 sci systemd[1]: Started Starts, stops Nutanix Guest Agent..
May 15 21:04:15 sci systemd[1]: /etc/systemd/system/ngt_guest_agent.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/ngt_guest_agent.pid → /run/ngt_guest_agent.pid; please update the unit file accordingly. == *\r\u\n\n\i\n\g* ]]
+ echo 'NGT is installed successfully on the vm'
NGT is installed successfully on the vm
+ exit 0
+ '[' 0 -ne 0 ']'
+ write_log 'Install NGT script completed successfully'
+ set +x
15-05-2025T21:05:05 INFO Install NGT script completed successfully
+ return 0
+ '[' -f /opt/Nutanix/Uninstall/scripts/cleanup_installation.sh ']'
+ write_log '*** Running cleanup_installation script on target VM ***'
+ set +x
15-05-2025T21:05:05 INFO bin boot cdrom dev etc home lib lib32 lib64 libx32 lost+found media mnt opt proc root run sbin snap srv swap.img sys tmp usr var Running cleanup_installation script on target VM bin boot cdrom dev etc home lib lib32 lib64 libx32 lost+found media mnt opt proc root run sbin snap srv swap.img sys tmp usr var
+ return 0
+ '[' 0 = 0 ']'
+ write_log 'Running the command using timeout'
+ set +x
15-05-2025T21:05:05 INFO Running the command using timeout
+ return 0
+ timeout -s SIGKILL 100 bash /opt/Nutanix/Uninstall/scripts/cleanup_installation.sh --skip-remove-schedule-service-file --skip-confs-restore --clean-scripts true
Cleaning the User VM using script: 5.5.3
Creating required directories to clean-up the User VM.
Distro: Ubuntu
Starting User VM clean-up.
Cleaning installed packages.
Removing User VM preparation directories.
Cleaning old files and services created from previous Move versions if any
Clean-up of User VM completed successfully.
[ OK ]
+ '[' 0 -ne 0 ']'
+ write_log 'Target cleanup completed successfully'
+ set +x
15-05-2025T21:05:05 INFO Target cleanup completed successfully
+ return 0
+ rm -f /etc/init.d/nutanix-move
+ rm -f /etc/systemd/system/nutanix-move.service
+ mkdir -p /opt/Nutanix/log
+ write_log 'RetainIP_debug : Rebooting VM'
+ set +x
15-05-2025T21:05:05 INFO RetainIP_debug : Rebooting VM
+ return 0
+ cp /etc/xtract-guest.log /opt/Nutanix/log/xtract-target.log
+ date +%s
+ cp /etc/target-script-completed.txt /opt/Nutanix/log/target-script-completed.txt
+ reboot