You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VM restart with 'rebootVirtualMachine' causes SGs broken with KVM #3088
When a VM is restarted from UI with restart button (rebootVirtualMachine) the VM becomes disabled.
The bug is reproducible 100% times.
STEPS TO REPRODUCE
1. create SG with ICMP (Egress/Ingress, Type: -1,Code: -1, [0.0.0.0/0, ::/0])
1. Create VM
2. ensure VM is running and replies to ping.
4. restart VM from UI with 'reboot instance' button.
5. VM is not available by ip.
changed the title [-]VM restart with 'rebootVirtualMachine' causes SGs broken with KVM[/-][+]VM restart with 'rebootVirtualMachine' causes VM shutdown[/+]on Dec 9, 2018
changed the title [-]VM restart with 'rebootVirtualMachine' causes VM shutdown[/-][+]VM restart with 'rebootVirtualMachine' causes SGs broken with KVM[/+]on Dec 9, 2018
@rhtyd @wido take a look at the exception in the bottom of the output. VM reboot is broken in 4.10, 4.11. The problem repeated on freshly installed 4.11.2
@rhtyd
May be quickfix for 4.11.2.1 is possible after the confirmation? I fixed on all my nodes manually, but most people still haven't upgraded to 4.11.2.
@wido The commit, you have mentioned includes the code which fixes that, but what CloudStack branch it has been merged? Doesn't look that 4.11.2 has it.
On 13 December 2018 00:15:28 CET, Bitworks LLC ***@***.***> wrote:
@wido The commit, you have mentioned includes the code which fixes
that, but what CloudStack branch it has been merged? Doesn't look that
4.11.2 has it.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#3088 (comment)
Activity
ustcweizhou commentedon Dec 9, 2018
reboot vm will not apply any firewall rules change on hypervisers as I remember. Might it be caused by some settings in vm ?
yadvr commentedon Dec 9, 2018
@bwsw are you able to reproduce this against 4.11.2.0?
[-]VM restart with 'rebootVirtualMachine' causes SGs broken with KVM[/-][+]VM restart with 'rebootVirtualMachine' causes VM shutdown[/+][-]VM restart with 'rebootVirtualMachine' causes VM shutdown[/-][+]VM restart with 'rebootVirtualMachine' causes SGs broken with KVM[/+]yadvr commentedon Dec 9, 2018
@bwsw can you confirm if you reproduced this against 4.11.2.0?
bwsw commentedon Dec 11, 2018
@rhtyd
Problem is reproduced in 4.11.2
yadvr commentedon Dec 11, 2018
looks like you reverted your stand @bwsw, I'll mark this towards 4.11.3.0
bwsw commentedon Dec 11, 2018
Upon VM reload following actions are taken
After that, the state of iptables as follows:
bwsw commentedon Dec 11, 2018
@rhtyd @wido take a look at the exception in the bottom of the output. VM reboot is broken in 4.10, 4.11. The problem repeated on freshly installed 4.11.2
bwsw commentedon Dec 11, 2018
Looks like upon reboot, the code is broken
bwsw commentedon Dec 11, 2018
Repacing
ifline with following one fixes the problem:bwsw commentedon Dec 11, 2018
@rhtyd
May be quickfix for 4.11.2.1 is possible after the confirmation? I fixed on all my nodes manually, but most people still haven't upgraded to 4.11.2.
wido commentedon Dec 12, 2018
I see why the if statement fixes it. Is there a PR for this yet?
But this is already fixed in commit d425a40 it seems?
Otherwise @RPDiep might want to take a look at this.
bwsw commentedon Dec 12, 2018
@wido The commit, you have mentioned includes the code which fixes that, but what CloudStack branch it has been merged? Doesn't look that 4.11.2 has it.
RPDiep commentedon Dec 12, 2018
bwsw commentedon Dec 14, 2018
@rhtyd @RPDiep as it is merged to 4.11.3 suppose we can close.