<div dir="ltr">I'm actually having issues across the board...maybe its because I'm going against the design ideals but I was told that in order to use the local storage on the box and sacrifice VM migration capabilities, all machines had to be in their own datacenter. Pain point number one.<div><br></div><div>Second pain point is adding additional networks aside from the initial management network doesn't seem to be very intuitive. I'm a network engineer for a living...and I can't figure it out.</div><div><br></div><div>Third pain point is ovirt management UI requires a restart semi frequently due to crashing.</div><div><br></div><div>I added the network under the networks tab, but I noticed it doesn't ask any interface questions (ok, it could technically attempt arp on all interfaces like a citrix netscaler). I notice theres no ifconfig changes on the host. I also notice that the other interface has a bridge named exactly as the management name in the UI; ovirtmgmt, which is bridged to eth0. OK, so I create a bridge called utility (my network name) and mapped it to a vlan tagged interface I had setup on eth1.21. Everything looks identical to how ovirt setup the initial network. The interface itself works, I can see things on the network etc. Traffic passes.</div><div><br></div><div>Trying to run the VM results in errors because its failing network filters, says it doesn't exist etc. All I want to do, is create a VM with some memory, some disk, with a nic on a network, across individual machines. My PXE provisioning will take over from there. Whats the best way to do this? Sorry for all the questions -- your guys' response is great, and I really appreciate the help thus far.</div><div><br></div><div>The exact message I get is:</div><div>
<p class=""><span style="color:rgb(0,0,0);font-family:'Arial Unicode MS',Arial,sans-serif">Error while executing action: </span><br style="color:rgb(0,0,0);font-family:'Arial Unicode MS',Arial,sans-serif"><span style="color:rgb(0,0,0);font-family:'Arial Unicode MS',Arial,sans-serif">utiltest:</span></p><ul style="color:rgb(0,0,0);font-family:'Arial Unicode MS',Arial,sans-serif;margin-top:0px"><li>Cannot run VM. There are no available running Hosts with all the networks used by the VM.</li><li>Cannot run VM. There is no host that satisfies current scheduling constraints. See below for details:</li><li>The host load3.pod1.########.com did not satisfy internal filter Network</li></ul></div></div><div class="gmail_extra"><br clear="all"><div>Thanks,<div>Morgan</div></div>
<br><div class="gmail_quote">On Thu, Oct 2, 2014 at 1:30 AM, Morgan McLean <span dir="ltr"><<a href="mailto:wrx230@gmail.com" target="_blank">wrx230@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div><br></div><div>I think template configuration is definitely not an option for networks with a large amount of segments.</div><div><br></div><div>I haven't played with VNIC profiles, but I will tomorrow. I didn't remember seeing any documentation on changing that with a PUT, but I'll look into it. Will report back shortly, thank you!</div><div><br></div><div>Morgan <div><div class="h5"><span></span><br><br>On Thursday, October 2, 2014, Lior Vernia <<a href="mailto:lvernia@redhat.com" target="_blank">lvernia@redhat.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
On 02/10/14 10:22, Tomas Jelinek wrote:<br>
><br>
><br>
> ----- Original Message -----<br>
>> From: "Itamar Heim" <<a>iheim@redhat.com</a>><br>
>> To: "Lior Vernia" <<a>lvernia@redhat.com</a>>, "Morgan McLean" <<a>wrx230@gmail.com</a>><br>
>> Cc: <a>users@ovirt.org</a><br>
>> Sent: Wednesday, October 1, 2014 12:38:13 PM<br>
>> Subject: Re: [ovirt-users] API -- Do I need to use templates? Can I change network for the nic?<br>
>><br>
>> On 10/01/2014 10:54 AM, Lior Vernia wrote:<br>
>>> Hi Morgan,<br>
>>><br>
>>> I'm not sure if you want all VMs to use the same network or not. If you<br>
>>> do, the best way would be to create a template with one interface, and<br>
>>> the relevant network (profile) attached.<br>
>>><br>
>>> If you want certain VMs to be connected to other networks, once you<br>
>>> create the VM you can send a PUT request on /api/vms/{id}/nics/{id}/ and<br>
>>> update it with the relevant network (profile).<br>
>><br>
>> I thought we allow to change the logical network at vm creation since<br>
>> instance types were added?<br>
><br>
> Not on API level. In webadmin/userportal you can do it in one go, but that anyway triggers two different actions.<br>
><br>
> But now as I have tried it, if I create a VM from template or instance type (using API), the NICs are completely ignored.<br>
> It does not matter if template or instance type since instance types just inherit the behavior of the templates so are inheriting also the bug/missing logic etc.<br>
><br>
> For me it seems like a bug but not sure. Is there a reason why the NICs are ignored when the VM is created from a template with NICs using API?<br>
> What I think is that since the NIC can have different profiles assigned and this can be edited on the FE, this functionality of sending different profile for the specific NIC is just not implemented on API level, so the API just<br>
> completely ignores the NICs.<br>
> What do you think Lior?<br>
><br>
><br>
<br>
If I correctly understand what you mean, then that is the current<br>
"intended" behavior - supplying NICs as part of VM creation isn't<br>
supported, and there's this RFE to support it:<br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=999969" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=999969</a><br>
<br>
My two original suggestions will apparently have to suffice until this<br>
RFE is realised; either properly configuring the template's NICs before<br>
VM creation or modifying the VMs' NICs following creation.<br>
<br>
>><br>
>>><br>
>>> Hope this helps! Let us know please :)<br>
>>> Yours, Lior.<br>
>>><br>
>>> On 01/10/14 10:32, Morgan McLean wrote:<br>
>>>> Hi,<br>
>>>><br>
>>>> Trying to remotely spawn a large amount of VM's. It would appear I can<br>
>>>> only use templates...which would have a NIC stuck to one network vlan.<br>
>>>> It doesn't appear that I can change that vlan remotely.<br>
>>>><br>
>>>> Is there any easy way I can get this done?<br>
>>>><br>
>>>> Thanks,<br>
>>>> Morgan<br>
>>>><br>
>>>><br>
>>>> _______________________________________________<br>
>>>> Users mailing list<br>
>>>> <a>Users@ovirt.org</a><br>
>>>> <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
>>>><br>
>>> _______________________________________________<br>
>>> Users mailing list<br>
>>> <a>Users@ovirt.org</a><br>
>>> <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
>>><br>
>><br>
>> _______________________________________________<br>
>> Users mailing list<br>
>> <a>Users@ovirt.org</a><br>
>> <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
>><br>
</blockquote></div></div></div><span class="HOEnZb"><font color="#888888"><br><br>-- <br>Thanks,<div>Morgan</div><br>
</font></span></blockquote></div><br></div>