From garrytiedemann at networkvideo.com.au Tue Apr 29 04:08:55 2014 Content-Type: multipart/mixed; boundary="===============3076455110091460758==" MIME-Version: 1.0 From: Garry Tiedemann To: users at ovirt.org Subject: [ovirt-users] iso-uploader with hosted-engine Date: Tue, 29 Apr 2014 18:08:44 +1000 Message-ID: <535F5E0C.6030400@networkvideo.com.au> --===============3076455110091460758== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable This is a multi-part message in MIME format. --------------040909090108000803090007 Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed Content-Transfer-Encoding: 7bit Hi guys, I built my hosted-engine with three nodes (3.4, CentOS), and built a = Gluster ISO domain, connected it up, all good. Until I come to engine-iso-uploader, it is present on the hosted-engine = but not on the VMs. And my gluster subnet is not routed. So the VM can't see it to upload = ISOs into. How are other people getting around this? I can see: 1. Obvious - make the Gluster LAN routed. It wouldn't hurt, just for = transferring a few ISOs. 2. Add a second NIC to the hosted-engine VM, so that it can see the = gluster LAN 3. put engine-iso-uploader on one of the nodes, is that possible? My preference is to connect hosted-engine to the Gluster LAN. Is it possible to add another NIC to the VM, after it's built? (I don't = want to rebuild if avoidable; I've done that enough times). I know that the ovirt GUI isn't aware of the first NIC on the VM, so I = haven't dared to try adding a NIC there. Is that safe? Thanks in advance for your thoughts on this. cheers, *Garry * --------------040909090108000803090007 Content-Type: text/html; charset=3DISO-8859-1 Content-Transfer-Encoding: 7bit Hi guys,

I built my hosted-engine with three nodes (3.4, CentOS), and built a Gluster ISO domain, connected it up, all good.

Until I come to engine-iso-uploader, it is present on the hosted-engine but not on the VMs.
And my gluster subnet is not routed. So the VM can't see it to upload ISOs into.

How are other people getting around this?

I can see:
1. Obvious - make the Gluster LAN routed. It wouldn't hurt, just for transferring a few ISOs.
2. Add a second NIC to the hosted-engine VM, so that it can see the gluster LAN
3. put engine-iso-uploader on one of the nodes, is that possible?

My preference is to connect hosted-engine to the Gluster LAN.

Is it possible to add another NIC to the VM, after it's built? (I don't want to rebuild if avoidable; I've done that enough times).
I know that the ovirt GUI isn't aware of the first NIC on the VM, so I haven't dared to try adding a NIC there. Is that safe?

Thanks in advance for your thoughts on this.

cheers,

Garry


--------------040909090108000803090007-- --===============3076455110091460758== Content-Type: multipart/alternative MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.bin" VGhpcyBpcyBhIG11bHRpLXBhcnQgbWVzc2FnZSBpbiBNSU1FIGZvcm1hdC4KLS0tLS0tLS0tLS0t LS0wNDA5MDkwOTAxMDgwMDA4MDMwOTAwMDcKQ29udGVudC1UeXBlOiB0ZXh0L3BsYWluOyBjaGFy c2V0PUlTTy04ODU5LTE7IGZvcm1hdD1mbG93ZWQKQ29udGVudC1UcmFuc2Zlci1FbmNvZGluZzog N2JpdAoKSGkgZ3V5cywKCkkgYnVpbHQgbXkgaG9zdGVkLWVuZ2luZSB3aXRoIHRocmVlIG5vZGVz ICgzLjQsIENlbnRPUyksIGFuZCBidWlsdCBhIApHbHVzdGVyIElTTyBkb21haW4sIGNvbm5lY3Rl ZCBpdCB1cCwgYWxsIGdvb2QuCgpVbnRpbCBJIGNvbWUgdG8gZW5naW5lLWlzby11cGxvYWRlciwg aXQgaXMgcHJlc2VudCBvbiB0aGUgaG9zdGVkLWVuZ2luZSAKYnV0IG5vdCBvbiB0aGUgVk1zLgpB bmQgbXkgZ2x1c3RlciBzdWJuZXQgaXMgbm90IHJvdXRlZC4gU28gdGhlIFZNIGNhbid0IHNlZSBp dCB0byB1cGxvYWQgCklTT3MgaW50by4KCkhvdyBhcmUgb3RoZXIgcGVvcGxlIGdldHRpbmcgYXJv dW5kIHRoaXM/CgpJIGNhbiBzZWU6CjEuIE9idmlvdXMgLSBtYWtlIHRoZSBHbHVzdGVyIExBTiBy b3V0ZWQuIEl0IHdvdWxkbid0IGh1cnQsIGp1c3QgZm9yIAp0cmFuc2ZlcnJpbmcgYSBmZXcgSVNP cy4KMi4gQWRkIGEgc2Vjb25kIE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SAq KiogVElUTEUgKioqIC0tPjwvc3Bhbj48L2ZvbnQ+PGJyPgogICAgICA8L3A+CiAgICAgIDxicj4K ICAgIDwvZGl2PgogIDwvYm9keT4KPC9odG1sPgoKLS0tLS0tLS0tLS0tLS0wNDA5MDkwOTAxMDgw MDA4MDMwOTAwMDctLQo= --===============3076455110091460758==-- From andrew at andrewklau.com Sun May 4 00:18:12 2014 Content-Type: multipart/mixed; boundary="===============7508601073704663239==" MIME-Version: 1.0 From: Andrew Lau To: users at ovirt.org Subject: Re: [ovirt-users] iso-uploader with hosted-engine Date: Sun, 04 May 2014 14:17:51 +1000 Message-ID: In-Reply-To: 535F5E0C.6030400@networkvideo.com.au --===============7508601073704663239== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Garry, I hope I understand your case here, the terminology is a little "different". Adding the hosted-engine to the gluster network is an interesting approach I tried. It works to an extent but will have issues with quorum (depending on your setup). Anyway try this: # Generate random UUID and MAC Address - or create your own by hand.. yum -y install python-virtinst echo 'import virtinst.util ; print virtinst.util.uuidToString(virtinst.util.randomUUID())' | python echo 'import virtinst.util ; print virtinst.util.randomMAC()' | python hosted-engine --set-maintenance --mode=3Dglobal # On all installed hosts nano /etc/ovirt-hosted-engine/vm.conf # insert under earlier nicModel # replace macaddress and uuid from above # increment slot devices=3D{nicModel:pv,macAddr:00:16:3e:j1:4b:22,linkActive:true,network:st= orage_network,filter:vdsm-no-mac-spoofing,specParams:{},deviceId:fds24208-a= 234-z123-6053-32c9c0361f96,address:{bus:0x00,slot:0x04, domain:0x0000, type:pci,function:0x0},device:bridge,type:interface} hosted-engine --vm-shutdown hosted-engine --vm-start hosted-engine --set-maintenance --mode=3Dnone Now your hosted-engine VM should come up with another NIC, this'll work for modifying your existing hosts. But I'm not sure how to apply this to the answers file if you were to add a new host to the configuration. HTH On Tue, Apr 29, 2014 at 6:08 PM, Garry Tiedemann wrote: > Hi guys, > > I built my hosted-engine with three nodes (3.4, CentOS), and built a Glus= ter > ISO domain, connected it up, all good. > > Until I come to engine-iso-uploader, it is present on the hosted-engine b= ut > not on the VMs. > And my gluster subnet is not routed. So the VM can't see it to upload ISOs > into. > > How are other people getting around this? > > I can see: > 1. Obvious - make the Gluster LAN routed. It wouldn't hurt, just for > transferring a few ISOs. > 2. Add a second NIC to the hosted-engine VM, so that it can see the glust= er > LAN > 3. put engine-iso-uploader on one of the nodes, is that possible? > > My preference is to connect hosted-engine to the Gluster LAN. > > Is it possible to add another NIC to the VM, after it's built? (I don't w= ant > to rebuild if avoidable; I've done that enough times). > I know that the ovirt GUI isn't aware of the first NIC on the VM, so I > haven't dared to try adding a NIC there. Is that safe? > > Thanks in advance for your thoughts on this. > > cheers, > > Garry > > > > _______________________________________________ > Users mailing list > Users(a)ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > --===============7508601073704663239==--