Bug 1251759
Summary: | AttributeError: 'Config' object has no attribute '_files' | ||
---|---|---|---|
Product: | [Retired] oVirt | Reporter: | Jacek Kowalski <kowalski> |
Component: | ovirt-hosted-engine-ha | Assignee: | Doron Fediuck <dfediuck> |
Status: | CLOSED WONTFIX | QA Contact: | meital avital <mavital> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.6 | CC: | bugs, ecohen, gklein, kowalski, lsurette, rbalakri, rgolan, yeylon |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | sla | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-08-11 12:05:40 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jacek Kowalski
2015-08-09 18:08:00 UTC
Hi, can you please provide some more details on what you were doing? ie- is this a part of a normal installation? upgrade? were you using the appliance? Or was it an installed system. If so what was the trigger? Please also attach relevant log files (vdsm, hosted engine files, setup if relevant). I've encountered this error when I accidentally deleted /var/lib/ovirt-hosted-engine-ha/vm.conf during setup and tried to recreate it manually - I omitted memSize. It should not happen in normal circumstances - yet I would prefer to get meaningful error message: Error: 'Configuration value not found: file=/var/run/ovirt-hosted-engine-ha/vm.conf, key=memSize' - trying to restart agent not: AttributeError: 'Config' object has no attribute '_files' Most likely self._files in ovirt_hosted_engine_ha/env/config.py should be replaced by some mix of self._dynamic_files and self._static_files Roy, in the official 3.6 release the above scenario won't be possible due to the move from local to shared configuration. Is this correct? This issue was fixed in this CR request: https://gerrit.ovirt.org/#/c/44306 (https://gerrit.ovirt.org/#/c/44306/15/ovirt_hosted_engine_ha/env/config.py), which was accepted today. Apparently that's an invalid case and also the vm.conf is moving to shared storage configuration which is controlled by ovirt-engine. |