Bug 1006842
Summary: | Traceback on booting of rhevh | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Artyom <alukiano> | ||||
Component: | vdsm | Assignee: | Douglas Schilling Landgraf <dougsland> | ||||
Status: | CLOSED ERRATA | QA Contact: | Tareq Alayan <talayan> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | 3.3.0 | CC: | acathrow, bazulay, dougsland, eedri, fsimonce, iheim, lpeer, mburns, obasan, pstehlik, ybronhei, ycui, yeylon, yzaslavs | ||||
Target Milestone: | --- | ||||||
Target Release: | 3.3.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | infra | ||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: |
--no tech note required
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-01-21 16:15:43 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
libvirt-guests is blacklisted from the RHEV-H image. In order to fix this, we need to do one of the following: 1. don't blacklist the service, but let vdsm disable it (bz moves to RHEL 6 ovirt-node) 2. have the vdsm plugin package essentially hack the script so that it removes libvirt-guests from the conflicting services (move to ovirt-node-plugin-vdsm component in RHEV) 3. have vdsm not throw a stack trace if a service does not exist (move to vdsm component in RHEV) #1 is easy, but seems like an odd way to approach this (add service just so we can blacklist it) #2 is slightly more difficult but doable. It is very hackish, though, and could be susceptible to breaking in the future due to the way we would have to do this. It would likely be a sed script to parse specific files to remove references to libvirt-guests #3 seems like the *right* solution to me. It protects us in the future in the case that services get removed or are not included automatically. (In reply to Mike Burns from comment #1) > libvirt-guests is blacklisted from the RHEV-H image. In order to fix this, > we need to do one of the following: > > 1. don't blacklist the service, but let vdsm disable it (bz moves to RHEL 6 > ovirt-node) > 2. have the vdsm plugin package essentially hack the script so that it > removes libvirt-guests from the conflicting services (move to > ovirt-node-plugin-vdsm component in RHEV) > 3. have vdsm not throw a stack trace if a service does not exist (move to > vdsm component in RHEV) > > #1 is easy, but seems like an odd way to approach this (add service just so > we can blacklist it) > > #2 is slightly more difficult but doable. It is very hackish, though, and > could be susceptible to breaking in the future due to the way we would have > to do this. It would likely be a sed script to parse specific files to > remove references to libvirt-guests > > #3 seems like the *right* solution to me. It protects us in the future in > the case that services get removed or are not included automatically. The #3 looks good to me. Federico any other suggestion? moving to vdsm, please move if we decide on a different approach. (In reply to Douglas Schilling Landgraf from comment #2) > (In reply to Mike Burns from comment #1) > > libvirt-guests is blacklisted from the RHEV-H image. In order to fix this, > > we need to do one of the following: > > > > 3. have vdsm not throw a stack trace if a service does not exist (move to > > vdsm component in RHEV) > > > > #3 seems like the *right* solution to me. It protects us in the future in > > the case that services get removed or are not included automatically. > > The #3 looks good to me. Federico any other suggestion? #3 looks good. Discussed with Zhou Zheng Sheng about the upstream code and this report won't affect it. A solution can be the downstream patch only as follow (verified). # diff -ruN /etc/init.d/vdsmd.orig /etc/init.d/vdsmd --- /etc/init.d/vdsmd.orig 2013-09-12 03:58:41.167749683 +0000 +++ /etc/init.d/vdsmd 2013-09-12 03:58:58.089652417 +0000 @@ -85,6 +85,7 @@ local srv for srv in ${CONFLICTING_SERVICES}; do + "$VDSM_TOOL" service-is-managed "$srv" >/dev/null 2>&1 || continue "$VDSM_TOOL" service-disable "$srv" if "$VDSM_TOOL" service-status "$srv" > /dev/null 2>&1; then if [ "$srv" = "libvirt-guests" ]; then Agree to this solution (only for conflicting services part). Keep in mind that the code is different in master branch, should be fixed also there *** Bug 1007362 has been marked as a duplicate of this bug. *** fixed in is15 - version rhev-hypervisor6-6.5-20130917.0.el6ev.noarch.rpm verified RHEV Hypervisor - 6.5 - 20131011.0.el6 This bug is currently attached to errata RHBA-2013:15291. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag. Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information: * Cause: What actions or circumstances cause this bug to present. * Consequence: What happens when the bug presents. * Fix: What was done to fix the bug. * Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore') Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug. For further details on the Cause, Consequence, Fix, Result format please refer to: https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes Thanks in advance. 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. http://rhn.redhat.com/errata/RHBA-2014-0040.html |
Created attachment 796345 [details] boot log Description of problem: Traceback on booting of rhevh: Traceback (most recent call last): File "/usr/bin/vdsm-tool", line 143, in <module> sys.exit(main()) File "/usr/bin/vdsm-tool", line 140, in main return tool_command[cmd]["command"](*args[1:]) File "/usr/lib64/python2.6/site-packages/vdsm/tool/service.py", line 405, in service_disable File "/usr/lib64/python2.6/site-packages/vdsm/tool/service.py", line 353, in _runAlts service.ServiceNotExistError: ServiceNotExistError: Tried all alternatives but failed: ServiceNotExistError: libvirt-guests is not a SysV service ServiceNotExistError: libvirt-guests is not an Upstart service checking certs.. Version-Release number of selected component (if applicable): rhev-hypervisor6-6.5-20130910.2.el6ev How reproducible: Always Steps to Reproduce: 1. Install rhevh rhev-hypervisor6-6.5-20130910.2.el6ev 2. Boot host 3. Actual results: Traceback appear Expected results: No traceback Additional info: