<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 13, 2018 at 7:43 AM, Reznikov Alexei <span dir="ltr"><<a href="mailto:reznikov_aa@soskol.com" target="_blank">reznikov_aa@soskol.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<div class="gmail-m_4481778877413366728moz-cite-prefix">10.02.2018 00:48,
<a class="gmail-m_4481778877413366728moz-txt-link-abbreviated" href="mailto:reznikov_aa@soskol.com" target="_blank">reznikov_aa@soskol.com</a> пишет:<br>
</div><div><div class="gmail-h5">
<blockquote type="cite">Simone
Tiraboschi писал 2018-02-09 15:17:
<br>
<br>
<blockquote type="cite">It shouldn't happen.
<br>
I suspect that something went wrong creating the configuration
volume
<br>
on the shared storage at the end of the deployment.
<br>
<br>
Alexei, can both of you attach you hosted-engine-setup logs?
<br>
Can you please check what happens on
<br>
hosted-engine --get-shared-config gateway
<br>
<br>
Thanks
<br>
<br>
</blockquote>
<br>
Simone, my ovirt cluster upgrade from 3.4... and i have too old
logs.
<br>
<br>
I'm confused by the execution of the hosted-engine
--get-shared-config gateway ...
<br>
I get the output "gateway: 10.245.183.1, type: he_conf", but my
current hosted-engine.conf is overwritten by the other
hosted-engine.conf.
<br>
<br>
old file:
<br>
<br>
fqdn = eng.lan
<br>
vm_disk_id = e9d7a377-e109-4b28-9a43-<wbr>7a8c8b603749
<br>
vmid = ccdd675a-a58b-495a-9502-<wbr>3e6a4b7e5228
<br>
storage = ssd.lan:/ovirt
<br>
service_start_time = 0
<br>
host_id = 3
<br>
console = vnc
<br>
domainType = nfs3
<br>
sdUUID = 8905c9ac-d892-478d-8346-<wbr>63b8fa1c5763
<br>
connectionUUID = ce84071b-86a2-4e82-b4d9-<wbr>06abf23dfbc4
<br>
ca_cert =/etc/pki/vdsm/libvirt-spice/<wbr>ca-cert.pem
<br>
ca_subject = "C = EN, L = Test, O = Test, CN = Test"
<br>
vdsm_use_ssl = true
<br>
gateway = 10.245.183.1
<br>
bridge = ovirtmgmt
<br>
metadata_volume_UUID =
<br>
metadata_image_UUID =
<br>
lockspace_volume_UUID =
<br>
lockspace_image_UUID =
<br>
<br>
The following are used only for iSCSI storage
<br>
iqn =
<br>
portal =
<br>
user =
<br>
password =
<br>
port =
<br>
<br>
conf_volume_UUID = a20d9700-1b9a-41d8-bb4b-<wbr>f2b7c168104f
<br>
conf_image_UUID = b5f353f5-9357-4aad-b1a3-<wbr>751d411e6278
<br>
conf = /var/run/ovirt-hosted-engine-<wbr>ha/vm.conf
<br>
vm_disk_vol_id = cd12a59e-7d84-4b4e-98c7-<wbr>4c68e83ecd7b
<br>
spUUID = 00000000-0000-0000-0000-<wbr>000000000000
<br>
<br>
new rewrite file
<br>
<br>
fqdn = eng.lan
<br>
vm_disk_id = e9d7a377-e109-4b28-9a43-<wbr>7a8c8b603749
<br>
vmid = ccdd675a-a58b-495a-9502-<wbr>3e6a4b7e5228
<br>
storage = ssd.lan:/ovirt
<br>
conf = /etc/ovirt-hosted-engine/vm.<wbr>conf
<br>
service_start_time = 0
<br>
host_id = 3
<br>
console = vnc
<br>
domainType = nfs3
<br>
spUUID = 036f83d7-39f7-48fd-a73a-<wbr>3c9ffb3dbe6a
<br>
sdUUID = 8905c9ac-d892-478d-8346-<wbr>63b8fa1c5763
<br>
connectionUUID = ce84071b-86a2-4e82-b4d9-<wbr>06abf23dfbc4
<br>
ca_cert =/etc/pki/vdsm/libvirt-spice/<wbr>ca-cert.pem
<br>
ca_subject = "C = EN, L = Test, O = Test, CN = Test"
<br>
vdsm_use_ssl = true
<br>
gateway = 10.245.183.1
<br>
bridge = ovirtmgmt
<br>
metadata_volume_UUID =
<br>
metadata_image_UUID =
<br>
lockspace_volume_UUID =
<br>
lockspace_image_UUID =
<br>
<br>
The following are used only for iSCSI storage
<br>
iqn =
<br>
portal =
<br>
user =
<br>
password =
<br>
port =
<br>
<br>
And this in all hosts in cluster!
<br>
It seems to me that these are some remnants of versions 3.4, 3.5
...
<br>
______________________________<wbr>_________________
<br>
Users mailing list
<br>
<a class="gmail-m_4481778877413366728moz-txt-link-abbreviated" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>
<br>
<a class="gmail-m_4481778877413366728moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a>
<br>
</blockquote>
</div></div><p>BUMP</p>
<p>I resolved error "KeyError: 'Configuration value not found:
file=/etc/ovirt-hosted-engine/<wbr>hosted-engine.conf, key=gateway'".<br>
</p>
<p>This error was caused... "<i>VDSGenericException:
VDSErrorException: received downloaded data size is wrong
(requested 20480, received 10240)</i>", the solution is here
<a class="gmail-m_4481778877413366728moz-txt-link-freetext" href="https://access.redhat.com/solutions/3106231" target="_blank">https://access.redhat.com/<wbr>solutions/3106231</a></p>
<p>But in my case there is still a problem with the inappropriate
parameters in hosted-engine.conf ... I think I should use
"hosted-engine --set-shared-config" to change the values on the
shared storage. This is right?<br></p></div></blockquote><div><br></div>Yes, ufortunately you are absolutely right on that: there is a bug there.<br>As a side effect, hosted-engine --set-shared-config and hosted-engine --get-shared-config always refresh the local copy of hosted-engine configuration files with the copy on the shared storage and so you will always end with host_id=1 in /etc/ovirt-hosted-engine/hosted-engine.conf which can lead to SPM conflicts.<br>I'd suggest to manually fix host_id parameter in /etc/ovirt-hosted-engine/hosted-engine.conf to its original value (double check with engine DB with 'sudo -u postgres psql engine -c "SELECT vds_spm_id, vds.vds_name FROM vds"' on the engine VM) to avoid that.<br><a href="https://bugzilla.redhat.com/1543988">https://bugzilla.redhat.com/1543988</a><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF"><p>
</p>
<p>Guru help to solve this.<br>
</p>
<p>Regards,</p>
<p>Alex.<br>
</p>
<pre class="gmail-m_4481778877413366728moz-signature" cols="72"></pre>
</div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>