I found the answer here: https://dacat.cc/1969.html
I don’t understand why this was an issue though. First time I’ve encountered this and I haven’t specified a UUID on any other nodes. -jeremy > On Wednesday, Sep 01, 2021 at 7:54 PM, Jeremy Hansen <[email protected] > (mailto:[email protected])> wrote: > I noticed trying to move a VM between specific hosts results in this error: > > Exception during migrate: org.libvirt.LibvirtException: internal error: > Attempt to migrate guest to the same host 03000200-0400-0500-0006-000700080009 > > 2021-09-01 19:51:44,166 - Executing command: get_rule_logs_for_vms > 2021-09-01 19:52:44,166 - Executing command: get_rule_logs_for_vms > 2021-09-01 19:52:51,998 - Executing command: destroy_network_rules_for_vm > 2021-09-01 19:52:51,999 - iptables-save | awk > '/BF(.*)physdev-is-bridged(.*)i-4-27-def/ { sub(/-A/, "-D", $1) ; print }' > 2021-09-01 19:52:52,006 - ip6tables-save | awk > '/BF(.*)physdev-is-bridged(.*)i-4-27-def/ { sub(/-A/, "-D", $1) ; print }' > 2021-09-01 19:52:52,012 - ebtables -t nat -L PREROUTING | grep i-4-27-VM > 2021-09-01 19:52:52,020 - Command exited non-zero: ebtables -t nat -L > PREROUTING | grep i-4-27-VM > Traceback (most recent call last): > File "/usr/share/cloudstack-common/scripts/vm/network/security_group.py", > line 53, in execute > return check_output(cmd, shell=True).decode() > File "/usr/lib64/python3.6/subprocess.py", line 356, in check_output > **kwargs).stdout > File "/usr/lib64/python3.6/subprocess.py", line 438, in run > output=stdout, stderr=stderr) > subprocess.CalledProcessError: Command 'ebtables -t nat -L PREROUTING | grep > i-4-27-VM' returned non-zero exit status 1. > 2021-09-01 19:52:52,022 - ebtables -t nat -L POSTROUTING | grep i-4-27-VM > 2021-09-01 19:52:52,030 - Command exited non-zero: ebtables -t nat -L > POSTROUTING | grep i-4-27-VM > Traceback (most recent call last): > File "/usr/share/cloudstack-common/scripts/vm/network/security_group.py", > line 53, in execute > return check_output(cmd, shell=True).decode() > File "/usr/lib64/python3.6/subprocess.py", line 356, in check_output > **kwargs).stdout > File "/usr/lib64/python3.6/subprocess.py", line 438, in run > output=stdout, stderr=stderr) > subprocess.CalledProcessError: Command 'ebtables -t nat -L POSTROUTING | grep > i-4-27-VM' returned non-zero exit status 1. > 2021-09-01 19:52:52,030 - ebtables -t nat -F i-4-27-VM-in > 2021-09-01 19:52:52,037 - Command exited non-zero: ebtables -t nat -F > i-4-27-VM-in > Traceback (most recent call last): > File "/usr/share/cloudstack-common/scripts/vm/network/security_group.py", > line 53, in execute > return check_output(cmd, shell=True).decode() > File "/usr/lib64/python3.6/subprocess.py", line 356, in check_output > **kwargs).stdout > File "/usr/lib64/python3.6/subprocess.py", line 438, in run > output=stdout, stderr=stderr) > subprocess.CalledProcessError: Command 'ebtables -t nat -F i-4-27-VM-in' > returned non-zero exit status 1. > 2021-09-01 19:52:52,037 - Ignoring failure to delete ebtables chain for vm > i-4-27-VM > 2021-09-01 19:52:52,037 - ebtables -t nat -F i-4-27-VM-out > 2021-09-01 19:52:52,044 - Command exited non-zero: ebtables -t nat -F > i-4-27-VM-out > Traceback (most recent call last): > File "/usr/share/cloudstack-common/scripts/vm/network/security_group.py", > line 53, in execute > return check_output(cmd, shell=True).decode() > File "/usr/lib64/python3.6/subprocess.py", line 356, in check_output > **kwargs).stdout > File "/usr/lib64/python3.6/subprocess.py", line 438, in run > output=stdout, stderr=stderr) > subprocess.CalledProcessError: Command 'ebtables -t nat -F i-4-27-VM-out' > returned non-zero exit status 1. > 2021-09-01 19:52:52,045 - Ignoring failure to delete ebtables chain for vm > i-4-27-VM > 2021-09-01 19:52:52,045 - ebtables -t nat -F i-4-27-VM-in-ips > 2021-09-01 19:52:52,051 - Command exited non-zero: ebtables -t nat -F > i-4-27-VM-in-ips > Traceback (most recent call last): > File "/usr/share/cloudstack-common/scripts/vm/network/security_group.py", > line 53, in execute > return check_output(cmd, shell=True).decode() > File "/usr/lib64/python3.6/subprocess.py", line 356, in check_output > **kwargs).stdout > File "/usr/lib64/python3.6/subprocess.py", line 438, in run > output=stdout, stderr=stderr) > subprocess.CalledProcessError: Command 'ebtables -t nat -F i-4-27-VM-in-ips' > returned non-zero exit status 1. > 2021-09-01 19:52:52,052 - Ignoring failure to delete ebtables chain for vm > i-4-27-VM > 2021-09-01 19:52:52,052 - ebtables -t nat -F i-4-27-VM-out-ips > 2021-09-01 19:52:52,058 - Command exited non-zero: ebtables -t nat -F > i-4-27-VM-out-ips > Traceback (most recent call last): > File "/usr/share/cloudstack-common/scripts/vm/network/security_group.py", > line 53, in execute > return check_output(cmd, shell=True).decode() > File "/usr/lib64/python3.6/subprocess.py", line 356, in check_output > **kwargs).stdout > File "/usr/lib64/python3.6/subprocess.py", line 438, in run > output=stdout, stderr=stderr) > subprocess.CalledProcessError: Command 'ebtables -t nat -F i-4-27-VM-out-ips' > returned non-zero exit status 1. > 2021-09-01 19:52:52,059 - Ignoring failure to delete ebtables chain for vm > i-4-27-VM > 2021-09-01 19:52:52,059 - ebtables -t nat -F i-4-27-VM-in-src > 2021-09-01 19:52:52,065 - Command exited non-zero: ebtables -t nat -F > i-4-27-VM-in-src > Traceback (most recent call last): > File "/usr/share/cloudstack-common/scripts/vm/network/security_group.py", > line 53, in execute > return check_output(cmd, shell=True).decode() > File "/usr/lib64/python3.6/subprocess.py", line 356, in check_output > **kwargs).stdout > File "/usr/lib64/python3.6/subprocess.py", line 438, in run > output=stdout, stderr=stderr) > subprocess.CalledProcessError: Command 'ebtables -t nat -F i-4-27-VM-in-src' > returned non-zero exit status 1. > 2021-09-01 19:52:52,066 - Ignoring failure to delete ebtables chain for vm > i-4-27-VM > 2021-09-01 19:52:52,066 - ebtables -t nat -F i-4-27-VM-out-dst > 2021-09-01 19:52:52,073 - Command exited non-zero: ebtables -t nat -F > i-4-27-VM-out-dst > Traceback (most recent call last): > File "/usr/share/cloudstack-common/scripts/vm/network/security_group.py", > line 53, in execute > return check_output(cmd, shell=True).decode() > File "/usr/lib64/python3.6/subprocess.py", line 356, in check_output > **kwargs).stdout > File "/usr/lib64/python3.6/subprocess.py", line 438, in run > output=stdout, stderr=stderr) > subprocess.CalledProcessError: Command 'ebtables -t nat -F i-4-27-VM-out-dst' > returned non-zero exit status 1. > 2021-09-01 19:52:52,073 - Ignoring failure to delete ebtables chain for vm > i-4-27-VM > 2021-09-01 19:52:52,073 - iptables -F i-4-27-def > 2021-09-01 19:52:52,078 - Command exited non-zero: iptables -F i-4-27-def > Traceback (most recent call last): > File "/usr/share/cloudstack-common/scripts/vm/network/security_group.py", > line 53, in execute > return check_output(cmd, shell=True).decode() > File "/usr/lib64/python3.6/subprocess.py", line 356, in check_output > **kwargs).stdout > File "/usr/lib64/python3.6/subprocess.py", line 438, in run > output=stdout, stderr=stderr) > subprocess.CalledProcessError: Command 'iptables -F i-4-27-def' returned > non-zero exit status 1. > 2021-09-01 19:52:52,079 - Ignoring failure to flush chain: i-4-27-def > 2021-09-01 19:52:52,079 - iptables -F i-4-27-VM > 2021-09-01 19:52:52,084 - Command exited non-zero: iptables -F i-4-27-VM > Traceback (most recent call last): > File "/usr/share/cloudstack-common/scripts/vm/network/security_group.py", > line 53, in execute > return check_output(cmd, shell=True).decode() > File "/usr/lib64/python3.6/subprocess.py", line 356, in check_output > **kwargs).stdout > File "/usr/lib64/python3.6/subprocess.py", line 438, in run > output=stdout, stderr=stderr) > subprocess.CalledProcessError: Command 'iptables -F i-4-27-VM' returned > non-zero exit status 1. > 2021-09-01 19:52:52,084 - Ignoring failure to flush chain: i-4-27-VM > 2021-09-01 19:52:52,084 - iptables -F i-4-27-VM-eg > 2021-09-01 19:52:52,090 - Command exited non-zero: iptables -F i-4-27-VM-eg > Traceback (most recent call last): > File "/usr/share/cloudstack-common/scripts/vm/network/security_group.py", > line 53, in execute > return check_output(cmd, shell=True).decode() > File "/usr/lib64/python3.6/subprocess.py", line 356, in check_output > **kwargs).stdout > File "/usr/lib64/python3.6/subprocess.py", line 438, in run > output=stdout, stderr=stderr) > subprocess.CalledProcessError: Command 'iptables -F i-4-27-VM-eg' returned > non-zero exit status 1. > 2021-09-01 19:52:52,090 - Ignoring failure to flush chain: i-4-27-VM-eg > 2021-09-01 19:52:52,090 - iptables -X i-4-27-def > 2021-09-01 19:52:52,095 - Command exited non-zero: iptables -X i-4-27-def > Traceback (most recent call last): > File "/usr/share/cloudstack-common/scripts/vm/network/security_group.py", > line 53, in execute > return check_output(cmd, shell=True).decode() > File "/usr/lib64/python3.6/subprocess.py", line 356, in check_output > **kwargs).stdout > File "/usr/lib64/python3.6/subprocess.py", line 438, in run > output=stdout, stderr=stderr) > subprocess.CalledProcessError: Command 'iptables -X i-4-27-def' returned > non-zero exit status 1. > 2021-09-01 19:52:52,096 - Ignoring failure to delete chain: i-4-27-def > 2021-09-01 19:52:52,096 - iptables -X i-4-27-VM > 2021-09-01 19:52:52,101 - Command exited non-zero: iptables -X i-4-27-VM > Traceback (most recent call last): > File "/usr/share/cloudstack-common/scripts/vm/network/security_group.py", > line 53, in execute > return check_output(cmd, shell=True).decode() > File "/usr/lib64/python3.6/subprocess.py", line 356, in check_output > **kwargs).stdout > File "/usr/lib64/python3.6/subprocess.py", line 438, in run > output=stdout, stderr=stderr) > subprocess.CalledProcessError: Command 'iptables -X i-4-27-VM' returned > non-zero exit status 1. > 2021-09-01 19:52:52,101 - Ignoring failure to delete chain: i-4-27-VM > 2021-09-01 19:52:52,101 - iptables -X i-4-27-VM-eg > 2021-09-01 19:52:52,106 - Command exited non-zero: iptables -X i-4-27-VM-eg > Traceback (most recent call last): > File "/usr/share/cloudstack-common/scripts/vm/network/security_group.py", > line 53, in execute > return check_output(cmd, shell=True).decode() > File "/usr/lib64/python3.6/subprocess.py", line 356, in check_output > **kwargs).stdout > File "/usr/lib64/python3.6/subprocess.py", line 438, in run > output=stdout, stderr=stderr) > subprocess.CalledProcessError: Command 'iptables -X i-4-27-VM-eg' returned > non-zero exit status 1. > 2021-09-01 19:52:52,107 - Ignoring failure to delete chain: i-4-27-VM-eg > 2021-09-01 19:52:52,107 - ipset -F i-4-27-VM > 2021-09-01 19:52:52,111 - Command exited non-zero: ipset -F i-4-27-VM > Traceback (most recent call last): > File "/usr/share/cloudstack-common/scripts/vm/network/security_group.py", > line 53, in execute > return check_output(cmd, shell=True).decode() > File "/usr/lib64/python3.6/subprocess.py", line 356, in check_output > **kwargs).stdout > File "/usr/lib64/python3.6/subprocess.py", line 438, in run > output=stdout, stderr=stderr) > subprocess.CalledProcessError: Command 'ipset -F i-4-27-VM' returned non-zero > exit status 1. > > Any idea what’s happening here? > > Thanks > -jeremy > > > >
signature.asc
Description: PGP signature
