Modify ↓
Ticket #1082 (closed defect: fixed)
bcfg2-lint tracebacks on Pkgmgr
Reported by: | m4z <[email protected]…> | Owned by: | https://www.google.com/accounts/o8/id?id=AItOawnSjgovXZr-_V3vGkvMSR0pc5LDykRc1Nc |
---|---|---|---|
Priority: | minor | Milestone: | Bcfg2 1.2.1 Release (Bugfix) |
Component: | bcfg2-server | Version: | 1.0 |
Keywords: | Cc: |
Description
foo:/var/lib/bcfg2 # rpm -qa | grep bcfg bcfg2-1.2.0-4.1.noarch bcfg2-server-1.2.0-4.1.noarch foo:/var/lib/bcfg2 # bcfg2-lint -v Running serverless plugins Running Validate Handled 20 events in 0.022s Running server plugins Running Duplicates Running Pkgmgr Traceback (most recent call last): File "/usr/sbin/bcfg2-lint", line 191, in <module> config=config, setup=setup) File "/usr/sbin/bcfg2-lint", line 29, in run_server_plugins setup=setup, config=config, files=files) File "/usr/sbin/bcfg2-lint", line 53, in run_plugin return plugin(*args, **kwargs).Run() File "/usr/lib/python2.7/site-packages/Bcfg2/Server/Lint/Pkgmgr.py", line 16, in Run priority = xdata.getroot().get('priority') AttributeError: 'str' object has no attribute 'getroot' foo:/var/lib/bcfg2 #
Attachments
Change History
comment:1 Changed 11 years ago by m4z <[email protected]…>
comment:2 Changed 11 years ago by https://www.google.com/accounts/o8/id?id=AItOawnSjgovXZr-_V3vGkvMSR0pc5LDykRc1Nc
- Owner changed from desai to https://www.google.com/accounts/o8/id?id=AItOawnSjgovXZr-_V3vGkvMSR0pc5LDykRc1Nc
- Status changed from new to accepted
Note: See
TracTickets for help on using
tickets.
The corresponding Pkgmgr file looks like this (like in the docs):