Re: [ovirt-users] hosted_engine on gluster storage for all the same fqdn?

2016-08-04 Thread Sahina Bose
On Thu, Aug 4, 2016 at 9:21 PM, Florian Nolden  wrote:

> Thank's allot Sahina,
>
> I wouldn't come up with that solution. Would be nice to have that info
> also in the Wiki.
>
> https://www.ovirt.org/develop/release-management/features/en
> gine/self-hosted-engine/
>


We're working on updating the docs and feature page for hyperconverged
deployment. Meanwhile, please fee free to contribute and update this info
in link


>
> 2016-08-04 17:36 GMT+02:00 Sahina Bose :
>
>>
>>
>> On Thu, Aug 4, 2016 at 8:13 PM, Florian Nolden 
>> wrote:
>>
>>> Hi,
>>>
>>> I try to install the hosted_engine on 3 Servers which host also the
>>> gluster data storage.
>>> When I install now the hosted_engine, which storage path should I use?
>>>
>>> Setup 1:
>>> server1: server1.san:/hosted_engine
>>> server2: server1.san:/hosted_engine
>>> server3: server1.san:/hosted_engine
>>>
>>
>>
>> Use this along with an answers.conf file with following content
>> [environment:default]
>> OVEHOSTED_STORAGE/mntOptions=str:backup-volfile-servers=serv
>> er2.san:server3.san
>>
>> and deploy hosted engine using "hosted-engine --deploy
>> --config-append=answers.conf"
>>
>> This will ensure that hosted-engine domain can be mounted on other
>> servers even when server1 is not reachable.
>>
>>
>>
>>>
>>> Setup 2:
>>> server1: localhost:/hosted_engine
>>> server2: localhost:/hosted_engine
>>> server3: localhost:/hosted_engine
>>>
>>> Setup 3:
>>> /etc/hosts: 127.0.0.1 gluster
>>> server1: gluster:/hosted_engine
>>> server2: gluster:/hosted_engine
>>> server3: gluster:/hosted_engine
>>>
>>> Other Setup? What is the best practice there?
>>>
>>>
>>>
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Missing engine-manage-domains?!

2016-08-04 Thread NUNIN Roberto

I'm using oVirt Engine Version: 4.0.0.6-1.el7.centos and wanted to connect an 
LDAP server.  I went looking for engine-manage-domains on the engine machine 
but it seems to be missing.  Any ideas?
Thanks,
Clint

You must install ovirt-engine-extension-aaa-ldap.noarch package from ovirt repo 
and run  ovirt-engine-extension-aaa-ldap-setup, choosing which kind of ldap 
server, fqdn etc.

Hope this can halp you
Roberto



Questo messaggio e' indirizzato esclusivamente al destinatario indicato e 
potrebbe contenere informazioni confidenziali, riservate o proprietarie. 
Qualora la presente venisse ricevuta per errore, si prega di segnalarlo 
immediatamente al mittente, cancellando l'originale e ogni sua copia e 
distruggendo eventuali copie cartacee. Ogni altro uso e' strettamente proibito 
e potrebbe essere fonte di violazione di legge.

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately, deleting the original and all 
copies and destroying any hard copies. Any other use is strictly prohibited and 
may be unlawful.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] storage domain operation python api sample codes needed

2016-08-04 Thread Huan He (huhe)
Hi Ondra,

Thinking about to upgrade to v4, but I can’t find host nic and bonding
example in the link you provided
https://github.com/oVirt/ovirt-engine-sdk/tree/master/sdk/examples

Thanks,
Huan


On 8/4/16, 12:13 PM, "Ondra Machacek"  wrote:

>On 08/04/2016 08:17 PM, Huan He (huhe) wrote:
>> Thanks Ondra.
>>
>> I am able to do the storage, but stuck in the host nic. I have rhvm 4.0
>> beta, and the sdk seems still v3.6.
>
>If you have version 4.0, then there is sdk4, which you should use.
>The name of the rpm is python-ovirt-engine-sdk4.
>
>Or it's in pip:
>
>  https://pypi.python.org/pypi/ovirt-engine-sdk-python
>
>>
>> Who knows where I can find the sample and doc for v3?
>
>I am afraid there is no, but you can inpire for example here:
>
> 
>https://github.com/oVirt/ovirt-system-tests/blob/master/basic_suite_master
>/test-scenarios/002_bootstrap.py#L136
>
>>
>> Thanks,
>> Huan
>>
>>
>> On 8/2/16, 11:56 PM, "Ondra Machacek"  wrote:
>>
>>> On 08/02/2016 10:53 PM, Huan He (huhe) wrote:
 Hi,

 I can¹t figure out how to do the following, a sample code will be
 helpful.

 Put a storage domain in maintenance mode
 Detach the storage domain
 Remove the storage domain
>>>
>>> Are you looking for v4 or v3 examples?
>>> Those are completelly different SDKs so examples will be different as
>>> well.
>>> For v4 you can inspire here:
>>>
>>>  https://github.com/oVirt/ovirt-engine-sdk/tree/master/sdk/examples
>>>

 By the way, do you have an API doc or wiki?
>>>
>>> There is for v4:
>>>
>>>  https://jhernand.fedorapeople.org/ovirt-api-explorer/#/
>>>
>>> not sure about v3
>>>

 Thanks,
 Huab



 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

>>

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Missing engine-manage-domains?!

2016-08-04 Thread Clint Smith
I'm using oVirt Engine Version: 4.0.0.6-1.el7.centos and wanted to connect
an LDAP server.  I went looking for engine-manage-domains on the engine
machine but it seems to be missing.  Any ideas?
Thanks,
Clint
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] management interface

2016-08-04 Thread Fernando Fuentes
Edward,

I am sorry that the diagram was not clear enough.

There is two bonds (4 phisical nic's, each pair is LACP). One for mgmt
traffic only and one to carry untag and tag traffic.
But I do understand your point.
I will try to separate this and have everything on its own access port.

To move my current ovirtmgmt interface to a new one all I have to do is
create one and assign it and remove the old one correct?
Thanks again!

Regards,



--
Fernando Fuentes
ffuen...@txweather.org
http://www.txweather.org



On Thu, Aug 4, 2016, at 02:07 AM, Edward Haas wrote:
> Hi Fernando,
> From what I could understand, you would like to have 3 networks, all
> on the same bond:
> (I do not understand from the diagram that you have two bonds, you
> mentioned only bond0)
> - ovirtmgmt - vlan35@bond0
> - dmz vm network - vlan42@bond0
> - default vm network - untag@bond0
>
> Based on the tag, traffic that enters bond0 will be forwarded to the
> relevant network.
> Any traffic that enters bond0 and is either untag or has a tag that
> does not correspond to the defined vlans,
> will be forwarded to the non-vlan network (default vm in this case).
> Note that when packets pass a vlan interface, they are stripped of
> their tag.
>
> I personally consider a mix of tag and untag on the same iface/port as
> bad practice, but there may be reasons to
> choose it. If you can, try having all networks with vlans, and set the
> switch ports correctly to reflect that.
> Any other device on the network, like the router, can be connected to
> the switch to an access port (say of vlan 100),
> so traffic there is untag, and when traffic goes to the ovirt host, it
> will go tagged 100.
> Thanks,
> Edy.
>
> On Tue, Aug 2, 2016 at 9:22 PM, Fernando Fuentes
>  wrote:
>> __
>> I answer my own question.
>> "I think" lol
>>
>> I am going to create a new ovirtmgmt logical network with a vlan tag
>> and than move my hosts in to it for management. This interface is not
>> part of the vm network.
>>
>> The rest of the logical networks with vlans will be tagged and part
>> of the vm network.
>> I think that logic is right.
>> Thoughts?
>>
>>
>> Regards,
>>
>>
>> --
>> Fernando Fuentes
>> ffuen...@txweather.org
>> http://www.txweather.org
>>
>>
>>
>>
>> On Sun, Jul 31, 2016, at 11:43 PM, Fernando Fuentes wrote:
>>> Right now as we stand boht ovirt management and LAN data crosses the
>>> same interface.
>>> I have two bonds. I want to move ovirt management to its own bond
>>> and tag it with vlan id 35.
>>>
>>> Than I wan to move my LAN which has no tag and my dmz that does have
>>> a tag in to my secondary bond.
>>>
>>> The switch is all configured what I am not sure is when making the
>>> logical network do I make the LAN a "VM Network"?
>>> And the same question for my dmz tagged vlan...
>>>
>>> I attached a small diagram that explains what I am trying to
>>> accomplish... I hope :D
>>>
>>>
>>> Thanks for the help.
>>>
>>> Regards,
>>>
>>>
>>> --
>>> Fernando Fuentes
>>> ffuen...@txweather.org
>>> http://www.txweather.org
>>>
>>>
>>>
>>> On Sun, Jul 31, 2016, at 12:50 PM, Edward Haas wrote:


 On Sun, Jul 31, 2016 at 7:19 PM, Fernando Fuentes
  wrote:
> Team,
>
> Is it possible to move the ovirt management interface to a
> separate vlan
> and keep it from been on the same interface as my LAN?

 Networks, including the management one, can be assign as non-vlan
 or as vlan on
 different nics/bonds.
 If you want to assign two or more networks on the same nic/bond,
 only one can remain
 non-vlan, the rest must be set with a vlan.
 Vlan networks require that traffic entering the nic/bond is tagged,
 therefore, the switch port
 that the nic is connected to must be set as a trunk.
 If you have a specific setup in mind, please draw a network diagram
 for us.

>
> IE: assign a tag to ovirtmanagement and keep another interface as
> untag
> for my LAN to use with the VM's
>
> Thoughts ideas?
>
> TIA!
>
> Regards,
>
> --
>  Fernando Fuentes ffuen...@txweather.org http://www.txweather.org
>  ___
>  Users mailing list Users@ovirt.org
>  http://lists.ovirt.org/mailman/listinfo/users
>>>
>>> _
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>> Email had 1 attachment:


>>>  * vlans.png 353k (image/png)
>>
>>
>> ___
>>  Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] storage domain operation python api sample codes needed

2016-08-04 Thread Ondra Machacek

On 08/04/2016 08:17 PM, Huan He (huhe) wrote:

Thanks Ondra.

I am able to do the storage, but stuck in the host nic. I have rhvm 4.0
beta, and the sdk seems still v3.6.


If you have version 4.0, then there is sdk4, which you should use.
The name of the rpm is python-ovirt-engine-sdk4.

Or it's in pip:

 https://pypi.python.org/pypi/ovirt-engine-sdk-python



Who knows where I can find the sample and doc for v3?


I am afraid there is no, but you can inpire for example here:


https://github.com/oVirt/ovirt-system-tests/blob/master/basic_suite_master/test-scenarios/002_bootstrap.py#L136



Thanks,
Huan


On 8/2/16, 11:56 PM, "Ondra Machacek"  wrote:


On 08/02/2016 10:53 PM, Huan He (huhe) wrote:

Hi,

I can¹t figure out how to do the following, a sample code will be
helpful.

Put a storage domain in maintenance mode
Detach the storage domain
Remove the storage domain


Are you looking for v4 or v3 examples?
Those are completelly different SDKs so examples will be different as
well.
For v4 you can inspire here:

 https://github.com/oVirt/ovirt-engine-sdk/tree/master/sdk/examples



By the way, do you have an API doc or wiki?


There is for v4:

 https://jhernand.fedorapeople.org/ovirt-api-explorer/#/

not sure about v3



Thanks,
Huab



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users




___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] storage domain operation python api sample codes needed

2016-08-04 Thread Huan He (huhe)
Thanks Ondra. 

I am able to do the storage, but stuck in the host nic. I have rhvm 4.0
beta, and the sdk seems still v3.6.

Who knows where I can find the sample and doc for v3?

Thanks,
Huan


On 8/2/16, 11:56 PM, "Ondra Machacek"  wrote:

>On 08/02/2016 10:53 PM, Huan He (huhe) wrote:
>> Hi,
>>
>> I can¹t figure out how to do the following, a sample code will be
>>helpful.
>>
>> Put a storage domain in maintenance mode
>> Detach the storage domain
>> Remove the storage domain
>
>Are you looking for v4 or v3 examples?
>Those are completelly different SDKs so examples will be different as
>well.
>For v4 you can inspire here:
>
>  https://github.com/oVirt/ovirt-engine-sdk/tree/master/sdk/examples
>
>>
>> By the way, do you have an API doc or wiki?
>
>There is for v4:
>
>  https://jhernand.fedorapeople.org/ovirt-api-explorer/#/
>
>not sure about v3
>
>>
>> Thanks,
>> Huab
>>
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Multipath iSCSI with several IPs

2016-08-04 Thread Chris Adams
Once upon a time, James Michels  said:
> I guess you mean the 'iSCSI multipath' sub-tab under the 'Datacenters' tab.
> There you can assign one or more networks to a iSCSI backend. In my opinion
> you cannot have more than one interface within the same network segment to
> do multipath, as you would have connectivity issues (not sure if ovirt
> restricts creating two overlapping networks)

The way I did it on a test 3.6 cluster was to create two networks in
oVirt, "storage1" and "storage2".  I assigned both networks to the
hosts, connected to different NICs, and gave each an IP (in the iSCSI
subnet).  Then I could set up the iSCSI multipath in the oVirt data
center.  This seems weird/wrong, and I'm not sure oVirt actually
configured both NICs in multipath.

-- 
Chris Adams 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Multipath iSCSI with several IPs

2016-08-04 Thread Chris Adams
Once upon a time, Yaniv Kaul  said:
> BTW, having two IPs on a single subnet is not a great idea - it usually
> mean you have a SPOF somewhere (the switch perhaps?).

Two NICs on the server, two NICs on the iSCSI target, each with an IP
per NIC, and connected to two switches in between (either stacked or
trunked).  No SPOF.

-- 
Chris Adams 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] iSCSI domain on 4kn drives

2016-08-04 Thread Yaniv Kaul
On Thu, Aug 4, 2016 at 11:49 AM, Martijn Grendelman <
martijn.grendel...@isaac.nl> wrote:

> Hi,
>
> Does oVirt support iSCSI storage domains on target LUNs using a block
> size of 4k?
>

No, we do not - not if it exposes 4K blocks.
Y.


>
> Best regards,
> Martijn Grendelman
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Multipath iSCSI with several IPs

2016-08-04 Thread Yaniv Kaul
On Thu, Aug 4, 2016 at 7:27 PM, Chris Adams  wrote:

> Once upon a time, James Michels  said:
> > Correct me if I'm wrong but I think Dan meant target's IPs. So if you
> have
> > a SAN backend with two IP addresses, you first discover LUNs from first
> IP
> > address, then discover LUNs from the second IP address, and so on... once
> > you have them all, you just check them and click on "OK" so the same
> target
> > is added with several IP addresses. You don't need to have one IP address
> > per oVirt server.
>
> Well, to do iSCSI multipath right, you should also have multiple
> interfaces on each client server, each with its own IP.  I'm not sure
> how you do that with oVirt.
>

We support it as well - it's poorly called 'iSCSI bonding'.

BTW, having two IPs on a single subnet is not a great idea - it usually
mean you have a SPOF somewhere (the switch perhaps?).
Y.



>
> --
> Chris Adams 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Multipath iSCSI with several IPs

2016-08-04 Thread James Michels
I guess you mean the 'iSCSI multipath' sub-tab under the 'Datacenters' tab.
There you can assign one or more networks to a iSCSI backend. In my opinion
you cannot have more than one interface within the same network segment to
do multipath, as you would have connectivity issues (not sure if ovirt
restricts creating two overlapping networks)

2016-08-04 17:27 GMT+01:00 Chris Adams :

> Once upon a time, James Michels  said:
> > Correct me if I'm wrong but I think Dan meant target's IPs. So if you
> have
> > a SAN backend with two IP addresses, you first discover LUNs from first
> IP
> > address, then discover LUNs from the second IP address, and so on... once
> > you have them all, you just check them and click on "OK" so the same
> target
> > is added with several IP addresses. You don't need to have one IP address
> > per oVirt server.
>
> Well, to do iSCSI multipath right, you should also have multiple
> interfaces on each client server, each with its own IP.  I'm not sure
> how you do that with oVirt.
>
> --
> Chris Adams 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Multipath iSCSI with several IPs

2016-08-04 Thread Chris Adams
Once upon a time, James Michels  said:
> Correct me if I'm wrong but I think Dan meant target's IPs. So if you have
> a SAN backend with two IP addresses, you first discover LUNs from first IP
> address, then discover LUNs from the second IP address, and so on... once
> you have them all, you just check them and click on "OK" so the same target
> is added with several IP addresses. You don't need to have one IP address
> per oVirt server.

Well, to do iSCSI multipath right, you should also have multiple
interfaces on each client server, each with its own IP.  I'm not sure
how you do that with oVirt.

-- 
Chris Adams 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Multipath iSCSI with several IPs

2016-08-04 Thread James Michels
Hello Chris,

Correct me if I'm wrong but I think Dan meant target's IPs. So if you have
a SAN backend with two IP addresses, you first discover LUNs from first IP
address, then discover LUNs from the second IP address, and so on... once
you have them all, you just check them and click on "OK" so the same target
is added with several IP addresses. You don't need to have one IP address
per oVirt server.


2016-08-04 16:32 GMT+01:00 Chris Adams :

> Once upon a time, Dan Yasny  said:
> > Normally you
> > 1. enter the IP
> > 2. click discover
> > 3. login to whatever was found
> > 4. enter another IP instead of the first
> > 5. goto 2
>
> How do you give the oVirt server two IPs (in the same subnet) though?
>
> --
> Chris Adams 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] hosted_engine on gluster storage for all the same fqdn?

2016-08-04 Thread Florian Nolden
Thank's allot Sahina,

I wouldn't come up with that solution. Would be nice to have that info also
in the Wiki.

https://www.ovirt.org/develop/release-management/features/
engine/self-hosted-engine/

2016-08-04 17:36 GMT+02:00 Sahina Bose :

>
>
> On Thu, Aug 4, 2016 at 8:13 PM, Florian Nolden 
> wrote:
>
>> Hi,
>>
>> I try to install the hosted_engine on 3 Servers which host also the
>> gluster data storage.
>> When I install now the hosted_engine, which storage path should I use?
>>
>> Setup 1:
>> server1: server1.san:/hosted_engine
>> server2: server1.san:/hosted_engine
>> server3: server1.san:/hosted_engine
>>
>
>
> Use this along with an answers.conf file with following content
> [environment:default]
> OVEHOSTED_STORAGE/mntOptions=str:backup-volfile-servers=
> server2.san:server3.san
>
> and deploy hosted engine using "hosted-engine --deploy
> --config-append=answers.conf"
>
> This will ensure that hosted-engine domain can be mounted on other servers
> even when server1 is not reachable.
>
>
>
>>
>> Setup 2:
>> server1: localhost:/hosted_engine
>> server2: localhost:/hosted_engine
>> server3: localhost:/hosted_engine
>>
>> Setup 3:
>> /etc/hosts: 127.0.0.1 gluster
>> server1: gluster:/hosted_engine
>> server2: gluster:/hosted_engine
>> server3: gluster:/hosted_engine
>>
>> Other Setup? What is the best practice there?
>>
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Multipath iSCSI with several IPs

2016-08-04 Thread Chris Adams
Once upon a time, Dan Yasny  said:
> Normally you
> 1. enter the IP
> 2. click discover
> 3. login to whatever was found
> 4. enter another IP instead of the first
> 5. goto 2

How do you give the oVirt server two IPs (in the same subnet) though?

-- 
Chris Adams 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] hosted_engine on gluster storage for all the same fqdn?

2016-08-04 Thread Sahina Bose
On Thu, Aug 4, 2016 at 8:13 PM, Florian Nolden  wrote:

> Hi,
>
> I try to install the hosted_engine on 3 Servers which host also the
> gluster data storage.
> When I install now the hosted_engine, which storage path should I use?
>
> Setup 1:
> server1: server1.san:/hosted_engine
> server2: server1.san:/hosted_engine
> server3: server1.san:/hosted_engine
>


Use this along with an answers.conf file with following content
[environment:default]
OVEHOSTED_STORAGE/mntOptions=str:backup-volfile-servers=server2.san:server3.san

and deploy hosted engine using "hosted-engine --deploy
--config-append=answers.conf"

This will ensure that hosted-engine domain can be mounted on other servers
even when server1 is not reachable.



>
> Setup 2:
> server1: localhost:/hosted_engine
> server2: localhost:/hosted_engine
> server3: localhost:/hosted_engine
>
> Setup 3:
> /etc/hosts: 127.0.0.1 gluster
> server1: gluster:/hosted_engine
> server2: gluster:/hosted_engine
> server3: gluster:/hosted_engine
>
> Other Setup? What is the best practice there?
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Migrate machines in unknown state?

2016-08-04 Thread Nicolás



El 04/08/16 a las 15:25, Arik Hadas escribió:


- Original Message -

El 2016-08-04 08:24, Arik Hadas escribió:

- Original Message -


El 04/08/16 a las 07:18, Arik Hadas escribió:

- Original Message -

Hi,

We're running oVirt 4.0.1 and today I found out that one of our hosts
has all its VMs in an unknown state. I actually don't know how (and
when) did this happen, but I'd like to restore service possibly without
turning off these machines. The host is up, the VMs are up, 'qemu'
process exists, no errors, it's just the VMs running on it that have a
'?' where status is defined.

Is it safe in this case to simply modify database and set those VM's
status to 'up'? I remember having to do this a time ago when we faced
storage issues, it didn't break anything back then. If not, is there a
"safe" way to migrate those VMs to a different host and restart the
host
that marked them as unknown?

Hi Nicolás,

I assume that the host these VMs are running on is empty in the
webadmin,
right? if that is the case then you've probably hit [1]. Changing their
status to up is not the way to go since these VMs will not be monitored.

Hi Arik,

By "empty" you mean the webadmin reports the host being running 0 VMs?
If so, that's not the case, actually the VM count seems to be correct
in
relation to "qemu-*" processes (about 32 VMs), I can even see the
machines in the "Virtual machines" tab of the host, it's just they are
all marked with the '?' mark.

No, I meant the 'Host' column in the Virtual Machines tab but if you
see
the VMs in the "Virtual machines" sub-tab of the host then run_on_vds
points to the right host..

The host is up in the webadmin as well?
Can you share the engine log?


Yes, the host is up in the webadmin, there are no issues with it, just
the VMs running on it have the '?' mark. I've made 3 tests:

1) Restart engine: did not help
2) Check firewall, seems to be ok.
2) PostgreSQL: UPDATE vm_dynamic SET status = 1 WHERE status = 8; :
After a while, I see lots of entries like this:

  2016-08-04 09:23:10,910 WARN
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(DefaultQuartzScheduler4) [6ad135b8] Correlation ID: null, Call Stack:
null, Custom Event ID: -1, Message: VM xxx is not responding.

I'm attaching the engine log, but I don't know when did this happen for
the first time, though. If there's a manual way/command to migrate VMs
to a different host I'd appreciate a hint about it.

Is it safe to restart vdsmd on this host?

The engine log looks fine - the VMs are reported as not-responding for
some reason. I would restart libvirtd and vdsmd then


Is restarting those two daemons safe? I mean, will that stop all qemu-* 
processes, so the VMs marked as unknown will stop?



Thanks.


Thanks.


Yes, there is no other way to resolve it other than changing the DB but
the change should be to update run_on_vds field of these VMs to the host
you know they are running on. Their status will then be updates in 15
sec.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1354494

Arik.


Thanks.

Nicolás

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users





___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Fwd: Multipath iSCSI with several IPs

2016-08-04 Thread James Michels
Nice, now it's crystal clear. This is an Huawei Oceanstor disk array which
we want to test with ovirt so we can see performance, how ovirt behaves
with situations where one controller is disconnected etc., that's why we
wanted to implement multipath.

Thanks for the insight!

James

2016-08-04 15:42 GMT+01:00 Dan Yasny :

>
>
> On Thu, Aug 4, 2016 at 10:37 AM, James Michels <
> karma.sometimes.hu...@gmail.com> wrote:
>
>> Hi Dan,
>>
>> The way you describe it I should have 2 storage backends with 2 IPs for
>> the same SAN backend, right?
>>
>
> Every iSCSI SAN has multiple portals (usually one on each storage
> controller, and each with it's own IP), and when you create a target you
> assign it the portals through which it should be accessible. So if you have
> two portals (two IPs) assigned to a target (LUN), you can access it via two
> paths, each path leading through a different portal/IP to the same
> target/LUN.
> What do you use for your iSCSI backend?
>
>
>> The problem I see is that when you create a disk for a VM, you assign it
>> to only one storage domain... so if the first fails, how will oVirt know
>> which one should use as failover?
>>
>>
> There is only one disk, but it sits on a target, which can be accessed via
> two different IPs. oVirt stores all the iSCSI portal IPs you give it as
> described in my first response in a database, and connects to them when
> connecting to the storage domain. If one is down, multipath will mark the
> path as down and keep using other IPs to access the same LUN
>
>
>> Thank you
>>
>> 2016-08-04 15:20 GMT+01:00 Dan Yasny :
>>
>>> Normally you
>>> 1. enter the IP
>>> 2. click discover
>>> 3. login to whatever was found
>>> 4. enter another IP instead of the first
>>> 5. goto 2
>>>
>>> On Thu, Aug 4, 2016 at 10:13 AM, James Michels <
>>> karma.sometimes.hu...@gmail.com> wrote:
>>>
 Hello,

 I want to add an iSCSI based storage domain. For that I add a domain on
 the Storage tab with one of the IPs (say 10.10.10.1), but for failover
 purposes I'd like to use multipath to add a failover IP so if the first one
 fails, LUNs can be reached via the second (say 10.10.10.2).

 How can this be done in oVirt 4.0.1? I have not seen a way how to add
 the second IP for multipath purposes.

 Thank you

 James

 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users


>>>
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] hosted_engine on gluster storage for all the same fqdn?

2016-08-04 Thread Florian Nolden
Hi,

I try to install the hosted_engine on 3 Servers which host also the gluster
data storage.
When I install now the hosted_engine, which storage path should I use?

Setup 1:
server1: server1.san:/hosted_engine
server2: server1.san:/hosted_engine
server3: server1.san:/hosted_engine

Setup 2:
server1: localhost:/hosted_engine
server2: localhost:/hosted_engine
server3: localhost:/hosted_engine

Setup 3:
/etc/hosts: 127.0.0.1 gluster
server1: gluster:/hosted_engine
server2: gluster:/hosted_engine
server3: gluster:/hosted_engine

Other Setup? What is the best practice there?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Fwd: Multipath iSCSI with several IPs

2016-08-04 Thread Dan Yasny
On Thu, Aug 4, 2016 at 10:37 AM, James Michels <
karma.sometimes.hu...@gmail.com> wrote:

> Hi Dan,
>
> The way you describe it I should have 2 storage backends with 2 IPs for
> the same SAN backend, right?
>

Every iSCSI SAN has multiple portals (usually one on each storage
controller, and each with it's own IP), and when you create a target you
assign it the portals through which it should be accessible. So if you have
two portals (two IPs) assigned to a target (LUN), you can access it via two
paths, each path leading through a different portal/IP to the same
target/LUN.
What do you use for your iSCSI backend?


> The problem I see is that when you create a disk for a VM, you assign it
> to only one storage domain... so if the first fails, how will oVirt know
> which one should use as failover?
>
>
There is only one disk, but it sits on a target, which can be accessed via
two different IPs. oVirt stores all the iSCSI portal IPs you give it as
described in my first response in a database, and connects to them when
connecting to the storage domain. If one is down, multipath will mark the
path as down and keep using other IPs to access the same LUN


> Thank you
>
> 2016-08-04 15:20 GMT+01:00 Dan Yasny :
>
>> Normally you
>> 1. enter the IP
>> 2. click discover
>> 3. login to whatever was found
>> 4. enter another IP instead of the first
>> 5. goto 2
>>
>> On Thu, Aug 4, 2016 at 10:13 AM, James Michels <
>> karma.sometimes.hu...@gmail.com> wrote:
>>
>>> Hello,
>>>
>>> I want to add an iSCSI based storage domain. For that I add a domain on
>>> the Storage tab with one of the IPs (say 10.10.10.1), but for failover
>>> purposes I'd like to use multipath to add a failover IP so if the first one
>>> fails, LUNs can be reached via the second (say 10.10.10.2).
>>>
>>> How can this be done in oVirt 4.0.1? I have not seen a way how to add
>>> the second IP for multipath purposes.
>>>
>>> Thank you
>>>
>>> James
>>>
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Fwd: Multipath iSCSI with several IPs

2016-08-04 Thread Alex Crow

On 04/08/16 15:37, James Michels wrote:


Hi Dan,

The way you describe it I should have 2 storage backends with 2 IPs 
for the same SAN backend, right? The problem I see is that when you 
create a disk for a VM, you assign it to only one storage domain... so 
if the first fails, how will oVirt know which one should use as failover?



No, multipath is the *same* storage (ie LUN) exposed via two different 
network paths.


Alex

--
This message is intended only for the addressee and may contain
confidential information. Unless you are that person, you may not
disclose its contents or use it in any way and are requested to delete
the message along with any attachments and notify us immediately.
This email is not intended to, nor should it be taken to, constitute advice.
The information provided is correct to our knowledge & belief and must not
be used as a substitute for obtaining tax, regulatory, investment, legal or
any other appropriate advice.

"Transact" is operated by Integrated Financial Arrangements Ltd.
29 Clement's Lane, London EC4N 7AE. Tel: (020) 7608 4900 Fax: (020) 7608 5300.
(Registered office: as above; Registered in England and Wales under
number: 3727592). Authorised and regulated by the Financial Conduct
Authority (entered on the Financial Services Register; no. 190856).___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Fwd: Multipath iSCSI with several IPs

2016-08-04 Thread James Michels
Hi Dan,

The way you describe it I should have 2 storage backends with 2 IPs for the
same SAN backend, right? The problem I see is that when you create a disk
for a VM, you assign it to only one storage domain... so if the first
fails, how will oVirt know which one should use as failover?

Thank you

2016-08-04 15:20 GMT+01:00 Dan Yasny :

> Normally you
> 1. enter the IP
> 2. click discover
> 3. login to whatever was found
> 4. enter another IP instead of the first
> 5. goto 2
>
> On Thu, Aug 4, 2016 at 10:13 AM, James Michels <
> karma.sometimes.hu...@gmail.com> wrote:
>
>> Hello,
>>
>> I want to add an iSCSI based storage domain. For that I add a domain on
>> the Storage tab with one of the IPs (say 10.10.10.1), but for failover
>> purposes I'd like to use multipath to add a failover IP so if the first one
>> fails, LUNs can be reached via the second (say 10.10.10.2).
>>
>> How can this be done in oVirt 4.0.1? I have not seen a way how to add the
>> second IP for multipath purposes.
>>
>> Thank you
>>
>> James
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Multipath iSCSI with several IPs

2016-08-04 Thread Dan Yasny
On Thu, Aug 4, 2016 at 10:24 AM, Tadas  wrote:

> Multipath is more a SAN thing, - not a tcp/ip.
>

Not when it comes to iSCSI


> You should use something like LACP group on two (or more) of your network
> interfaces.
>

Absolutely not. It is always better to let multipath deal with paths
leading to block storage LUNs, and the underlying fabric does not matter.


> Also you will have to configure your switch accordingly. You will not have
> to worry about second ip. LACP bonded interface will use one IP, but will
> fail-over to one of nics if needed.
>


Again, do NOT use bonds for iscsi traffic. Let multipath deal with it.


> *From:* James Michels 
> *Sent:* Thursday, August 4, 2016 5:13 PM
> *To:* users 
> *Subject:* [ovirt-users] Multipath iSCSI with several IPs
>
> Hello,
>
> I want to add an iSCSI based storage domain. For that I add a domain on
> the Storage tab with one of the IPs (say 10.10.10.1), but for failover
> purposes I'd like to use multipath to add a failover IP so if the first one
> fails, LUNs can be reached via the second (say 10.10.10.2).
>
> How can this be done in oVirt 4.0.1? I have not seen a way how to add the
> second IP for multipath purposes.
>
> Thank you
>
> James
>
> --
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Multipath iSCSI with several IPs

2016-08-04 Thread Tadas
Multipath is more a SAN thing, - not a tcp/ip.
You should use something like LACP group on two (or more) of your network 
interfaces. Also you will have to configure your switch accordingly. You will 
not have to worry about second ip. LACP bonded interface will use one IP, but 
will fail-over to one of nics if needed.
From: James Michels 
Sent: Thursday, August 4, 2016 5:13 PM
To: users 
Subject: [ovirt-users] Multipath iSCSI with several IPs

Hello, 

I want to add an iSCSI based storage domain. For that I add a domain on the 
Storage tab with one of the IPs (say 10.10.10.1), but for failover purposes I'd 
like to use multipath to add a failover IP so if the first one fails, LUNs can 
be reached via the second (say 10.10.10.2).

How can this be done in oVirt 4.0.1? I have not seen a way how to add the 
second IP for multipath purposes.

Thank you

James



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Multipath iSCSI with several IPs

2016-08-04 Thread Dan Yasny
Normally you
1. enter the IP
2. click discover
3. login to whatever was found
4. enter another IP instead of the first
5. goto 2

On Thu, Aug 4, 2016 at 10:13 AM, James Michels <
karma.sometimes.hu...@gmail.com> wrote:

> Hello,
>
> I want to add an iSCSI based storage domain. For that I add a domain on
> the Storage tab with one of the IPs (say 10.10.10.1), but for failover
> purposes I'd like to use multipath to add a failover IP so if the first one
> fails, LUNs can be reached via the second (say 10.10.10.2).
>
> How can this be done in oVirt 4.0.1? I have not seen a way how to add the
> second IP for multipath purposes.
>
> Thank you
>
> James
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Multipath iSCSI with several IPs

2016-08-04 Thread James Michels
Hello,

I want to add an iSCSI based storage domain. For that I add a domain on the
Storage tab with one of the IPs (say 10.10.10.1), but for failover purposes
I'd like to use multipath to add a failover IP so if the first one fails,
LUNs can be reached via the second (say 10.10.10.2).

How can this be done in oVirt 4.0.1? I have not seen a way how to add the
second IP for multipath purposes.

Thank you

James
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Problems installing Ovirt 4.02 Node

2016-08-04 Thread Grundmann, Christian
Hi,
I installed ovirt-node-ng-installer-ovirt-4.0-2016080104.iso
with default partitioning Layout
with the result after Installation:

Status: FAILED
Mount points ... FAILED - This can happen if the installation was performed 
incorrectly
  Separate /var ... FAILED - /var got unmounted, or was not setup to use a 
separate volume
  Discard is used ... FAILED - 'discard' mount option was not added or got 
removed
Basic storage ... OK
  Initialized VG ... OK
  Initialized Thin Pool ... OK
  Initialized LVs ... OK
Thin storage ... OK
  Checking available space in thinpool ... OK
  Checking thinpool auto-extend ... OK

No LV for /var created at all.

What’s the right way installing an working node?

Thx a lot
Christian


Von: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] Im Auftrag von 
Fabian Deutsch
Gesendet: Mittwoch, 27. Juli 2016 13:25
An: Peter Michael Calum 
Cc: users@ovirt.org
Betreff: Re: [ovirt-users] Problems installing Ovirt 4.02 Node



On Wed, Jul 27, 2016 at 7:59 AM, Peter Michael Calum 
mailto:pe...@tdc.dk>> wrote:
Hi,

I tried the changes in /etc/fstab and rebooted.
Now  imgbase status: OK

But I see this in /var/log/messages after the change :  Starting kdump: [FAILED]

Jul 27 07:44:08 khk9dsk34 dracut: *** Including module: base ***
Jul 27 07:44:08 khk9dsk34 dracut: *** Including module: fs-lib ***
Jul 27 07:44:08 khk9dsk34 dracut: *** Including module: kdumpbase ***
Jul 27 07:44:08 khk9dsk34 kernel: device-mapper: table: 253:8: multipath: error 
getting device
Jul 27 07:44:08 khk9dsk34 kernel: device-mapper: ioctl: error adding target to 
table
Jul 27 07:44:08 khk9dsk34 multipathd: dm-8: remove map (uevent)
Jul 27 07:44:08 khk9dsk34 multipathd: dm-8: remove map (uevent)

Jul 27 07:44:08 khk9dsk34 kdumpctl: Bad kdump location: 
khk9dsg34.ip.tdk.dk
Jul 27 07:44:09 khk9dsk34 kdumpctl: mkdumprd: failed to make kdump initrd
Jul 27 07:44:09 khk9dsk34 kdumpctl: Starting kdump: [FAILED]
Jul 27 07:44:09 khk9dsk34 systemd: kdump.service: main process exited, 
code=exited, status=1/FAILURE
Jul 27 07:44:09 khk9dsk34 systemd: Failed to start Crash recovery kernel arming.

Jul 27 07:44:09 khk9dsk34 systemd: Startup finished in 5.673s (kernel) + 8.024s 
(initrd) + 43.476s (userspace) = 57.173s.
Jul 27 07:44:09 khk9dsk34 systemd: Unit kdump.service entered failed state.
Jul 27 07:44:09 khk9dsk34 systemd: kdump.service failed.
Jul 27 07:44:32 khk9dsk34 systemd: Starting Stop Read-Ahead Data Collection...
Jul 27 07:44:32 khk9dsk34 systemd: Started Stop Read-Ahead Data Collection.
Jul 27 07:44:32 khk9dsk34 systemd-logind: New session 1 of user root.
Jul 27 07:44:32 khk9dsk34 systemd: Created slice user-0.slice.
Jul 27 07:44:32 khk9dsk34 systemd: Starting user-0.slice.
Jul 27 07:44:32 khk9dsk34 systemd: Started Session 1 of user root.
Jul 27 07:44:32 khk9dsk34 systemd: Starting Session 1 of user root.
Jul 27 07:44:45 khk9dsk34 kernel: device-mapper: table: 253:8: multipath: error 
getting device
Jul 27 07:44:45 khk9dsk34 kernel: device-mapper: ioctl: error adding target to 
table
Jul 27 07:44:45 khk9dsk34 multipathd: dm-8: remove map (uevent)
Jul 27 07:44:45 khk9dsk34 multipathd: dm-8: remove map (uevent)

I checked messages in my other hypervisor where /etc/fstab was not modified, 
KDUMP was OK there.

The question about registrating the host in the manager i got solved, it is now 
done from the manager.
(I come from the Redhat 3.5, and are just started on Ovirt 4)

Nice that the status issue could be solved.
For adding Node, you can either add the host by gpoing to Engine and then add 
the host, or you can use vdsm register on the host to register it to Engine.
- fabian

Thanks for helping
Peter

-Oprindelig meddelelse-
Fra: Giorgio Biacchi [mailto:gior...@di.unimi.it]
Sendt: 27. juli 2016 00:05
Til: Peter Michael Calum mailto:pe...@tdc.dk>>; 
users@ovirt.org
Emne: Re: [ovirt-users] Problems installing Ovirt 4.02 Node

On 26/07/2016 08:51, Peter Michael Calum wrote:

>   imgbase status: DEGRADED
>
>   Please check the status manually using `imgbase check`

Got the same problem, add discard option to fstab for / and /var like this:

#
# /etc/fstab
# Created by anaconda on Fri Jul 22 11:08:40 2016 # # Accessible filesystems, 
by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info #
/dev/HostVG/ovirt-node-ng-4.0.2-0.20160721.0+1 / ext4 defaults,discard 1 1
UUID=a96d5a4c-bc4b-481c-bf6e-af47318d8b7b /boot   ext4
  defaults1 2
/dev/mapper/HostVG-var  /varext4defaults,discard 1 2
/dev/mapper/HostVG-swap swapswapdefaults0 0

then remount or reboot.

>
> Another question : Where do I define the Ovirt manager address.

For this one I can't help, but you can add the new host from the manager..

>
>
>
> Venlig hilsen / Kind regards
>
> *Peter Calum *
>
> Tlf: +45 66 69 36 82
> M

[ovirt-users] iSCSI domain on 4kn drives

2016-08-04 Thread Martijn Grendelman
Hi,

Does oVirt support iSCSI storage domains on target LUNs using a block
size of 4k?

Best regards,
Martijn Grendelman

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] IP Address Stealing

2016-08-04 Thread Edward Haas
On Thu, Aug 4, 2016 at 6:27 AM, Subhendu Ghosh  wrote:

> Not built into ovirt AFAIK,  but an ebtables rule can allow you to filter
> out mac+ip combinations
>
> Look at the anti-spoofing rules on ebtables.netfilter.org
>
> It doesn't prevent the user adding it in the vm, but the infrastructure
> blocks it's usage.
>
> --
> *From:* Bill Bill 
> *Sent:* Aug 3, 2016 22:40
> *To:* users@ovirt.org
> *Subject:* [ovirt-users] IP Address Stealing
>
> Hello,
>
>
>
> It is possible to prevent a VM from adding an IP? For example, if we
> provision a VM with one IP, if the user has root access they can simply add
> random IP’s from within the same range as sub interfaces: eth0:0 eth0:1
> eth0:2 so on and so forth.
>
>
>
> Subnetting is not ideal in this situation because it’s a huge waste of IP
> space.
>

In oVirt 4.0, you can choose a vnic libvirt filter from a list (at the vnic
profile settings).
You can check the clean-traffic filter which uses multiple other more
specific filters.
Ref: https://libvirt.org/formatnwfilter.html

Thanks,
Edy.


>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Migrate machines in unknown state?

2016-08-04 Thread Arik Hadas


- Original Message -
> 
> 
> El 04/08/16 a las 07:18, Arik Hadas escribió:
> > - Original Message -
> >> Hi,
> >>
> >> We're running oVirt 4.0.1 and today I found out that one of our hosts
> >> has all its VMs in an unknown state. I actually don't know how (and
> >> when) did this happen, but I'd like to restore service possibly without
> >> turning off these machines. The host is up, the VMs are up, 'qemu'
> >> process exists, no errors, it's just the VMs running on it that have a
> >> '?' where status is defined.
> >>
> >> Is it safe in this case to simply modify database and set those VM's
> >> status to 'up'? I remember having to do this a time ago when we faced
> >> storage issues, it didn't break anything back then. If not, is there a
> >> "safe" way to migrate those VMs to a different host and restart the host
> >> that marked them as unknown?
> > Hi Nicolás,
> >
> > I assume that the host these VMs are running on is empty in the webadmin,
> > right? if that is the case then you've probably hit [1]. Changing their
> > status to up is not the way to go since these VMs will not be monitored.
> 
> Hi Arik,
> 
> By "empty" you mean the webadmin reports the host being running 0 VMs?
> If so, that's not the case, actually the VM count seems to be correct in
> relation to "qemu-*" processes (about 32 VMs), I can even see the
> machines in the "Virtual machines" tab of the host, it's just they are
> all marked with the '?' mark.

No, I meant the 'Host' column in the Virtual Machines tab but if you see
the VMs in the "Virtual machines" sub-tab of the host then run_on_vds
points to the right host..

The host is up in the webadmin as well?
Can you share the engine log?

> 
> Thanks.
> 
> > Yes, there is no other way to resolve it other than changing the DB but
> > the change should be to update run_on_vds field of these VMs to the host
> > you know they are running on. Their status will then be updates in 15 sec.
> >
> > [1] https://bugzilla.redhat.com/show_bug.cgi?id=1354494
> >
> > Arik.
> >
> >> Thanks.
> >>
> >> Nicolás
> >>
> >> ___
> >> Users mailing list
> >> Users@ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> >>
> 
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] management interface

2016-08-04 Thread Edward Haas
Hi Fernando,

>From what I could understand, you would like to have 3 networks, all on the
same bond:
(I do not understand from the diagram that you have two bonds, you
mentioned only bond0)
- ovirtmgmt - vlan35@bond0
- dmz vm network - vlan42@bond0
- default vm network - untag@bond0

Based on the tag, traffic that enters bond0 will be forwarded to the
relevant network.
Any traffic that enters bond0 and is either untag or has a tag that does
not correspond to the defined vlans,
will be forwarded to the non-vlan network (default vm in this case).
Note that when packets pass a vlan interface, they are stripped of their
tag.

I personally consider a mix of tag and untag on the same iface/port as bad
practice, but there may be reasons to
choose it. If you can, try having all networks with vlans, and set the
switch ports correctly to reflect that.
Any other device on the network, like the router, can be connected to the
switch to an access port (say of vlan 100),
so traffic there is untag, and when traffic goes to the ovirt host, it will
go tagged 100.

Thanks,
Edy.

On Tue, Aug 2, 2016 at 9:22 PM, Fernando Fuentes 
wrote:

> I answer my own question.
> "I think" lol
>
> I am going to create a new ovirtmgmt logical network with a vlan tag and
> than move my hosts in to it for management. This interface is not part of
> the vm network.
>
> The rest of the logical networks with vlans will be tagged and part of the
> vm network.
> I think that logic is right.
> Thoughts?
>
> Regards,
>
>
> --
> Fernando Fuentes
> ffuen...@txweather.org
> http://www.txweather.org
>
>
>
> On Sun, Jul 31, 2016, at 11:43 PM, Fernando Fuentes wrote:
>
> Right now as we stand boht ovirt management and LAN data crosses the same
> interface.
> I have two bonds. I want to move ovirt management to its own bond and tag
> it with vlan id 35.
>
> Than I wan to move my LAN which has no tag and my dmz that does have a tag
> in to my secondary bond.
>
> The switch is all configured what I am not sure is when making the logical
> network do I make the LAN a "VM Network"?
> And the same question for my dmz tagged vlan...
>
> I attached a small diagram that explains what I am trying to accomplish...
> I hope :D
>
>
> Thanks for the help.
>
> Regards,
>
>
> --
> Fernando Fuentes
> ffuen...@txweather.org
> http://www.txweather.org
>
>
>
> On Sun, Jul 31, 2016, at 12:50 PM, Edward Haas wrote:
>
>
>
> On Sun, Jul 31, 2016 at 7:19 PM, Fernando Fuentes 
> wrote:
>
> Team,
>
> Is it possible to move the ovirt management interface to a separate vlan
> and keep it from been on the same interface as my LAN?
>
>
> Networks, including the management one, can be assign as non-vlan or as
> vlan on
> different nics/bonds.
> If you want to assign two or more networks on the same nic/bond, only one
> can remain
> non-vlan, the rest must be set with a vlan.
> Vlan networks require that traffic entering the nic/bond is tagged,
> therefore, the switch port
> that the nic is connected to must be set as a trunk.
> If you have a specific setup in mind, please draw a network diagram for us.
>
>
> IE: assign a tag to ovirtmanagement and keep another interface as untag
> for my LAN to use with the VM's
>
> Thoughts ideas?
>
> TIA!
>
> Regards,
>
> --
> Fernando Fuentes
> ffuen...@txweather.org
> http://www.txweather.org
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
> *___*
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
> Email had 1 attachment:
>
>- vlans.png
>  353k (image/png)
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users