action #64433
closed[SLE][Migration][SLE15SP2] Can't use vncviewer to debug openQA job on s390x
0%
Description
The ticket comes from bsc#1154156, we can try developer's suggestion firstly.
###################################################################################
First of all, SuSEfirewall2 is only a legacy component any more in SLE-15. So
manual user interaction is actually necessary to adjust to the new firewalld
situation after upgrading.
The error you pasted here has to do with
/etc/sysconfig/SuSEfirewall2.d/services/vnc-httpd not being available. This
file is not shipped by SuSEfirewall2 but by tigervnc. The tigervnc package no
longer installs this service file when being built for firewalld. So if you
want this upgrade scenario to work you will need to get the tigervnc package
adjusted.
Change would be easy. Just no longer make use of use_%firewalld macro in spec file...
##############################################################
Updated by coolgw about 4 years ago
try to debug show firewall status
linux-4360:~/openqa-distr # /usr/local/bin/openqa-clone-custom-git-refspec https://github.com/coolgw/os-autoinst-distri-opensuse/tree/debug-vnc http://openqa.suse.de/tests/3999663
Created job #4001027: sle-15-SP2-Migration-from-SLE12-SP5-to-SLE15-SP2-s390x-Build160.1-offline_sles12sp5_pscc_asmm-lgm_all_full@s390x-kvm-sle15 -> http://openqa.suse.de/t4001027
Updated by coolgw about 4 years ago
another try
linux-4360:~/openqa-distr # /usr/local/bin/openqa-clone-custom-git-refspec https://github.com/coolgw/os-autoinst-distri-opensuse/tree/debug-vnc http://openqa.suse.de/tests/3999663
Created job #4003291: sle-15-SP2-Migration-from-SLE12-SP5-to-SLE15-SP2-s390x-Build160.1-offline_sles12sp5_pscc_asmm-lgm_all_full@s390x-kvm-sle15 -> http://openqa.suse.de/t4003291
linux-4360:~/openqa-distr #
Updated by coolgw about 4 years ago
linux-4360:~/openqa-distr # /usr/local/bin/openqa-clone-custom-git-refspec https://github.com/coolgw/os-autoinst-distri-opensuse/tree/debug-vnc http://openqa.suse.de/tests/3999663
Created job #4004129: sle-15-SP2-Migration-from-SLE12-SP5-to-SLE15-SP2-s390x-Build160.1-offline_sles12sp5_pscc_asmm-lgm_all_full@s390x-kvm-sle15 -> http://openqa.suse.de/t4004129
Updated by coolgw about 4 years ago
linux-4360:~/openqa-distr # /usr/local/bin/openqa-clone-custom-git-refspec https://github.com/coolgw/os-autoinst-distri-opensuse/tree/debug-vnc http://openqa.suse.de/tests/3999663
Created job #4004130: sle-15-SP2-Migration-from-SLE12-SP5-to-SLE15-SP2-s390x-Build160.1-offline_sles12sp5_pscc_asmm-lgm_all_full@s390x-kvm-sle15 -> http://openqa.suse.de/t4004130
Updated by coolgw about 4 years ago
linux-4360:~/openqa-distr # /usr/local/bin/openqa-clone-custom-git-refspec https://github.com/coolgw/os-autoinst-distri-opensuse/tree/debug-vnc http://openqa.suse.de/tests/3999663
Created job #4004136: sle-15-SP2-Migration-from-SLE12-SP5-to-SLE15-SP2-s390x-Build160.1-offline_sles12sp5_pscc_asmm-lgm_all_full@s390x-kvm-sle15 -> http://openqa.suse.de/t4004136
linux-4360:~/openqa-distr #
Updated by coolgw about 4 years ago
linux-4360:~/openqa-distr # /usr/local/bin/openqa-clone-custom-git-refspec https://github.com/coolgw/os-autoinst-distri-opensuse/tree/debug-vnc http://openqa.suse.de/tests/3999663
Created job #4004146: sle-15-SP2-Migration-from-SLE12-SP5-to-SLE15-SP2-s390x-Build160.1-offline_sles12sp5_pscc_asmm-lgm_all_full@s390x-kvm-sle15 -> http://openqa.suse.de/t4004146
Updated by coolgw about 4 years ago
linux-4360:~/openqa-distr # /usr/local/bin/openqa-clone-custom-git-refspec https://github.com/coolgw/os-autoinst-distri-opensuse/tree/debug-vnc http://openqa.suse.de/tests/3999663
Created job #4004191: sle-15-SP2-Migration-from-SLE12-SP5-to-SLE15-SP2-s390x-Build160.1-offline_sles12sp5_pscc_asmm-lgm_all_full@s390x-kvm-sle15 -> http://openqa.suse.de/t4004191
not firewalld, but susefirewall2
Updated by coolgw about 4 years ago
stop susefirewall2
linux-4360:~/openqa-distr # /usr/local/bin/openqa-clone-custom-git-refspec https://github.com/coolgw/os-autoinst-distri-opensuse/tree/debug-vnc http://openqa.suse.de/tests/3999663
Created job #4004336: sle-15-SP2-Migration-from-SLE12-SP5-to-SLE15-SP2-s390x-Build160.1-offline_sles12sp5_pscc_asmm-lgm_all_full@s390x-kvm-sle15 -> http://openqa.suse.de/t4004336
Updated by coolgw about 4 years ago
linux-4360:~/openqa-distr # /usr/local/bin/openqa-clone-custom-git-refspec https://github.com/coolgw/os-autoinst-distri-opensuse/tree/390vnc http://openqa.suse.de/tests/3999663
Created job #4009321: sle-15-SP2-Migration-from-SLE12-SP5-to-SLE15-SP2-s390x-Build160.1-offline_sles12sp5_pscc_asmm-lgm_all_full@s390x-kvm-sle15 -> http://openqa.suse.de/t4009321
linux-4360:~/openqa-distr #
Updated by coolgw about 4 years ago
linux-4360:~/openqa-distr # /usr/local/bin/openqa-clone-custom-git-refspec https://github.com/coolgw/os-autoinst-distri-opensuse/tree/390vnc http://openqa.suse.de/tests/3999663
Created job #4011270: sle-15-SP2-Migration-from-SLE12-SP5-to-SLE15-SP2-s390x-Build160.1-offline_sles12sp5_pscc_asmm-lgm_all_full@s390x-kvm-sle15 -> http://openqa.suse.de/t4011270
linux-4360:~/openqa-distr #
Updated by coolgw about 4 years ago
base Oliver's suggestion, try to open susefire wall port on sle15
linux-4360:~/openqa-distr # /usr/local/bin/openqa-clone-custom-git-refspec https://github.com/coolgw/os-autoinst-distri-opensuse/tree/aa http://openqa.suse.de/tests/3999663
Created job #4017261: sle-15-SP2-Migration-from-SLE12-SP5-to-SLE15-SP2-s390x-Build160.1-offline_sles12sp5_pscc_asmm-lgm_all_full@s390x-kvm-sle15 -> http://openqa.suse.de/t4017261
linux-4360:~/openqa-distr #
Updated by coolgw about 4 years ago
linux-4360:~/openqa-distr # /usr/local/bin/openqa-clone-custom-git-refspec https://github.com/coolgw/os-autoinst-distri-opensuse/tree/aa http://openqa.suse.de/tests/3999663
Created job #4017786: sle-15-SP2-Migration-from-SLE12-SP5-to-SLE15-SP2-s390x-Build160.1-offline_sles12sp5_pscc_asmm-lgm_all_full@s390x-kvm-sle15 -> http://openqa.suse.de/t4017786
linux-4360:~/openqa-distr #
Updated by coolgw about 4 years ago
linux-4360:~/openqa-distr # /usr/local/bin/openqa-clone-custom-git-refspec https://github.com/coolgw/os-autoinst-distri-opensuse/tree/390vnc http://openqa.suse.de/tests/3999663
Created job #4018095: sle-15-SP2-Migration-from-SLE12-SP5-to-SLE15-SP2-s390x-Build160.1-offline_sles12sp5_pscc_asmm-lgm_all_full@s390x-kvm-sle15 -> http://openqa.suse.de/t4018095
linux-4360:~/openqa-distr #
Updated by leli about 4 years ago
- Status changed from Resolved to Workable
Reopen since same issue found:
https://openqa.nue.suse.com/tests/4065618#
https://openqa.nue.suse.com/tests/4065619#
Updated by coolgw about 4 years ago
This is 15 to 15sp2 test case failed, another issue, need reopen another ticket for fix this.
Updated by coolgw about 4 years ago
first try to confirm whether related with firewall
linux-4360:~/openqa-distr # /usr/local/bin/openqa-clone-custom-git-refspec-debug https://github.com/coolgw/os-autoinst-distri-opensuse/tree/s390-firewall http://openqa.suse.de/tests/4065618
Cloning dependencies of sle-15-SP2-Migration-from-SLE15-SPX-to-SLE15-SP2-s390x-Build168.1-offline_sles15_media_basesys-srv_all_full_zVM@s390x-zVM-Upgrade-sp2
Created job #4072248: sle-15-SP2-Migration-from-SLE15-SPX-to-SLE15-SP2-s390x-Build168.1-offline_sles15_media_basesys-srv_all_full_zVM_preparation@s390x-zVM-Upgrade-sp2 -> http://openqa.suse.de/t4072248
Created job #4072249: sle-15-SP2-Migration-from-SLE15-SPX-to-SLE15-SP2-s390x-Build168.1-offline_sles15_media_basesys-srv_all_full_zVM@s390x-zVM-Upgrade-sp2 -> http://openqa.suse.de/t4072249
Updated by coolgw about 4 years ago
if you look on following error info, this already not related with firewall anymore, since firewall already stop. I suspect vnc not start yet.
https://openqa.suse.de/tests/4072249#step/reconnect_mgmt_console/22
Updated by coolgw about 4 years ago
add more debug info:
linux-4360:~/openqa-distr # /usr/local/bin/openqa-clone-custom-git-refspec-debug https://github.com/coolgw/os-autoinst-distri-opensuse/tree/s390-firewall http://openqa.suse.de/tests/4112314
Cloning dependencies of sle-15-SP2-Migration-from-SLE15-SPX-to-SLE15-SP2-s390x-Build176.1-offline_sles15_media_basesys-srv_all_full_zVM@s390x-zVM-Upgrade-sp2
Created job #4115011: sle-15-SP2-Migration-from-SLE15-SPX-to-SLE15-SP2-s390x-Build176.1-offline_sles15_media_basesys-srv_all_full_zVM_preparation@s390x-zVM-Upgrade-sp2 -> http://openqa.suse.de/t4115011
Created job #4115012: sle-15-SP2-Migration-from-SLE15-SPX-to-SLE15-SP2-s390x-Build176.1-offline_sles15_media_basesys-srv_all_full_zVM@s390x-zVM-Upgrade-sp2 -> http://openqa.suse.de/t4115012
Updated by coolgw about 4 years ago
/usr/local/bin/openqa-clone-custom-git-refspec-debug https://github.com/coolgw/os-autoinst-distri-opensuse/tree/s390-firewall http://openqa.suse.de/tests/4112314
Cloning dependencies of sle-15-SP2-Migration-from-SLE15-SPX-to-SLE15-SP2-s390x-Build176.1-offline_sles15_media_basesys-srv_all_full_zVM@s390x-zVM-Upgrade-sp2
Created job #4116223: sle-15-SP2-Migration-from-SLE15-SPX-to-SLE15-SP2-s390x-Build176.1-offline_sles15_media_basesys-srv_all_full_zVM_preparation@s390x-zVM-Upgrade-sp2 -> http://openqa.suse.de/t4116223
Created job #4116224: sle-15-SP2-Migration-from-SLE15-SPX-to-SLE15-SP2-s390x-Build176.1-offline_sles15_media_basesys-srv_all_full_zVM@s390x-zVM-Upgrade-sp2 -> http://openqa.suse.de/t4116224
Updated by coolgw about 4 years ago
check the prepare case i found strange logic in system_role.pm
set_var('DESKTOP', 'textmode') unless is_opensuse; +55
that means from preparation phase we start with textmode? That's also the reason no any failed in preparation phase.
Updated by coolgw about 4 years ago
start to check after force set desktop=gnome
linux-4360:~/openqa-distr # /usr/local/bin/openqa-clone-custom-git-refspec https://github.com/coolgw/os-autoinst-distri-opensuse/tree/s390-firewall http://openqa.suse.de/tests/4116223
Created job #4116816: sle-15-SP2-Migration-from-SLE15-SPX-to-SLE15-SP2-s390x-Build176.1-offline_sles15_media_basesys-srv_all_full_zVM_preparation@s390x-zVM-Upgrade-sp2 -> http://openqa.suse.de/t4116816
Updated by coolgw about 4 years ago
linux-4360:~/openqa-distr # /usr/local/bin/openqa-clone-custom-git-refspec https://github.com/coolgw/os-autoinst-distri-opensuse/tree/s390-firewall http://openqa.suse.de/tests/4116223
Created job #4116842: sle-15-SP2-Migration-from-SLE15-SPX-to-SLE15-SP2-s390x-Build176.1-offline_sles15_media_basesys-srv_all_full_zVM_preparation@s390x-zVM-Upgrade-sp2 -> http://openqa.suse.de/t4116842
Updated by coolgw about 4 years ago
linux-4360:~/openqa-distr # /usr/local/bin/openqa-clone-custom-git-refspec https://github.com/coolgw/os-autoinst-distri-opensuse/tree/s390-firewall http://openqa.suse.de/tests/4116223
Created job #4119389: sle-15-SP2-Migration-from-SLE15-SPX-to-SLE15-SP2-s390x-Build176.1-offline_sles15_media_basesys-srv_all_full_zVM_preparation@s390x-zVM-Upgrade-sp2 -> http://openqa.suse.de/t4119389
Updated by coolgw about 4 years ago
linux-4360:~/openqa-distr # /usr/local/bin/openqa-clone-custom-git-refspec https://github.com/coolgw/os-autoinst-distri-opensuse/tree/s390-firewall http://openqa.suse.de/tests/4116223
Created job #4122621: sle-15-SP2-Migration-from-SLE15-SPX-to-SLE15-SP2-s390x-Build176.1-offline_sles15_media_basesys-srv_all_full_zVM_preparation@s390x-zVM-Upgrade-sp2 -> http://openqa.suse.de/t4122621
Updated by coolgw about 4 years ago
linux-4360:~/openqa-distr # /usr/local/bin/openqa-clone-custom-git-refspec https://github.com/coolgw/os-autoinst-distri-opensuse/tree/s390-firewall http://openqa.suse.de/tests/4116223
Created job #4122650: sle-15-SP2-Migration-from-SLE15-SPX-to-SLE15-SP2-s390x-Build176.1-offline_sles15_media_basesys-srv_all_full_zVM_preparation@s390x-zVM-Upgrade-sp2 -> http://openqa.suse.de/t4122650
show access control failed, not root?
Updated by coolgw about 4 years ago
linux-4360:~/openqa-distr # /usr/local/bin/openqa-clone-custom-git-refspec https://github.com/coolgw/os-autoinst-distri-opensuse/tree/s390-firewall http://openqa.suse.de/tests/4116223
Created job #4122656: sle-15-SP2-Migration-from-SLE15-SPX-to-SLE15-SP2-s390x-Build176.1-offline_sles15_media_basesys-srv_all_full_zVM_preparation@s390x-zVM-Upgrade-sp2 -> http://openqa.suse.de/t4122656
Updated by coolgw about 4 years ago
linux-4360:~/openqa-distr # /usr/local/bin/openqa-clone-custom-git-refspec https://github.com/coolgw/os-autoinst-distri-opensuse/tree/s390-firewall http://openqa.suse.de/tests/4116223
Created job #4128559: sle-15-SP2-Migration-from-SLE15-SPX-to-SLE15-SP2-s390x-Build176.1-offline_sles15_media_basesys-srv_all_full_zVM_preparation@s390x-zVM-Upgrade-sp2 -> http://openqa.suse.de/t4128559
Updated by coolgw about 4 years ago
After check the base system(which installed by prepare job), no yast commad, no vnc installed, so this is not proper base system for migration(espeically check vnc etc..)
s390vsl153:~ # yast
bash: yast: command not found
s390vsl153:~ # yast2
bash: yast2: command not found
s390vsl153:~ # zyppper se vnc
bash: zyppper: command not found
s390vsl153:~ # zypper se vnc
Loading repository data...
Reading installed packages...
No matching items found.
Note: For an extended search including not yet activated remote resources please use 'zypper
search-packages'.
s390vsl153:~ # zypper lr -u
Repository priorities are without effect. All enabled repositories share the same priority.
| Alias | Name | Enabled | GPG Check | Refresh | URI¶
--+-------------+-------------+---------+-----------+---------+------------------------------------------------
1 | SLES15-15-0 | SLES15-15-0 | Yes | (r ) Yes | Yes | ftp://openqa/SLE-15-Installer-DVD-s390x-GM-DVD1
s390vsl153:~ # cat /etc/os-release
NAME="SLES"
VERSION="15"
VERSION_ID="15"
PRETTY_NAME="SUSE Linux Enterprise Server 15"
ID="sles"
ID_LIKE="suse"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles:15"
Updated by coolgw about 4 years ago
- Status changed from Workable to Resolved
The prepare job need redo, i suggest using scc register and do patch sle operation.
So we need create anothe ticket to finish this.
Updated by hjluo about 4 years ago
- Status changed from Resolved to Workable
Hit this agin on 179.1
https://openqa.nue.suse.com/tests/4136660
Test died: Error connecting to VNC server s390vsl153.suse.de:5901: IO::Socket::INET: connect: No route to host at /usr/lib/os-autoinst/testapi.pm line 1622.¶
Updated by maritawerner over 3 years ago
WEi Gao and Oli, I have a question here. Why did you add a soft fail to the testcase? According to the last comments of the developer the testcase is wrong and the bug is invalid, so I think we should fix the testcase and make it "green" and not add a soft fail? What do you think?
Updated by okurz over 3 years ago
maritawerner wrote:
WEi Gao and Oli, I have a question here. Why did you add a soft fail to the testcase? According to the last comments of the developer the testcase is wrong and the bug is invalid, so I think we should fix the testcase and make it "green" and not add a soft fail? What do you think?
In short: Yes of course the test case should be fixed. This is planned in #68564
I think what happened is that alynx.zhou@suse.com , the reporter of https://bugzilla.suse.com/show_bug.cgi?id=1154156 thought this issue to be a bug. And I am sure we can find a couple of bugs which all point to the same problem: SUSEfirewall2 was deprecated and said to be replaced by firewalld but no proper migration was put in place (compared to what one can expect in other cases, e.g. Debian or Ubuntu). There are release note entries, updated documentation and even helper scripts but as long as none are automatically triggered users will run into problems like the one reported in the bug. So I do not even consider the bug invalid. And probably whoever put in the softfail did that referencing a bug that is still open. In my eyes everything happened correctly up to that point. The plan to update the openQA migration scenarios accordingly is planned in #68564 and until that is done I think the softfail is a good reminder that the issue persists despite what is suggested as solution.