Re: [ovirt-users] Is it is possible to edit the list of Operating Systems for a VM ?

2016-07-31 Thread Yanir Quinn
Hi,
What are you aiming for ?  having a filtered list in UI for a vm ?  add a
non-existing OS to the list ?

Regards
Yanir Quinn

On Fri, Jul 29, 2016 at 12:00 PM, Peter Michael Calum <pe...@tdc.dk> wrote:

> Hi,
>
> Does anyone know if it is possible to edit the list of Operating Systems
> for a VM.
> - I'd like it to, for example, "Centos Linux 6.x x64" or "Fedora xx" in
> this list.
>
> Kind regards
> Peter Calum
>
> ___
> 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] Importing *.ova appliance

2016-06-27 Thread Yanir Quinn
Hi,
A couple of questions for starters :

1. What did you use for importing the ova file ?
have you tried the uploader command : engine-image-uploader -e --name
upload 
2.Was the ova file was created by oVirt ? (the uploader tool supports only
files created by ovirt)

Regards,
Yanir Quinn




On Mon, Jun 27, 2016 at 3:37 PM, Anantha Raghava <
rag...@exzatechconsulting.com> wrote:

> Hi,
>
> How do we import a *.ova appliance in oVirt? Starting 3.6.6, we see this
> option in import dialog but, even if we specify the location of OVA files,
> it reports "did not find any VM to import".
>
> Does oVirt still not support importing OVA appliance?
> --
>
> Thanks & Regards,
> Anantha Raghava
>
> ___
> 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] oVirt 4.0 Hosted Engine

2016-08-07 Thread Yanir Quinn
Hi,

Under Clusters-> your cluster -> Scheduling policy :
1. What is your selected policy and what properties does it contains ?
2. Under Additional Properties , is "Enable HA Reservation" selected ?

Also check if your host has the necessary hooks (e.g. macspoof) as in the
first host you deployed the hosted engine on
and that it has power management enabled.

Regards,
Yanir Quinn




On Sun, Aug 7, 2016 at 4:42 PM, Arsène Gschwind <arsene.gschw...@unibas.ch>
wrote:

> Hi,
>
> I have an oVirt setup with 2 server using hosted-engine, both server
> resgistered properly the hosted-engine using :
> # hosted-engine --deploy
>
> but for some reason the second isn't recognized as a host for
> hosted-engine and I'm not able to migrate the hosted-engine.
> The error I get when trying to migrate:
>
>
>- Cannot migrate VM. There is no host that satisfies current
>scheduling constraints. See below for details:
>- The host xx did not satisfy internal filter HA because it is not
>a Hosted Engine host..
>
> I've tried to redeploy the hosted-engine but this will fail since the host
> already exists in the management DB.
> I've tried to redeploy the host using the GUI when editing the Host and
> set DEPLOY at Hosted Engine but in that case the Event just says the
> configuration was updated but nothing happens.
>
> Is there a way to check if the host is registered as hosted-engine host?
> How could I register it correctly?
>
> Let me know if you need any logs.
> Thanks for any hint.
>
> Regards,
> Arsène
>
> ___
> 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] Invitation: DeepDive: VM to host affinity @ Tue Jan 24, 2017 4pm - 4:50pm (IST) (users@ovirt.org)

2017-01-22 Thread yanir quinn
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20170124T14Z
DTEND:20170124T145000Z
DTSTAMP:20170119T133801Z
ORGANIZER;CN=yanir quinn:mailto:yani...@gmail.com
UID:rh3ink2nbv41t4qi9gok4ta...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=dfedi...@redhat.com;X-NUM-GUESTS=0:mailto:dfedi...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=yanir quinn;X-NUM-GUESTS=0:mailto:yani...@gmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=msi...@redhat.com;X-NUM-GUESTS=0:mailto:msi...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=users@ovirt.org;X-NUM-GUESTS=0:mailto:users@ovirt.org
X-GOOGLE-HANGOUT:https://plus.google.com/hangouts/_/calendar/eWFuaXJxMkBnbW
 FpbC5jb20.rh3ink2nbv41t4qi9gok4talvs
CLASS:PUBLIC
CREATED:20170119T133801Z
DESCRIPTION:This event has a Google Hangouts video call.\nJoin: https://plu
 s.google.com/hangouts/_/calendar/eWFuaXJxMkBnbWFpbC5jb20.rh3ink2nbv41t4qi9g
 ok4talvs?hs=121\n\nView your event at https://www.google.com/calendar/event
 ?action=VIEW=cmgzaW5rMm5idjQxdDRxaTlnb2s0dGFsdnMgdXNlcnNAb3ZpcnQub3Jn
 ok=MTcjeWFuaXJxMkBnbWFpbC5jb21iN2EwMWZmOGE2NzcwOTQzY2JkZjg3ZDllNTNhZDNiZGRh
 ODQwZjQ5=Asia/Jerusalem=en.
LAST-MODIFIED:20170119T133801Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:DeepDive: VM to host affinity
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR


invite.ics
Description: application/ics
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Mirgration issues

2017-02-22 Thread Yanir Quinn
I can spot in engine.log that ovirt-node03.mgmt.lan.company.lan (if it is
your host 3)  is being filtered out when trying to migrate the VM :

2017-02-21 04:32:33,618-06 INFO
[org.ovirt.engine.core.bll.MigrateVmCommand]
(org.ovirt.thread.pool-7-thread-44) [8ff8601b-238b-4565-b3bf-de6211cb4685]
Running command: MigrateVmCommand internal: false. Entitie
s affected :  ID: e051b38c-fd63-40f0-8d64-26c12ff7b880 Type: VMAction group
MIGRATE_VM with role type USER
2017-02-21 04:32:33,627-06 INFO
[org.ovirt.engine.core.bll.scheduling.SchedulingManager]
(org.ovirt.thread.pool-7-thread-44) [8ff8601b-238b-4565-b3bf-de6211cb4685]
Candidate host 'ovirt-node03.mgmt.lan.company.
lan' ('9b0feba5-d9a0-491e-b2c2-0742d30af304') was filtered out by
'VAR__FILTERTYPE__INTERNAL' filter 'HA' (correlation id:
8ff8601b-238b-4565-b3bf-de6211cb4685)

I suggest you first check if the host is functioning correctly.

Regards,
Yanir Quinn


On Tue, Feb 21, 2017 at 3:04 PM, Sven Achtelik <sven.achte...@eps.aero>
wrote:

> Hi,
>
>
>
> there is a VM running, but not that one.
>
>
>
> [root@ovirt-node02 log]#  vdsClient -s localhost list table
>
> 2e0e0da8-eaa5-44ee-8f11-f1297d149be3  14551  NAME
> Up   10.6.0.181
>
>
>
> I even tried that after restarting host 2 and at this point I’m sure there
> were no VMs running.
>
>
>
>
>
> *Von:* Fred Rolland [mailto:froll...@redhat.com]
> *Gesendet:* Dienstag, 21. Februar 2017 13:59
> *An:* Sven Achtelik <sven.achte...@eps.aero>
> *Cc:* users <users@ovirt.org>
> *Betreff:* Re: [ovirt-users] Mirgration issues
>
>
>
> I see the following in the source VDSM log :
>
> 2017-02-21 05:53:28,067 INFO  (migsrc/8733d4a6) [virt.vm]
> (vmId='8733d4a6-0844-4955-804f-6b919e93e076') starting migration to
> qemu+tls://ovirt-node02.mgmt.lan.company.lan/system with miguri tcp://
> 172.16.4.19 (migration:453)
> 2017-02-21 05:53:28,262 ERROR (migsrc/8733d4a6) [virt.vm]
> (vmId='8733d4a6-0844-4955-804f-6b919e93e076') operation failed: domain
> 'DATA_p' is already defined with uuid 8733d4a6-0844-4955-804f-6b919e93e076
> (migration:265)
>
> libvirtError: operation failed: domain 'DATA_p' is already defined with
> uuid 8733d4a6-0844-4955-804f-6b919e93e076
>
> Can you check on host 2 if you have any VM already running there ?
>
> You can use :virsh list
>
>
>
> On Tue, Feb 21, 2017 at 2:15 PM, Sven Achtelik <sven.achte...@eps.aero>
> wrote:
>
> Hi All,
>
>
>
> I’m having issues with migrating a VM. I have a 3 Host cluster and the VM
> is able to migrate between host 1 and 3, but not to host 2.  I don’t know
> why and I tried figuring this out with the log files and had no luck. All
> other VMs migrate to the host 2 without any issues.
>
>
>
> If you have some advice for me that would help a lot.
>
>
>
>
>
> Thank you,
>
>
>
> Sven
>
>
>
>
> ___
> 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] Dead engine host

2016-09-01 Thread Yanir Quinn
Did you ran engine-setup after restore ?
also worth checking your /etc/hosts files for discrepancies.

On Thu, Sep 1, 2016 at 9:24 AM, Maton, Brett 
wrote:

> My ovirt engine (physical) host died :(
>
>   I'm having real trouble creating a new engine...
>   The original database is on a remote host and is still up and runnning.
>   I installed another engine and restored 'files':
>
>   engine-backup --mode=restore --file=20160830.ovebak
> --log=/tmp/restore.log --restore-permissions --scope=files
>
>
>   How ever when I connect to the UI it wither redirects to
> localhost.localdomain and fails
>
>   Or I get
>
>   java.security.cert.CertificateException: No name matching
> localhost.localdomain found
>
> Any clues on what I need to fix, or do to deploy a new engine ?
>
>
>
> ___
> 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] ovirt-engine on Fedora 24

2016-08-30 Thread Yanir Quinn
Hi,
As Sandro said, feedback for master installation on fedora 24 would be much
appreciated .
If you encounter any installation issues feel free to share them with us.

>From my experience with installation on fedora 24 you might encounter
python compatibility issues
which can be fixed , see :
http://www.ovirt.org/blog/2016/07/ovirt-engine-4-setup-in-fedora24/

Thanks,
Yanir Quinn











On Tue, Aug 30, 2016 at 8:59 AM, Sandro Bonazzola <sbona...@redhat.com>
wrote:

>
>
> On Tue, Aug 30, 2016 at 2:14 AM, Yves Dorfsman <y...@zioup.com> wrote:
>
>>
>> Can you run ovirt on Fedora 24?
>>
>> I followed the instructions to install, both ovirt 3.6 and 4.0, both with
>> dnf
>> and yum-deprecated , but when I try to install I get
>>
>> No package ovirt-engine available.
>>
>
> Hi, ovirt 3.6 is supported only on Fedora 22.
> oVirt 4.0 supports Fedora 23 as tech preview.
> oVirt master (will become 4.1) support Fedora 24 as tech preview.
>
> Your help testing what will become oVirt 4.1 on Fedora 24 will be really
> appreciated.
> Instructions on how to install master nightlies are here:
> http://www.ovirt.org/develop/dev-process/install-nightly-snapshot/
>
>
>
>
>>
>>
>>
>> --
>> http://yves.zioup.com
>> gpg: 4096R/32B0F416
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
>
>
> --
> Sandro Bonazzola
> Better technology. Faster innovation. Powered by community collaboration.
> See how it works at redhat.com
> <https://www.redhat.com/it/about/events/red-hat-open-source-day-2016>
>
> ___
> 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] ovirt-engine on Fedora 24

2016-08-31 Thread Yanir Quinn
Martin , you might be able to shed some light regarding the ipv and httpd
question

On Wed, Aug 31, 2016 at 9:48 AM, Sandro Bonazzola <sbona...@redhat.com>
wrote:

>
>
> On Tue, Aug 30, 2016 at 10:32 PM, Yves Dorfsman <y...@zioup.com> wrote:
>
>> On 2016-08-30 02:25, Yanir Quinn wrote:
>>
>> > As Sandro said, feedback for master installation on fedora 24 would be
>> much
>> > appreciated .
>> > If you encounter any installation issues feel free to share them with
>> us.
>> >
>> > From my experience with installation on fedora 24 you might encounter
>> python
>> > compatibility issues
>> > which can be fixed , see :
>> > http://www.ovirt.org/blog/2016/07/ovirt-engine-4-setup-in-fedora24/
>> > <http://www.ovirt.org/blog/2016/07/ovirt-engine-4-setup-in-fedora24/>
>>
>> Went through the install... but httpd listens on ipv6 only. Is this
>> expected?
>> Is there a config to change to make it listen on ipv4?
>>
>
> Danken can you investigate on this ^^ ?
>
>
>
>>
>> --
>> http://yves.zioup.com
>> gpg: 4096R/32B0F416
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
>
>
> --
> Sandro Bonazzola
> Better technology. Faster innovation. Powered by community collaboration.
> See how it works at redhat.com
> <https://www.redhat.com/it/about/events/red-hat-open-source-day-2016>
>
> ___
> 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] change disk profile

2016-09-29 Thread Yanir Quinn
Hi,
Can you elaborate more on your attempts for changing / adding the disk
profile ?
Does the disk profile change to the default one even after setting a
different disk profile ?
What version are you working on ?

If you created a new disk profile (with the you're desired Qos / Unlimited)
for a storage domain
Then when adding a disk to a vm you can select a disk profile out of the
existing storage domain's disk profiles (default and the ones you created)
You can even choose to edit the vm's disk via the UI and change the disk
profile.

Regards,
Yanir Quinn

2016-09-28 17:38 GMT+03:00 vasily.lamy...@megafon.ru <
vasily.lamy...@megafon.ru>:

> Hello
>
> I change disk profile. After OK they returned to defult disk profile with
> unlimited (iops,mbs)
>
> I try add new disk and try create new vm. Always disk profile
> automatically changed to default unlimited.
>
> How can I change disk profile.
>
>
>
> *Ламыкин Василий*
>
> Старший инженер по эксплуатации сервисных платформ
>
> Столичный ф-ал ПАО "МегаФон
>
>
>
> +7 (926) 500-3308
>
> [image: МегаФон лого+знак РУС B2C]
>
>
>
> --
>
> Информация в этом сообщении предназначена исключительно для конкретных
> лиц, которым она адресована. В сообщении может содержаться конфиденциальная
> информация, которая не может быть раскрыта или использована кем-либо, кроме
> адресатов. Если вы не адресат этого сообщения, то использование,
> переадресация, копирование или распространение содержания сообщения или его
> части незаконно и запрещено. Если Вы получили это сообщение ошибочно,
> пожалуйста, незамедлительно сообщите отправителю об этом и удалите со всем
> содержимым само сообщение и любые возможные его копии и приложения.
>
> The information contained in this communication is intended solely for the
> use of the individual or entity to whom it is addressed and others
> authorized to receive it. It may contain confidential or legally privileged
> information. The contents may not be disclosed or used by anyone other than
> the addressee. If you are not the intended recipient(s), any use,
> disclosure, copying, distribution or any action taken or omitted to be
> taken in reliance on it is prohibited and may be unlawful. If you have
> received this communication in error please notify us immediately by
> responding to this email and then delete the e-mail and all attachments and
> any copies thereof.
>
> (c)20mf50
>
> ___
> 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-HA-Simulation-Error

2016-10-26 Thread Yanir Quinn
Hi Anzar ,
There is a bug for this misleading second log message :
https://bugzilla.redhat.com/show_bug.cgi?id=1314377
which is being handled for the next version.

since the second host is not available as a virtual machine a proper
message should reflect that instead of the current one you get now.

Thanks
Yanir Quinn

On Wed, Oct 26, 2016 at 2:32 PM, Anzar Sainudeen <an...@it.thumbay.com>
wrote:

> Dear Team,
>
>
>
> I am getting the below error during the hosted-Engine HA testing.
>
>
>
> Error while executing action:
>
> 1. HostedEngine:
>
>- Cannot migrate VM. There is no host that satisfies current
>scheduling constraints. See below for details:
>- The host hosted_engine_1 did not satisfy internal filter Migration
>because it currently hosts the VM..
>- The host hosted_engine_2 did not satisfy internal filter HA because
>it is not a Hosted Engine host..
>
>
>
> 2. Second is hosted_engine_2 is not available as a virtual machine.
>
>
>
>
>
>
>
>
>
>
> *Anzar SainudeenDatacenter **Infrastructure*
> * Incharge**IT Infrastructure Division*
>
> *Tel: +971 6 7431333 Ext: 1303 <%2B971%206%207431333%20Ext%3A%201303>Mob:
> +971 55 8633699 <%2B971%2055%208633699> *
>
> *Email:  an...@it.thumbay.com <an...@it.thumbay.com> Web: www.thumbay.com
> <http://www.thumbay.com/>*
>
> [image: Description:
> https://docs.google.com/uc?export=download=0ByrcJpYbMetaVExqQzBrVldnVkU=0ByrcJpYbMetaYWNlWlJuc2hCdGZiR0swM25wdzhwODBBeXk0PQ]
>
> *DUBAI I SHARJAH I AJMAN I UMM AL QUWAIN I RAS AL KHAIMAH I FUJAIRAH I
> INDIA*
>
>
>
> Disclaimer: This message contains confidential information and is intended
> only for the individual named. If you are not the named addressee, you are
> hereby notified that disclosing, copying, distributing or taking any action
> in reliance on the contents of this e-mail is strictly prohibited. Please
> notify the sender immediately by e-mail if you have received this e-mail by
> mistake, and delete this material. Thumbay Group accepts no liability for
> errors or omissions in the contents of this message, which arise as a
> result of e-mail transmission.
>
>
>
>
>
>
>
> ___
> 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] HE working fine, but still strange messages in /var/log/messages

2016-12-06 Thread Yanir Quinn
Hi Juan,

You probably see these repeating messages since ovirt-ha-agent is opening
and closing multiple connections.

see BZ:

https://bugzilla.redhat.com/show_bug.cgi?id=1349829

This is probably harmless in the overall picture.

Regards
Yanir Quinn

On Tue, Dec 6, 2016 at 5:38 PM, Juan Pablo <pablo.localh...@gmail.com>
wrote:

> Hi,
> first of all, thanks to all the community!
> I have Hosted Engine working with no apparent issues I just have the
> followiing filling my log messages
> :
> ovirt-ha-broker: 
> INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection
> closed
> ovirt-ha-broker: 
> INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection
> established
> journal: vdsm vds.dispatcher ERROR SSL error during reading data:
> unexpected eof
> ovirt-ha-agent: 
> INFO:ovirt_hosted_engine_ha.lib.storage_server.StorageServer:Connecting
> storage server
> ovirt-ha-agent: 
> INFO:ovirt_hosted_engine_ha.lib.storage_server.StorageServer:Refreshing
> the storage domain
> ovirt-ha-agent: 
> INFO:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:Preparing
> images
>
> how can I fix this?
> I deployed the HE with cockpit, then deployed the next hosts with hosted
> engine via UI.
>
> regards,
>
>
> ___
> 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] Ovirt 4.0 to 4.1 CentOS7.3 and libvirtd 2.0.0 segfault issue

2017-04-18 Thread Yanir Quinn
Hi Rafal
not sure it relates to your issue, but i experienced a similar issue with
segfault (running on fedora 25)
to resolve it i had to remove glibc packages and then install them again
(maybe a same workaround for libvirt will do the job here)

Regards
Yanir Quinn

On Tue, Apr 18, 2017 at 9:32 AM, Francesco Romani <from...@redhat.com>
wrote:

>
>
> On 04/18/2017 08:09 AM, Rafał Wojciechowski wrote:
> >
> > hello,
> >
> > I made comparison(+diff) between xml passing through vdsm which is
> > working and another one which cause libvirtd segfault
> >
> > https://paste.fedoraproject.org/paste/eqpe8Byu2l-
> 3SRdXc6LTLl5M1UNdIGYhyRLivL9gydE=
> >
> >
> > I am not sure if below setting are fine but I dont know how to change
> them
> >
> > 
> > (I dont have so much ram and vgamem)
> >
>
> those are kibibytes though
> (https://libvirt.org/formatdomain.html#elementsVideo), are pretty
> conservarvative settings
> >
> >  > passwdValidTo="1970-01-01T00:00:01" port="-1" tlsPort="-1" type="spice">
> > (ports with "-"? maybe it is fine because of autoport settings...)
> >
>
> Yes, "-1" means "autoallocation from libvirt".
> I don't see obvious issues in this XML, and, most importantly, one
> invalid XML should never cause libvirtd to segfault.
>
> I'd file a libvirt bug.
>
>
> --
> Francesco Romani
> Senior SW Eng., Virtualization R
> Red Hat
> IRC: fromani github: @fromanirh
>
> ___
> 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 increase memory

2017-07-30 Thread Yanir Quinn
Hi,
In order to increase the memory allocation or the cpu cores of the hosted
engine VM, the VM must be brought down and the vm.conf configuration file
must be edited on every hypervisor:

Set global maintenance mode from the hypervisor the VM is currently running
on:
# hosted-engine --set-maintenance --mode=global

Cleanly shutdown the engine VM:
# hosted-engine --vm-shutdown
Makes sure the VM is Down and not 'Powering Off' before proceeding:
# hosted-engine --vm-status
Edit /etc/ovirt-hosted-engine/vm.conf on *each* hypervisor, and change
these lines to whatever amount of RAM in MB / CPU cores you wish the
VM to have:

memSize=4096
smp=1   *smp = number of virtual cores*

Start the VM again:# hosted-engine --vm-start
And take it out of maintenance mode:
# hosted-engine --set-maintenance --mode=none

Regards,
Yanir Quinn


On Sat, Jul 29, 2017 at 1:36 AM, gregor <gregor_fo...@catrix.at> wrote:

> Hi,
>
> is it possible to increase the memory of an hosted engine after the
> installation?
>
> cheers
> gregor
> ___
> 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] ovirt and mixed selinux

2017-07-30 Thread Yanir Quinn
As far as it goes for RHEV:

- Virtual machine migration will fail if migrating from a hypervisor with
SELinux enabled to one with SELinux disabled
- A virtual machine previously started on a hypervisor with SELinux enabled
will not start on a hypervisor with SELinux disable.

RHEV manages the SELinux configuration on RHEV Hypervisors in a persistent
state, SELinux is enabled by default.

You'll need to run sestatus as a superuser on each host in the cluster and
observe the output,
evaluate each host in the cluster to make sure the setting for "SELinux
status" is consistent.

Regards,
Yanir Quinn

On Sat, Jul 29, 2017 at 12:21 AM, Bill James <bill.ja...@j2.com> wrote:

> I was hoping to migrate my systems to using selinux gradually.
> I added 3 new nodes with selinux in permissive mode.
> Migration fails to any of the previous hosts that currently have selinux
> disabled.
> Is it an all or nothing deal? Obviously not easy to reboot all nodes at
> once.
>
> 2017-07-28 09:35:43,616 ERROR (migsrc/8c566813) [virt.vm]
> (vmId='8c566813-4bee-4f04-be23-c9fc10e1e1f2') unsupported configuration:
> Unable to find security driver for model selinux (migration:265)
> 2017-07-28 09:35:43,641 ERROR (migsrc/8c566813) [virt.vm]
> (vmId='8c566813-4bee-4f04-be23-c9fc10e1e1f2') Failed to migrate
> (migration:405)
> Traceback (most recent call last):
>
>
> ovirt-engine-4.1.0.4-1.el7.centos.noarch
> libselinux-utils-2.5-6.el7.x86_64
>
>
> related: http://lists.ovirt.org/pipermail/users/2016-October/076878.html
>
> ___
> 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] Yum error while installing host on Centos7

2017-07-30 Thread Yanir Quinn
Might be a selinux related issue, similar threads suggest either to disable
selinux completely or run on host:

# setenforce 0
# yum clean expire-cache
# yum update selinux-policy\*
# setenforce 1

keeping an eye out for other reasons/solutions.

Regards,
Yanir Quinn

On Thu, Jul 27, 2017 at 5:32 PM, Iurcev, Massimiliano <miur...@inogs.it>
wrote:

> I installed ovirt-engine on Centos7. My target is to have a single host
> machine.
> During the installation of the (first and unique) host, I get an error:
>
> Failed to install Host . Yum Non-fatal POSTIN scriptlet failure in rpm
> package gtk2-2.24.28-8.el7.x86_64.
>
> This error is followed by other errors:
>
> Failed to install Host . Failed to execute stage 'Package
> installation': One or more elements within Yum transaction failed.
>
> and finally:
> Host  installation failed. Command returned failure code 1 during SSH
> session 'r...@.mydomain.it'.
>
> All other libraries are yum-installed without problems.
>
> ___
> 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] Yum error while installing host on Centos7

2017-08-01 Thread Yanir Quinn
where did you manually install the packages ?  engine or host machine ?
you can you provide the engine.log to see what might cause the error on the
engine's side.
maybe rollback the last yum transaction you did and try to run the engine
again.

as far as for the host installation you might need to check the exiting
repositories (Cenots or other existing repos on the machine)
, its not recommended to use --skip-broken usually when adding a host.



On Tue, Aug 1, 2017 at 11:51 AM, Iurcev, Massimiliano <miur...@inogs.it>
wrote:

> Unfortunately this didn't work. I tried also to disable totally selinux
> without success.
>
> Then I decided to install gtk2 manually with the --skip-broken option, and
> apparently everything went fine.
> After this, the host installation goes on without errors.
> It says "Installation is closing up", then gets stuck indefinitely.
> Now the host-engine looks dead or messed up, even after a reboot... more
> in detail, the web portal is no longer accessible. :(
>
>
>
> On 30 July 2017 at 10:58, Yanir Quinn <yqu...@redhat.com> wrote:
>
>> Might be a selinux related issue, similar threads suggest either to
>> disable selinux completely or run on host:
>>
>> # setenforce 0
>> # yum clean expire-cache
>> # yum update selinux-policy\*
>> # setenforce 1
>>
>> keeping an eye out for other reasons/solutions.
>>
>> Regards,
>> Yanir Quinn
>>
>> On Thu, Jul 27, 2017 at 5:32 PM, Iurcev, Massimiliano <miur...@inogs.it>
>> wrote:
>>
>>> I installed ovirt-engine on Centos7. My target is to have a single host
>>> machine.
>>> During the installation of the (first and unique) host, I get an error:
>>>
>>> Failed to install Host . Yum Non-fatal POSTIN scriptlet failure in
>>> rpm package gtk2-2.24.28-8.el7.x86_64.
>>>
>>> This error is followed by other errors:
>>>
>>> Failed to install Host . Failed to execute stage 'Package
>>> installation': One or more elements within Yum transaction failed.
>>>
>>> and finally:
>>> Host  installation failed. Command returned failure code 1 during
>>> SSH session 'r...@.mydomain.it'.
>>>
>>> All other libraries are yum-installed without problems.
>>>
>>> ___
>>> 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] After upgrading to 4.1.4 unable to start VM or migrate them

2017-08-02 Thread Yanir Quinn
Can you list the steps you did for the upgrade procedure ? (did you follow
a specific guide perhaps ?)


On Tue, Aug 1, 2017 at 5:37 PM, Arman Khalatyan <arm2...@gmail.com> wrote:

> It is unclear now, I am not able to reproduce the error...probably
> changing the policy fixed the "null" record in the database.
> My upgrade went w/o error from 4.1.3 to 4.1.4.
> The engine.log from yesterday is here: with the password:BUG
> https://cloud.aip.de/index.php/s/N6xY0gw3GdEf63H (I hope I am not
> imposing the sensitive data:)
> <https://cloud.aip.de/index.php/s/N6xY0gw3GdEf63H>
>
> most often errors are:
> 2017-07-31 15:17:08,547+02 ERROR [org.ovirt.engine.core.bll.MigrateVmCommand]
> (default task-263) [47ea10c5-0152-4512-ab07-086c59370190] Error during
> ValidateFailure.: java.lang.NullPointerException
>
> and
>
> 2017-07-31 15:17:10,729+02 ERROR 
> [org.ovirt.engine.core.utils.timer.SchedulerUtilQuartzImpl]
> (DefaultQuartzScheduler4) [11ad31d3] Failed to invoke scheduled method
> performLoadBalancing: null
>
> On Tue, Aug 1, 2017 at 12:01 PM, Doron Fediuck <dfedi...@redhat.com>
> wrote:
>
>> Yes, none is a valid policy assuming you don't need any special
>> considerations when running a VM.
>> If you could gather the relevant log entries and the error you see and
>> open a new bug it'll help us
>> track and fix the issue.
>> Please specify exactly from which engine version you upgraded and into
>> which version.
>>
>> On 1 August 2017 at 11:47, Arman Khalatyan <arm2...@gmail.com> wrote:
>>
>>> Thank you for your response,
>>> I am looking now in to records of the menu "Scheduling Policy": there is
>>> an entry "none", is it suppose to be there??
>>> Because when I selecting it then error occurs.
>>>
>>>
>>> On Tue, Aug 1, 2017 at 10:35 AM, Yanir Quinn <yqu...@redhat.com> wrote:
>>>
>>>> Thanks for the update, we will check if there is a bug in the upgrade
>>>> process
>>>>
>>>> On Mon, Jul 31, 2017 at 6:32 PM, Arman Khalatyan <arm2...@gmail.com>
>>>> wrote:
>>>>
>>>>> Ok I found the ERROR:
>>>>> After upgrade the schedule policy was "none", I dont know why it was
>>>>> moved to none but to fix the problem I did following:
>>>>> Edit Cluster->Scheduling Policy-> Select Policy: vm_evently_distributed
>>>>> Now I can run/migrate the VMs.
>>>>>
>>>>> I think there should be a some bug in the upgrade process.
>>>>>
>>>>>
>>>>> On Mon, Jul 31, 2017 at 5:11 PM, Arman Khalatyan <arm2...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Looks like renewed certificates problem, in the
>>>>>> ovirt-engine-setup-xx-xx.log I found following lines:
>>>>>> Are there way to fix it?
>>>>>>
>>>>>>
>>>>>> 2017-07-31 15:14:28 DEBUG otopi.plugins.ovirt_engine_set
>>>>>> up.ovirt_engine.pki.ca ca._enrollCertificates:330 processing:
>>>>>> 'engine'[renew=True]
>>>>>> 2017-07-31 15:14:28 DEBUG otopi.plugins.ovirt_engine_set
>>>>>> up.ovirt_engine.pki.ca plugin.executeRaw:813 execute:
>>>>>> ('/bin/openssl', 'pkcs12', '-in', 
>>>>>> '/etc/pki/ovirt-engine/keys/engine.p12',
>>>>>> '-passin', 'pass:**FILTERED**', '-nokeys'), executable='None', 
>>>>>> cwd='None',
>>>>>> env=None
>>>>>> 2017-07-31 15:14:28 DEBUG otopi.plugins.ovirt_engine_set
>>>>>> up.ovirt_engine.pki.ca plugin.executeRaw:863 execute-result:
>>>>>> ('/bin/openssl', 'pkcs12', '-in', 
>>>>>> '/etc/pki/ovirt-engine/keys/engine.p12',
>>>>>> '-passin', 'pass:**FILTERED**', '-nokeys'), rc=0
>>>>>> 2017-07-31 15:14:28 DEBUG otopi.plugins.ovirt_engine_set
>>>>>> up.ovirt_engine.pki.ca plugin.execute:921 execute-output:
>>>>>> ('/bin/openssl', 'pkcs12', '-in', 
>>>>>> '/etc/pki/ovirt-engine/keys/engine.p12',
>>>>>> '-passin', 'pass:**FILTERED**', '-nokeys') stdout:
>>>>>> Bag Attributes
>>>>>>
>>>>>>
>>>>>> On Mon, Jul 31, 2017 at 4:54 PM, Arman Khalatyan <arm2...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Sorry, I forgot to mention the e

Re: [ovirt-users] Scheduling policy time interval and others

2017-08-13 Thread Yanir Quinn
Hi,

These properties are a part of load balancing (you will either get them
with default values when selecting one of the pre-defined scheduling
policies that include load balancing or you can set them when
creating/editing a new scheduling policy with load balancing)

Regarding the example above , HighUtilization and
CpuOverCommitDurationMinutes are intertwined.
HighUtilization or other similar properties will use to determine if the
cpu/memory load for a host is outside of utilization values (determination
of under utilized hosts / over utilized hosts)
- these will be taken into account if the defined
CpuOverCommitDurationMinutes property has passed   (and you can see the
connection the other way around)

Regards,
Yanir Quinn


On Sun, Aug 13, 2017 at 12:01 PM, Artyom Lukianov <aluki...@redhat.com>
wrote:

> You can set these parameters under Cluster Edit Dialog -> Scheduling
> Policies.
>
> Best Regards
>
> On Sat, Aug 12, 2017 at 9:19 PM, wodel youchi <wodel.you...@gmail.com>
> wrote:
>
>> Hi,
>>
>> When reading about scheduling policy, I am faced with some variables, but
>> I cannot find any explanation on how they are defined or where are they
>> defined.
>>
>> For example :
>> - HighUtilization: Expressed as a percentage. If the host runs with CPU
>> usage at or above the high utilization value for the* defined time
>> interval*.
>>
>> - CpuOverCommitDurationMinutes: Sets the time (in minutes) that a host
>> can run a CPU load outside of the* defined utilization values* before
>> the scheduling policy takes action.
>>
>> Time interval and utilization values, where are these values?
>>
>> Regards.
>>
>>
>> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>
>>  Garanti
>> sans virus. www.avast.com
>> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>
>> <#m_-7399723078963394630_m_-3386163909074915278_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>> ___
>> 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] Cannot set a quota to limit resources for each user

2017-08-06 Thread Yanir Quinn
Hi,
to get a reference for users and roles for a specific quota you can use:

.../ovirt-engine/api/datacenters/{datacenter: id}/quotas/{quota:
id}/permissions


for example:

GET
http://localhost:8080/ovirt-engine/api/datacenters/59746a95-0352-0329-02fd-026f/quotas/a86e8efd-7650-412d-8e3d-5d9729e891d6/permissions

result:






 



 



 
 

Regards,
Yanir Quinn






On Fri, Aug 4, 2017 at 1:01 PM, Staniforth, Paul <
p.stanifo...@leedsbeckett.ac.uk> wrote:

> Hi Soumya,
> You can copy  quotas, what I can't figure out is how
> to set a consumer from the API.
>
> In table 7.263 Attributes Summary at
> https://access.redhat.com/documentation/en-us/red_hat_
> virtualization/4.1/html/rest_api_guide/types#types-quota
>
> it show a users attribute but I only get
>
>  id="7e3f074f-9911-40b8-a8ed-a52f7e933fff">
> testcli
>  rel="permissions"/>
>  rel="quotastoragelimits"/>
>  rel="quotaclusterlimits"/>
> 20
> 80
>  href="/ovirt-engine/api/datacenters/0001-0001-0001-0001-012f"
> id="0001-0001-0001-0001-012f"/>
> 20
> 80
> 
>
> Regards,
>Paul S.
>
> 
> From: users-boun...@ovirt.org <users-boun...@ovirt.org> on behalf of
> Soumya Koduri <skod...@redhat.com>
> Sent: 03 August 2017 15:16
> To: Artyom Lukianov
> Cc: users
> Subject: Re: [ovirt-users] Cannot set a quota to limit resources for each
>  user
>
> Hi Artyom,
>
> On 08/03/2017 04:07 PM, Artyom Lukianov wrote:
> > Hi Soumya,
> >
> >  1. Yes, you correct a quota is shared among all quota consumers.
> >  2. No, it not possible, the single possibility as you said is to create
> > a separate quota for each user. I believe it was designed to make
> > quota for group of users at first place, but I think it can be a
> > good RFE :)
>
> Thanks for confirming. I shall file a RFE then.
>
> Regards,
> Soumya
>
> >
> > Best Regards
> >
> > On Thu, Aug 3, 2017 at 10:54 AM, Soumya Koduri <skod...@redhat.com
> > <mailto:skod...@redhat.com>> wrote:
> >
> > Hi,
> >
> > We have a use-case to limit VM resources for each user and were
> > following guidelines specified in the admin guide to set quota and
> > limit resources for each user [section:  16.8. Using Quota to Limit
> > Resources by User]. However looks like that quota is shared by all
> > the users added as consumers.
> >
> > Suppose I have created a quota (say quota1) to limit the storage
> > capacity to 100GB for each user. Once I add user1 and user2 as
> > consumers to that quota, seems like both users combined are entitled
> > to 100GB. Is my understanding correct?
> >
> > Please let me know if there is any way to configure a single quota
> > which could be applied for each user individually (i.e, in the above
> > eg., each user should be limited to 100GB storage capacity).
> >
> > Or is the only way this can be done is by creating separate quota
> > for each user [which seems like tedious process and cannot scale]?
> >
> >
> > Thanks,
> > Soumya
> > ___
> > Users mailing list
> > Users@ovirt.org <mailto:Users@ovirt.org>
> > http://lists.ovirt.org/mailman/listinfo/users
> > <http://lists.ovirt.org/mailman/listinfo/users>
> >
> >
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> To view the terms under which this email is distributed, please go to:-
> http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
> ___
> 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] After upgrading to 4.1.4 unable to start VM or migrate them

2017-08-01 Thread Yanir Quinn
Thanks for the update, we will check if there is a bug in the upgrade
process

On Mon, Jul 31, 2017 at 6:32 PM, Arman Khalatyan  wrote:

> Ok I found the ERROR:
> After upgrade the schedule policy was "none", I dont know why it was moved
> to none but to fix the problem I did following:
> Edit Cluster->Scheduling Policy-> Select Policy: vm_evently_distributed
> Now I can run/migrate the VMs.
>
> I think there should be a some bug in the upgrade process.
>
>
> On Mon, Jul 31, 2017 at 5:11 PM, Arman Khalatyan 
> wrote:
>
>> Looks like renewed certificates problem, in the
>> ovirt-engine-setup-xx-xx.log I found following lines:
>> Are there way to fix it?
>>
>>
>> 2017-07-31 15:14:28 DEBUG otopi.plugins.ovirt_engine_set
>> up.ovirt_engine.pki.ca ca._enrollCertificates:330 processing:
>> 'engine'[renew=True]
>> 2017-07-31 15:14:28 DEBUG otopi.plugins.ovirt_engine_set
>> up.ovirt_engine.pki.ca plugin.executeRaw:813 execute: ('/bin/openssl',
>> 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/engine.p12', '-passin',
>> 'pass:**FILTERED**', '-nokeys'), executable='None', cwd='None', env=None
>> 2017-07-31 15:14:28 DEBUG otopi.plugins.ovirt_engine_set
>> up.ovirt_engine.pki.ca plugin.executeRaw:863 execute-result:
>> ('/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/engine.p12',
>> '-passin', 'pass:**FILTERED**', '-nokeys'), rc=0
>> 2017-07-31 15:14:28 DEBUG otopi.plugins.ovirt_engine_set
>> up.ovirt_engine.pki.ca plugin.execute:921 execute-output:
>> ('/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/engine.p12',
>> '-passin', 'pass:**FILTERED**', '-nokeys') stdout:
>> Bag Attributes
>>
>>
>> On Mon, Jul 31, 2017 at 4:54 PM, Arman Khalatyan 
>> wrote:
>>
>>> Sorry, I forgot to mention the error.
>>> This error throws every time when I try to start the VM:
>>>
>>> 2017-07-31 16:51:07,297+02 ERROR [org.ovirt.engine.core.bll.RunVmCommand]
>>> (default task-239) [7848103c-98dc-45d1-b99a-4713e3b8e956] Error during
>>> ValidateFailure.: java.lang.NullPointerException
>>> at org.ovirt.engine.core.bll.scheduling.SchedulingManager.canSc
>>> hedule(SchedulingManager.java:526) [bll.jar:]
>>> at 
>>> org.ovirt.engine.core.bll.validator.RunVmValidator.canRunVm(RunVmValidator.java:157)
>>> [bll.jar:]
>>> at 
>>> org.ovirt.engine.core.bll.RunVmCommand.validate(RunVmCommand.java:967)
>>> [bll.jar:]
>>> at 
>>> org.ovirt.engine.core.bll.CommandBase.internalValidate(CommandBase.java:836)
>>> [bll.jar:]
>>> at 
>>> org.ovirt.engine.core.bll.CommandBase.validateOnly(CommandBase.java:365)
>>> [bll.jar:]
>>> at org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner
>>> .canRunActions(PrevalidatingMultipleActionsRunner.java:113) [bll.jar:]
>>> at org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner
>>> .invokeCommands(PrevalidatingMultipleActionsRunner.java:99) [bll.jar:]
>>> at org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner
>>> .execute(PrevalidatingMultipleActionsRunner.java:76) [bll.jar:]
>>> at 
>>> org.ovirt.engine.core.bll.Backend.runMultipleActionsImpl(Backend.java:640)
>>> [bll.jar:]
>>> at 
>>> org.ovirt.engine.core.bll.Backend.runMultipleActions(Backend.java:610)
>>> [bll.jar:]
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> [rt.jar:1.8.0_141]
>>> at 
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>> [rt.jar:1.8.0_141]
>>> at 
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> [rt.jar:1.8.0_141]
>>> at java.lang.reflect.Method.invoke(Method.java:498)
>>> [rt.jar:1.8.0_141]
>>> at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.
>>> processInvocation(ManagedReferenceMethodInterceptor.java:52)
>>> at org.jboss.invocation.InterceptorContext.proceed(InterceptorC
>>> ontext.java:340)
>>> at org.jboss.invocation.InterceptorContext$Invocation.proceed(I
>>> nterceptorContext.java:437)
>>> at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.delegateInte
>>> rception(Jsr299BindingsInterceptor.java:70)
>>> [wildfly-weld-10.1.0.Final.jar:10.1.0.Final]
>>> at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInte
>>> rception(Jsr299BindingsInterceptor.java:80)
>>> [wildfly-weld-10.1.0.Final.jar:10.1.0.Final]
>>> at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvoc
>>> ation(Jsr299BindingsInterceptor.java:93) [wildfly-weld-10.1.0.Final.jar
>>> :10.1.0.Final]
>>> at org.jboss.as.ee.component.interceptors.UserInterceptorFactor
>>> y$1.processInvocation(UserInterceptorFactory.java:63)
>>> at org.jboss.invocation.InterceptorContext.proceed(InterceptorC
>>> ontext.java:340)
>>> at org.jboss.invocation.InterceptorContext$Invocation.proceed(I
>>> nterceptorContext.java:437)
>>> at 

Re: [ovirt-users] hosted-engine network

2017-06-21 Thread Yanir Quinn
HI Arsene

Just to be clear, can you write down the steps to reproduce ? (the
migration procedure . and if possible the state before and after)

Thanks

On Mon, Jun 19, 2017 at 8:34 PM, Arsène Gschwind <arsene.gschw...@unibas.ch>
wrote:

> Hi Jenny,
>
> Thanks for the explanations..
>
> Please find vm.conf attached, it looks like the ovirtmgmt network is
> defined
>
> Regards,
> Arsène
>
> On 06/19/2017 01:46 PM, Evgenia Tokar wrote:
>
> Hi,
>
> It should be in one of the directories on your storage domain:
> /cd1f6775-61e9-4d04-b41c-c64925d5a905/images//
>
> To see which one you can run the following command:
>
> vdsm-client Volume getInfo volumeID= imageID=
> storagedomainID= storagepoolID=
>
> the storage domain id is: cd1f6775-61e9-4d04-b41c-c64925d5a905
> the storage pool id can be found using: vdsm-client StorageDomain getInfo
> storagedomainID=cd1f6775-61e9-4d04-b41c-c64925d5a905
>
> The volume that has "description": "HostedEngineConfigurationImage" is
> the one you are looking for.
> Untar it and it should contain the original vm.conf which was used to
> start the hosted engine.
>
> Jenny Tokar
>
>
> On Mon, Jun 19, 2017 at 12:59 PM, Arsène Gschwind <
> arsene.gschw...@unibas.ch> wrote:
>
>> Hi Jenny,
>>
>> 1. I couldn't locate any tar file containing vm.conf, do you know the
>> exact place where it is stored?
>>
>> 2. The ovirtmgmt appears in the network dropdown but I'm not able to
>> change since it complains about locked values.
>>
>> Thanks a lot for your help.
>>
>> Regards,
>> Arsène
>>
>>
>>
>> On 06/14/2017 01:26 PM, Evgenia Tokar wrote:
>>
>> Hi Arseny,
>>
>> Looking at the log the ovf doesn't contain the ovirtmgmt network.
>>
>> 1. Can you provide the original vm.conf file the engine was started with?
>> It is located in a tar archive on your storage domain.
>> 2. It's uncelar from the screenshot, in the network dropdown do you have
>> an option to add a ovirtmgmt network?
>>
>> Thanks,
>> Jenny
>>
>>
>> On Tue, Jun 13, 2017 at 11:19 AM, Arsène Gschwind <
>> arsene.gschw...@unibas.ch> wrote:
>>
>>> Sorry for that, I haven't checked.
>>>
>>> I've replaced the log file with a new version which should work i hope.
>>>
>>> Many Thanks.
>>>
>>> Regards,
>>> Arsène
>>>
>>> On 06/12/2017 02:33 PM, Martin Sivak wrote:
>>>
>>> I am sorry to say so, but it seems the log archive is corrupted. I
>>> can't open it.
>>>
>>> Regards
>>>
>>> Martin Sivak
>>>
>>> On Mon, Jun 12, 2017 at 12:47 PM, Arsène 
>>> Gschwind<arsene.gschw...@unibas.ch> <arsene.gschw...@unibas.ch> wrote:
>>>
>>> Please find the logs 
>>> here:https://www.dropbox.com/sh/k2zk7ig4tbd9tnj/AAB2NKjVk2z6lVPQ15NIeAtCa?dl=0
>>>
>>> Thanks.
>>>
>>> Regards,
>>> Arsène
>>>
>>> Hi,
>>>
>>> Sorry for this, it seems that the attachment have been detached.
>>>
>>> So let's try again
>>>
>>> Regards,
>>> Arsène
>>>
>>>
>>> On 06/12/2017 11:59 AM, Martin Sivak wrote:
>>>
>>> Hi,
>>>
>>> I would love to help you, but I didn't get the log file..
>>>
>>> Regards
>>>
>>> Martin Sivak
>>>
>>> On Mon, Jun 12, 2017 at 11:49 AM, Arsène 
>>> Gschwind<arsene.gschw...@unibas.ch> <arsene.gschw...@unibas.ch> wrote:
>>>
>>> Hi all,
>>>
>>> Any chance to get help or a hint to solve my Problem, I have no idea how to
>>> change this configuration since it is not possible using the WebUI.
>>>
>>> Thanks a lot.
>>>
>>> Regards,
>>> Arsène
>>>
>>>
>>> On 06/07/2017 11:50 AM, Arsène Gschwind wrote:
>>>
>>> Hi all,
>>>
>>> Please find attached the agent.log DEBUG and a screenshot from webui
>>>
>>> Thanks a lot
>>>
>>> Best regards,
>>>
>>> Arsène
>>>
>>>
>>> On 06/07/2017 11:27 AM, Martin Sivak wrote:
>>>
>>> Hi all,
>>>
>>> Yanir is right, the local vm.conf is just a cache of what was
>>> retrieved from the engine.
>>>
>>> I might be interesting to check what the configuration of the engine
>>> VM shows when edited using the webadmin. Or enab

Re: [ovirt-users] HostedEngine VM not visible, but running

2017-06-22 Thread Yanir Quinn
HI,
First of all, maybe a chain reaction of :
WARN  [org.ovirt.engine.core.bll.exportimport.ImportVmCommand]
(org.ovirt.thread.pool-6-thread-23) [] Validation of action 'ImportVm'
failed for user SYSTEM. Reasons: VAR__ACTION__IMPORT
,VAR__TYPE__VM,ACTION_TYPE_FAILED_ILLEGAL_VM_DISPLAY_TYPE_IS_NOT_SUPPORTED_BY_OS
is causing the hosted engine vm not to be set up correctly  and further
actions were made when the hosted engine vm wasnt in a stable state.

As for now, are you trying to revert back to a previous/initial state ?

Regards,
Yanir

On Wed, Jun 21, 2017 at 4:32 PM, cmc  wrote:

> Hi Jenny/Martin,
>
> Any idea what I can do here? The hosted engine VM has no log on any
> host in /var/log/libvirt/qemu, and I fear that if I need to put the
> host into maintenance, e.g., to upgrade it that I created it on (which
> I think is hosting it), or if it fails for any reason, it won't get
> migrated to another host, and I will not be able to manage the
> cluster. It seems to be a very dangerous position to be in.
>
> Thanks,
>
> Cam
>
> On Wed, Jun 21, 2017 at 11:48 AM, cmc  wrote:
> > Thanks Martin. The hosts are all part of the same cluster.
> >
> > I get these errors in the engine.log on the engine:
> >
> > 2017-06-19 03:28:05,030Z WARN
> > [org.ovirt.engine.core.bll.exportimport.ImportVmCommand]
> > (org.ovirt.thread.pool-6-thread-23) [] Validation of action 'ImportVm'
> > failed for user SYST
> > EM. Reasons: VAR__ACTION__IMPORT,VAR__TYPE__VM,ACTION_TYPE_FAILED_
> ILLEGAL_VM_DISPLAY_TYPE_IS_NOT_SUPPORTED_BY_OS
> > 2017-06-19 03:28:05,030Z INFO
> > [org.ovirt.engine.core.bll.exportimport.ImportVmCommand]
> > (org.ovirt.thread.pool-6-thread-23) [] Lock freed to object
> > 'EngineLock:{exclusiveLocks='[a
> > 79e6b0e-fff4-4cba-a02c-4c00be151300= > ACTION_TYPE_FAILED_VM_IS_BEING_IMPORTED$VmName HostedEngine>,
> > HostedEngine=]',
> > sharedLocks=
> > '[a79e6b0e-fff4-4cba-a02c-4c00be151300= > ACTION_TYPE_FAILED_VM_IS_BEING_IMPORTED$VmName HostedEngine>]'}'
> > 2017-06-19 03:28:05,030Z ERROR
> > [org.ovirt.engine.core.bll.HostedEngineImporter]
> > (org.ovirt.thread.pool-6-thread-23) [] Failed importing the Hosted
> > Engine VM
> >
> > The sanlock.log reports conflicts on that same host, and a different
> > error on the other hosts, not sure if they are related.
> >
> > And this in the /var/log/ovirt-hosted-engine-ha/agent log on the host
> > which I deployed the hosted engine VM on:
> >
> > MainThread::ERROR::2017-06-19
> > 13:09:49,743::ovf_store::124::ovirt_hosted_engine_ha.lib.
> ovf.ovf_store.OVFStore::(getEngineVMOVF)
> > Unable to extract HEVM OVF
> > MainThread::ERROR::2017-06-19
> > 13:09:49,743::config::445::ovirt_hosted_engine_ha.agent.
> hosted_engine.HostedEngine.config::(_get_vm_conf_content_from_ovf_store)
> > Failed extracting VM OVF from the OVF_STORE volume, falling back to
> > initial vm.conf
> >
> > I've seen some of these issues reported in bugzilla, but they were for
> > older versions of oVirt (and appear to be resolved).
> >
> > I will install that package on the other two hosts, for which I will
> > put them in maintenance as vdsm is installed as an upgrade. I guess
> > restarting vdsm is a good idea after that?
> >
> > Thanks,
> >
> > Campbell
> >
> > On Wed, Jun 21, 2017 at 10:51 AM, Martin Sivak 
> wrote:
> >> Hi,
> >>
> >> you do not have to install it on all hosts. But you should have more
> >> than one and ideally all hosted engine enabled nodes should belong to
> >> the same engine cluster.
> >>
> >> Best regards
> >>
> >> Martin Sivak
> >>
> >> On Wed, Jun 21, 2017 at 11:29 AM, cmc  wrote:
> >>> Hi Jenny,
> >>>
> >>> Does ovirt-hosted-engine-ha need to be installed across all hosts?
> >>> Could that be the reason it is failing to see it properly?
> >>>
> >>> Thanks,
> >>>
> >>> Cam
> >>>
> >>> On Mon, Jun 19, 2017 at 1:27 PM, cmc  wrote:
>  Hi Jenny,
> 
>  Logs are attached. I can see errors in there, but am unsure how they
> arose.
> 
>  Thanks,
> 
>  Campbell
> 
>  On Mon, Jun 19, 2017 at 12:29 PM, Evgenia Tokar 
> wrote:
> > From the output it looks like the agent is down, try starting it by
> running:
> > systemctl start ovirt-ha-agent.
> >
> > The engine is supposed to see the hosted engine storage domain and
> import it
> > to the system, then it should import the hosted engine vm.
> >
> > Can you attach the agent log from the host
> > (/var/log/ovirt-hosted-engine-ha/agent.log)
> > and the engine log from the engine vm (/var/log/ovirt-engine/engine.
> log)?
> >
> > Thanks,
> > Jenny
> >
> >
> > On Mon, Jun 19, 2017 at 12:41 PM, cmc  wrote:
> >>
> >>  Hi Jenny,
> >>
> >> > What version are you running?
> >>
> >> 4.1.2.2-1.el7.centos
> >>
> >> > For the 

Re: [ovirt-users] hosted-engine network

2017-06-22 Thread Yanir Quinn
Adding Didi,
Didi, do you happen to know of scenarios where we use the migration scripts
and the nic in the OVF is gone missing ?  (maybe after the restore stage)

Regards,
Yanir

On Wed, Jun 21, 2017 at 12:02 PM, Arsène Gschwind <arsene.gschw...@unibas.ch
> wrote:

> Hi Yanir,
>
> We had our oVirt Engine running on a HW server so we decided to move it to
> hosted-engine. For this I've followed the Howto at http://www.ovirt.org/
> documentation/self-hosted/chap-Migrating_from_Bare_
> Metal_to_an_EL-Based_Self-Hosted_Environment/.
>
> The Hosted-Storage is located on a FC SAN LUN.
>
> Please find attached the setup log.
>
> Tanks a lot.
>
> Regards,
> Arsène
>
> On 06/21/2017 10:14 AM, Yanir Quinn wrote:
>
> HI Arsene
>
> Just to be clear, can you write down the steps to reproduce ? (the
> migration procedure . and if possible the state before and after)
>
> Thanks
>
> On Mon, Jun 19, 2017 at 8:34 PM, Arsène Gschwind <
> arsene.gschw...@unibas.ch> wrote:
>
>> Hi Jenny,
>>
>> Thanks for the explanations..
>>
>> Please find vm.conf attached, it looks like the ovirtmgmt network is
>> defined
>>
>> Regards,
>> Arsène
>>
>> On 06/19/2017 01:46 PM, Evgenia Tokar wrote:
>>
>> Hi,
>>
>> It should be in one of the directories on your storage domain:
>> /cd1f6775-61e9-4d04-b41c-c64925d5a905/images//
>>
>> To see which one you can run the following command:
>>
>> vdsm-client Volume getInfo volumeID= imageID=
>> storagedomainID= storagepoolID=
>>
>> the storage domain id is: cd1f6775-61e9-4d04-b41c-c64925d5a905
>> the storage pool id can be found using: vdsm-client StorageDomain getInfo
>> storagedomainID=cd1f6775-61e9-4d04-b41c-c64925d5a905
>>
>> The volume that has "description": "HostedEngineConfigurationImage" is
>> the one you are looking for.
>> Untar it and it should contain the original vm.conf which was used to
>> start the hosted engine.
>>
>> Jenny Tokar
>>
>>
>> On Mon, Jun 19, 2017 at 12:59 PM, Arsène Gschwind <
>> arsene.gschw...@unibas.ch> wrote:
>>
>>> Hi Jenny,
>>>
>>> 1. I couldn't locate any tar file containing vm.conf, do you know the
>>> exact place where it is stored?
>>>
>>> 2. The ovirtmgmt appears in the network dropdown but I'm not able to
>>> change since it complains about locked values.
>>>
>>> Thanks a lot for your help.
>>>
>>> Regards,
>>> Arsène
>>>
>>>
>>>
>>> On 06/14/2017 01:26 PM, Evgenia Tokar wrote:
>>>
>>> Hi Arseny,
>>>
>>> Looking at the log the ovf doesn't contain the ovirtmgmt network.
>>>
>>> 1. Can you provide the original vm.conf file the engine was started
>>> with? It is located in a tar archive on your storage domain.
>>> 2. It's uncelar from the screenshot, in the network dropdown do you have
>>> an option to add a ovirtmgmt network?
>>>
>>> Thanks,
>>> Jenny
>>>
>>>
>>> On Tue, Jun 13, 2017 at 11:19 AM, Arsène Gschwind <
>>> arsene.gschw...@unibas.ch> wrote:
>>>
>>>> Sorry for that, I haven't checked.
>>>>
>>>> I've replaced the log file with a new version which should work i hope.
>>>>
>>>> Many Thanks.
>>>>
>>>> Regards,
>>>> Arsène
>>>>
>>>> On 06/12/2017 02:33 PM, Martin Sivak wrote:
>>>>
>>>> I am sorry to say so, but it seems the log archive is corrupted. I
>>>> can't open it.
>>>>
>>>> Regards
>>>>
>>>> Martin Sivak
>>>>
>>>> On Mon, Jun 12, 2017 at 12:47 PM, Arsène 
>>>> Gschwind<arsene.gschw...@unibas.ch> <arsene.gschw...@unibas.ch> wrote:
>>>>
>>>> Please find the logs 
>>>> here:https://www.dropbox.com/sh/k2zk7ig4tbd9tnj/AAB2NKjVk2z6lVPQ15NIeAtCa?dl=0
>>>>
>>>> Thanks.
>>>>
>>>> Regards,
>>>> Arsène
>>>>
>>>> Hi,
>>>>
>>>> Sorry for this, it seems that the attachment have been detached.
>>>>
>>>> So let's try again
>>>>
>>>> Regards,
>>>> Arsène
>>>>
>>>>
>>>> On 06/12/2017 11:59 AM, Martin Sivak wrote:
>>>>
>>>> Hi,
>>>>
>>>> I would love to help you, but I didn't get the log f

Re: [ovirt-users] migrating VMS from old hosted engine to new hosted engine

2017-06-26 Thread Yanir Quinn
This might give you some additional information if you haven't seen it yet :

https://www.ovirt.org/documentation/how-to/hosted-engine/

Regards,
Yanir Quinn

On Fri, Jun 23, 2017 at 1:13 AM, Paul Groeneweg | Pazion <p...@pazion.nl>
wrote:

> We are moving our VMs from an old 3.6 oVirt platform to a new oVirt 4.1
> platform.
>
> I am looking for an easy way to migrate the VMs. ( I know about export
> domain, but this takes 2 times a copy action ) I tested and just detaching
> the Data domain and attaching it, didn't work.
>
> Then I found the VM import option:
>  - Adding a ssh key gen and setting password on virsh
> - load a list of machines in the webinterface from VM import
> - when I start an import the system complains:
> The following VMs retrieved from external server
> qemu+ssh://r...@xxx.xxx.xxx.xxx/system are not in down status: VM
> [VM-NAME].
> - I tried to suspend the VM, but this didn;t work either ( same error )
> - Problem is ,when VM is shutdown, it disappears from this system list.
>
> Is there a way to directly import a VM from old oVirt platform to the new
> platform
>
> Looking forward to find a solution to quickly migrate our VMs.
>
> Best Regards,
>
> Paul Groeneweg
>
>
> ___
> 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 network

2017-06-07 Thread Yanir Quinn
If im not mistaken the values of vm.conf are repopulated from the database
, but i wouldn't recommend meddling with DB data.
maybe the network device wasn't set properly during the hosted engine setup
?

On Wed, Jun 7, 2017 at 11:47 AM, Arsène Gschwind 
wrote:

> Hi,
>
> Any chance to get a hint how to change the vm.conf file so it will not be
> overwritten constantly?
>
> Thanks a lot.
>
> Arsène
>
> On 06/06/2017 09:50 AM, Arsène Gschwind wrote:
>
> Hi,
>
> I've migrated our oVirt engine to hosted-engine located on a FC storage
> LUN, so far so good.
> For some reason I'm not able to start the hosted-engine VM, after digging
> in the log files i could figured out the reason. The Network device was set
> to "None" as follow:
> devices={nicModel:pv,macAddr:00:16:3e:3a:6b:60,linkActive:true,network:
> *None*,deviceId:56cb4d71-13ff-42a8-bb83-7faef99fd3ea,address:{slot:
> 0x03,bus:0x00,domain:0x,type:pci,function:0x0},device:
> bridge,type:interface}
>
> I've created a new config file /var/run/ovirt-hosted-engine-ha/vm.conf.new
> and set the nic device to ovirtmgnt, the I could start the hosted-engine
> using :
> hosted-engine --vm-start --vm-conf=var/run/ovirt-
> hosted-engine-ha/vm.conf.new
>
> The nic  device line in vm.conf.new looks like:
> devices={nicModel:pv,macAddr:00:16:3e:3a:6b:60,linkActive:true,network:
> *ovirtmgmt*,deviceId:56cb4d71-13ff-42a8-bb83-7faef99fd3ea,address:{
> slot:0x03,bus:0x00,domain:0x,type:pci,function:0x0},
> device:bridge,type:interface}
>
> I tried to find out a way to change this setting on vm.conf but it is
> constantly rewritten, even when using the webui is say's:
> HostedEngine:
>
>- There was an attempt to change Hosted Engine VM values that are
>locked.
>
> Is there a way to modify/correct the hosted-engine vm.conf file so it will
> stay and not be overwritten?
>
> Thanks a lot for any hint/help
>
> rgds,
> arsène
> --
>
> *Arsène Gschwind*
> Fa. Sapify AG im Auftrag der Universität Basel
> IT Services
> Klingelbergstr. 70 |  CH-4056 Basel  |  Switzerland
> Tel. +41 79 449 25 63 <+41%2079%20449%2025%2063>  |  http://its.unibas.ch
> ITS-ServiceDesk: support-...@unibas.ch | +41 61 267 14 11
> <+41%2061%20267%2014%2011>
>
>
> ___
> Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>
>
> --
>
> *Arsène Gschwind*
> Fa. Sapify AG im Auftrag der Universität Basel
> IT Services
> Klingelbergstr. 70 |  CH-4056 Basel  |  Switzerland
> Tel. +41 79 449 25 63 <+41%2079%20449%2025%2063>  |  http://its.unibas.ch
> ITS-ServiceDesk: support-...@unibas.ch | +41 61 267 14 11
> <+41%2061%20267%2014%2011>
>
> ___
> 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] Black Screen for Spice/VNC after host reboot with a runnung VM

2017-12-13 Thread Yanir Quinn
Hi
Did the VM start properly ? what does the events in UI indicate ? did you
try running it on a different host just for indication ?
Please share engine.log and vdsm.log (of the new host) if possible

Regards
Yanir Quinn

On Mon, Dec 11, 2017 at 9:18 PM, Eli ggg <ell...@abv.bg> wrote:

> Dear ovirt Team/Experts,
>
> I did a reboot of a host, while a VM was running on it. After putting the
> host in maintenance and starting the VM on another host, I tried to connect
> to said VM by Spice/VNC. In both cases I get a black screen. The VM does
> not respond to keyboard input, its IP is not listed in the ovirt
> Webinterface. Cloning the VM from an old Snapshot does not result in it
> working  - again black screen for Spice.
>
> Could you help me?
>
> Thanks
>
>
>
> ___
> 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] adding a host

2018-05-06 Thread Yanir Quinn
For removing the non operational host :
1.Right click on the host name
2.Click on  "Confirm host has been rebooted"
3.Remove the host


For the issue you are experiencing with host addition, according to the
engine logs you have sent, you might need to perform a few steps ,  see:
https://bugzilla.redhat.com/show_bug.cgi?id=1516256#c2

I would also recommend to check the the host's network is not down.
Also, during installation of the host,observe the messages in the Events
section (UI)

Hope this helps.




On Thu, May 3, 2018 at 10:07 PM, Justin Zygmont <jzygm...@proofpoint.com>
wrote:

> I can’t seem to do anything to control the host from the engine, when I
> select it for Maint, the engine log shows:
>
>
>
> [org.ovirt.engine.core.bll.MaintenanceNumberOfVdssCommand] (default
> task-50) [90ba81ef-21e4-4272-8c59-84786e969ff7] Running command:
> MaintenanceNumberOfVdssCommand internal: false. Entities affected :  ID:
> 74dfe965-cb11-495a-96a0-3dae6b3cbd75 Type: VDSAction group
> MANIPULATE_HOST with role type ADMIN
>
> 2018-05-03 12:00:37,918-07 INFO  
> [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand]
> (default task-50) [90ba81ef-21e4-4272-8c59-84786e969ff7] START,
> SetVdsStatusVDSCommand(HostName = ovnode102,
> SetVdsStatusVDSCommandParameters:{hostId='74dfe965-cb11-495a-96a0-3dae6b3cbd75',
> status='PreparingForMaintenance', nonOperationalReason='NONE',
> stopSpmFailureLogged='true', maintenanceReason='null'}), log id: 647d5f78
>
>
>
>
>
> I have only 1 host in the DC, status is Up, the cluster says host count is
> 2 even though the second host stays Non Operational.  I don’t know how to
> remove it.
>
> I just installed and tried to join the DC, this is a fresh installation,
> the engine was launched through cockpit.
>
>
>
> Heres what nodectl shows from the host:
>
>
>
> ovnode102 ~]# nodectl check
>
> Status: OK
>
> Bootloader ... OK
>
>   Layer boot entries ... OK
>
>   Valid boot entries ... OK
>
> Mount points ... OK
>
>   Separate /var ... OK
>
>   Discard is used ... OK
>
> 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
>
> vdsmd ... OK
>
>
>
>
>
>
>
> Thanks,
>
>
>
>
>
> *From:* Yanir Quinn [mailto:yqu...@redhat.com]
> *Sent:* Thursday, May 3, 2018 1:19 AM
>
> *To:* Justin Zygmont <jzygm...@proofpoint.com>
> *Cc:* users@ovirt.org
> *Subject:* Re: [ovirt-users] adding a host
>
>
>
> Did you try switching the host to maintenance mode first ?
>
> What is the state of the data center and how many active hosts do you have
> now?
>
> And did you perform any updates recently or just run a fresh installation
> ?  if so , did you run engine-setup before launching engine ?
>
>
>
> On Thu, May 3, 2018 at 12:47 AM, Justin Zygmont <jzygm...@proofpoint.com>
> wrote:
>
> I read this page and it doesn’t help since this is a host that can’t be
> removed, the “remove” button is dimmed out.
>
>
>
> This is 4.22 ovirt node, but the host stays in a “non operational” state.
> I notice the logs have a lot of errors, for example:
>
>
>
>
>
> the SERVER log:
>
>
>
> 2018-05-02 14:40:23,847-07 WARN  [org.jboss.jca.core.
> connectionmanager.pool.strategy.OnePool] (ForkJoinPool-1-worker-14)
> IJ000609: Attempt to return connection twice: org.jboss.jca.core.
> connectionmanager.listener.TxConnectionListener@1fab84d7[state=NORMAL
> managed connection=org.jboss.jca.adapters.jdbc.local.
> LocalManagedConnection@3f37cf10 connection handles=0
> lastReturned=1525297223847 lastValidated=1525290267811
> lastCheckedOut=1525296923770 trackByTx=false pool=org.jboss.jca.core.
> connectionmanager.pool.strategy.OnePool@20550f35 mcp=
> SemaphoreConcurrentLinkedQueueManagedConnectionPool@5baa90f[pool=ENGINEDataSource]
> xaResource=LocalXAResourceImpl@24a7fc0b[connectionListener=1fab84d7
> connectionManager=5bec70d2 warned=false currentXid=null
> productName=PostgreSQL productVersion=9.5.9 jndiName=java:/ENGINEDataSource]
> txSync=null]: java.lang.Throwable: STACKTRACE
>
> at org.jboss.jca.core.connectionmanager.pool.mcp.
> SemaphoreConcurrentLinkedDequeManagedConnectionPool.returnConnection(
> SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:722)
>
> at org.jboss.jca.core.connectionmanager.pool.mcp.
> SemaphoreConcurrentLinkedDequeManagedConnectionPool.returnConnection(
> SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:611)
>
> at org.jboss.j

[ovirt-users] Re: hosted engine setup error

2018-05-24 Thread Yanir Quinn
Hi
There is a BZ with a similar issue:
https://bugzilla.redhat.com/show_bug.cgi?id=1546839

To sum things up,  try stopping the network manager and restarting your
network if you are using a RH distribution, e,g. :

systemctl stop NetworkManager
systemctl restart network

And check what is your kernel version.


On Wed, May 23, 2018 at 5:03 PM,  wrote:

> hi
> I deploy ovirt-engine-4.2.2 hosted-engine by #hosted-engine --deploy, but
> face some error
> bridge ovirtmgmt is not configure, i should how to do? thanks
>
>
> [ INFO  ] TASK [Get ovirtmgmt route table id]
> [ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 50, "changed": true,
> "cmd": "ip rule list | grep ovirtmgmt | sed s/[.*]\\ //g | awk '{
> print $9 }'", "delta": "0:00:00.010899", "end": "2018-05-23
> 20:03:21.222559", "rc": 0, "start": "2018-05-23 20:03:21.211660", "stderr":
> "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
> [ ERROR ] Failed to execute stage 'Closing up': Failed executing
> ansible-playbook
> [ INFO  ] Stage: Clean up
> [ INFO  ] Cleaning temporary resources
>
>
> vdsm.log
>
> 2018-05-23 19:55:15,305+0800 INFO  (vm/bfc6f7cf) [virt.vm]
> (vmId='bfc6f7cf-3e8d-4368-97f8-78a5c74a5175') VM wrapper has started
> (vm:2619)
> 2018-05-23 19:55:15,454+0800 INFO  (vm/bfc6f7cf) [virt.vm]
> (vmId='bfc6f7cf-3e8d-4368-97f8-78a5c74a5175') Starting connection
> (guestagent:245)
> 2018-05-23 19:55:15,458+0800 ERROR (vm/bfc6f7cf) [virt.vm]
> (vmId='bfc6f7cf-3e8d-4368-97f8-78a5c74a5175') Failed to connect to guest
> agent channel (vm:2403)
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 2401, in
> _vmDependentInit
> self.guestAgent.start()
>   File "/usr/lib/python2.7/site-packages/vdsm/virt/guestagent.py", line
> 246, in start
> self._prepare_socket()
>   File "/usr/lib/python2.7/site-packages/vdsm/virt/guestagent.py", line
> 288, in _prepare_socket
> supervdsm.getProxy().prepareVmChannel(self._socketName)
>   File "/usr/lib/python2.7/site-packages/vdsm/common/supervdsm.py", line
> 55, in __call__
> return callMethod()
>   File "/usr/lib/python2.7/site-packages/vdsm/common/supervdsm.py", line
> 53, in 
> **kwargs)
>   File "", line 2, in prepareVmChannel
>   File "/usr/lib64/python2.7/multiprocessing/managers.py", line 773, in
> _callmethod
> raise convert_to_error(kind, result)
> OSError: [Errno 2] No such file or directory: '/var/lib/libvirt/qemu/
> channels/bfc6f7cf-3e8d-4368-97f8-78a5c74a5175.com.redhat.rhevm.vdsm'
> 2018-05-23 19:55:15,480+0800 INFO  (vm/bfc6f7cf) [virt.vm]
> (vmId='bfc6f7cf-3e8d-4368-97f8-78a5c74a5175') CPU running: domain
> initialization (vm:5908)
>
> [root@hosted-engine-test1 ~]# ip a
> 1: lo:  mtu 65536 qdisc noqueue state UNKNOWN qlen 1
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> inet 127.0.0.1/8 scope host lo
>valid_lft forever preferred_lft forever
> inet6 ::1/128 scope host
>valid_lft forever preferred_lft forever
> 2: eth0:  mtu 1500 qdisc pfifo_fast
> state UP qlen 1000
> link/ether 52:54:00:6c:ee:a8 brd ff:ff:ff:ff:ff:ff
> inet 192.168.122.217/24 brd 192.168.122.255 scope global dynamic eth0
>valid_lft 2936sec preferred_lft 2936sec
> inet6 fe80::834a:9cc1:df2:83f/64 scope link
>valid_lft forever preferred_lft forever
> 18: ;vdsmdummy;:  mtu 1500 qdisc noop state DOWN qlen
> 1000
> link/ether 9a:d1:bc:96:cc:c0 brd ff:ff:ff:ff:ff:ff
> 19: virbr0:  mtu 1500 qdisc noqueue
> state DOWN qlen 1000
> link/ether 52:54:00:55:06:26 brd ff:ff:ff:ff:ff:ff
> inet 192.168.124.1/24 brd 192.168.124.255 scope global virbr0
>valid_lft forever preferred_lft forever
> 20: virbr0-nic:  mtu 1500 qdisc pfifo_fast master
> virbr0 state DOWN qlen 1000
> link/ether 52:54:00:55:06:26 brd ff:ff:ff:ff:ff:ff
>
>
>
>
>
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: ovirt error

2018-06-13 Thread Yanir Quinn
Great :)
Can you share what was the issue and the solution ?

On Wed, Jun 13, 2018 at 10:11 AM, Арслан  wrote:

> Thanks, I solved the problem.
>
> С уважением,
> Кубанов Арслан
> Инженер
> Департамент сетевой интеграции
> ЛАНИТ129075, г. Москва, Мурманский проезд, д. 14 
> <https://maps.google.com/?q=129075,+%D0%B3.+%D0%9C%D0%BE%D1%81%D0%BA%D0%B2%D0%B0,+%D0%9C%D1%83%D1%80%D0%BC%D0%B0%D0%BD%D1%81%D0%BA%D0%B8%D0%B9+%D0%BF%D1%80%D0%BE%D0%B5%D0%B7%D0%B4,+%D0%B4.+14=gmail=g>,
>  корп. 1
> Тел.: +7 (495) 967-6650 #18287www.lanit.ru
>
> 11.06.2018 11:01, Yanir Quinn пишет:
>
> I would check for starters the status of the agent service  (e.g.  systemct
>>
>> ovirt-ha-agent
>>
>> ->  systemctl status ovirt-ha-agent
>
>
> On Mon, Jun 11, 2018 at 11:00 AM, Yanir Quinn  wrote:
>
>> Hi
>> Can you share some more information about your enviroment ?
>> 1. Stack (ovirt,libvirt,vdsm, etc)
>> 2. What is your setup ?
>> 3. Did you do any steps like upgrade/add an additional host ?
>>
>> If possible, please share agent and vdsm logs.
>>
>> I would check for starters the status of the agent service  (e.g.
>> systemct
>>
>> ovirt-ha-agent
>>
>>
>> On Thu, Jun 7, 2018 at 10:30 PM, Арслан  wrote:
>>
>>> hello.
>>>
>>> when executing the command traceback:
>>>
>>>
>>> # hosted-engine --vm-status
>>> Traceback (most recent call last):
>>>   File "/usr/lib64/python2.6/runpy.py", line 122, in _run_module_as_main
>>> "__main__", fname, loader, pkg_name)
>>>   File "/usr/lib64/python2.6/runpy.py", line 34, in _run_code
>>> exec code in run_globals
>>>   File 
>>> "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_setup/vm_status.py",
>>> line 116, in 
>>> if not status_checker.print_status():
>>>   File 
>>> "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_setup/vm_status.py",
>>> line 59, in print_status
>>> all_host_stats = ha_cli.get_all_host_stats()
>>>   File 
>>> "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/client/client.py",
>>> line 157, in get_all_host_stats
>>> return self.get_all_stats(self.StatModes.HOST)
>>>   File 
>>> "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/client/client.py",
>>> line 102, in get_all_stats
>>> stats = broker.get_stats_from_storage(service)
>>>   File 
>>> "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
>>> line 232, in get_stats_from_storage
>>> result = self._checked_communicate(request)
>>>   File 
>>> "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
>>> line 260, in _checked_communicate
>>> .format(message or response))
>>> ovirt_hosted_engine_ha.lib.exceptions.RequestError: Request failed:
>>> 
>>>
>>>
>>> what is the reason?
>>>
>>> --
>>> С уважением,
>>> Кубанов Арслан
>>> Инженер
>>> Департамент сетевой интеграции
>>> ЛАНИТ129075, г. Москва, Мурманский проезд, д. 14 
>>> <https://maps.google.com/?q=129075,+%D0%B3.+%D0%9C%D0%BE%D1%81%D0%BA%D0%B2%D0%B0,+%D0%9C%D1%83%D1%80%D0%BC%D0%B0%D0%BD%D1%81%D0%BA%D0%B8%D0%B9+%D0%BF%D1%80%D0%BE%D0%B5%D0%B7%D0%B4,+%D0%B4.+14=gmail=g>,
>>>  корп. 1
>>> Тел.: +7 (495) 967-6650 #18287www.lanit.ru
>>>
>>>
>>> ___
>>> 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/communit
>>> y/about/community-guidelines/
>>> List Archives: https://lists.ovirt.org/archiv
>>> es/list/users@ovirt.org/message/4UAJN4MCO2TX56U3GUDLPTWVD5CFTICB/
>>>
>>>
>>
>
>
___
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/USJLTL6YG3SCZUOXDJHICIQ7YJ76Z6UW/


[ovirt-users] Re: ovirt error

2018-06-11 Thread Yanir Quinn
Hi
Can you share some more information about your enviroment ?
1. Stack (ovirt,libvirt,vdsm, etc)
2. What is your setup ?
3. Did you do any steps like upgrade/add an additional host ?

If possible, please share agent and vdsm logs.

I would check for starters the status of the agent service  (e.g.  systemct

ovirt-ha-agent


On Thu, Jun 7, 2018 at 10:30 PM, Арслан  wrote:

> hello.
>
> when executing the command traceback:
>
>
> # hosted-engine --vm-status
> Traceback (most recent call last):
>   File "/usr/lib64/python2.6/runpy.py", line 122, in _run_module_as_main
> "__main__", fname, loader, pkg_name)
>   File "/usr/lib64/python2.6/runpy.py", line 34, in _run_code
> exec code in run_globals
>   File 
> "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_setup/vm_status.py",
> line 116, in 
> if not status_checker.print_status():
>   File 
> "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_setup/vm_status.py",
> line 59, in print_status
> all_host_stats = ha_cli.get_all_host_stats()
>   File 
> "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/client/client.py",
> line 157, in get_all_host_stats
> return self.get_all_stats(self.StatModes.HOST)
>   File 
> "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/client/client.py",
> line 102, in get_all_stats
> stats = broker.get_stats_from_storage(service)
>   File 
> "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
> line 232, in get_stats_from_storage
> result = self._checked_communicate(request)
>   File 
> "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
> line 260, in _checked_communicate
> .format(message or response))
> ovirt_hosted_engine_ha.lib.exceptions.RequestError: Request failed:  'exceptions.OSError'>
>
>
> what is the reason?
>
> --
> С уважением,
> Кубанов Арслан
> Инженер
> Департамент сетевой интеграции
> ЛАНИТ
> 129075, г. Москва, Мурманский проезд, д. 14, корп. 1
> Тел.: +7 (495) 967-6650 #18287www.lanit.ru
>
>
> ___
> 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/4UAJN4MCO2TX56U3GUDLPTWVD5CFTICB/
>
>
___
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/M4VPRW26NDYEZCYCKW2BBV6PXPXCSEC2/


[ovirt-users] Re: ovirt error

2018-06-11 Thread Yanir Quinn
>
> I would check for starters the status of the agent service  (e.g.  systemct
>
> ovirt-ha-agent
>
> ->  systemctl status ovirt-ha-agent


On Mon, Jun 11, 2018 at 11:00 AM, Yanir Quinn  wrote:

> Hi
> Can you share some more information about your enviroment ?
> 1. Stack (ovirt,libvirt,vdsm, etc)
> 2. What is your setup ?
> 3. Did you do any steps like upgrade/add an additional host ?
>
> If possible, please share agent and vdsm logs.
>
> I would check for starters the status of the agent service  (e.g.  systemct
>
> ovirt-ha-agent
>
>
> On Thu, Jun 7, 2018 at 10:30 PM, Арслан  wrote:
>
>> hello.
>>
>> when executing the command traceback:
>>
>>
>> # hosted-engine --vm-status
>> Traceback (most recent call last):
>>   File "/usr/lib64/python2.6/runpy.py", line 122, in _run_module_as_main
>> "__main__", fname, loader, pkg_name)
>>   File "/usr/lib64/python2.6/runpy.py", line 34, in _run_code
>> exec code in run_globals
>>   File 
>> "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_setup/vm_status.py",
>> line 116, in 
>> if not status_checker.print_status():
>>   File 
>> "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_setup/vm_status.py",
>> line 59, in print_status
>> all_host_stats = ha_cli.get_all_host_stats()
>>   File 
>> "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/client/client.py",
>> line 157, in get_all_host_stats
>> return self.get_all_stats(self.StatModes.HOST)
>>   File 
>> "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/client/client.py",
>> line 102, in get_all_stats
>> stats = broker.get_stats_from_storage(service)
>>   File 
>> "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
>> line 232, in get_stats_from_storage
>> result = self._checked_communicate(request)
>>   File 
>> "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
>> line 260, in _checked_communicate
>> .format(message or response))
>> ovirt_hosted_engine_ha.lib.exceptions.RequestError: Request failed:
>> 
>>
>>
>> what is the reason?
>>
>> --
>> С уважением,
>> Кубанов Арслан
>> Инженер
>> Департамент сетевой интеграции
>> ЛАНИТ
>> 129075, г. Москва, Мурманский проезд, д. 14, корп. 1
>> Тел.: +7 (495) 967-6650 #18287www.lanit.ru
>>
>>
>> ___
>> 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/communit
>> y/about/community-guidelines/
>> List Archives: https://lists.ovirt.org/archiv
>> es/list/users@ovirt.org/message/4UAJN4MCO2TX56U3GUDLPTWVD5CFTICB/
>>
>>
>
___
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/5VCXLRW27C36P2MI6QC2JNYWXEQUY7WA/


[ovirt-users] Re: hosted engine setup error

2018-05-27 Thread Yanir Quinn
According to BZ : https://bugzilla.redhat.com/show_bug.cgi?id=1540451#c19

you should retry with a newer kernel >= -851  if possible .

If you still get the error please provide full setup and vdsm logs.



On Fri, May 25, 2018 at 11:54 AM, <dhy...@sina.com> wrote:

> Hi
>  thanks for your reponse, I try to do by your guide, but it is not work.
> my kernel version is 3.10.0-693.11.1.el7.x86_64.
> besides, I try to do hosted-engine --deploy in my Virtual machine is work.
> but it is not work in Physical Machine
>
>
> - Original Message -
> From: Yanir Quinn <yqu...@redhat.com>
> To: dhy...@sina.com
> Cc: users <users@ovirt.org>
> Subject: Re: [ovirt-users] hosted engine setup error
> Date: 2018-05-24 18:35
>
> Hi
> There is a BZ with a similar issue:
> https://bugzilla.redhat.com/show_bug.cgi?id=1546839
>
> To sum things up,  try stopping the network manager and restarting your
> network if you are using a RH distribution, e,g. :
>
> systemctl stop NetworkManager
> systemctl restart network
>
> And check what is your kernel version.
>
>
> On Wed, May 23, 2018 at 5:03 PM, <dhy...@sina.com> wrote:
>
> hi
> I deploy ovirt-engine-4.2.2 hosted-engine by #hosted-engine --deploy, but
> face some error
> bridge ovirtmgmt is not configure, i should how to do? thanks
>
>
> [ INFO  ] TASK [Get ovirtmgmt route table id]
> [ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 50, "changed": true,
> "cmd": "ip rule list | grep ovirtmgmt | sed s/[.*]\\ //g | awk '{
> print $9 }'", "delta": "0:00:00.010899", "end": "2018-05-23
> 20:03:21.222559", "rc": 0, "start": "2018-05-23 20:03:21.211660", "stderr":
> "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
> [ ERROR ] Failed to execute stage 'Closing up': Failed executing
> ansible-playbook
> [ INFO  ] Stage: Clean up
> [ INFO  ] Cleaning temporary resources
>
>
> vdsm.log
>
> 2018-05-23 19:55:15,305+0800 INFO  (vm/bfc6f7cf) [virt.vm]
> (vmId='bfc6f7cf-3e8d-4368-97f8-78a5c74a5175') VM wrapper has started
> (vm:2619)
> 2018-05-23 19:55:15,454+0800 INFO  (vm/bfc6f7cf) [virt.vm]
> (vmId='bfc6f7cf-3e8d-4368-97f8-78a5c74a5175') Starting connection
> (guestagent:245)
> 2018-05-23 19:55:15,458+0800 ERROR (vm/bfc6f7cf) [virt.vm]
> (vmId='bfc6f7cf-3e8d-4368-97f8-78a5c74a5175') Failed to connect to guest
> agent channel (vm:2403)
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 2401, in
> _vmDependentInit
> self.guestAgent.start()
>   File "/usr/lib/python2.7/site-packages/vdsm/virt/guestagent.py", line
> 246, in start
> self._prepare_socket()
>   File "/usr/lib/python2.7/site-packages/vdsm/virt/guestagent.py", line
> 288, in _prepare_socket
> supervdsm.getProxy().prepareVmChannel(self._socketName)
>   File "/usr/lib/python2.7/site-packages/vdsm/common/supervdsm.py", line
> 55, in __call__
> return callMethod()
>   File "/usr/lib/python2.7/site-packages/vdsm/common/supervdsm.py", line
> 53, in 
> **kwargs)
>   File "", line 2, in prepareVmChannel
>   File "/usr/lib64/python2.7/multiprocessing/managers.py", line 773, in
> _callmethod
> raise convert_to_error(kind, result)
> OSError: [Errno 2] No such file or directory:
> '/var/lib/libvirt/qemu/channels/bfc6f7cf-3e8d-4368-97f8-
> 78a5c74a5175.com.redhat.rhevm.vdsm'
> 2018-05-23 19:55:15,480+0800 INFO  (vm/bfc6f7cf) [virt.vm]
> (vmId='bfc6f7cf-3e8d-4368-97f8-78a5c74a5175') CPU running: domain
> initialization (vm:5908)
>
> [root@hosted-engine-test1 ~]# ip a
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> inet 127.0.0.1/8 scope host lo
>valid_lft forever preferred_lft forever
> inet6 ::1/128 scope host
>valid_lft forever preferred_lft forever
> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
> state UP qlen 1000
> link/ether 52:54:00:6c:ee:a8 brd ff:ff:ff:ff:ff:ff
> inet 192.168.122.217/24 brd 192.168.122.255 scope global dynamic eth0
>valid_lft 2936sec preferred_lft 2936sec
> inet6 fe80::834a:9cc1:df2:83f/64 scope link
>valid_lft forever preferred_lft forever
> 18: ;vdsmdummy;: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen
> 1000
> link/ether 9a:d1:bc:96:cc:c0 brd ff:ff:ff:ff:ff:ff
> 19: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue
>

Re: [ovirt-users] unable to start engine

2018-05-02 Thread Yanir Quinn
Hi Justin,

What are the version release numbers of ovirt-hosted-engine, ovirt-host,
ovirt-engine, vdsm, ovirt-host-deploy, libvirt ?
What type of installation are you using ?
What is the status of the ovirt-ha-*agent* ovirt-ha-broker services ?
Does vm.conf file exist ?  (e.g. /var/run/ovirt-hosted-engine-ha/vm.conf)
What is the output of  hosted-engine --vm-status ?
Can you provide agent.log, vdsm.log ?

Thanks
Yanir Quinn

On Wed, May 2, 2018 at 3:52 AM, Justin Zygmont <jzygm...@proofpoint.com>
wrote:

> After rebooting the node hosting the engine, I get this:
>
>
>
> # hosted-engine --connect-storage
>
> # hosted-engine --vm-start
>
> The hosted engine configuration has not been retrieved from shared
> storage. Please ensure that ovirt-ha-agent is running and the storage
> server is reachable.
>
>
>
> ovirt-ha-agent is running and the NFS server is reachable, it used to
> work.  I don’t see which log to check or where to look
>
> ___
> 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] unable to start engine

2018-05-02 Thread Yanir Quinn
I would also recommend reading:
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.1/html/self-hosted_engine_guide/troubleshooting



On Wed, May 2, 2018 at 10:26 AM, Yanir Quinn <yqu...@redhat.com> wrote:

> Hi Justin,
>
> What are the version release numbers of ovirt-hosted-engine, ovirt-host,
> ovirt-engine, vdsm, ovirt-host-deploy, libvirt ?
> What type of installation are you using ?
> What is the status of the ovirt-ha-*agent* ovirt-ha-broker services ?
> Does vm.conf file exist ?  (e.g. /var/run/ovirt-hosted-engine-ha/vm.conf)
> What is the output of  hosted-engine --vm-status ?
> Can you provide agent.log, vdsm.log ?
>
> Thanks
> Yanir Quinn
>
> On Wed, May 2, 2018 at 3:52 AM, Justin Zygmont <jzygm...@proofpoint.com>
> wrote:
>
>> After rebooting the node hosting the engine, I get this:
>>
>>
>>
>> # hosted-engine --connect-storage
>>
>> # hosted-engine --vm-start
>>
>> The hosted engine configuration has not been retrieved from shared
>> storage. Please ensure that ovirt-ha-agent is running and the storage
>> server is reachable.
>>
>>
>>
>> ovirt-ha-agent is running and the NFS server is reachable, it used to
>> work.  I don’t see which log to check or where to look
>>
>> ___
>> 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] adding a host

2018-05-03 Thread Yanir Quinn
dFactory-engineScheduled-Thread-31) [] FINISH,
> GetHardwareInfoAsyncVDSCommand, log id: 300f7345
>
> 2018-05-02 14:40:25,802-07 INFO  
> [org.ovirt.engine.core.bll.SetNonOperationalVdsCommand]
> (EE-ManagedThreadFactory-engineScheduled-Thread-31) [f2ef21e] Running
> command: SetNonOperationalVdsCommand internal: true. Entities affected :
> ID: 74dfe965-cb11-495a-96a0-3dae6b3cbd75 Type: VDS
>
> 2018-05-02 14:40:25,805-07 INFO  
> [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand]
> (EE-ManagedThreadFactory-engineScheduled-Thread-31) [f2ef21e] START,
> SetVdsStatusVDSCommand(HostName = ovnode102.,
> SetVdsStatusVDSCommandParameters:{hostId='74dfe965-cb11-495a-96a0-3dae6b3cbd75',
> status='NonOperational', nonOperationalReason='NETWORK_UNREACHABLE',
> stopSpmFailureLogged='false', maintenanceReason='null'}), log id: 7611d8d8
>
> 2018-05-02 14:40:56,722-07 INFO  [org.ovirt.engine.core.bll.
> provider.network.SyncNetworkProviderCommand] 
> (EE-ManagedThreadFactory-engineScheduled-Thread-58)
> [33bdda7f] Lock Acquired to object 'EngineLock:{exclusiveLocks='[
> f50bd081-7c5b-4161-a045-068f85d2a476=PROVIDER]', sharedLocks=''}'
>
> 2018-05-02 14:40:56,732-07 INFO  [org.ovirt.engine.core.bll.
> provider.network.SyncNetworkProviderCommand] 
> (EE-ManagedThreadFactory-engineScheduled-Thread-58)
> [33bdda7f] Running command: SyncNetworkProviderCommand internal: true.
>
> 2018-05-02 14:40:56,844-07 INFO  
> [org.ovirt.engine.core.sso.utils.AuthenticationUtils]
> (default task-40) [] User admin@internal successfully logged in with
> scopes: ovirt-app-api ovirt-ext=token-info:authz-search
> ovirt-ext=token-info:public-authz-search ovirt-ext=token-info:validate
> ovirt-ext=token:password-access
>
> 2018-05-02 14:40:57,001-07 INFO  [org.ovirt.engine.core.bll.
> provider.network.SyncNetworkProviderCommand] 
> (EE-ManagedThreadFactory-engineScheduled-Thread-58)
> [33bdda7f] Lock freed to object 'EngineLock:{exclusiveLocks='[
> f50bd081-7c5b-4161-a045-068f85d2a476=PROVIDER]', sharedLocks=''}'
>
> 2018-05-02 14:44:39,191-07 INFO  
> [org.ovirt.engine.core.bll.utils.ThreadPoolMonitoringService]
> (EE-ManagedThreadFactory-engineThreadMonitoring-Thread-1) [] Thread pool
> 'default' is using 0 threads out of 1 and 5 tasks are waiting in the queue.
>
> 2018-05-02 14:44:39,191-07 INFO  
> [org.ovirt.engine.core.bll.utils.ThreadPoolMonitoringService]
> (EE-ManagedThreadFactory-engineThreadMonitoring-Thread-1) [] Thread pool
> 'engine' is using 0 threads out of 500, 8 threads waiting for tasks and 0
> tasks in queue.
>
> 2018-05-02 14:44:39,191-07 INFO  
> [org.ovirt.engine.core.bll.utils.ThreadPoolMonitoringService]
> (EE-ManagedThreadFactory-engineThreadMonitoring-Thread-1) [] Thread pool
> 'engineScheduled' is using 1 threads out of 100 and 99 tasks are waiting in
> the queue.
>
> 2018-05-02 14:44:39,191-07 INFO  
> [org.ovirt.engine.core.bll.utils.ThreadPoolMonitoringService]
> (EE-ManagedThreadFactory-engineThreadMonitoring-Thread-1) [] Thread pool
> 'engineThreadMonitoring' is using 1 threads out of 1 and 0 tasks are
> waiting in the queue.
>
> 2018-05-02 14:44:39,191-07 INFO  
> [org.ovirt.engine.core.bll.utils.ThreadPoolMonitoringService]
> (EE-ManagedThreadFactory-engineThreadMonitoring-Thread-1) [] Thread pool
> 'hostUpdatesChecker' is using 0 threads out of 5 and 1 tasks are waiting in
> the queue.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *From:* Yanir Quinn [mailto:yqu...@redhat.com]
> *Sent:* Wednesday, May 2, 2018 12:34 AM
> *To:* Justin Zygmont <jzygm...@proofpoint.com>
> *Cc:* users@ovirt.org
> *Subject:* Re: [ovirt-users] adding a host
>
>
>
> Hi,
>
> What document are you using ?
>
> See if you find the needed information here :  https://ovirt.org/
> documentation/admin-guide/chap-Hosts/
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__ovirt.org_documentation_admin-2Dguide_chap-2DHosts_=DwMFaQ=Vxt5e0Osvvt2gflwSlsJ5DmPGcPvTRKLJyp031rXjhg=FiPhL0Cl1ymZlnTyAIIL75tE4L0reHcDdD-7wUtUGHA=FN0-3R3xk0ckcDVjJSXQDaIrjqC7ovGGfHVXZ7LdmXs=saBhjWXwvEHUHBso-YmTvry8ilzICYOIEen05y9q8Pk=>
>
>
>
> For engine related potential errors i recommend also checking the
> engine.log and in UI check the events section.
>
> Regards,
>
> Yanir Quinn
>
>
>
> On Tue, May 1, 2018 at 11:11 PM, Justin Zygmont <jzygm...@proofpoint.com>
> wrote:
>
> I have tried to add a host to the engine and it just takes forever never
> working or giving any error message.  When I look in the engine’s
> server.log I see it says the networks are missing.
>
> I thought when you install a node and add it to the engine it will add the
> networks automatically?  The docs don’t give much information about this,
> and I can’t even remove the host through the UI.  What steps are required
> to prepare a node when several vlans are involved?
>
>
>
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.ovirt.org_mailman_listinfo_users=DwMFaQ=Vxt5e0Osvvt2gflwSlsJ5DmPGcPvTRKLJyp031rXjhg=FiPhL0Cl1ymZlnTyAIIL75tE4L0reHcDdD-7wUtUGHA=FN0-3R3xk0ckcDVjJSXQDaIrjqC7ovGGfHVXZ7LdmXs=X7q8mEin_k15qF6Ph0Grrgn3EH-QPd49puz1QlxQv8o=>
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users