[ovirt-users] Re: Virtual disk attached to VM showing in the Webui but not identified by the system

2020-01-29 Thread Eugène Ngontang
Hi Joseph.

Thanks to your answer, I perfectly know Linux disk management, but I
thought it was to Ovirt to manage all attached disk.

I'm new to Ovirt ecosystem.

Thanks again.

Eugène NG

Le jeu. 30 janv. 2020 à 03:33, Joseph Goldman  a
écrit :

> Like a normal hard-disk, you will need to format it - currently it is just
> a 'physical' device (/dev/vdb), you'll need to create a partition table,
> then a partition, then format that partition to a filesystem. This is not
> anything specific with oVirt or VM's - just general harddrive management.
>
> (
> https://www.digitalocean.com/community/tutorials/how-to-partition-and-format-storage-devices-in-linux
> - guide using parted I found from a quick google)
>
> On 30/1/20 11:54 am, Eugène Ngontang wrote:
>
> Hi,
>
> I'm facing a virtual disk behavior I don't understand.
>
> Currently my VMs are spun up with a Boot disk of 25GB and an additional
> disk of 215/45/65 GB depending.
>
> When logged to the webui I see the two disks, but when I ssh to VM we only
> see the primary boot disk, the other one can't get a *UUID* and then
> cannot and is not mounted
>
> I also noticed in the webui the second disk doesn't have a logical name as
> you can see in the screenshot.
>
> Pleas can someone explain this behavior please?
>
> Here is my disk management commands outputs
>
> [root@fp-gpu-node3 centos]# fdisk -l
>>
>>
>> Disque /dev/vda : 26.8 Go, 26843545600 octets, 52428800 secteurs
>>
>> Unités = secteur de 1 × 512 = 512 octets
>>
>> Taille de secteur (logique / physique) : 512 octets / 512 octets
>>
>> taille d'E/S (minimale / optimale) : 512 octets / 512 octets
>>
>> Type d'étiquette de disque : dos
>>
>> Identifiant de disque : 0x000b6061
>>
>>
>> Périphérique Amorçage  Début Fin  BlocsId. Système
>>
>> /dev/vda1   *20485242876626213359+  83  Linux
>>
>>
>> Disque /dev/vdb : 48.3 Go, 48318382080 octets, 94371840 secteurs
>>
>> Unités = secteur de 1 × 512 = 512 octets
>>
>> Taille de secteur (logique / physique) : 512 octets / 512 octets
>>
>> taille d'E/S (minimale / optimale) : 512 octets / 512 octets
>>
>>
>> [root@fp-gpu-node3 centos]# blkid
>>
>> /dev/vda1: UUID="3ef2b806-efd7-4eef-aaa2-2584909365ff" TYPE="xfs"
>>
>> [root@fp-gpu-node3 centos]# lsblk -f
>>
>> NAME   FSTYPE LABEL UUID MOUNTPOINT
>>
>> sr0
>>
>> vda
>>
>> └─vda1 xfs  3ef2b806-efd7-4eef-aaa2-2584909365ff /
>>
>> vdb
>>
>
> Thanks for your help.
> --
> LesCDN 
> engont...@lescdn.com
> 
> *Aux hommes il faut un chef, et au*
>
> * chef il faut des hommes! L'habit ne fait pas le moine, mais lorsqu'on te
> voit on te juge! *
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/IMKAO46PZ5UXOM27L7G7SD444OGFFQYF/
>
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/LU5BHFW66FA6GXB7N4Z3I7FTKBSCTZOO/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/SUTD7RECN3FL6F5BOH6SU5ML5TASDQHX/


[ovirt-users] Re: Virtual disk attached to VM showing in the Webui but not identified by the system

2020-01-29 Thread Joseph Goldman
Like a normal hard-disk, you will need to format it - currently it is 
just a 'physical' device (/dev/vdb), you'll need to create a partition 
table, then a partition, then format that partition to a filesystem. 
This is not anything specific with oVirt or VM's - just general 
harddrive management.


(https://www.digitalocean.com/community/tutorials/how-to-partition-and-format-storage-devices-in-linux 
- guide using parted I found from a quick google)


On 30/1/20 11:54 am, Eugène Ngontang wrote:

Hi,

I'm facing a virtual disk behavior I don't understand.

Currently my VMs are spun up with a Boot disk of 25GB and an 
additional disk of 215/45/65 GB depending.


When logged to the webui I see the two disks, but when I ssh to VM we 
only see the primary boot disk, the other one can't get a *UUID* and 
then cannot and is not mounted


I also noticed in the webui the second disk doesn't have a logical 
name as you can see in the screenshot.


Pleas can someone explain this behavior please?

Here is my disk management commands outputs

[root@fp-gpu-node3 centos]# fdisk -l


Disque /dev/vda : 26.8 Go, 26843545600 octets, 52428800 secteurs

Unités = secteur de 1 × 512 = 512 octets

Taille de secteur (logique / physique) : 512 octets / 512 octets

taille d'E/S (minimale / optimale) : 512 octets / 512 octets

Type d'étiquette de disque : dos

Identifiant de disque : 0x000b6061


Périphérique AmorçageDébut FinBlocsId. Système

/dev/vda1 *20485242876626213359+83Linux


Disque /dev/vdb : 48.3 Go, 48318382080 octets, 94371840 secteurs

Unités = secteur de 1 × 512 = 512 octets

Taille de secteur (logique / physique) : 512 octets / 512 octets

taille d'E/S (minimale / optimale) : 512 octets / 512 octets


[root@fp-gpu-node3 centos]# blkid

/dev/vda1: UUID="3ef2b806-efd7-4eef-aaa2-2584909365ff" TYPE="xfs"

[root@fp-gpu-node3 centos]# lsblk -f

NAME FSTYPE LABEL UUID MOUNTPOINT

sr0

vda

└─vda1 xfs3ef2b806-efd7-4eef-aaa2-2584909365ff /

vdb


Thanks for your help.
--
LesCDN 
engont...@lescdn.com 

/*Aux hommes il faut un chef, et au*//* chef il faut des hommes!
L'habit ne fait pas le moine, mais lorsqu'on te voit on te juge!
*/

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/IMKAO46PZ5UXOM27L7G7SD444OGFFQYF/


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/LU5BHFW66FA6GXB7N4Z3I7FTKBSCTZOO/


[ovirt-users] Virtual disk attached to VM showing in the Webui but not identified by the system

2020-01-29 Thread Eugène Ngontang
Hi,

I'm facing a virtual disk behavior I don't understand.

Currently my VMs are spun up with a Boot disk of 25GB and an additional
disk of 215/45/65 GB depending.

When logged to the webui I see the two disks, but when I ssh to VM we only
see the primary boot disk, the other one can't get a *UUID* and then cannot
and is not mounted

I also noticed in the webui the second disk doesn't have a logical name as
you can see in the screenshot.

Pleas can someone explain this behavior please?

Here is my disk management commands outputs

[root@fp-gpu-node3 centos]# fdisk -l
>
>
> Disque /dev/vda : 26.8 Go, 26843545600 octets, 52428800 secteurs
>
> Unités = secteur de 1 × 512 = 512 octets
>
> Taille de secteur (logique / physique) : 512 octets / 512 octets
>
> taille d'E/S (minimale / optimale) : 512 octets / 512 octets
>
> Type d'étiquette de disque : dos
>
> Identifiant de disque : 0x000b6061
>
>
> Périphérique Amorçage  Début Fin  BlocsId. Système
>
> /dev/vda1   *20485242876626213359+  83  Linux
>
>
> Disque /dev/vdb : 48.3 Go, 48318382080 octets, 94371840 secteurs
>
> Unités = secteur de 1 × 512 = 512 octets
>
> Taille de secteur (logique / physique) : 512 octets / 512 octets
>
> taille d'E/S (minimale / optimale) : 512 octets / 512 octets
>
>
> [root@fp-gpu-node3 centos]# blkid
>
> /dev/vda1: UUID="3ef2b806-efd7-4eef-aaa2-2584909365ff" TYPE="xfs"
>
> [root@fp-gpu-node3 centos]# lsblk -f
>
> NAME   FSTYPE LABEL UUID MOUNTPOINT
>
> sr0
>
> vda
>
> └─vda1 xfs  3ef2b806-efd7-4eef-aaa2-2584909365ff /
>
> vdb
>

Thanks for your help.
-- 
LesCDN 
engont...@lescdn.com

*Aux hommes il faut un chef, et au*

* chef il faut des hommes!L'habit ne fait pas le moine, mais lorsqu'on te
voit on te juge!*
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/IMKAO46PZ5UXOM27L7G7SD444OGFFQYF/


[ovirt-users] Re: Problems in new oVirt install

2020-01-29 Thread Steve Watkins
Since the hostedengine won't start, I don't see anyway to get to it to delete 
it. 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/VBMVL76BML2JFNY3Y6O2AKQX6R36VGD2/


[ovirt-users] Re: 0virt VMs status down after host reboot

2020-01-29 Thread Joseph Goldman
There is an important distinction though, if your reboot process 
involves shutting down the VM's cleanly - then rebooting the server - 
they will not auto start - however if their operation was interrupted 
and they are listed as Highly Available, then they will be automatically 
restarted.


I believe they are working on a proper clean shutdown/ auto start 
procedure so you can order which VM's come up first and have wait times 
etc but its been coming for a while.


On 2020-01-30 2:37 AM, Eugène Ngontang wrote:

OK Jayme,

I'll try using that option.

Thankx

Le mer. 29 janv. 2020 à 15:04, Jayme > a écrit :


Hello,

It's my understanding that the engine will make every attempt at
restarting highly available VMs. All of my VMs are highly
available and none have never not started after rebooting hosts.


On Wed, Jan 29, 2020 at 9:28 AM Eugène Ngontang
mailto:sympav...@gmail.com>> wrote:

I was looking if the "High Availability" option could be used
for automatic startup, but Ovirt documentation is pretty clear
about it as explained here
 you the
documentation in the screenshot.

I was wondering if there may be a flag that controls the VMs
startup behavior...

Le mer. 29 janv. 2020 à 12:07, Jayme mailto:jay...@gmail.com>> a écrit :

Check if highly available is selected in vm configuration

On Wed, Jan 29, 2020 at 2:55 AM Eugène Ngontang
mailto:sympav...@gmail.com>> wrote:

Hi all,

I've set up an infrastructure with OVirt, using
self-hosted engine.

I use some ansible scripts from my Virtualization Host
(the physical machine), to bootstrap the hosted
engine, and create a set of virtual machines on which
I deploy a k8s cluster.

The deployment goes well, and everything is OK.

Now I'm doing some reboot tests, and when I reboot the
physical server, only the hosted-engine vm is up after
the reboot, the rest of VMs and thus the k8s cluster
are down.

Had someone here ever experienced this issue? What can
cause it and how to automate the virtual machines
startup in RHVE/Ovirt?

Thanks.

Regards,
Eugene


-- 
LesCDN 

engont...@lescdn.com 

/*Aux hommes il faut un chef, et au*//* chef il faut
des hommes!
L'habit ne fait pas le moine, mais lorsqu'on te voit
on te juge!
*/
___
Users mailing list -- users@ovirt.org

To unsubscribe send an email to users-le...@ovirt.org

Privacy Statement:
https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:

https://lists.ovirt.org/archives/list/users@ovirt.org/message/YWVB43KDNMXVIZCCIZJI5EOJGZ7ATLZK/



-- 
LesCDN 

engont...@lescdn.com 

/*Aux hommes il faut un chef, et au*//* chef il faut des hommes!
L'habit ne fait pas le moine, mais lorsqu'on te voit on te juge!
*/



--
LesCDN 
engont...@lescdn.com 

/*Aux hommes il faut un chef, et au*//* chef il faut des hommes!
L'habit ne fait pas le moine, mais lorsqu'on te voit on te juge!
*/

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BRMTZF7XAQXV5OVJH7HFEXZAW5CB73D7/


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/MGHLO2RHOHHCTW7R4HAMICVWC2VLUJMJ/


[ovirt-users] Re: Details about bios and custom emulated machine values

2020-01-29 Thread Michal Skrivanek


> On 27 Jan 2020, at 22:01, Gianluca Cecchi  wrote:
> 
> Hello,
> in oVirt 4.3.7 in "Edit VM" -> System -> Advanced parameters
> I can choose 
> 
> Bios Type:
> Default
> Q35 Chipset with Legacy BIOS
> Q35 Chipset with UEFI BIOS
> Q35 Chipset with SecureBoot
> 
> and
> Custom Emulated Machine:
> Use cluster default (pc-i440fx-rhel7.6.0)
> ...
> q35
> pc-q35-rhel7.3.0
> pc-q35-rhel7.4.0
> pc-q35-rhel7.5.0
> pc-q35-rhel7.6.0
> 
> and I can apparently mix all possible values.

you can, but they won’t work:)
in 4.3 the whole q35 is tech preview, with bugs we’ve fixed in 4.4. 
custom emulated machine is really just for the cases where you can troubleshoot 
by trying a “similar enough” machine type. using a different chipset or type 
from different major version will likely just fail on vm start.

> Any deeper information about implications?
> What is the "Default" value for Bios Type?

i440fx with seabios(Legacy BIOS)

> 
> Did anything change in 4.3.8 (eg official support for q35)?

no, only in 4.4 where q35/seabios becomes the new default for new 4.4 clusters

> 
> I search also through official docs for RHV 4.3 (virtual mgmt guide, appendix 
> A), but for example I don't find any reference to the "Bios Type" parameter 
> and a vague reference to the "Custom Emulated Machine". Is there any more 
> detailed link?

there should be a bit more about bios, since it’s becoming a default, but don’t 
ahve it in front of me/at hand at the moment, sorry

Thanks,
michal

> 
> Thanks,
> Gianluca
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/RBXYGBA6MBUYURYYMDC75LU7LOJJBOPB/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/SDMZMZOTCNI234I3ORBAEKQQW5S5JTCJ/


[ovirt-users] Reimport VMs after lost Engine with broken Backup

2020-01-29 Thread Vinícius Ferrão
Hello,

I’m with a scenario with a lost hosted-engine. For reasons unknown the backup 
is broken and I’ve tried everything: redeploy with backup file, deploy a new 
one and them restore the backup. Changed the HE storage domain in both cases 
just be sure. Reinstalled one of the hosts just to be safe but nothing worked.

So I just deployed a brand new engine and now I want to import back the VM’s.

My scenario right now is:

ovirt1 brand new with the new VM in a new storage domain.
ovirt2 have production VMs running without any issue.

So my questions right now:
* What happens if I just add the ovirt2 machine to the new engine? It 
will reboot or will add everything back: storage, networks etc?

My plan right now would be:
* Reconfigure the DC and the cluster.
* Readd all the networks.
* Reattach the storage domains.
* Recreate all the VM”s attaching it’s disks.

Is there’s something that I can do better to mitigate the work?

Thanks,
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/RCGPOVJSBIZMPXSWUKFBLW3A6YVVAZVD/


[ovirt-users] Re: 0virt VMs status down after host reboot

2020-01-29 Thread Eugène Ngontang
OK Jayme,

I'll try using that option.

Thankx

Le mer. 29 janv. 2020 à 15:04, Jayme  a écrit :

> Hello,
>
> It's my understanding that the engine will make every attempt at
> restarting highly available VMs. All of my VMs are highly available and
> none have never not started after rebooting hosts.
>
>
> On Wed, Jan 29, 2020 at 9:28 AM Eugène Ngontang 
> wrote:
>
>> I was looking if the "High Availability" option could be used for
>> automatic startup, but Ovirt documentation is pretty clear about it as
>> explained here  you the
>> documentation in the screenshot.
>>
>> I was wondering if there may be a flag that controls the VMs startup
>> behavior...
>>
>> Le mer. 29 janv. 2020 à 12:07, Jayme  a écrit :
>>
>>> Check if highly available is selected in vm configuration
>>>
>>> On Wed, Jan 29, 2020 at 2:55 AM Eugène Ngontang 
>>> wrote:
>>>
 Hi all,

 I've set up an infrastructure with OVirt, using self-hosted engine.

 I use some ansible scripts from my Virtualization Host (the physical
 machine), to bootstrap the hosted engine, and create a set of virtual
 machines on which I deploy a k8s cluster.

 The deployment goes well, and everything is OK.

 Now I'm doing some reboot tests, and when I reboot the physical server,
 only the hosted-engine vm is up after the reboot, the rest of VMs and thus
 the k8s cluster are down.

 Had someone here ever experienced this issue? What can cause it and how
 to automate the virtual machines startup in RHVE/Ovirt?

 Thanks.

 Regards,
 Eugene


 --
 LesCDN 
 engont...@lescdn.com
 
 *Aux hommes il faut un chef, et au*

 * chef il faut des hommes!L'habit ne fait pas le moine, mais lorsqu'on
 te voit on te juge!*
 ___
 Users mailing list -- users@ovirt.org
 To unsubscribe send an email to users-le...@ovirt.org
 Privacy Statement: https://www.ovirt.org/site/privacy-policy/
 oVirt Code of Conduct:
 https://www.ovirt.org/community/about/community-guidelines/
 List Archives:
 https://lists.ovirt.org/archives/list/users@ovirt.org/message/YWVB43KDNMXVIZCCIZJI5EOJGZ7ATLZK/

>>>
>>
>> --
>> LesCDN 
>> engont...@lescdn.com
>> 
>> *Aux hommes il faut un chef, et au*
>>
>> * chef il faut des hommes!L'habit ne fait pas le moine, mais lorsqu'on te
>> voit on te juge!*
>>
>

-- 
LesCDN 
engont...@lescdn.com

*Aux hommes il faut un chef, et au*

* chef il faut des hommes!L'habit ne fait pas le moine, mais lorsqu'on te
voit on te juge!*
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BRMTZF7XAQXV5OVJH7HFEXZAW5CB73D7/


[ovirt-users] Re: 0virt VMs status down after host reboot

2020-01-29 Thread Jayme
Hello,

It's my understanding that the engine will make every attempt at restarting
highly available VMs. All of my VMs are highly available and none have
never not started after rebooting hosts.


On Wed, Jan 29, 2020 at 9:28 AM Eugène Ngontang  wrote:

> I was looking if the "High Availability" option could be used for
> automatic startup, but Ovirt documentation is pretty clear about it as
> explained here  you the
> documentation in the screenshot.
>
> I was wondering if there may be a flag that controls the VMs startup
> behavior...
>
> Le mer. 29 janv. 2020 à 12:07, Jayme  a écrit :
>
>> Check if highly available is selected in vm configuration
>>
>> On Wed, Jan 29, 2020 at 2:55 AM Eugène Ngontang 
>> wrote:
>>
>>> Hi all,
>>>
>>> I've set up an infrastructure with OVirt, using self-hosted engine.
>>>
>>> I use some ansible scripts from my Virtualization Host (the physical
>>> machine), to bootstrap the hosted engine, and create a set of virtual
>>> machines on which I deploy a k8s cluster.
>>>
>>> The deployment goes well, and everything is OK.
>>>
>>> Now I'm doing some reboot tests, and when I reboot the physical server,
>>> only the hosted-engine vm is up after the reboot, the rest of VMs and thus
>>> the k8s cluster are down.
>>>
>>> Had someone here ever experienced this issue? What can cause it and how
>>> to automate the virtual machines startup in RHVE/Ovirt?
>>>
>>> Thanks.
>>>
>>> Regards,
>>> Eugene
>>>
>>>
>>> --
>>> LesCDN 
>>> engont...@lescdn.com
>>> 
>>> *Aux hommes il faut un chef, et au*
>>>
>>> * chef il faut des hommes!L'habit ne fait pas le moine, mais lorsqu'on
>>> te voit on te juge!*
>>> ___
>>> Users mailing list -- users@ovirt.org
>>> To unsubscribe send an email to users-le...@ovirt.org
>>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>>> oVirt Code of Conduct:
>>> https://www.ovirt.org/community/about/community-guidelines/
>>> List Archives:
>>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/YWVB43KDNMXVIZCCIZJI5EOJGZ7ATLZK/
>>>
>>
>
> --
> LesCDN 
> engont...@lescdn.com
> 
> *Aux hommes il faut un chef, et au*
>
> * chef il faut des hommes!L'habit ne fait pas le moine, mais lorsqu'on te
> voit on te juge!*
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/IQHRALMLV7D3JZ4JHIQFLTTOZ57PE7N5/


[ovirt-users] Re: Template for Ubuntu 18.04 Server Issues

2020-01-29 Thread jeremy_tourville
Yes, I am using DHCP.

I'll review the MAC address and try running virt-sysprep and report back.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/H7TC4VSK2I2W7FW7TU6MKURY7Z7QFTOT/


[ovirt-users] Re: Problems in new oVirt install

2020-01-29 Thread Staniforth, Paul
Yes that's what usually happens the VM will be paused when the backing storage 
starts running out of space, try deleting the ISO from where you uploaded it to.

Regards,

Paul S.


From: Steve Watkins 
Sent: 29 January 2020 00:13
To: users@ovirt.org 
Subject: [ovirt-users] Problems in new oVirt install

Caution External Mail: Do not click any links or open any attachments unless 
you trust the sender and know that the content is safe.

Got everything installed and was uploding an ISO when the system just stopped 
responding.  Went to the host and saw the hostedengine was paused.  Looked 
online and found the following instructions for unpausing it

virsh -c qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf
resume HostedEngine

And get the following error
Failed to acquire lock: No space left on device

any ideas?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: 
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fsite%2Fprivacy-policy%2Fdata=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Cb9a1c7e9e64d4a0acb1108d7a4898148%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637158782804083916sdata=Xu%2Bnb2cNe7AZTyCIJFIsD%2FsbyewPCcgiFdz2VlY7D6o%3Dreserved=0
oVirt Code of Conduct: 
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fcommunity%2Fabout%2Fcommunity-guidelines%2Fdata=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Cb9a1c7e9e64d4a0acb1108d7a4898148%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637158782804093905sdata=CAofs3ntLRTvkj4M01Dr0FJUtzck%2Bhs5oy2iB18nxV8%3Dreserved=0
List Archives: 
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.ovirt.org%2Farchives%2Flist%2Fusers%40ovirt.org%2Fmessage%2F4GXKSPIOKUKDQREBNXKSGEGPOICACMMH%2Fdata=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Cb9a1c7e9e64d4a0acb1108d7a4898148%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637158782804093905sdata=TFpuQGASFjBPJRnwiMcWdLTCkQ%2BFB84e%2FhrNWpqaff0%3Dreserved=0
To view the terms under which this email is distributed, please go to:-
http://leedsbeckett.ac.uk/disclaimer/email/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/6SVR55BSR32CZFTWYQB4COOZUU55YDFV/


[ovirt-users] Re: 0virt VMs status down after host reboot

2020-01-29 Thread Jayme
Check if highly available is selected in vm configuration

On Wed, Jan 29, 2020 at 2:55 AM Eugène Ngontang  wrote:

> Hi all,
>
> I've set up an infrastructure with OVirt, using self-hosted engine.
>
> I use some ansible scripts from my Virtualization Host (the physical
> machine), to bootstrap the hosted engine, and create a set of virtual
> machines on which I deploy a k8s cluster.
>
> The deployment goes well, and everything is OK.
>
> Now I'm doing some reboot tests, and when I reboot the physical server,
> only the hosted-engine vm is up after the reboot, the rest of VMs and thus
> the k8s cluster are down.
>
> Had someone here ever experienced this issue? What can cause it and how to
> automate the virtual machines startup in RHVE/Ovirt?
>
> Thanks.
>
> Regards,
> Eugene
>
>
> --
> LesCDN 
> engont...@lescdn.com
> 
> *Aux hommes il faut un chef, et au*
>
> * chef il faut des hommes!L'habit ne fait pas le moine, mais lorsqu'on te
> voit on te juge!*
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/YWVB43KDNMXVIZCCIZJI5EOJGZ7ATLZK/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/NMPIX2LRI24ZERYVAQRHYYC3TCH7DJDO/


[ovirt-users] Re: Deploy Hosted Engine fails at "Set VLAN ID at datacenter level"

2020-01-29 Thread Martin Necas
Hi,

this issue was already submitted and I created the patch and already done
backport for it.
You can put the module from master to library until it's released with the
patch.

https://github.com/ansible/ansible/issues/66858

With regards,
Martin Nečas

Dne st 29. 1. 2020 10:07 uživatel Yedidyah Bar David 
napsal:

> On Wed, Jan 29, 2020 at 10:48 AM Guillaume Pavese <
> guillaume.pav...@interactiv-group.com> wrote:
>
>> so, greping for vm_network, I see
>> in 
>> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-ansible-bootstrap_local_vm-20200129085524-jufqvt.log
>>
>> 2020-01-29 09:12:34,522+0100 DEBUG ansible on_any args TASK:
>> ovirt.hosted_engine_setup : Set VLAN ID at datacenter level kwargs
>> is_conditional:False
>> 2020-01-29 09:12:34,523+0100 DEBUG ansible on_any args localhostTASK:
>> ovirt.hosted_engine_setup : Set VLAN ID at datacenter level kwargs
>> 2020-01-29 09:12:36,388+0100 DEBUG var changed: host "localhost" var
>> "ansible_failed_result" type "" value: "{
>> "_ansible_no_log": false,
>> "_ansible_parsed": true,
>> "changed": false,
>> "exception": "Traceback (most recent call last):\n  File
>> \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py\",
>> line 327, in main\n  File
>> \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py\",
>> line 592, in create\nnew_entity = self.build_entity()\n  File
>> \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py\",
>> line 175, in build_entity\n  File
>> \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py\",
>> line 327, in get_id_by_name\nraise Exception(\"Entity '%s' was not
>> found.\" % name)\nException: Entity 'None' was not found.\n",
>> "failed": true,
>> "invocation": {
>> "module_args": {
>> "clusters": null,
>> "comment": null,
>> "data_center": "Default",
>> "description": null,
>> "external_provider": null,
>> "fetch_nested": false,
>> "id": null,
>> "label": null,
>> "mtu": null,
>> "name": "ovirtmgmt",
>> "nested_attributes": [],
>> "poll_interval": 3,
>> "state": "present",
>> "timeout": 180,
>> "vlan_tag": 8,
>> "vm_network": null,
>> "wait": true
>> }
>> },
>> "msg": "Entity 'None' was not found."
>> }"
>>
>
> Did you change anything in the engine? Or just let the deploy script setup
> a default engine?
>
> Also, please check/share relevant parts from engine.log and setup log
> (/var/log/ovirt-engine/setup/*)
> from the engine VM. If it's still running, you can ssh to it from the
> host, search the logs
> for 'local_vm_ip' to find it. You might also find these logs inside the
> hosted-engine-setup
> logs dir.
>
> Adding Martin. Martin, any idea what might have caused it to fail at this
> point?
> Seems like the failing line is (from ovirt_network.py):
>
> ons_service =
> self._connection.system_service().openstack_network_providers_service()
> on_service =
> ons_service.provider_service(get_id_by_name(ons_service,
> self.param('external_provider')))
>
> I have no idea how this might be affected by whether or not you manually
> configure or not, openstack/networks etc. .
>
> Best regards,
>
>
>>
>> Guillaume Pavese
>> Ingénieur Système et Réseau
>> Interactiv-Group
>>
>>
>> On Wed, Jan 29, 2020 at 5:33 PM Guillaume Pavese <
>> guillaume.pav...@interactiv-group.com> wrote:
>>
>>> Tried again on command line without using cockpit, it fails at the same
>>> spot
>>>
>>> less
>>>  
>>> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20200129084806-26ohxb.log
>>>
>>> 2020-01-29 09:12:33,966+0100 INFO
>>> otopi.ovirt_hosted_engine_setup.ansible_utils
>>> ansible_utils._process_output:109 TASK [ovirt.hosted_engine_setup : Set
>>> VLAN ID at datacenter level]
>>> 2020-01-29 09:12:35,871+0100 DEBUG
>>> otopi.ovirt_hosted_engine_setup.ansible_utils
>>> ansible_utils._process_output:103 {u'invocation': {u'module_args':
>>> {u'comment': None, u'external_prov
>>> ider': None, u'timeout': 180, u'description': None, u'name':
>>> u'ovirtmgmt', u'poll_interval': 3, u'state': u'present',
>>> u'nested_attributes': [], u'label': None, u'fetch_nested': False
>>> , u'vm_network': None, u'data_center': u'Default', u'clusters': None,
>>> u'vlan_tag': 8, u'mtu': None, u'id': None, u'wait': True}}, u'msg':
>>> u"Entity 'None' was not found.", u'exception
>>> ': u'Traceback (most recent call last):\n  File
>>> "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py",
>>> line 327,
>>> in main\n  File
>>> 

[ovirt-users] Re: Deploy Hosted Engine fails at "Set VLAN ID at datacenter level"

2020-01-29 Thread Guillaume Pavese
To answer your question,
I used cockpit hosted engine deployment and "hosted-engine --deploy" with
default settings

Best,
Guillaume Pavese
Ingénieur Système et Réseau
Interactiv-Group


On Wed, Jan 29, 2020 at 7:36 PM Guillaume Pavese <
guillaume.pav...@interactiv-group.com> wrote:

> Thanks for looking into it.
>
> Unfortunately as soon as the setup hit this error, the playbook starts
> cleaning after itself and the vm get shutdown
> However, searching for "local_vm_ip" in /var/log/ovirt-hosted-engine-setup/
> gives :
>
> ovirt-hosted-engine-setup-20200129084806-26ohxb.log :
> 2334:2020-01-29 09:02:52,577+0100 DEBUG
> otopi.ovirt_hosted_engine_setup.ansible_utils
> ansible_utils._process_output:1
> 03 local_vm_ip: {'stderr_lines': [], u'changed': True, u'end':
> u'2020-01-29 09:02:50.884126', u'stdout': u'192.168.222.15', u'cmd':
> u"virsh -r net-dhcp-leases default | grep -i 00:16:3e:54:7f:92 | awk '{
> print $5 }' | cut -f1 -d'/'", 'failed': False, 'attempts': 3, u'stderr':
> u'', u'rc': 0, u'delta': u'0:00:00.164512', 'stdout_lines':
> [u'192.168.222.15'], u'start': u'2020-01-29 09:02:50.719614'}
>
> and
>
> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-ansible-bootstrap_local_vm-20200129085524-jufqvt.log
> :
> 2020-01-29 09:02:51,606+0100 DEBUG var changed: host "localhost" var
> "local_vm_ip" type "" value: "{
> "attempts": 3,
> "changed": true,
> "cmd": "virsh -r net-dhcp-leases default | grep -i 00:16:3e:54:7f:92 |
> awk '{ print $5 }' | cut -f1 -d'/'",
> "delta": "0:00:00.164512",
> "end": "2020-01-29 09:02:50.884126",
> "failed": false,
> "rc": 0,
> "start": "2020-01-29 09:02:50.719614",
> "stderr": "",
> "stderr_lines": [],
> "stdout": "192.168.222.15",
> "stdout_lines": [
> "192.168.222.15"
> ]
> }"
> 2020-01-29 09:02:51,606+0100 INFO ansible ok {'status': 'OK',
> 'ansible_type': 'task', 'ansible_task': u'Get local VM IP',
> 'task_duration': 22, 'ansible_host': u'localhost', 'ansible_playbook':
> u'/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml'}
>
> I uploaded the logs from /var/log/ovirt-hosted-engine-setup/ here :
> https://drive.google.com/open?id=1Z_cwfA4NpiLFnPQrW4NVZ2BPNmHweCk9
>
> Best regards,
>
> Guillaume Pavese
> Ingénieur Système et Réseau
> Interactiv-Group
>
>
> On Wed, Jan 29, 2020 at 6:07 PM Yedidyah Bar David 
> wrote:
>
>> On Wed, Jan 29, 2020 at 10:48 AM Guillaume Pavese <
>> guillaume.pav...@interactiv-group.com> wrote:
>>
>>> so, greping for vm_network, I see
>>> in 
>>> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-ansible-bootstrap_local_vm-20200129085524-jufqvt.log
>>>
>>> 2020-01-29 09:12:34,522+0100 DEBUG ansible on_any args TASK:
>>> ovirt.hosted_engine_setup : Set VLAN ID at datacenter level kwargs
>>> is_conditional:False
>>> 2020-01-29 09:12:34,523+0100 DEBUG ansible on_any args localhostTASK:
>>> ovirt.hosted_engine_setup : Set VLAN ID at datacenter level kwargs
>>> 2020-01-29 09:12:36,388+0100 DEBUG var changed: host "localhost" var
>>> "ansible_failed_result" type "" value: "{
>>> "_ansible_no_log": false,
>>> "_ansible_parsed": true,
>>> "changed": false,
>>> "exception": "Traceback (most recent call last):\n  File
>>> \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py\",
>>> line 327, in main\n  File
>>> \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py\",
>>> line 592, in create\nnew_entity = self.build_entity()\n  File
>>> \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py\",
>>> line 175, in build_entity\n  File
>>> \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py\",
>>> line 327, in get_id_by_name\nraise Exception(\"Entity '%s' was not
>>> found.\" % name)\nException: Entity 'None' was not found.\n",
>>> "failed": true,
>>> "invocation": {
>>> "module_args": {
>>> "clusters": null,
>>> "comment": null,
>>> "data_center": "Default",
>>> "description": null,
>>> "external_provider": null,
>>> "fetch_nested": false,
>>> "id": null,
>>> "label": null,
>>> "mtu": null,
>>> "name": "ovirtmgmt",
>>> "nested_attributes": [],
>>> "poll_interval": 3,
>>> "state": "present",
>>> "timeout": 180,
>>> "vlan_tag": 8,
>>> "vm_network": null,
>>> "wait": true
>>> }
>>> },
>>> "msg": "Entity 'None' was not found."
>>> }"
>>>
>>
>> Did you change anything in the engine? Or just let the deploy script
>> setup a default engine?
>>
>> Also, please check/share relevant parts from engine.log and setup log
>> (/var/log/ovirt-engine/setup/*)
>> from the engine VM. 

[ovirt-users] Re: Deploy Hosted Engine fails at "Set VLAN ID at datacenter level"

2020-01-29 Thread Guillaume Pavese
Thanks for looking into it.

Unfortunately as soon as the setup hit this error, the playbook starts
cleaning after itself and the vm get shutdown
However, searching for "local_vm_ip" in /var/log/ovirt-hosted-engine-setup/
gives :

ovirt-hosted-engine-setup-20200129084806-26ohxb.log :
2334:2020-01-29 09:02:52,577+0100 DEBUG
otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:1
03 local_vm_ip: {'stderr_lines': [], u'changed': True, u'end': u'2020-01-29
09:02:50.884126', u'stdout': u'192.168.222.15', u'cmd': u"virsh -r
net-dhcp-leases default | grep -i 00:16:3e:54:7f:92 | awk '{
print $5 }' | cut -f1 -d'/'", 'failed': False, 'attempts': 3, u'stderr':
u'', u'rc': 0, u'delta': u'0:00:00.164512', 'stdout_lines':
[u'192.168.222.15'], u'start': u'2020-01-29 09:02:50.719614'}

and

/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-ansible-bootstrap_local_vm-20200129085524-jufqvt.log
:
2020-01-29 09:02:51,606+0100 DEBUG var changed: host "localhost" var
"local_vm_ip" type "" value: "{
"attempts": 3,
"changed": true,
"cmd": "virsh -r net-dhcp-leases default | grep -i 00:16:3e:54:7f:92 |
awk '{ print $5 }' | cut -f1 -d'/'",
"delta": "0:00:00.164512",
"end": "2020-01-29 09:02:50.884126",
"failed": false,
"rc": 0,
"start": "2020-01-29 09:02:50.719614",
"stderr": "",
"stderr_lines": [],
"stdout": "192.168.222.15",
"stdout_lines": [
"192.168.222.15"
]
}"
2020-01-29 09:02:51,606+0100 INFO ansible ok {'status': 'OK',
'ansible_type': 'task', 'ansible_task': u'Get local VM IP',
'task_duration': 22, 'ansible_host': u'localhost', 'ansible_playbook':
u'/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml'}

I uploaded the logs from /var/log/ovirt-hosted-engine-setup/ here :
https://drive.google.com/open?id=1Z_cwfA4NpiLFnPQrW4NVZ2BPNmHweCk9

Best regards,

Guillaume Pavese
Ingénieur Système et Réseau
Interactiv-Group


On Wed, Jan 29, 2020 at 6:07 PM Yedidyah Bar David  wrote:

> On Wed, Jan 29, 2020 at 10:48 AM Guillaume Pavese <
> guillaume.pav...@interactiv-group.com> wrote:
>
>> so, greping for vm_network, I see
>> in 
>> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-ansible-bootstrap_local_vm-20200129085524-jufqvt.log
>>
>> 2020-01-29 09:12:34,522+0100 DEBUG ansible on_any args TASK:
>> ovirt.hosted_engine_setup : Set VLAN ID at datacenter level kwargs
>> is_conditional:False
>> 2020-01-29 09:12:34,523+0100 DEBUG ansible on_any args localhostTASK:
>> ovirt.hosted_engine_setup : Set VLAN ID at datacenter level kwargs
>> 2020-01-29 09:12:36,388+0100 DEBUG var changed: host "localhost" var
>> "ansible_failed_result" type "" value: "{
>> "_ansible_no_log": false,
>> "_ansible_parsed": true,
>> "changed": false,
>> "exception": "Traceback (most recent call last):\n  File
>> \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py\",
>> line 327, in main\n  File
>> \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py\",
>> line 592, in create\nnew_entity = self.build_entity()\n  File
>> \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py\",
>> line 175, in build_entity\n  File
>> \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py\",
>> line 327, in get_id_by_name\nraise Exception(\"Entity '%s' was not
>> found.\" % name)\nException: Entity 'None' was not found.\n",
>> "failed": true,
>> "invocation": {
>> "module_args": {
>> "clusters": null,
>> "comment": null,
>> "data_center": "Default",
>> "description": null,
>> "external_provider": null,
>> "fetch_nested": false,
>> "id": null,
>> "label": null,
>> "mtu": null,
>> "name": "ovirtmgmt",
>> "nested_attributes": [],
>> "poll_interval": 3,
>> "state": "present",
>> "timeout": 180,
>> "vlan_tag": 8,
>> "vm_network": null,
>> "wait": true
>> }
>> },
>> "msg": "Entity 'None' was not found."
>> }"
>>
>
> Did you change anything in the engine? Or just let the deploy script setup
> a default engine?
>
> Also, please check/share relevant parts from engine.log and setup log
> (/var/log/ovirt-engine/setup/*)
> from the engine VM. If it's still running, you can ssh to it from the
> host, search the logs
> for 'local_vm_ip' to find it. You might also find these logs inside the
> hosted-engine-setup
> logs dir.
>
> Adding Martin. Martin, any idea what might have caused it to fail at this
> point?
> Seems like the failing line is (from ovirt_network.py):
>
> ons_service =
> self._connection.system_service().openstack_network_providers_service()
> on_service =

[ovirt-users] Re: Understanding ovirt memory management which appears incorrect

2020-01-29 Thread Andrej Krejcir
I see you are using the engine version 4.3.7.2, but this fix is in vdsm,
since version:
vdsm-4.30.34


On Wed, 29 Jan 2020 at 10:03, Andrej Krejcir  wrote:

> Hi,
>
> you have probably hit this bug:
> https://bugzilla.redhat.com/show_bug.cgi?id=1749630
>
> It has been fixed in version 4.3.7.2.
>
>
> Best regards,
> Andrej
>
> On Wed, 29 Jan 2020 at 09:45, Divan Santana  wrote:
>
>>
>> > I've seen similar behavior before.  Have you tried to put the host in
>> > maintenance and once all VMs are moved away to reboot it ?
>>
>> We did so last night. It _did_ fix the issue!
>>
>> Shutting down the VMs on the host, putting the host in and out of
>> maintenance mode did not help. In fact it further illustrated the
>> problem.
>>
>> It took the host from 94% memory used down to 50% memory used, even
>> though there was nothing running on the host at all, and really 99% of
>> memory was available.
>>
>> Rebooting the host resolved the issue.
>>
>> I'm going to apply latest updates to a cluster and see if the issues
>> persist.
>>
>> This therefore sounds like a bug, which is quite bad. Unless there is
>> some communication issue from the engine to the host, which the reboot
>> assists with?
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct:
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives:
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/QIAWWFRVYTGEAUIBLUA7R7FLCXPTKGQ2/
>>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/WI76RKCGU6UEWD3T2O6OSDWHRXW5FFRW/


[ovirt-users] Re: Deploy Hosted Engine fails at "Set VLAN ID at datacenter level"

2020-01-29 Thread Yedidyah Bar David
On Wed, Jan 29, 2020 at 10:48 AM Guillaume Pavese <
guillaume.pav...@interactiv-group.com> wrote:

> so, greping for vm_network, I see
> in 
> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-ansible-bootstrap_local_vm-20200129085524-jufqvt.log
>
> 2020-01-29 09:12:34,522+0100 DEBUG ansible on_any args TASK:
> ovirt.hosted_engine_setup : Set VLAN ID at datacenter level kwargs
> is_conditional:False
> 2020-01-29 09:12:34,523+0100 DEBUG ansible on_any args localhostTASK:
> ovirt.hosted_engine_setup : Set VLAN ID at datacenter level kwargs
> 2020-01-29 09:12:36,388+0100 DEBUG var changed: host "localhost" var
> "ansible_failed_result" type "" value: "{
> "_ansible_no_log": false,
> "_ansible_parsed": true,
> "changed": false,
> "exception": "Traceback (most recent call last):\n  File
> \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py\",
> line 327, in main\n  File
> \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py\",
> line 592, in create\nnew_entity = self.build_entity()\n  File
> \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py\",
> line 175, in build_entity\n  File
> \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py\",
> line 327, in get_id_by_name\nraise Exception(\"Entity '%s' was not
> found.\" % name)\nException: Entity 'None' was not found.\n",
> "failed": true,
> "invocation": {
> "module_args": {
> "clusters": null,
> "comment": null,
> "data_center": "Default",
> "description": null,
> "external_provider": null,
> "fetch_nested": false,
> "id": null,
> "label": null,
> "mtu": null,
> "name": "ovirtmgmt",
> "nested_attributes": [],
> "poll_interval": 3,
> "state": "present",
> "timeout": 180,
> "vlan_tag": 8,
> "vm_network": null,
> "wait": true
> }
> },
> "msg": "Entity 'None' was not found."
> }"
>

Did you change anything in the engine? Or just let the deploy script setup
a default engine?

Also, please check/share relevant parts from engine.log and setup log
(/var/log/ovirt-engine/setup/*)
from the engine VM. If it's still running, you can ssh to it from the host,
search the logs
for 'local_vm_ip' to find it. You might also find these logs inside the
hosted-engine-setup
logs dir.

Adding Martin. Martin, any idea what might have caused it to fail at this
point?
Seems like the failing line is (from ovirt_network.py):

ons_service =
self._connection.system_service().openstack_network_providers_service()
on_service =
ons_service.provider_service(get_id_by_name(ons_service,
self.param('external_provider')))

I have no idea how this might be affected by whether or not you manually
configure or not, openstack/networks etc. .

Best regards,


>
> Guillaume Pavese
> Ingénieur Système et Réseau
> Interactiv-Group
>
>
> On Wed, Jan 29, 2020 at 5:33 PM Guillaume Pavese <
> guillaume.pav...@interactiv-group.com> wrote:
>
>> Tried again on command line without using cockpit, it fails at the same
>> spot
>>
>> less
>>  
>> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20200129084806-26ohxb.log
>>
>> 2020-01-29 09:12:33,966+0100 INFO
>> otopi.ovirt_hosted_engine_setup.ansible_utils
>> ansible_utils._process_output:109 TASK [ovirt.hosted_engine_setup : Set
>> VLAN ID at datacenter level]
>> 2020-01-29 09:12:35,871+0100 DEBUG
>> otopi.ovirt_hosted_engine_setup.ansible_utils
>> ansible_utils._process_output:103 {u'invocation': {u'module_args':
>> {u'comment': None, u'external_prov
>> ider': None, u'timeout': 180, u'description': None, u'name':
>> u'ovirtmgmt', u'poll_interval': 3, u'state': u'present',
>> u'nested_attributes': [], u'label': None, u'fetch_nested': False
>> , u'vm_network': None, u'data_center': u'Default', u'clusters': None,
>> u'vlan_tag': 8, u'mtu': None, u'id': None, u'wait': True}}, u'msg':
>> u"Entity 'None' was not found.", u'exception
>> ': u'Traceback (most recent call last):\n  File
>> "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py",
>> line 327,
>> in main\n  File
>> "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py",
>> line 592, in create\nnew_entity = self.build_entity()
>> \n  File
>> "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py",
>> line 175, in build_entity\n  File "/tmp/ansible_o
>> virt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py",
>> line 327, in get_id_by_name\n

[ovirt-users] Re: Understanding ovirt memory management which appears incorrect

2020-01-29 Thread Andrej Krejcir
Hi,

you have probably hit this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1749630

It has been fixed in version 4.3.7.2.


Best regards,
Andrej

On Wed, 29 Jan 2020 at 09:45, Divan Santana  wrote:

>
> > I've seen similar behavior before.  Have you tried to put the host in
> > maintenance and once all VMs are moved away to reboot it ?
>
> We did so last night. It _did_ fix the issue!
>
> Shutting down the VMs on the host, putting the host in and out of
> maintenance mode did not help. In fact it further illustrated the
> problem.
>
> It took the host from 94% memory used down to 50% memory used, even
> though there was nothing running on the host at all, and really 99% of
> memory was available.
>
> Rebooting the host resolved the issue.
>
> I'm going to apply latest updates to a cluster and see if the issues
> persist.
>
> This therefore sounds like a bug, which is quite bad. Unless there is
> some communication issue from the engine to the host, which the reboot
> assists with?
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/QIAWWFRVYTGEAUIBLUA7R7FLCXPTKGQ2/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JPTVQXL3FQEWO4TATWCTMJ4OP7L5LCGK/


[ovirt-users] Re: Deploy Hosted Engine fails at "Set VLAN ID at datacenter level"

2020-01-29 Thread Guillaume Pavese
so, greping for vm_network, I see
in 
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-ansible-bootstrap_local_vm-20200129085524-jufqvt.log

2020-01-29 09:12:34,522+0100 DEBUG ansible on_any args TASK:
ovirt.hosted_engine_setup : Set VLAN ID at datacenter level kwargs
is_conditional:False
2020-01-29 09:12:34,523+0100 DEBUG ansible on_any args localhostTASK:
ovirt.hosted_engine_setup : Set VLAN ID at datacenter level kwargs
2020-01-29 09:12:36,388+0100 DEBUG var changed: host "localhost" var
"ansible_failed_result" type "" value: "{
"_ansible_no_log": false,
"_ansible_parsed": true,
"changed": false,
"exception": "Traceback (most recent call last):\n  File
\"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py\",
line 327, in main\n  File
\"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py\",
line 592, in create\nnew_entity = self.build_entity()\n  File
\"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py\",
line 175, in build_entity\n  File
\"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py\",
line 327, in get_id_by_name\nraise Exception(\"Entity '%s' was not
found.\" % name)\nException: Entity 'None' was not found.\n",
"failed": true,
"invocation": {
"module_args": {
"clusters": null,
"comment": null,
"data_center": "Default",
"description": null,
"external_provider": null,
"fetch_nested": false,
"id": null,
"label": null,
"mtu": null,
"name": "ovirtmgmt",
"nested_attributes": [],
"poll_interval": 3,
"state": "present",
"timeout": 180,
"vlan_tag": 8,
"vm_network": null,
"wait": true
}
},
"msg": "Entity 'None' was not found."
}"

Guillaume Pavese
Ingénieur Système et Réseau
Interactiv-Group


On Wed, Jan 29, 2020 at 5:33 PM Guillaume Pavese <
guillaume.pav...@interactiv-group.com> wrote:

> Tried again on command line without using cockpit, it fails at the same
> spot
>
> less
>  
> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20200129084806-26ohxb.log
>
> 2020-01-29 09:12:33,966+0100 INFO
> otopi.ovirt_hosted_engine_setup.ansible_utils
> ansible_utils._process_output:109 TASK [ovirt.hosted_engine_setup : Set
> VLAN ID at datacenter level]
> 2020-01-29 09:12:35,871+0100 DEBUG
> otopi.ovirt_hosted_engine_setup.ansible_utils
> ansible_utils._process_output:103 {u'invocation': {u'module_args':
> {u'comment': None, u'external_prov
> ider': None, u'timeout': 180, u'description': None, u'name': u'ovirtmgmt',
> u'poll_interval': 3, u'state': u'present', u'nested_attributes': [],
> u'label': None, u'fetch_nested': False
> , u'vm_network': None, u'data_center': u'Default', u'clusters': None,
> u'vlan_tag': 8, u'mtu': None, u'id': None, u'wait': True}}, u'msg':
> u"Entity 'None' was not found.", u'exception
> ': u'Traceback (most recent call last):\n  File
> "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py",
> line 327,
> in main\n  File
> "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py",
> line 592, in create\nnew_entity = self.build_entity()
> \n  File
> "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py",
> line 175, in build_entity\n  File "/tmp/ansible_o
> virt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py",
> line 327, in get_id_by_name\nraise Exception("Entity \'%s\' was not
> found." % name)\
> nException: Entity \'None\' was not found.\n', u'changed': False,
> u'_ansible_no_log': False}
> 2020-01-29 09:12:35,972+0100 ERROR
> otopi.ovirt_hosted_engine_setup.ansible_utils
> ansible_utils._process_output:107 Exception: Entity 'None' was not found.
> 2020-01-29 09:12:36,073+0100 ERROR
> otopi.ovirt_hosted_engine_setup.ansible_utils
> ansible_utils._process_output:107 fatal: [localhost]: FAILED! =>
> {"changed": false, "msg": "Entity 'None' was not found."}
>
> I guess the pb may be "vm_network': None"
> but i can't find other relevant message in logs ; in engine-logs/messages
> I see that the vm gets a dhcp ip by cloudinit
>
>
> Guillaume Pavese
> Ingénieur Système et Réseau
> Interactiv-Group
>
>
> On Wed, Jan 29, 2020 at 5:13 PM Yedidyah Bar David 
> wrote:
>
>> On Wed, Jan 29, 2020 at 9:46 AM Guillaume Pavese <
>> guillaume.pav...@interactiv-group.com> wrote:
>>
>>> Hi,
>>> Trying to deploy ovirt 4.3-stable Hosted Engine with cockpit
>>>
>>> This fails with the following :
>>>
>>> [ INFO ] TASK [ovirt.hosted_engine_setup : Set VLAN 

[ovirt-users] Re: Understanding ovirt memory management which appears incorrect

2020-01-29 Thread Divan Santana

> I've seen similar behavior before.  Have you tried to put the host in
> maintenance and once all VMs are moved away to reboot it ?

We did so last night. It _did_ fix the issue!

Shutting down the VMs on the host, putting the host in and out of
maintenance mode did not help. In fact it further illustrated the
problem.

It took the host from 94% memory used down to 50% memory used, even
though there was nothing running on the host at all, and really 99% of
memory was available.

Rebooting the host resolved the issue.

I'm going to apply latest updates to a cluster and see if the issues
persist.

This therefore sounds like a bug, which is quite bad. Unless there is
some communication issue from the engine to the host, which the reboot
assists with?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QIAWWFRVYTGEAUIBLUA7R7FLCXPTKGQ2/


[ovirt-users] Re: Understanding ovirt memory management which appears incorrect

2020-01-29 Thread Divan Santana
> Maybe this could help:
> https://lists.ovirt.org/pipermail/users/2017-August/083692.html

I did read this thread before posting. I didn't see anything on that
thread that gave any useful insight to this issue.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/MX3UFTHU4HPKY5O2SDWSKF5NXUZKT5GI/


[ovirt-users] Re: Deploy Hosted Engine fails at "Set VLAN ID at datacenter level"

2020-01-29 Thread Guillaume Pavese
Tried again on command line without using cockpit, it fails at the same spot

less
 
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20200129084806-26ohxb.log

2020-01-29 09:12:33,966+0100 INFO
otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:109 TASK [ovirt.hosted_engine_setup : Set
VLAN ID at datacenter level]
2020-01-29 09:12:35,871+0100 DEBUG
otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:103 {u'invocation': {u'module_args':
{u'comment': None, u'external_prov
ider': None, u'timeout': 180, u'description': None, u'name': u'ovirtmgmt',
u'poll_interval': 3, u'state': u'present', u'nested_attributes': [],
u'label': None, u'fetch_nested': False
, u'vm_network': None, u'data_center': u'Default', u'clusters': None,
u'vlan_tag': 8, u'mtu': None, u'id': None, u'wait': True}}, u'msg':
u"Entity 'None' was not found.", u'exception
': u'Traceback (most recent call last):\n  File
"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py",
line 327,
in main\n  File
"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py",
line 592, in create\nnew_entity = self.build_entity()
\n  File
"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py",
line 175, in build_entity\n  File "/tmp/ansible_o
virt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py",
line 327, in get_id_by_name\nraise Exception("Entity \'%s\' was not
found." % name)\
nException: Entity \'None\' was not found.\n', u'changed': False,
u'_ansible_no_log': False}
2020-01-29 09:12:35,972+0100 ERROR
otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:107 Exception: Entity 'None' was not found.
2020-01-29 09:12:36,073+0100 ERROR
otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:107 fatal: [localhost]: FAILED! =>
{"changed": false, "msg": "Entity 'None' was not found."}

I guess the pb may be "vm_network': None"
but i can't find other relevant message in logs ; in engine-logs/messages I
see that the vm gets a dhcp ip by cloudinit


Guillaume Pavese
Ingénieur Système et Réseau
Interactiv-Group


On Wed, Jan 29, 2020 at 5:13 PM Yedidyah Bar David  wrote:

> On Wed, Jan 29, 2020 at 9:46 AM Guillaume Pavese <
> guillaume.pav...@interactiv-group.com> wrote:
>
>> Hi,
>> Trying to deploy ovirt 4.3-stable Hosted Engine with cockpit
>>
>> This fails with the following :
>>
>> [ INFO ] TASK [ovirt.hosted_engine_setup : Set VLAN ID at datacenter
>> level]
>> [ ERROR ] Exception: Entity 'None' was not found.
>> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg":
>> "Entity 'None' was not found."}
>>
>> Any idea?
>>
>
> Please check/share /var/log/ovirt-hosted-engine-setup/*. Thanks.
>
> Best regards,
> --
> Didi
>

-- 


Ce message et toutes les pièces jointes (ci-après le “message”) sont 
établis à l’intention exclusive de ses destinataires et sont confidentiels. 
Si vous recevez ce message par erreur, merci de le détruire et d’en avertir 
immédiatement l’expéditeur. Toute utilisation de ce message non conforme a 
sa destination, toute diffusion ou toute publication, totale ou partielle, 
est interdite, sauf autorisation expresse. L’internet ne permettant pas 
d’assurer l’intégrité de ce message . Interactiv-group (et ses filiales) 
décline(nt) toute responsabilité au titre de ce message, dans l’hypothèse 
ou il aurait été modifié. IT, ES, UK.  

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QULMN5CYEP5G75KBJK22UTYXHHUODGME/


[ovirt-users] Re: Deploy Hosted Engine fails at "Set VLAN ID at datacenter level"

2020-01-29 Thread Yedidyah Bar David
On Wed, Jan 29, 2020 at 9:46 AM Guillaume Pavese <
guillaume.pav...@interactiv-group.com> wrote:

> Hi,
> Trying to deploy ovirt 4.3-stable Hosted Engine with cockpit
>
> This fails with the following :
>
> [ INFO ] TASK [ovirt.hosted_engine_setup : Set VLAN ID at datacenter level]
> [ ERROR ] Exception: Entity 'None' was not found.
> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Entity
> 'None' was not found."}
>
> Any idea?
>

Please check/share /var/log/ovirt-hosted-engine-setup/*. Thanks.

Best regards,
-- 
Didi
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BRSN367F2DXBYXNUPKLPJSCEW2LH2GDW/


[ovirt-users] Re: new install issues

2020-01-29 Thread Yedidyah Bar David
On Wed, Jan 29, 2020 at 8:59 AM Steve Watkins  wrote:

> Very new to this, trying to work my way through it.
>
> Got everything up and running, was uploading an ISO to try and start a vm
> and then everything just disconnected.  On the host it shows the
> hostedengine as paused.  Did some digging and found the suggestion to do
> the following:
> virsh -c qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf
> resume HostedEngine
>
> which gives me the message
> Failed to acquire lock: No space left on device.
>

This might be also the reason that caused it to pause.
Searching the net for this message does find several relevant cases.

Can you check some relevant logs?

/var/log/messages
/var/log/ovirt-hosted-engine-ha/*
/var/log/vdsm/*
/var/log/sanlock.log

Also, what kind of storage do you use?
Do you use the hosted-engine storage domain for other stuff?

Best regards,
-- 
Didi
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/LOITTR4SFUW7HOCIM3D6QMNZHMRQTSGY/