Created attachment 1257128 [details] add fedora host to rhvm41 Description of problem: Failed to add Fedora24/Centos73 host to RHVM, hosts are installed with cockpit-ovirt plugin. Version-Release number of selected component (if applicable): 1. Fedora-Server-dvd-x86_64-24-1.2.iso cockpit-ovirt-dashboard-0.10.7-0.0.11.fc24.noarch cockpit-0.103-1.fc24.x86_64 vdsm-4.19.6-1.fc24.x86_64 kernel-4.5.5-300.fc24.x86_64 2. CentOS-7-x86_64-DVD-1611.iso cockpit-ovirt-dashboard-0.10.7-0.0.11.fc24.noarch cockpit-126-1.el7.centos.x86_64 vdsm-4.19.6-1.el7.centos.x86_64 kernel-3.10.0-514.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1. Clean install Fedora-Server-dvd-x86_64-24-1.2.iso/CentOS-7-x86_64-DVD-1611.iso 2. Install cockpit-ovirt repo #dnf install -y http://resources.ovirt.org/pub/yum-repo/ovirt-release41-pre.rpm 3. Install cockpit-ovirt-dashboard package #dnf install cockpit-ovirt-dashboard-0.10.7-0.0.11.fc24.noarch.rpm 4. Add host to RHVM 4.1, then check the host install process in RHVM. Actual results: Failed to add Fedora24/Centos73 host to RHVM Expected results: Fedora24/Centos73 host should be added to RHVM successfully. Additional info: /var/log/message Feb 23 17:37:41 dell-per730-35 cockpit-bridge: Traceback (most recent call last): Feb 23 17:37:41 dell-per730-35 cockpit-bridge: File "/usr/share/cockpit/ovirt-dashboard/vdsm/vdsm/vdsmJsonRPCCli.py", line 406, in <module> Feb 23 17:37:41 dell-per730-35 cockpit-bridge: sys.exit(main()) Feb 23 17:37:41 dell-per730-35 cockpit-bridge: File "/usr/share/cockpit/ovirt-dashboard/vdsm/vdsm/vdsmJsonRPCCli.py", line 368, in main Feb 23 17:37:41 dell-per730-35 cockpit-bridge: service = get_vdsm_service() Feb 23 17:37:41 dell-per730-35 cockpit-bridge: File "/usr/share/cockpit/ovirt-dashboard/vdsm/vdsm/vdsmJsonRPCCli.py", line 57, in get_vdsm_service Feb 23 17:37:41 dell-per730-35 cockpit-bridge: _service = jsonrpcvdscli.connect(rqueue) Feb 23 17:37:41 dell-per730-35 cockpit-bridge: File "/usr/lib/python2.7/site-packages/vdsm/jsonrpcvdscli.py", line 246, in connect Feb 23 17:37:41 dell-per730-35 cockpit-bridge: responseQueue) Feb 23 17:37:41 dell-per730-35 cockpit-bridge: File "/usr/lib/python2.7/site-packages/vdsm/jsonrpcvdscli.py", line 232, in _create Feb 23 17:37:41 dell-per730-35 cockpit-bridge: lazy_start=False) Feb 23 17:37:41 dell-per730-35 cockpit-bridge: File "/usr/lib/python2.7/site-packages/yajsonrpc/stompreactor.py", line 606, in StandAloneRpcClient Feb 23 17:37:41 dell-per730-35 cockpit-bridge: client = StompClient(utils.create_connected_socket(host, port, sslctx), Feb 23 17:37:41 dell-per730-35 cockpit-bridge: File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 882, in create_connected_socket Feb 23 17:37:41 dell-per730-35 cockpit-bridge: sock = sslctx.wrapSocket(sock) Feb 23 17:37:41 dell-per730-35 cockpit-bridge: File "/usr/lib/python2.7/site-packages/vdsm/sslutils.py", line 96, in wrapSocket Feb 23 17:37:41 dell-per730-35 cockpit-bridge: ca_certs=self.ca_certs) Feb 23 17:37:41 dell-per730-35 cockpit-bridge: File "/usr/lib64/python2.7/ssl.py", line 943, in wrap_socket Feb 23 17:37:41 dell-per730-35 cockpit-bridge: ciphers=ciphers) Feb 23 17:37:41 dell-per730-35 cockpit-bridge: File "/usr/lib64/python2.7/ssl.py", line 552, in __init__ Feb 23 17:37:41 dell-per730-35 cockpit-bridge: self._context.load_verify_locations(ca_certs) Feb 23 17:37:41 dell-per730-35 cockpit-bridge: IOError: [Errno 2] No such file or directory
Created attachment 1257129 [details] add centos host to rhvm41
Created attachment 1257130 [details] picture
Wei, could you provide the following info into this bug for better debug issue. 1. Could you try engine on upstream instead of downstream engine? 2. Could you check vdsmd status before and after registering engine? 3. If you adding host failed on engine, could you provide the /var/log/ovirt-engine/engine.log?
(In reply to Ying Cui from comment #3) > Wei, could you provide the following info into this bug for better debug > issue. > 1. Could you try engine on upstream instead of downstream engine? Yes, but now we dosen't have upstream engine environment. We are setting up it . When it is ready, I will give the feedback quickly. > 2. Could you check vdsmd status before and after registering engine? > 3. If you adding host failed on engine, could you provide the > /var/log/ovirt-engine/engine.log?
(In reply to Wei Wang from comment #4) > (In reply to Ying Cui from comment #3) > > Wei, could you provide the following info into this bug for better debug > > issue. > > 1. Could you try engine on upstream instead of downstream engine? > > Yes, but now we dosen't have upstream engine environment. We are setting up > it . When it is ready, I will give the feedback quickly. > > > 2. Could you check vdsmd status before and after registering engine? > > 3. If you adding host failed on engine, could you provide the > > /var/log/ovirt-engine/engine.log? Test Version Fedora-Server-dvd-x86_64-24-1.2.iso cockpit-ovirt-dashboard-0.10.7-0.0.11.fc24.noarch cockpit-0.103-1.fc24.x86_64 vdsm-4.19.6-1.fc24.x86_64 kernel-4.5.5-300.fc24.x86_64 1. Clean install Fedora-Server-dvd-x86_64-24-1.2.iso 2. Install cockpit-ovirt repo #dnf install -y http://resources.ovirt.org/pub/yum-repo/ovirt-release41-pre.rpm 3. Install cockpit-ovirt-dashboard package #dnf install cockpit-ovirt-dashboard-0.10.7-0.0.11.fc24.noarch.rpm 4. Add host to ovirt-engine 4.1, then check the host install process Result: The host is added failed since dnf package is not installed. Traceback (most recent call last): File "/tmp/ovirt-c851QcgNiD/otopi-plugins/otopi/packagers/dnfpackager.py", line 150, in _boot constants.PackEnv.DNF_DISABLED_PLUGINS File "/tmp/ovirt-c851QcgNiD/otopi-plugins/otopi/packagers/dnfpackager.py", line 60, in _getMiniDNF from otopi import minidnf File "/tmp/ovirt-c851QcgNiD/pythonlib/otopi/minidnf.py", line 16, in <module> import dnf ImportError: No module named dnf after installed python2-dnf package, the host is added to engine successfully. Attach the log file in attachment.
Created attachment 1259413 [details] engine logs
(In reply to Wei Wang from comment #5) > (In reply to Wei Wang from comment #4) > > (In reply to Ying Cui from comment #3) > > > Wei, could you provide the following info into this bug for better debug > > > issue. > > > 1. Could you try engine on upstream instead of downstream engine? > > > > Yes, but now we dosen't have upstream engine environment. We are setting up > > it . When it is ready, I will give the feedback quickly. > > > > > 2. Could you check vdsmd status before and after registering engine? > > > 3. If you adding host failed on engine, could you provide the > > > /var/log/ovirt-engine/engine.log? > > Test Version > Fedora-Server-dvd-x86_64-24-1.2.iso > cockpit-ovirt-dashboard-0.10.7-0.0.11.fc24.noarch > cockpit-0.103-1.fc24.x86_64 > vdsm-4.19.6-1.fc24.x86_64 > kernel-4.5.5-300.fc24.x86_64 > > 1. Clean install Fedora-Server-dvd-x86_64-24-1.2.iso > 2. Install cockpit-ovirt repo > #dnf install -y > http://resources.ovirt.org/pub/yum-repo/ovirt-release41-pre.rpm > 3. Install cockpit-ovirt-dashboard package > #dnf install cockpit-ovirt-dashboard-0.10.7-0.0.11.fc24.noarch.rpm > 4. Add host to ovirt-engine 4.1, then check the host install process > > Result: > The host is added failed since dnf package is not installed. > > Traceback (most recent call last): > File "/tmp/ovirt-c851QcgNiD/otopi-plugins/otopi/packagers/dnfpackager.py", > line 150, in _boot > constants.PackEnv.DNF_DISABLED_PLUGINS > File "/tmp/ovirt-c851QcgNiD/otopi-plugins/otopi/packagers/dnfpackager.py", > line 60, in _getMiniDNF > from otopi import minidnf > File "/tmp/ovirt-c851QcgNiD/pythonlib/otopi/minidnf.py", line 16, in > <module> > import dnf > ImportError: No module named dnf > > after installed python2-dnf package, the host is added to engine > successfully. > Attach the log file in attachment. So this is a duplicate of 1316950; What about CentOS?
(In reply to Sandro Bonazzola from comment #7) > (In reply to Wei Wang from comment #5) > > (In reply to Wei Wang from comment #4) > > > (In reply to Ying Cui from comment #3) > > > > Wei, could you provide the following info into this bug for better debug > > > > issue. > > > > 1. Could you try engine on upstream instead of downstream engine? > > > > > > Yes, but now we dosen't have upstream engine environment. We are setting up > > > it . When it is ready, I will give the feedback quickly. > > > > > > > 2. Could you check vdsmd status before and after registering engine? > > > > 3. If you adding host failed on engine, could you provide the > > > > /var/log/ovirt-engine/engine.log? > > > > Test Version > > Fedora-Server-dvd-x86_64-24-1.2.iso > > cockpit-ovirt-dashboard-0.10.7-0.0.11.fc24.noarch > > cockpit-0.103-1.fc24.x86_64 > > vdsm-4.19.6-1.fc24.x86_64 > > kernel-4.5.5-300.fc24.x86_64 > > > > 1. Clean install Fedora-Server-dvd-x86_64-24-1.2.iso > > 2. Install cockpit-ovirt repo > > #dnf install -y > > http://resources.ovirt.org/pub/yum-repo/ovirt-release41-pre.rpm > > 3. Install cockpit-ovirt-dashboard package > > #dnf install cockpit-ovirt-dashboard-0.10.7-0.0.11.fc24.noarch.rpm > > 4. Add host to ovirt-engine 4.1, then check the host install process > > > > Result: > > The host is added failed since dnf package is not installed. > > > > Traceback (most recent call last): > > File "/tmp/ovirt-c851QcgNiD/otopi-plugins/otopi/packagers/dnfpackager.py", > > line 150, in _boot > > constants.PackEnv.DNF_DISABLED_PLUGINS > > File "/tmp/ovirt-c851QcgNiD/otopi-plugins/otopi/packagers/dnfpackager.py", > > line 60, in _getMiniDNF > > from otopi import minidnf > > File "/tmp/ovirt-c851QcgNiD/pythonlib/otopi/minidnf.py", line 16, in > > <module> > > import dnf > > ImportError: No module named dnf > > > > after installed python2-dnf package, the host is added to engine > > successfully. > > Attach the log file in attachment. > > So this is a duplicate of 1316950; What about CentOS? Test version: CentOS-7-x86_64-DVD-1611.iso cockpit-ovirt-dashboard-0.10.7-0.0.11.fc24.noarch cockpit-126-1.el7.centos.x86_64 vdsm-4.19.7-1.el7.centos.x86_64 kernel-3.10.0-514.el7.x86_64 Test steps: 1. Clean install CentOS-7-x86_64-DVD-1611.iso 2. Install cockpit-ovirt repo #yum install -y http://resources.ovirt.org/pub/yum-repo/ovirt-release41-pre.rpm 3. Install cockpit-ovirt-dashboard package #yum install cockpit-ovirt-dashboard-0.10.7-0.0.11.fc24.noarch.rpm 4. Add host to ovirt-engine 4.1, then check the host install process in RHVM. Result: Centos7.3 host can be added to ovirt-engine 4.1 successfully.
*** This bug has been marked as a duplicate of bug 1316950 ***