Bug 613595
| Summary: | not handled exceptions in remote configuration | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Lubos Trilety <ltrilety> | ||||
| Component: | wallaby-utils | Assignee: | Robert Rati <rrati> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Lubos Trilety <ltrilety> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | Development | CC: | matt | ||||
| Target Milestone: | 1.3 | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | Type: | --- | |||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Lubos Trilety
2010-07-12 11:28:07 UTC
Created attachment 431144 [details]
output
Depending on the error, 1 of 2 things will happen: 1) An error will be printed and the user will be allowed to re-do the edits 2) The edits will be ignored Fixed in: condor-wallaby-tools-3.1-1 Tested with (version): condor-wallaby-tools-3.3-1 During testing I found another bad input which produce not properly handled error: For feature object type some parameter with number (or true, false) as value Scenario:
1. create parameter NEW_PARAM in store
2. create feature New_Feature in store
3. try to add NEW_PARAM to the New_Feature with true as value (don't use apostrophes or quotation marks)
i.e.
--- !Feature
name: New_Feature
params:
NEW_PARAM: true
conflicts: []
depends: []
includes: []
4. see traceback:
Traceback (most recent call last):
File "/usr/sbin/condor_configure_store", line 556, in ?
sys.exit(main())
File "/usr/sbin/condor_configure_store", line 465, in main
edited.store_validate(config_store)
File "/usr/lib/python2.4/site-packages/wallabyclient/WallabyTypes.py", line 90, in store_validate
if self.params[p] != None and self.params[p].strip() == '':
AttributeError: 'bool' object has no attribute 'strip'
Fixed in: condor-wallaby-tools-3.4-2 Tested with (version):
condor-wallaby-tools-3.6-5
condor-wallaby-client-3.6-5
wallaby-utils-0.9.18-2
wallaby-0.9.18-2
condor-wallaby-base-db-1.4-5
ruby-wallaby-0.9.18-2
python-wallabyclient-3.6-5
Tested on:
RHEL5 x86_64,i386 - passed
>>> VERIFIED
|