*** Bug 1388373 has been marked as a duplicate of this bug. ***
This is causing a regression: bug 1389679
(In reply to shaochen from comment #5) > Test version: > rhvh-4.0-0.20160919.0 > redhat-virtualization-host-4.0-20161107.0 > imgbased-0.8.7-0.1.el7ev.noarch > > Test steps: > 1. Install RHVH old version(rhvh-4.0-0.20160919.0). > 2. Check firewalld.service status. > 3. Upgrade to redhat-virtualization-host-4.0-20161107.0 > 4. Check firewalld.service status again. > 5. Check port 16514. > > Test result: > 1. After step2, firewalld server is active status at startup. > 2. After step4, firewalld server is active status at startup. > 3. After step5. there is nothing output. > # iptables -L | grep 16514 > # > > So the bug is fixed, change bug status to VERIFIED. Re-test this bug with 3 times upgrade scenario, and the test result as following. So please ignore #c5. Test version: rhvh-4.0-0.20160817.0 (1) rhvh-4.0-0.20160919.0 (2) rhvh-4.0-0.20161107.0 (3) imgbased-0.8.7-0.1.el7ev.noarch selinux-policy-3.13.1-102.el7_3.4.noarch Test steps: 1. Install RHVH old version (1). 2. Upgrade to (2). 3. Upgrade to (3). 4. Check firewalld.service status. 5. Check port 16514. 6. Reboot and login to (2) 7. Reboot and login to (3) 8. Check firewalld.service status and 16514 port. Test result: 1. After step4 & 5, firewalld server is active status at startup. port 16514 is disabled. # systemctl status firewalld.service ● firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: disabled) Active: active (running) since Thu 2016-11-10 10:40:10 CST; 3min 29s ago Docs: man:firewalld(1) Main PID: 2258 (firewalld) CGroup: /system.slice/firewalld.service └─2258 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid Nov 10 10:40:05 dhcp-8-194.nay.redhat.com systemd[1]: Starting firewalld - dynamic firewall daemon... Nov 10 10:40:10 dhcp-8-194.nay.redhat.com systemd[1]: Started firewalld - dynamic firewall daemon. # iptables -L | grep 16514 # 2. After step8, firewalld server is active status at startup. port 16514 is disabled. # systemctl status firewalld.service ● firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: disabled) Active: active (running) since Thu 2016-11-10 11:11:47 CST; 1min 5s ago Docs: man:firewalld(1) Main PID: 1004 (firewalld) CGroup: /system.slice/firewalld.service └─1004 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid Nov 10 11:11:46 dhcp-8-194.nay.redhat.com systemd[1]: Starting firewalld - dynamic firewall daemon... Nov 10 11:11:47 dhcp-8-194.nay.redhat.com systemd[1]: Started firewalld - dynamic firewall daemon. # iptables -L | grep 16514 # According the resolution of k-base, RHVH should allow port 16514, and disable firewalld at startup, so I have to assigned this bug.
Created attachment 1219165 [details] /var/log/*.*; /tmp/log; sosreport;
Did you register to RHV-M? If you didn't, firewalld will not be disabled
Please try registering to RHV-M or "systemctl disable firewalld.service" before upgrading. firewalld is not handled specially -- instead we compare the list of services vs /usr/share/factory/etc/systemd/system and remove anything which is not present
I was aware of this before adding this comment, and already tested it after registering rhvm, then the bug is fixed according to this following steps: Test version: rhvh-4.0-0.20160817.0 (1) rhvh-4.0-0.20160919.0 (2) rhvh-4.0-0.20161107.0 (3) imgbased-0.8.7-0.1.el7ev.noarch selinux-policy-3.13.1-102.el7_3.4.noarch Test steps: 1. Install RHVH old version (1). 2. Upgrade to (2). 3. Upgrade to (3). 4. Register to RHVM. 5. Check firewalld.service status. 6. Check port 16514. Test result: 1. After step5 & 6, firewalld server is inactive status at startup. port 16514 is enabled. # systemctl status firewalld.service ● firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: disabled) Active: inactive (dead) Docs: man:firewalld(1) Nov 10 11:11:46 dhcp-8-194.nay.redhat.com systemd[1]: Starting firewalld - dynamic firewall daemon... Nov 10 11:11:47 dhcp-8-194.nay.redhat.com systemd[1]: Started firewalld - dynamic firewall daemon. Nov 10 12:21:02 dhcp-8-194.nay.redhat.com systemd[1]: Stopping firewalld - dynamic firewall daemon... Nov 10 12:21:02 dhcp-8-194.nay.redhat.com systemd[1]: Stopped firewalld - dynamic firewall daemon. # iptables -L | grep 16514 ACCEPT tcp -- anywhere anywhere tcp dpt:16514 # So the bug is fixed, change but status to VERIFIED. Thanks Ryan.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-2813.html