Bug 698323 - [vdsm][vds_bootstrap] unhandled exception if config.py doesn't contain settings for netconsole
Summary: [vdsm][vds_bootstrap] unhandled exception if config.py doesn't contain settin...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vdsm
Version: 6.1
Hardware: All
OS: Linux
unspecified
urgent
Target Milestone: rc
: ---
Assignee: Dan Kenigsberg
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-20 15:59 UTC by Jakub Libosvar
Modified: 2016-04-18 06:39 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-20 17:04:28 UTC
Target Upstream Version:


Attachments (Terms of Use)
logs (68.64 KB, application/x-gnome-theme-package)
2011-04-20 15:59 UTC, Jakub Libosvar
no flags Details

Description Jakub Libosvar 2011-04-20 15:59:33 UTC
Created attachment 493530 [details]
logs

Description of problem:
Installation of host fails when creating new /etc/vdsm/vdsm.conf file and /ush/share/vdsm/config.py doesn't contain settings for netconsole

Version-Release number of selected component (if applicable):
ic114
vdsm-4.9-59.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1. make sure there is no vdsm.conf file on host
2. install this host to rhev-m
  
Actual results:
Installation fails

Expected results:
Installation continues

Additional info:
I was not sure which component add vds_bootstrap to so I opened it here. If there is better place for it, please change and accept my apologies for bad component. I chose it according the search.

Backend reports: 
2011-04-20 17:42:39,632 ERROR [com.redhat.rhevm.bll.VdsInstaller] (pool-15-thread-309) Installation of 10.34.57.206. Error: Traceback (most recent call last):
  File "/tmp/vds_bootstrap_bb6dae4f-c6be-475b-b8d6-175aa6ec4f86.py", line 541, in createConf
    self._makeConfig()
  File "/tmp/vds_bootstrap_bb6dae4f-c6be-475b-b8d6-175aa6ec4f86.py", line 509, in _makeConfig
    for option in config.options('netconsole'):
  File "/usr/lib64/python2.6/ConfigParser.py", line 260, in options
    raise NoSectionError(section)
NoSectionError: No section: 'netconsole'
. (Stage: Running first installation script on Host)

Comment 2 Dan Kenigsberg 2011-04-20 17:04:28 UTC
that's the correct package to file this bug. but this codepath has been removed from vdsm, and will not appear in next rhev-m build (next week).

The wrong code was packed withing rhev-m due to git branch mismatch (mea culpa).


Note You need to log in before you can comment on or make changes to this bug.