* On CFME-5.9.0.14, 1. On CFME Publish a RHEL VM (with /root/.ssh/known_hosts, that has content), to a template, with choosing seal template. 2. On RHV side, create a VM from this published template: File /root/.ssh/known_hosts exist, with same content as in the original RHEL VM. Moti, Would you please check? thanks.
Info on the seal template choice from evm.log: [----] I, [2018-01-01T01:21:39.215372 #11892:d59134] INFO -- : Q-task_id([miq_provision_10]) MIQ(ManageIQ::Providers::Redhat::InfraManager::Provision#log_clone_options) Prov Options: [:seal_template][0](TrueClass) = true [----] I, [2018-01-01T01:21:39.215498 #11892:d59134] INFO -- : Q-task_id([miq_provision_10]) MIQ(ManageIQ::Providers::Redhat::InfraManager::Provision#log_clone_options) Prov Options: [:seal_template][1](Fixnum) = 1
(In reply to Ilanit Stein from comment #3) > Info on the seal template choice from evm.log: > > [----] I, [2018-01-01T01:21:39.215372 #11892:d59134] INFO -- : > Q-task_id([miq_provision_10]) > MIQ(ManageIQ::Providers::Redhat::InfraManager::Provision#log_clone_options) > Prov Options: [:seal_template][0](TrueClass) = true > [----] I, [2018-01-01T01:21:39.215498 #11892:d59134] INFO -- : > Q-task_id([miq_provision_10]) > MIQ(ManageIQ::Providers::Redhat::InfraManager::Provision#log_clone_options) > Prov Options: [:seal_template][1](Fixnum) = 1 I tested it against ovirt-engine-4.2.0 and the sealed template was created successfully. However, I tested just the creation of template via rest-client against ovirt-engine-4.1.8 and the sealing option wasn't triggered. Therefore this bug should be moved to ovirt-engine restapi or virt for further analyzing why that option isn't working anymore. I sent via POST to the following url: https://istein-rhv40.scl.lab.tlv.redhat.com/ovirt-engine/api/templates?seal=true this body: <template> <name>mysealedtemplate</name> <vm> <name>rhel_pass</name> </vm> </template>
Filed Bug 1530223 for ovirt-engine virt. When Bug 1530223 will be resolved, this BZ can be verified on RHV-4.1.
Moving bug to ON_DEV since it depends on RHV bug 1530223, and this cannot be verified.
Retargeting back to 5.9.0 as according to Ilanit this was successfully verified with RHV 4.1.10. But we should have in release notes that this RFE requires RHV 4.1.10 and higher to work properly (with RHV 4.1.9 and earlier the feature doesn't work) John, do we need some changes in 5.9.0 errata around this bug?
Verified on CFME-5.9.0.22 (latest) / RHV-4.1.10-0.1.el7. 1. From CFME, make template from an original RHEL VM, that contain /root/.ssh/known_hosts file, with seal template option. 2. Create a VM from this template: /root/.ssh/known_hosts exists.