Bug 1426484
Summary: | Failed to add Fedora24/Centos73 host to RHVM | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [oVirt] cockpit-ovirt | Reporter: | Wei Wang <weiwang> | ||||||||||
Component: | Node | Assignee: | Marek Libra <mlibra> | ||||||||||
Status: | CLOSED DUPLICATE | QA Contact: | Wei Wang <weiwang> | ||||||||||
Severity: | high | Docs Contact: | |||||||||||
Priority: | unspecified | ||||||||||||
Version: | 0.10.7-0.0.10 | CC: | bugs, cshao, huzhao, leiwang, qiyuan, rbarry, weiwang, yaniwang, ycui | ||||||||||
Target Milestone: | ovirt-4.1.1 | Flags: | rule-engine:
ovirt-4.1+
cshao: testing_ack+ |
||||||||||
Target Release: | --- | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2017-03-07 09:20:21 UTC | Type: | Bug | ||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||
Documentation: | --- | CRM: | |||||||||||
Verified Versions: | Category: | --- | |||||||||||
oVirt Team: | Node | RHEL 7.3 requirements from Atomic Host: | |||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
Embargoed: | |||||||||||||
Attachments: |
|
Description
Wei Wang
2017-02-24 02:38:44 UTC
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 *** |