Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1619403

Summary: template sealing does not reset hostname
Product: [oVirt] vdsm Reporter: Robert Story <rs>
Component: GeneralAssignee: Dan Kenigsberg <danken>
Status: CLOSED DEFERRED QA Contact: meital avital <mavital>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.20.31CC: bugs, michal.skrivanek, rbarry, rs
Target Milestone: ---Flags: rbarry: ovirt-4.5?
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-01 14:47:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine log excerpt
none
vdsm log excerpt none

Description Robert Story 2018-08-20 18:20:49 UTC
Description of problem:
I created a template of a Linux (CentOS 7) VM, and selected 'seal template'. I created a new VM with the template, but the hostname remained unchanged. 

[Not sure if I selected correct component or oVirt team; I had to guess.]

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

How reproducible:
every time

Steps to Reproduce:
1. create vm with hostname
2. create template, selecting 'seal template'
3. create new vm from template

Actual results:
new vm hostname is the same as original vm hostname.

Expected results:
new vm hostname 'localhost.localdomain'

Additional info:
mac addr and ssh keys were dealt with correctly.

Comment 1 Michal Skrivanek 2018-08-21 05:21:33 UTC
Can hou attach engine.log and vdsm.log from the host which did the sealing?

Comment 2 Robert Story 2018-08-25 14:29:27 UTC
Created attachment 1478714 [details]
engine log excerpt

Comment 3 Robert Story 2018-08-25 14:30:51 UTC
Created attachment 1478715 [details]
vdsm log excerpt

Comment 4 Ryan Barry 2019-01-21 14:54:17 UTC
Re-targeting to 4.3.1 since it is missing a patch, an acked blocker flag, or both

Comment 5 Michal Skrivanek 2020-03-18 15:44:25 UTC
This bug didn't get any attention for a while, we didn't have the capacity to make any progress. If you deeply care about it or want to work on it please assign/target accordingly

Comment 6 Michal Skrivanek 2020-03-18 15:49:27 UTC
This bug didn't get any attention for a while, we didn't have the capacity to make any progress. If you deeply care about it or want to work on it please assign/target accordingly

Comment 7 Michal Skrivanek 2020-04-01 14:47:48 UTC
Closing old bug. Please reopen if still relevant/you want to work on it.