Bug 1328036 - ovirt-vmconsole conf and pki are not backed up
Summary: ovirt-vmconsole conf and pki are not backed up
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Backup-Restore.Engine
Version: 3.6.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ovirt-3.6.6
: 3.6.6
Assignee: Yedidyah Bar David
QA Contact: Gonza
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-18 09:24 UTC by Yedidyah Bar David
Modified: 2016-05-30 10:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: ovirt-vmconsole pki and conf were not backed up by engine-backup. Consequence: When restoring such a backup, engine-setup recreated the pki (and conf, which should have been identical by default). TODO fill in other consequences after QE try this. Fix: engine-backup was fixed to include these files in backups. Result: On restore, same conf and pki are used as in the backed up system.
Clone Of:
Environment:
Last Closed: 2016-05-30 10:55:20 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-3.6.z+
mgoldboi: planning_ack+
sbonazzo: devel_ack+
pnovotny: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 56273 0 master MERGED packaging: engine-backup: Backup ovirt-vmconsole conf and pki 2016-04-18 12:31:00 UTC
oVirt gerrit 56276 0 ovirt-engine-3.6 MERGED packaging: engine-backup: Backup ovirt-vmconsole conf and pki 2016-04-19 09:13:20 UTC

Description Yedidyah Bar David 2016-04-18 09:24:13 UTC
Description of problem:

$Subject.

So it's regenerated after restore.

Didn't analyze full implications - probably it's at least annoying (user has to confirm the new key), might break stuff.

Version-Release number of selected component (if applicable):

3.6

How reproducible:

Always

Steps to Reproduce:
1. setup an engine with vmconsole
2. backup
3. restore on another machine
4. engine-setup

Actual results:

vmconsole pki is regenerated

Expected results:

vmconsole pki is backed up and restored

Additional info:

Comment 1 Yedidyah Bar David 2016-04-19 09:27:34 UTC
(In reply to Yedidyah Bar David from comment #0)
> Description of problem:
> 
> $Subject.
> 
> So it's regenerated after restore.
> 
> Didn't analyze full implications - probably it's at least annoying (user has
> to confirm the new key), might break stuff.

QE: Please check this. If significant, we should probably add doc text.

To test:

1. setup a 3.6.5 engine+host+VM, configure vmconsole, make sure you can access the VM's serial console using ovirt-vmconsole.

2. Take a backup with engine-backup.

3. engine-cleanup

4. rm -rf /etc/pki/ovirt-vmconsole/*

5. restore the backup.

6. Try accessing the VM's serial console the same way.

Please document here the errors/warnings/etc you get.

For verification, repeat above with fixed build (3.6.6), and you should get no errors/warnings.

Thanks.

Comment 3 Gonza 2016-05-16 17:01:15 UTC
Verified with:
rhevm-3.6.6.2-0.1.el6.noarch

Successfully connected via vmconsole after restore without warnings.


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