Hi all,
I have a hypervisor with some bridges created using openvswich.
When I try to deploy a new host on it, foreman only can see bonds and
ordinary bridges.
It's my fault or is not possible use openvswitch bridges?
Thanks.
Solved. My fault.
My hypervisor is a libvirt compute resource. Openvswitch bridges haven't a
file in /etc/sysconfig/network-scripts. I create this files and when
foreman question Libvirtd, bridges appear.
···
On Wednesday, December 11, 2013 1:34:30 PM UTC+1, Israel Calvete wrote:
>
> Hi all,
>
> I have a hypervisor with some bridges created using openvswich.
>
> When I try to deploy a new host on it, foreman only can see bonds and
> ordinary bridges.
>
> It's my fault or is not possible use openvswitch bridges?
>
> Thanks.
>
No works!!
Ussing tcpdump I can see the xml foreman sends.
<domain type='kvm'>
- <name>test</name>*
- <uuid>47690131-56cb-1f20-af27-c7ce970c5c0c</uuid>*
- <memory unit='KiB'>786432</memory>*
- <currentMemory unit='KiB'>786432</currentMemory>*
- <vcpu placement='static'>1</vcpu>*
- <os>*
- <type arch='x86_64' machine='rhel6.5.0'>hvm</type>*
- <boot dev='network'/>*
- <boot dev='hd'/>*
- </os>*
- <features>*
- <acpi/>*
- <apic/>*
- <pae/>*
- </features>*
- <clock offset='utc'/>*
- <on_poweroff>destroy</on_poweroff>*
- <on_reboot>restart</on_reboot>*
- <on_crash>destroy</on_crash>*
- <devices>*
- <emulator>/usr/libexec/qemu-kvm</emulator>*
- <disk type='file' device='disk'>*
-
<driver name='qemu' type='raw'/>*
-
<source file='/dev/vm-disks/we.tems.eld.es.eu.ericsson.se-disk1'/>*
-
<target dev='vda' bus='virtio'/>*
-
<address type='pci' domain='0x0000' bus='0x00' slot='0x05'
function='0x0'/>*
function='0x2'/>*
- </controller>*
- <interface type='bridge'>*
-
<mac address='52:54:00:d2:df:4a'/>*
-
<source bridge='br-tems'/>*
-
<model type='virtio'/>*
-
<address type='pci' domain='0x0000' bus='0x00' slot='0x03'
function='0x0'/>*
- </interface>*
- <interface type='bridge'>*
-
<mac address='52:54:00:a0:fe:7c'/>*
-
<source bridge='br-tems'/>*
-
<model type='virtio'/>*
-
<address type='pci' domain='0x0000' bus='0x00' slot='0x04'
function='0x0'/>*
- </interface>*
- <serial type='pty'>*
-
<target port='0'/>*
- </serial>*
- <console type='pty'>*
-
<target type='serial' port='0'/>*
- </console>*
- <input type='mouse' bus='ps2'/>*
- <graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0'>*
-
<listen type='address' address='0.0.0.0'/>*
- </graphics>*
- <video>*
-
<model type='cirrus' vram='9216' heads='1'/>*
-
<address type='pci' domain='0x0000' bus='0x00' slot='0x02'
function='0x0'/>*
function='0x0'/>*
- </memballoon>*
- </devices>*
</domain>
To use openvswitch bridges, foreman should send this.
- <interface type='bridge'>*
-
<mac address='52:54:00:d2:df:4a'/>*
-
<source bridge='br-tems'/>*
-
<model type='virtio'/>*
-
<address type='pci' domain='0x0000' bus='0x00' slot='0x03'
function='0x0'/>*
···
On Wednesday, December 11, 2013 3:25:54 PM UTC+1, Israel Calvete wrote:
>
> Solved. My fault.
>
> My hypervisor is a libvirt compute resource. Openvswitch bridges haven't a
> file in /etc/sysconfig/network-scripts. I create this files and when
> foreman question Libvirtd, bridges appear.
>
>
> On Wednesday, December 11, 2013 1:34:30 PM UTC+1, Israel Calvete wrote:
>>
>> Hi all,
>>
>> I have a hypervisor with some bridges created using openvswich.
>>
>> When I try to deploy a new host on it, foreman only can see bonds and
>> ordinary bridges.
>>
>> It's my fault or is not possible use openvswitch bridges?
>>
>> Thanks.
>>
>
Hi,
have you been able to solve this somehow?
BR
Jens
···
Am Dienstag, 17. Dezember 2013 11:19:24 UTC+1 schrieb Israel Calvete:
>
>
>
> No works!!
>
> Ussing tcpdump I can see the xml foreman sends.
>
> **
> * test*
> * 47690131-56cb-1f20-af27-c7ce970c5c0c*
> * 786432*
> * 786432*
> * 1*
> * *
> * hvm*
> * *
> * *
> * *
> * *
> * *
> * *
> * *
> * *
> * *
> * destroy*
> * restart*
> * destroy*
> * *
> * /usr/libexec/qemu-kvm*
> * *
> * *
> * *
> * *
> * function='0x0'/>*
> * *
> * *
> * function='0x2'/>*
> * *
> * *
> * *
> * *
> * *
> * function='0x0'/>*
> * *
> * *
> * *
> * *
> * *
> * function='0x0'/>*
> * *
> * *
> * *
> * *
> * *
> * *
> * *
> * *
> * *
> * *
> * *
> * *
> * *
> * function='0x0'/>*
> * *
> * *
> * function='0x0'/>*
> * *
> * *
> **
>
> To use openvswitch bridges, foreman should send this.
>
> * *
> * *
> * *
> * *
> * function='0x0'/>*
>
> * *
>
> * *
>
>
>
>
>
>
>
> On Wednesday, December 11, 2013 3:25:54 PM UTC+1, Israel Calvete wrote:
>>
>> Solved. My fault.
>>
>> My hypervisor is a libvirt compute resource. Openvswitch bridges haven't
>> a file in /etc/sysconfig/network-scripts. I create this files and when
>> foreman question Libvirtd, bridges appear.
>>
>>
>> On Wednesday, December 11, 2013 1:34:30 PM UTC+1, Israel Calvete wrote:
>>>
>>> Hi all,
>>>
>>> I have a hypervisor with some bridges created using openvswich.
>>>
>>> When I try to deploy a new host on it, foreman only can see bonds and
>>> ordinary bridges.
>>>
>>> It's my fault or is not possible use openvswitch bridges?
>>>
>>> Thanks.
>>>
>>