Bug 1505724 - unattended cleanup fails
Summary: unattended cleanup fails
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Setup.Core
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.2.0
: ---
Assignee: Yedidyah Bar David
QA Contact: Lucie Leistnerova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-24 07:55 UTC by Yedidyah Bar David
Modified: 2017-12-20 10:52 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
engine-cleanup now does not fail when using an answer file generated by an interactive invocation of it.
Clone Of:
Environment:
Last Closed: 2017-12-20 10:52:30 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 83132 0 master MERGED packaging: setup: Support multi-line values in answer files 2017-11-27 14:59:08 UTC

Description Yedidyah Bar David 2017-10-24 07:55:03 UTC
Description of problem:

Running engine-cleanup with an answer file generated by an interactive run fails with:

[ ERROR ] Failed to execute stage 'Initializing': File contains parsing errors: /var/lib/ovirt-engine/setup/answers/20171024101708-cleanup.conf
                [line 12]: 'ovirt-engine-websocket-proxy\n'

The answer file contains:

OVESETUP_REMOVE/removeOptions=multi-str:ovirt-imageio-proxy
ovirt-engine-websocket-proxy

(in two lines)

Need to split with commas or something like that.

Comment 1 Yedidyah Bar David 2017-11-27 15:02:45 UTC
To clarify, the flow of this bug is something like:

1. engine-setup
2. engine-backup --mode=backup --file=f1 --log=l1
3. engine-cleanup, generates anser file ans1
4. engine-backup --mode=restore --file=f1 --log=r1 --no-restore-permissions
5. engine-cleanup --config-append=ans1

Comment 2 Lucie Leistnerova 2017-12-11 09:50:05 UTC
no error in engine-cleanup with answer file

verified in ovirt-engine-setup-4.2.0-0.6.el7.noarch

Comment 3 Sandro Bonazzola 2017-12-20 10:52:30 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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