Simone Tiraboschi has posted comments on this change. Change subject: loading broker.conf and vm.conf from the shared storage ......................................................................
Patch Set 20: Verified+1 https://gerrit.ovirt.org/#/c/42234/ https://gerrit.ovirt.org/#/c/42233/ https://gerrit.ovirt.org/#/c/42209/ verified together. hosted-engine --deploy sucessfully completes on the first host After an host reboot, the broker reloads vm.conf form the shared storage domain caching it under /var/run/ovirt-hosted-engine-ha/vm.conf and so the engine VM correctly restarts. [root@c71ghe1 ~]# cat /etc/ovirt-hosted-engine/hosted-engine.conf fqdn=topolino.localdomain vm_disk_id=c00e477d-97bb-4cf9-95e0-a02232d84e26 vmid=67f3f110-f076-4802-b9e2-077a537849f4 storage=192.168.1.115:/Virtual/exthe7 conf=/var/run/ovirt-hosted-engine-ha/vm.conf host_id=1 console=vnc domainType=nfs4 spUUID=029c8ec6-0bb3-4e02-a2e1-2f23be68fee3 sdUUID=906222d7-7337-4b0b-b5fe-45073b1c9590 connectionUUID=ec4ebf7a-54cc-4f8c-bcac-1c5653f74c51 ca_cert=/etc/pki/vdsm/libvirt-spice/ca-cert.pem ca_subject="O=localdomain, CN=c71ghe1.localdomain" vdsm_use_ssl=true gateway=192.168.1.1 bridge=ovirtmgmt metadata_volume_UUID=c1e0abc2-b751-482f-8fe2-91d2ed3c1843 metadata_image_UUID=29cc397b-f589-4968-9414-2ba1f9d0dcb1 lockspace_volume_UUID=7f37194b-6143-4a5f-94d0-bda3e80433b2 lockspace_image_UUID=4d729489-11b7-464c-b0e4-f463dc595f11 conf_volume_UUID=2f15641b-f94a-4d13-962d-87f28048f537 conf_image_UUID=5963872c-e756-47d8-ac41-30e837280cf2 # The following are used only for iSCSI storage iqn= portal= user= password= port= [root@c71ghe1 ~]# cat /var/run/ovirt-hosted-engine-ha/vm.conf vmId=67f3f110-f076-4802-b9e2-077a537849f4 memSize=4096 display=vnc devices={index:2,iface:ide,address:{ controller:0, target:0,unit:0, bus:1, type:drive},specParams:{},readonly:true,deviceId:fb67e5c3-0e90-4073-b5f7-a43933954f32,path:,device:cdrom,shared:false,type:disk} devices={index:0,iface:virtio,format:raw,poolID:00000000-0000-0000-0000-000000000000,volumeID:859a498a-5e7b-4dc0-af59-4de015c562ee,imageID:c00e477d-97bb-4cf9-95e0-a02232d84e26,specParams:{},readonly:false,domainID:906222d7-7337-4b0b-b5fe-45073b1c9590,optional:false,deviceId:c00e477d-97bb-4cf9-95e0-a02232d84e26,address:{bus:0x00, slot:0x06, domain:0x0000, type:pci, function:0x0},device:disk,shared:exclusive,propagateErrors:off,type:disk,bootOrder:1} devices={device:scsi,model:virtio-scsi,type:controller} devices={nicModel:pv,macAddr:00:16:3e:74:e7:71,linkActive:true,network:ovirtmgmt,filter:vdsm-no-mac-spoofing,specParams:{},deviceId:eac0fe39-42ad-4d54-880c-a014b6dbf7b5,address:{bus:0x00, slot:0x03, domain:0x0000, type:pci, function:0x0},device:bridge,type:interface} devices={device:console,specParams:{},type:console,deviceId:954ecc46-d57b-449a-ad7d-0a24f85faf1f,alias:console0} vmName=HostedEngine spiceSecureChannels=smain,sdisplay,sinputs,scursor,splayback,srecord,ssmartcard,susbredir smp=4 cpuType=SandyBridge emulatedMachine=pc [root@c71ghe1 ~]# cat /var/lib/ovirt-hosted-engine-ha/broker.conf [email] smtp-server = localhost smtp-port = 25 source-email = root@localhost destination-emails = root@localhost -- To view, visit https://gerrit.ovirt.org/42209 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ia6a1a6213834f9c8b97834ebd95456fac2ca224d Gerrit-PatchSet: 20 Gerrit-Project: ovirt-hosted-engine-ha Gerrit-Branch: master Gerrit-Owner: Simone Tiraboschi <stira...@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Lev Veyde <lve...@redhat.com> Gerrit-Reviewer: Martin Sivák <msi...@redhat.com> Gerrit-Reviewer: Roy Golan <rgo...@redhat.com> Gerrit-Reviewer: Sandro Bonazzola <sbona...@redhat.com> Gerrit-Reviewer: Simone Tiraboschi <stira...@redhat.com> Gerrit-Reviewer: Yedidyah Bar David <d...@redhat.com> Gerrit-Reviewer: automat...@ovirt.org Gerrit-HasComments: No _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches