Re: [ovirt-users] Installing self-hosted-engine via SSH, without screen

2016-04-05 Thread Yedidyah Bar David
On Tue, Apr 5, 2016 at 10:03 AM, Yaniv Kaul  wrote:
> Hi,
>
> I'm trying to install self hosted engine in an automated fashion (via
> Ansible).
> This:
> 1. Doesn't create a pseudo tty (Ansible is not doing that in its SSH)
> 2. Doesn't use screen
>
> How can I still install hosted-engine? I seem to be failing around the
> initial checks done at [1].
> I've tried various hacks (ssh to localhost, use '-T', run 'screen' locally)
> - none seem to have worked well. I've noticed the config option, but not
> sure how to use it - OVEHOSTED_CORE/screenProceed

You can try:

hosted-engine --deploy
--otopi-environment='OVEHOSTED_CORE/screenProceed:bool:True'

>
> TIA,
> Y.
>
> [1]
> https://github.com/oVirt/ovirt-hosted-engine-setup/blob/e339fa94637df536865b92e4dc9a2075417b6257/src/plugins/ovirt-hosted-engine-setup/core/shell.py#L53
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



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


Re: [ovirt-users] The engine- commands

2016-04-05 Thread Yedidyah Bar David
On Tue, Apr 5, 2016 at 4:33 AM, Brett I. Holcomb  wrote:
> I've been playing these and wondering what these really do.  I know
> engine-iso-uploader and engine-image-uploader really work since I've used
> them but the others don't do anything useful or give me wrong information.
> I'm running these on the Engine VM in a hosted-engine deployment with
> version 3.64.
>
> engine-config list outputs nothing at all.  I won't try the others yet.

Please check 'engine-config -h', and also:

http://www.ovirt.org/develop/developer-guide/engine/engine-config-examples/

> engine-manage-domains edit --domain=Adomain simply tells me the the domain
> adomain does not exist and it's converted it all to lowercas

This is mostly obsoleted by aaa:

http://www.ovirt.org/develop/release-management/features/infra/aaa/

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt reports

2016-04-05 Thread Yedidyah Bar David
On Mon, Apr 4, 2016 at 8:53 PM, Fernando Fuentes  wrote:
> Didi,
>
> As requested.
>
>
> [root@ovirt-dev ~]# service ovirt-engine-dwhd status
> ovirt-engine-dwhd (pid  32410) is running...
> [root@ovirt-dev ~]#
>
> The log is over at pastebin to prevent a huge email/
>
> http://pastebin.com/hPcYCKVE
>
> Hope that is ok.

The log looks mostly ok to me.

Was this a normal, default setup?

Please post the output of:

su - postgres -c 'psql -c \\l'

su - postgres -c "psql -c 'SELECT pg_database.datname,
pg_size_pretty(pg_database_size(pg_database.datname)) FROM
pg_database'"

su - postgres -c "psql ovirt_engine_reports -c 'select
connectionurl,username from jijdbcdatasource'"

grep DATABASE /etc/ovirt-engine/engine.conf.d/*
/etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/*

grep dbName /var/lib/ovirt-engine-reports/build-conf/master.properties

Adding Shirly.
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt reports

2016-04-04 Thread Yedidyah Bar David
On Mon, Apr 4, 2016 at 4:54 PM, Fernando Fuentes  wrote:
> Team,
>
> I am trying to run an ovirt report (Summary of Host usage) and I get "No
> Data Available"
> The logs show no errors.
>
> I am running oVirt Engine Version: 3.5.4.2-1.el6 with Ovirt Reports.
>
> Any ideas?

Is dwh running? Please check/post its logs. Thanks.

>
> Regards,
>
> --
> Fernando Fuentes
> ffuen...@txweather.org
> http://www.txweather.org
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



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


Re: [ovirt-users] Network issues on install

2016-04-04 Thread Yedidyah Bar David
On Sat, Apr 2, 2016 at 8:14 PM, Brett I. Holcomb  wrote:
>
> On Fri, 2016-04-01 at 21:39 -0400, Brett I. Holcomb wrote:
>
> Two items here.
>
> oVirt version 3.6.4  Fresh install, not an upgrade.
>
>
> First, I noticed this issue when I did an install on a test machine but I
> didn't have the data to present.  Because of that and some other posts
> dealing with the network issue I kept notes when I installed on my
> production system.   I'm doing a hosted-engine setup.
>
> As part of the preparation I did the following before installing and
> deploying.
>
> * Removed NetworkManager with yum remove NetworkManager
> * The NIC that will be used for the oVirt management NIC is connected to a
> switch port expecting VLAN 50 so I set up a VLAN50 ifcfg file.
> * The IP address of the  server, prefix, gateway, and TWO DNS servers were
> setup in the ifcfg file. and name resolution worked.  I could ping the host
> by name as well as the oVirt Engine VM which was in DNS so the name resolved
> but obviously nothing would reply.  Other servers and workstations could
> resolve the host and engine names.
>
> 1.  On the host I ran hosted-engine --deploy and installed the OS (Centos 7
> (1511) on the Engine VM.  I rebooted the Engine VM, told the deployment that
> the Engine VM was running and it then continued and deployment told me to
> install the engine on the Engine VM.
> 2.  I updated the Engine VM via yum update,  installed the oVirt
> repositories, and ran the engine-setup which completed successfully.
> 3. I then went back to the host and told it the Engine was setup and at this
> point things went bad.  The deployment started whining about not being able
> to resolve myenginevm.mydomain.com host, did cleanup, per-termination,
> termination, and said the deployment failed and the system was unreliable,
> fix it,  whine, whine, whine.
> 4.  I tried a ping on myenginevm.mydomain.com and it failed.
>
> What I found was that when the bridge was created (ifcfg-ovirtmgmt) the DNS
> servers were left out!  They were in the original NIC ifcfg file but it
> appears the deployment didn't bother to bring them over to the bridge ifcfg.
> I find this very puzzling since the deployment insists on FQDNs so it should
> be smart enough to bring over the DNS server settings and not leave them
> out.  My /etc/resolv.conf file also had no DNS servers in it.
>
> I added the DNS server to the bridge ifcfg file, did a systemctl restart
> network and all is well again.  The host can ping the VM!
>
> However, the deployment thinks it failed and I can not restart the Engine
> VM.  I tried a reboot, made sure the ovirt daemons were running but if I try
> and do anything such as hosted-engine vm-start I get  "Unable to read
> vm.conf, please check ovirt-ha-agent logs".
>
> Second, I think that having the deployment fail simply because it can not
> contact the Engine VM is a very huge error/bug/whatever - its silly.  The
> deployment went well, the VM exists and is running but due to the deployment
> messing up the DNS servers it just can't find it.  The deployment should
> first, handle the name server setup correctly and second fail gracefully..
>
> I rebooted the server but still get the error about not being able to read
> vm.conf.  At this point I now have to run through the entire deployment
> again just because one phase messed up unless there is a way to work around
> this.  However, in the work that I've done with oVirt I've notice the
> deployment is not real robust and when it encounters errors that should
> allow it to recover.  I suggest that consideration be given to making the
> deployment smarter and more robust.
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
> More info.
>
> This gets broken during the hosted-engine --deploy first phase (before the
> OS is installed on the Engine VM) which makes sense because I assume that's
> when the bridge is created.
>
> I added another logical network with a VLAN tag and this broke name
> resolution again.  I had to do systemctl restart network again and then name
> resolution was back.
>
> I'm attempting to use the web portal but it's very/very slow.  When I select
> the admin portal it can take 5+ minutes before it displays the login page if
> it ever does and doesn't time out.  Once I get the Admin login it goes
> pretty quickly.  I'm using Firefox 45.0.1 on Fedora 23.  Any reason for
> this?  From what I see the message about not supporting the browser is
> bogus.  My host has 64 gig memory, and E2620-v3 processor.

Looks similar to [1]. Adding Simone.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1160423
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] seria consol setup

2016-03-31 Thread Yedidyah Bar David
On Wed, Mar 30, 2016 at 7:28 PM, Christophe TREFOIS
<christophe.tref...@uni.lu> wrote:
> Hi,
>
> I have a question on this.
>
> Can there be multiple SSH keys in that box in the GUI?
>
> For instance, we might have 2 keys for our “Admin” account?

Not sure, Francesco?

>
> Thanks for your help,
>
> —
> C
>
>
>
>> On 23 Mar 2016, at 12:46, Fabrice Bacchella <fabrice.bacche...@orange.fr> 
>> wrote:
>>
>>>
>>> Le 23 mars 2016 à 12:28, Yedidyah Bar David <d...@redhat.com> a écrit :
>>>
>>> On Wed, Mar 23, 2016 at 1:04 PM, Fabrice Bacchella
>>> <fabrice.bacche...@orange.fr> wrote:
>>>> I'm reading the documentation here :
>>>>   http://www.ovirt.org/documentation/admin-guide/serial-console-setup/
>>>>
>>>> After a few strace, I found the ssh configuration used for the custom ssh 
>>>> that listen on port :
>>>> /usr/share/ovirt-vmconsole/ovirt-vmconsole-proxy/ovirt-vmconsole-proxy-sshd/sshd_config
>>>>
>>>> And I have a big problem with it.
>>>> It says "GSSAPIAuthentication no" but public key authentication is not 
>>>> allowed in my data center, we use kerberos every where.
>>>> So I wonder if I can edit this file ? How is it managed by ovirt ?
>>>
>>> In general, things under /usr are only packaged, not "managed". So a
>>> next upgrade will overwrite your changes.
>>
>> Ok, so I just need to take care how modifications and upgrade are done 
>> (using puppet) and everything should be fine.
>>>
>>> Seems like both its systemd unit and sysv init script read
>>> /etc/sysconfig/ovirt-vmconsole-proxy-sshd if it exists and add
>>> ${OPTIONS} to sshd's command line. So you can try to:
>>>
>>> echo 'OPTIONS="-o GSSAPIAuthentication=yes"' >>
>>> /etc/sysconfig/ovirt-vmconsole-proxy-sshd
>>>
>>>
>>
>> I tried that. It works. I now have pure kerberos only problems. But that's a 
>> good direction.
>>
>>> and restart it.
>>>
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>



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


Re: [ovirt-users] ovirt-event-notifier for e-mail notification

2016-03-28 Thread Yedidyah Bar David
On Mon, Mar 28, 2016 at 2:41 PM,  <nico...@devels.es> wrote:
> El 2016-03-28 12:30, Yedidyah Bar David escribió:
>>
>> On Mon, Mar 28, 2016 at 1:38 PM,  <nico...@devels.es> wrote:
>>>
>>> El 2016-03-28 11:23, Yedidyah Bar David escribió:
>>>>
>>>>
>>>> On Mon, Mar 28, 2016 at 1:05 PM,  <nico...@devels.es> wrote:
>>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> On oVirt 3.6.3.4-1, when selecting the 'Event notification' sub-tab on
>>>>> a
>>>>> user in the 'Users' tab, at the bottom this message is shown:
>>>>>
>>>>>Note: To receive email notifications, ensure that the mail server is
>>>>> configured and the ovirt-event-notifier service is running.
>>>>>
>>>>> I cannot find this service installed anywhere, though. Which package
>>>>> should
>>>>> contain this service?
>>>>>
>>>>> # systemctl status ovirt-event-notifier
>>>>> ovirt-event-notifier.service
>>>>>Loaded: not-found (Reason: No such file or directory)
>>>>>Active: inactive (dead)
>>>>
>>>>
>>>>
>>>> This should have found it for you.
>>>>
>>>> Are you trying this on the engine machine?
>>>>
>>>
>>> Yes.
>>>
>>>>>
>>>>> # locate ovirt-event-notifier
>>>>> #
>>>>>
>>>>> # yum provides *ovirt-event-notifier
>>>>> Loading mirror speeds from cached hostfile
>>>>> [...]
>>>>> No matches found
>>>>
>>>>
>>>>
>>>> It's packaged in ovirt-engine-tools .
>>>>
>>>
>>> The package is indeed installed, but the service seems not.
>>
>>
>> Can you please try:
>>
>> systemctl list-unit-files | grep ovirt-engine
>>
>
> Ah, that was the problem. It is installed as ovirt-engine-notifier, not as
> ovirt-event-notifier.

OK :-)

Only now I realized you wrote 'ovirt-event-notifier' :-)

> Maybe it was renamed from a previous version? If you
> wish, I can submit a bug so the text in the oVirt admin is renamed.

Please do.

Actually it was never named ovirt-event-notifier. AFAICT this string only
ever existed in this message, probably some simple typo no-one ever noticed
until you did now :-)

It indeed was renamed in the past, though. It's previous name was
'engine-notifierd':

https://gerrit.ovirt.org/14378

Thanks for the report!

>
> Thanks.
>
>
>>>
>>> # rpm -qa | grep engine-tools
>>> ovirt-engine-tools-3.6.3.4-1.el7.centos.noarch
>>>
>>> This is CentOS 7.1.1503, FWIW.
>>
>>
>> Why not 7.2? IIRC it should not matter, but you can try to upgrade.
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt-event-notifier for e-mail notification

2016-03-28 Thread Yedidyah Bar David
On Mon, Mar 28, 2016 at 1:38 PM,  <nico...@devels.es> wrote:
> El 2016-03-28 11:23, Yedidyah Bar David escribió:
>>
>> On Mon, Mar 28, 2016 at 1:05 PM,  <nico...@devels.es> wrote:
>>>
>>> Hi,
>>>
>>> On oVirt 3.6.3.4-1, when selecting the 'Event notification' sub-tab on a
>>> user in the 'Users' tab, at the bottom this message is shown:
>>>
>>>Note: To receive email notifications, ensure that the mail server is
>>> configured and the ovirt-event-notifier service is running.
>>>
>>> I cannot find this service installed anywhere, though. Which package
>>> should
>>> contain this service?
>>>
>>> # systemctl status ovirt-event-notifier
>>> ovirt-event-notifier.service
>>>Loaded: not-found (Reason: No such file or directory)
>>>Active: inactive (dead)
>>
>>
>> This should have found it for you.
>>
>> Are you trying this on the engine machine?
>>
>
> Yes.
>
>>>
>>> # locate ovirt-event-notifier
>>> #
>>>
>>> # yum provides *ovirt-event-notifier
>>> Loading mirror speeds from cached hostfile
>>> [...]
>>> No matches found
>>
>>
>> It's packaged in ovirt-engine-tools .
>>
>
> The package is indeed installed, but the service seems not.

Can you please try:

systemctl list-unit-files | grep ovirt-engine

>
> # rpm -qa | grep engine-tools
> ovirt-engine-tools-3.6.3.4-1.el7.centos.noarch
>
> This is CentOS 7.1.1503, FWIW.

Why not 7.2? IIRC it should not matter, but you can try to upgrade.

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


Re: [ovirt-users] ovirt-event-notifier for e-mail notification

2016-03-28 Thread Yedidyah Bar David
On Mon, Mar 28, 2016 at 1:05 PM,   wrote:
> Hi,
>
> On oVirt 3.6.3.4-1, when selecting the 'Event notification' sub-tab on a
> user in the 'Users' tab, at the bottom this message is shown:
>
>Note: To receive email notifications, ensure that the mail server is
> configured and the ovirt-event-notifier service is running.
>
> I cannot find this service installed anywhere, though. Which package should
> contain this service?
>
> # systemctl status ovirt-event-notifier
> ovirt-event-notifier.service
>Loaded: not-found (Reason: No such file or directory)
>Active: inactive (dead)

This should have found it for you.

Are you trying this on the engine machine?

>
> # locate ovirt-event-notifier
> #
>
> # yum provides *ovirt-event-notifier
> Loading mirror speeds from cached hostfile
> [...]
> No matches found

It's packaged in ovirt-engine-tools .

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] seria consol setup

2016-03-23 Thread Yedidyah Bar David
On Wed, Mar 23, 2016 at 1:46 PM, Fabrice Bacchella
<fabrice.bacche...@orange.fr> wrote:
>
>> Le 23 mars 2016 à 12:28, Yedidyah Bar David <d...@redhat.com> a écrit :
>>
>> On Wed, Mar 23, 2016 at 1:04 PM, Fabrice Bacchella
>> <fabrice.bacche...@orange.fr> wrote:
>>> I'm reading the documentation here :
>>>http://www.ovirt.org/documentation/admin-guide/serial-console-setup/
>>>
>>> After a few strace, I found the ssh configuration used for the custom ssh 
>>> that listen on port :
>>> /usr/share/ovirt-vmconsole/ovirt-vmconsole-proxy/ovirt-vmconsole-proxy-sshd/sshd_config
>>>
>>> And I have a big problem with it.
>>> It says "GSSAPIAuthentication no" but public key authentication is not 
>>> allowed in my data center, we use kerberos every where.
>>> So I wonder if I can edit this file ? How is it managed by ovirt ?
>>
>> In general, things under /usr are only packaged, not "managed". So a
>> next upgrade will overwrite your changes.
>
> Ok, so I just need to take care how modifications and upgrade are done (using 
> puppet) and everything should be fine.

But isn't the below enough?

>>
>> Seems like both its systemd unit and sysv init script read
>> /etc/sysconfig/ovirt-vmconsole-proxy-sshd if it exists and add
>> ${OPTIONS} to sshd's command line. So you can try to:
>>
>> echo 'OPTIONS="-o GSSAPIAuthentication=yes"' >>
>> /etc/sysconfig/ovirt-vmconsole-proxy-sshd
>>
>>
>
> I tried that. It works. I now have pure kerberos only problems. But that's a 
> good direction.

Good.

So that should be enough, no? IIRC command-line options override conf
file in sshd, no need to play games with rpm/yum.

Thanks for the report.

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] seria consol setup

2016-03-23 Thread Yedidyah Bar David
On Wed, Mar 23, 2016 at 1:04 PM, Fabrice Bacchella
 wrote:
> I'm reading the documentation here :
> http://www.ovirt.org/documentation/admin-guide/serial-console-setup/
>
> After a few strace, I found the ssh configuration used for the custom ssh 
> that listen on port :
> /usr/share/ovirt-vmconsole/ovirt-vmconsole-proxy/ovirt-vmconsole-proxy-sshd/sshd_config
>
> And I have a big problem with it.
> It says "GSSAPIAuthentication no" but public key authentication is not 
> allowed in my data center, we use kerberos every where.
> So I wonder if I can edit this file ? How is it managed by ovirt ?

In general, things under /usr are only packaged, not "managed". So a
next upgrade will overwrite your changes.

Seems like both its systemd unit and sysv init script read
/etc/sysconfig/ovirt-vmconsole-proxy-sshd if it exists and add
${OPTIONS} to sshd's command line. So you can try to:

echo 'OPTIONS="-o GSSAPIAuthentication=yes"' >>
/etc/sysconfig/ovirt-vmconsole-proxy-sshd

and restart it.

> I can always use puppet to modify just this line, it will be fine for me.
>
> The point 4 in Automatic Setup is not very helpfull:
> "   • once the setup succesfully run, and once ovirt-engine is running, 
> you can log in and register a SSH key. (TODO: add picture)"
>
> what does it mean ?

No idea. Adding Francesco.
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [hosted-engine] The VDSM host was found in a failed state

2016-03-23 Thread Yedidyah Bar David
On Wed, Mar 23, 2016 at 6:40 AM, Wee Sritippho  wrote:
> Hi,
>
> I'm installing oVirt hosted-engine using a fibre channel storage. During the
> deployment I found this error:
>
> [ ERROR ] The VDSM host was found in a failed state. Please check engine
> and bootstrap installation logs.
> [ ERROR ] Unable to add hosted_engine_1 to the manager
>
> Tried to reinstall the host via web GUI, but got this error:
>
> Host hosted_engine_1 installation failed. Host is not reachable.
>
> How do I fix this?
>

You were asked:

iptables was detected on your computer, do you wish setup to configure it?

and replied 'No'. So it later told you:

 The following network ports should be opened:
 tcp:5900
 tcp:5901
 udp:5900
 udp:5901
 An example of the required configuration for iptables
can be found at:
 /etc/ovirt-hosted-engine/iptables.example

Did you?

Also, your vdsm.log has lots of noise found on the hosted-engine storage.
Something like:

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

Please provide versions of relevant packages on host and engine vm and HA logs
(/var/log/ovirt-hosted-engine-ha/*).

Adding Martin.

> P.S. The log files were about 10 MB so I zipped it all

Thanks.

You can also upload to some file-sharing service and post a link, might be
more comfortable for some of the subscribers of this list.

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] NFS firewall rule

2016-03-23 Thread Yedidyah Bar David
On Tue, Mar 22, 2016 at 6:12 PM, Bill James <bill.ja...@j2.com> wrote:
> I thought NFS was pretty standard in use on ovirt systems.

I guess it's very common on hosts as a client, not sure about server.
I guess most setups use separate machines to host VMs and for storage.

> Why does it take
> a custom setup to enable NFS in firewall rule?

The default rules open only, AFAIU, mandatory stuff - ports for vdsm
communication, remote consoles, etc.

Best,

>
>
> https://bugzilla.redhat.com/show_bug.cgi?id=513
>
> added:
> engine-config --set IPTablesConfigSiteCustom="-A INPUT -p tcp -m multiport
> --dports 2049 -j ACCEPT"
>
>
> Thanks.
>
>
> On 03/19/2016 11:29 PM, Yedidyah Bar David wrote:
>>
>> On Fri, Mar 18, 2016 at 2:03 AM, Bill James <bill.ja...@j2.com> wrote:
>>>
>>> How do I make it that when ever I add or reinstall a hardware node that
>>> oVirt creates a rule for NFS, port 2049?
>>
>> Search for 'IPTablesConfigSiteCustom'.
>>
>> Best,
>>
>>> I have to either add it manually after ovirt removes it, or just tell
>>> ovirt
>>> not to touch firewall rules.
>>> Our ISO domain is not hosted by the ovirt-engine, fyi.
>>>
>>>
>>> ovirt-engine-3.6.3.4-1.el7.centos.noarch
>>>
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>>
>
>
> Cloud Services for Business www.j2.com
> j2 | eFax | eVoice | FuseMail | Campaigner | KeepItSafe | Onebox
>
>
> This email, its contents and attachments contain information from j2 Global,
> Inc. and/or its affiliates which may be privileged, confidential or
> otherwise protected from disclosure. The information is intended to be for
> the addressee(s) only. If you are not an addressee, any disclosure, copy,
> distribution, or use of the contents of this message is prohibited. If you
> have received this email in error please notify the sender by reply e-mail
> and delete the original message and any copies. (c) 2015 j2 Global, Inc. All
> rights reserved. eFax, eVoice, Campaigner, FuseMail, KeepItSafe, and Onebox
> are registered trademarks of j2 Global, Inc. and its affiliates.



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


Re: [ovirt-users] How to use /etc/ovirt-hosted-engine-setup.env.d/ ?

2016-03-21 Thread Yedidyah Bar David
On Mon, Mar 21, 2016 at 4:50 PM, Pat Riehecky  wrote:
> I'd like to pre-seed answers to several of the hosted-engine setup question,
> but can't seem to find any instructions on how to pass answers into
> hosted-engine.  I tried the same tactics as with engine-setup, but those
> netted no results.

That's currently not supported by hosted-engine setup.

otopi itself also reads these files from /etc/otopi.conf and
/etc/otopi.conf.d/*.conf
(both do not exist by default, but you can create what you want).

All tools will read it, so be careful about what you add there. This
might include
also host-deploy.

hosted-engine setup has special handling for '--config-append', but in
principle you
can use that. It might be difficult on additional hosts, due to this
special handling.

You can also try imitating the behavior of engine-setup by passing e.g.:

hosted-engine --deploy
--otopi-environment="APPEND:CORE/configFileName=str:/etc/ovirt-hosted-engine-setup.conf"

>
> Pat
>
> --
> Pat Riehecky
> Scientific Linux developer
>
> Fermi National Accelerator Laboratory
> www.fnal.gov
> www.scientificlinux.org
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



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


Re: [ovirt-users] Active Directory (LDAP) user auth is slow

2016-03-21 Thread Yedidyah Bar David
On Mon, Mar 21, 2016 at 4:47 AM, Will Dennis  wrote:
> Hi all,
>
> I have enabled Active Directory authentication for the users in oVirt (via 
> engine-manage-domains command using --provider=ad) and, although it works, it 
> takes about ~50 sec’s to process a login. I have other OSS software that 
> utilizes AD auth, and there is no such lag when processing logins, so I’m 
> guessing it’s a problem with the oVirt implementation… Any way to debug why 
> the auth process is taking so long?

This is an old, unmaintained component. You should use the new aaa-ldap one.
Search the list archives for "aaa-ldap" and/or read the README file in the
sources [1]. Best,

[1] 
https://gerrit.ovirt.org/gitweb?p=ovirt-engine-extension-aaa-ldap.git;a=blob;f=README

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



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


Re: [ovirt-users] NFS firewall rule

2016-03-20 Thread Yedidyah Bar David
On Fri, Mar 18, 2016 at 2:03 AM, Bill James  wrote:
> How do I make it that when ever I add or reinstall a hardware node that
> oVirt creates a rule for NFS, port 2049?

Search for 'IPTablesConfigSiteCustom'.

Best,

>
> I have to either add it manually after ovirt removes it, or just tell ovirt
> not to touch firewall rules.
> Our ISO domain is not hosted by the ovirt-engine, fyi.
>
>
> ovirt-engine-3.6.3.4-1.el7.centos.noarch
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



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


Re: [ovirt-users] "wildcard resolve to multiple address" during hosted-engine --deploy

2016-03-16 Thread Yedidyah Bar David
(Adding the mailing list)

On Wed, Mar 16, 2016 at 4:14 AM, Zach <zfnoc...@gmail.com> wrote:
> Hi Didi,
>
> I chose to go with option #2, and I now am getting:
>
> [ ERROR ] Failed to execute stage 'Misc configuration': Failed to setup
> networks {'ovirtmgmt': {'nic': 'em1', 'bootproto': 'dhcp',
> 'blockingdhcp': True, 'defaultRoute': True}}. Error code: "29" message:
> "Determining IP information for ovirtmgmt... failed; no link present.
> Check cable?"

Please post setup logs.

>
> Which is *completely* nonsensical, as em1 is showing up as working both
> in CentOS, and iDrac - not to mention I am connected over ssh with that
> very same network interface.

Perhaps you do not have an IP address on that interface? You do need one.
The engine will communicate with the host using this address.

>  Just to be on the safe-side, I will
> mention that I disabled firewalld and Networkmanager as soon as I first
> logged into this machine. which also makes wonder why these need to be
> disabled, since they are included by default with CentOS/RHEL 7.
>
> This whole process has left me fairly frustrated and confused.

Sorry for that. Bugs/RFEs/patches are always welcome :-)

>  Why does
> a previous attempt somehow completely destroy any chance of installing
> the system without a complete wipe of the disks?

Because of the way the deploy script is currently implemented, it would be
hard to completely undo changes on failure (which we do try hard in
engine-setup). We have an open RFE for supplying a cleanup tool:

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

See also:

http://www.ovirt.org/documentation/how-to/hosted-engine/#recoving-from-failed-install

The source package also has:
https://gerrit.ovirt.org/gitweb?p=ovirt-hosted-engine-setup.git;a=blob;f=cleanup.sh;h=89b315339022eff341042dd47d42bd979cf67176;hb=HEAD
It's currently down for some reason, not sure. A mirror is available at:
https://github.com/oVirt/ovirt-hosted-engine-setup/blob/master/cleanup.sh

All of these are far from perfect, and reinstalling the OS is way safer
when trying to debug such issues.

>  Why is the
> installation failing to even find a network interface? Is this par for
> the course to get oVirt installed?

Again, not sure what the exact problem was. Please post setup logs.

>
> Finally, are there any current guides on setting up oVirt 3.6 in a
> hosted-engine configuration with nfs/gluster all on a single machine?

Not that I am aware of.

loopback-mounting nfs is considered unsafe due to locking issues, see:
https://lwn.net/Articles/595652/

You can use iSCSI.

Most people install it on more than one machine. For a single machine,
usually virt-manager is enough.

Of course you can use VMs with nested-kvm to virtualize more than one
machine on a single one, if you mainly do this for testing/learning/etc.

> It looks like everything is old or incomplete.  But perhaps it is not
> intended to be used yet.

Proper support is currently partial. Search the net for e.g. 'ovirt
hyperconvergence' for the current efforts. The plan is to require at
least 3 physical machines, to have a replica-3 gluster storage and
quorum. It should be possible today to deploy on a single machine with
gluster, supplying three different paths for gluster all on the same
machine.

For best results, currently, you should have at least 3 machines:
One for storage (or a dedicated storage appliance), two for hosted-engine
hosts providing high-availability.

Best regards,

>
>
> On 03/14/2016 01:41 AM, Yedidyah Bar David wrote:
>> On Mon, Mar 14, 2016 at 3:19 AM, Zach <zfnoc...@gmail.com> wrote:
>>> I keep running into the following error when going through the
>>> "hosted-engine --deploy" configuration.
>>>
>>> [ ERROR ] Failed to execute stage 'Setup validation': wildcard
>>> resolved to multiple address
>>>
>>> So far, I haven't been able to figure out what I'm doing wrong.  My best
>>> guess is that there is some issue with the FQDN that I used, but I'm not
>>> sure what I've done wrong.  I've included the following line in
>>> /etc/hosts for the FQDN.
>>>
>>> 192.168.0.50ovirt.domain.local
>>>
>>> I've also attached the output log, as well as the full output of me
>>> answering all the prompts.
>>>
>>> Any help would be appreciated, let me know if I need to include more
>>> information.
>> It seems like there are some left-overs in vdsm from previous attempts.
>> If you want to further debug this, please:
>> 1. Try to give exact flow, including what you tried, changed etc at each 
>> point
>> 2. Attach all setup logs and all vdsm logs
>>
>> If you just want it all to work, please reinstall the machine from scratch
>> and try again, and if you get into problems on first attempt, check/post
>> setup and vdsm logs.
>>
>> Best,
>



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


Re: [ovirt-users] Unable to "yum update" latest ovirt-engine-3.6.3.4-1.el7.centos.noarch.rpm

2016-03-15 Thread Yedidyah Bar David
On Tue, Mar 15, 2016 at 3:36 PM, Lionel Caignec  wrote:
> Hi,
>
> i've a working ovirt engine installed on centos 7.2, i tried to yum update in 
> order to get latest version but yum tell there is nothing to do.

What is the exact command you try?

>
> My repos ovirt* are all enabled.
>
> Here my version currently installed :
> ovirt-engine.noarch   3.6.1.3-1.el7.centos @ovirt-3.6
>
>
>
> So i really don't understand what happen. Someone to help me?

Are you following the upgrade instructions [1] in the release notes?

[1] http://www.ovirt.org/release/3.6.3/#install--upgrade-from-previous-versions

Please note that the package 'ovirt-engine' itself, and several
others, are version-locked, and should only be updated by
engine-setup, so will not appear when you run 'yum update'.

Best,

>
> --
> Lionel Caignec
>
> Centre Informatique National de l' Enseignement Supérieur
> 950 rue de Saint Priest
> 34097 MONTPELLIER Cedex 5
> Tel : (33) 04 67 14 14 14
> Fax : (33)04 67 52 37 63
> http://www.cines.fr
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



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


Re: [ovirt-users] Hosted engine disk migration

2016-03-15 Thread Yedidyah Bar David
On Mon, Mar 14, 2016 at 7:09 PM, Christophe TREFOIS
 wrote:
> This procedure is what makes so scared.
>
> Restoring a backup, usually, ends up in cataclysmic nightmares. Maybe not so
> in oVirt :)
>
> Is there a recommended way to test restoring an ovirt-engine backup to see
> if it would “fail” or “work” in production?

Just first do a restore on an isolated VM and see what happens.

If you did not have local/manual customizations, I'd expect the restore to
work. Things that will not work you'll generally found out only after the
restore, depending on your env, the state of the engine, etc. See e.g. also:

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

>
>
> On 14 Mar 2016, at 07:57, Sandro Bonazzola  wrote:
>
>
>
> On Fri, Mar 4, 2016 at 6:27 PM, Pat Riehecky  wrote:
>>
>> I'm on oVirt 3.6
>>
>> I'd like to migrate my hosted engine storage to another location and have
>> a few questions:
>
>
>
> There is no special procedure to migrate the Hosted Engine storage to a new
> one.
> A possible way to do that is to backup the oVirt Engine data and restore
> them on a newly deployed Hosted Engine using the new storage location as if
> it was a migration from bare metal to hosted engine.
>
>
>
>>
>>
>> (a) what is the right syntax for glusterfs in
>> /etc/ovirt-hosted-engine/hosted-engine.conf? (I'm currently on nfs3)
>>
>> (b) what is the right syntax for fibre channel?
>>
>> (c) where are instructions for how to migrate the actual disk files?
>> (google was little help)
>>
>> (d) Can the hosted engine use the same (gluster/fibre) volume as my VM
>> Images?
>>
>> (e) I get various "Cannot edit Virtual Machine. This VM is not managed by
>> the engine." in the console for manipulating the HostedEngine.  Is that
>> expected?
>>
>> Pat
>>
>> --
>> Pat Riehecky
>> Scientific Linux developer
>>
>> Fermi National Accelerator Laboratory
>> www.fnal.gov
>> www.scientificlinux.org
>>
>> ___
>> 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
> ___
> 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
>



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


Re: [ovirt-users] [hosted-engine] install additional nodes without knowing another HE host's root password?

2016-03-14 Thread Yedidyah Bar David
On Mon, Mar 14, 2016 at 8:59 AM, Sandro Bonazzola  wrote:
>
>
> On Thu, Feb 25, 2016 at 7:58 AM, Wee Sritippho  wrote:
>>
>> Hi,
>>
>> I'm trying to deploy a 2nd host to my hosted-engine environment, but the
>> 1st host doesn't have a root password - it only has a sudo account.
>
>
> this kind of configuration is not supported by Hosted Engine.
> Please open a RFE for supporting this setup.
>
>
>
>>
>> I can temporarily set a password and enable ssh for the root account, but
>> I'm curious whether there is proper way to do this without messing with the
>> user accounts? for example:
>>
>> - Locating the answer file that was copied from the 1st host manually (I
>> already tried 'hosted-engine --deploy
>> --config-append=answers-XX.conf' but the setup thought that I'm
>> going to deploy my 1st host)

IMO it should have passed this point. Use the answer file in
/etc/ovirt-hosted-engine,
not in /var . If all goes well they should be identical, otherwise
/etc will have the
"last known good" one and /var will have all.

But it might fail later during host-deploy. That stage requires ssh
from the engine
to the host as root (currently, there's an open RFE about this). But it does not
require a password, because we add the engine's public key to the host's
/root/.ssh/authorized_keys. So if you allow ssh as root with public key auth, it
should work.

Please check/post setup logs to try and understand why it was
identified as 1st host.

>> - scp from an account other than 'root'

Not difficult in principle, currently not supported. As Sandro said, you can
open an RFE.

Best,

>>
>> Regards,
>> Wee
>>
>>
>> ---
>> ซอฟต์แวร์ Avast แอนตี้ไวรัสตรวจสอบหาไวรัสจากอีเมลนี้แล้ว
>> https://www.avast.com/antivirus
>>
>> ___
>> 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
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



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


Re: [ovirt-users] "wildcard resolve to multiple address" during hosted-engine --deploy

2016-03-14 Thread Yedidyah Bar David
On Mon, Mar 14, 2016 at 3:19 AM, Zach  wrote:
> I keep running into the following error when going through the
> "hosted-engine --deploy" configuration.
>
> [ ERROR ] Failed to execute stage 'Setup validation': wildcard
> resolved to multiple address
>
> So far, I haven't been able to figure out what I'm doing wrong.  My best
> guess is that there is some issue with the FQDN that I used, but I'm not
> sure what I've done wrong.  I've included the following line in
> /etc/hosts for the FQDN.
>
> 192.168.0.50ovirt.domain.local
>
> I've also attached the output log, as well as the full output of me
> answering all the prompts.
>
> Any help would be appreciated, let me know if I need to include more
> information.

It seems like there are some left-overs in vdsm from previous attempts.
If you want to further debug this, please:
1. Try to give exact flow, including what you tried, changed etc at each point
2. Attach all setup logs and all vdsm logs

If you just want it all to work, please reinstall the machine from scratch
and try again, and if you get into problems on first attempt, check/post
setup and vdsm logs.

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Installation of host hangs and will not finish installation of host

2016-03-10 Thread Yedidyah Bar David
On Thu, Mar 10, 2016 at 1:19 PM, Jonas Kirk Pedersen  wrote:
>
> Im and quite new at using mailing list, but here is my current challenge.
>
> I am adding a new host  from a fresh install centos 7. Updated with yum -y
> update and yum install then repo from ovirt v.3.6.

yum install what?

>
> Now the installation of the host is stuck at validating for 2 hours.

"installation" meaning "New host" in the web admin? Something else?

> Have tried to restart vdsmd to see if I cant trigger a failure, but no.
> Did a reboot of the host and that did not help.
> Now it is powered off and the engine is has registered that there is no
> connection to the host with error: "VDSM KVM2 command failed: Connection
> issue null"
>
> Is there a way to cancel a running task?

The word "task" has a quite specific meaning in the engine, and installation
of a host is not a task. Generally speaking, AFAIK, you can't easily cancel
a task.

To debug host installation, while the installation is running, you can check
/tmp of the host. You should be able to find there stuff of ovirt-host-deploy,
which is the program running on the host to deploy it. If you manage to find
the log, please check/post it. Thanks.

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] restore-nets failing (was: Fresh install failing (Hosted Engine))

2016-03-07 Thread Yedidyah Bar David
:34 ovirt01 systemd[1]: Unit vdsm-network.service entered failed
> state.
> Mar 07 07:57:34 ovirt01 systemd[1]: vdsm-network.service failed.
> Mar 07 07:57:34 ovirt01 polkitd[2395]: Unregistered Authentication Agent for
> unix-process:20832:13669245 (system bus name :1
>
> --
>
> [root@ovirt01 log]# systemctl start vdsm-network
> Job for vdsm-network.service failed because the control process exited with
> error code. See "systemctl status vdsm-network.service" and "journalctl -xe"
> for details.
> [root@ovirt01 log]# journalctl -xe
> Mar 07 07:58:32 ovirt01 vdsm-tool[20871]: self._raiseerror(v)
> Mar 07 07:58:32 ovirt01 vdsm-tool[20871]: File
> "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
> Mar 07 07:58:32 ovirt01 vdsm-tool[20871]: raise err
> Mar 07 07:58:32 ovirt01 vdsm-tool[20871]: xml.etree.ElementTree.ParseError:
> not well-formed (invalid token): line 4, column 13
> Mar 07 07:58:32 ovirt01 vdsm-tool[20871]: Traceback (most recent call last):
> Mar 07 07:58:32 ovirt01 vdsm-tool[20871]: File "/usr/bin/vdsm-tool", line
> 219, in main
> Mar 07 07:58:32 ovirt01 vdsm-tool[20871]: return
> tool_command[cmd]["command"](*args)
> Mar 07 07:58:32 ovirt01 vdsm-tool[20871]: File
> "/usr/lib/python2.7/site-packages/vdsm/tool/restore_nets.py", line 41, in
> restore_com
> Mar 07 07:58:32 ovirt01 vdsm-tool[20871]: exec_restore(cmd)
> Mar 07 07:58:32 ovirt01 vdsm-tool[20871]: File
> "/usr/lib/python2.7/site-packages/vdsm/tool/restore_nets.py", line 54, in
> exec_restor
> Mar 07 07:58:32 ovirt01 vdsm-tool[20871]: raise EnvironmentError('Failed to
> restore the persisted networks')
> Mar 07 07:58:32 ovirt01 vdsm-tool[20871]: EnvironmentError: Failed to
> restore the persisted networks
> Mar 07 07:58:32 ovirt01 systemd[1]: vdsm-network.service: main process
> exited, code=exited, status=1/FAILURE
> Mar 07 07:58:32 ovirt01 systemd[1]: Failed to start Virtual Desktop Server
> Manager network restoration.
> -- Subject: Unit vdsm-network.service has failed
> -- Defined-By: systemd
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> --
> -- Unit vdsm-network.service has failed.
> --
> -- The result is failed.
> Mar 07 07:58:32 ovirt01 systemd[1]: Unit vdsm-network.service entered failed
> state.
> Mar 07 07:58:32 ovirt01 systemd[1]: vdsm-network.service failed.
> Mar 07 07:58:32 ovirt01 polkitd[2395]: Unregistered Authentication Agent for
> unix-process:20860:13674993 (system bus name :1.115, o
>
> --
>
> [root@ovirt01 log]# vdsm-tool restore-nets
> Traceback (most recent call last):
>   File "/usr/share/vdsm/vdsm-restore-net-config", line 429, in 
> restore(args)
>   File "/usr/share/vdsm/vdsm-restore-net-config", line 387, in restore
> _restore_sriov_numvfs()
>   File "/usr/share/vdsm/vdsm-restore-net-config", line 82, in
> _restore_sriov_numvfs
> sriov_devices = _get_sriov_devices()
>   File "/usr/share/vdsm/vdsm-restore-net-config", line 54, in
> _get_sriov_devices
> devices = hostdev.list_by_caps()
>   File "/usr/share/vdsm/hostdev.py", line 175, in list_by_caps
> libvirt_devices = _get_devices_from_libvirt()
>   File "/usr/share/vdsm/hostdev.py", line 160, in _get_devices_from_libvirt
> for device in libvirtconnection.get().listAllDevices(0))
>   File "/usr/share/vdsm/hostdev.py", line 160, in 
> for device in libvirtconnection.get().listAllDevices(0))
>   File "/usr/share/vdsm/hostdev.py", line 107, in _parse_device_params
> devXML = etree.fromstring(device_xml)
>   File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1300, in XML
> parser.feed(text)
>   File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1642, in feed
> self._raiseerror(v)
>   File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1506, in
> _raiseerror
> raise err
> xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 4,
> column 13
> Traceback (most recent call last):
>   File "/bin/vdsm-tool", line 219, in main
> return tool_command[cmd]["command"](*args)
>   File "/usr/lib/python2.7/site-packages/vdsm/tool/restore_nets.py", line
> 41, in restore_command
> exec_restore(cmd)
>   File "/usr/lib/python2.7/site-packages/vdsm/tool/restore_nets.py", line
> 54, in exec_restore
> raise EnvironmentError('Failed to restore the persisted networks')
> EnvironmentError: Failed to restore the persisted networks
>
>
> On Mon, Mar 7, 2016 at 2:56 AM, Yedidyah Bar David <d...@redhat.com> wrote:
>>
>> On 

Re: [ovirt-users] Fresh install failing (Hosted Engine)

2016-03-06 Thread Yedidyah Bar David
On Sun, Mar 6, 2016 at 7:21 PM, Jonathan Sherman <havil...@gmail.com> wrote:
> Didi,
>
> NetworkManager is off, via "systemctl disable NetworkManager && systemctl
> stop NetworkManager" (and rebooted after), and network allowing remote ssh
> access and yum commands functional.
>
> Log files with sizes >0 from /var/log/vdsm:
> https://www.dropbox.com/s/iobee7toeyc2jda/supervdsm.log?dl=0
> https://www.dropbox.com/s/rdxi4ujwqhmekgh/upgrade.log?dl=0

So this means you also have an empty (size 0) vdsm.log? Can you please
'ls -la /var/log/vdsm'?

Can you check selinux/audit logs?

>
> Most recent log file from /var/log/ovirt-hosted-engine-setup:
> https://www.dropbox.com/s/brbbujmqhhbsx4o/ovirt-hosted-engine-setup-20160306104135-zibehr.log?dl=0

This has:

2016-03-06 10:41:43 DEBUG otopi.plugins.otopi.services.systemd
plugin.execute:941 execute-output: ('/bin/systemctl', 'start',
'vdsmd.service') stderr:
A dependency job for vdsmd.service failed. See 'journalctl -xe' for details.

Can you please check/post output of 'journalctl -xe'?

Thanks,

>
> Thank you for your time!
> -js
>
>
> On Sun, Mar 6, 2016 at 5:23 AM, Yedidyah Bar David <d...@redhat.com> wrote:
>>
>> On Sun, Mar 6, 2016 at 2:50 AM, Jonathan Sherman <havil...@gmail.com>
>> wrote:
>> > I want to extend my lab and am trying an install using the hosted
>> > engine,
>> > but the install is failing for me:
>> >
>> > References used for install:
>> > https://glennsnead.wordpress.com/2016/02/28/ovirt-3-6-installation/
>> > http://community.redhat.com/blog/2014/10/up-and-running-with-ovirt-3-5/
>> >
>> > Setup:
>> > Minimal install of CentOS Linux release 7.2.1511 (Core)
>> > Using DHCP with static address (tried without DHCP with same issue)
>> > yum upgrade
>> >
>> > Installed packages:
>> > yum localinstall -y
>> > http://resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm
>> > yum install -y ovirt-hosted-engine-setup screen glusterfs-server
>> > nfs-utils
>> > vdsm-gluster system-storage-manager mailx
>> >
>> > rebooted
>> >
>> > Tried hosted-engine --deploy, but it errors out.  I followed various
>> > logs
>> > and I _think_ it's failing related to vdsm-tool restore-nets.  I could
>> > use
>> > some guidance on this to help track down what's happening and how to
>> > fix.
>> >
>> > (Note:  I'd very much prefer using the hosted engine vs. another option
>> > for
>> > my lab, so I'm willing to put in the time to figure this out.  Thanks
>> > for
>> > any assistance!)
>> >
>> > Install error:
>> > [root@ovirt01 network-scripts]# hosted-engine --deploy
>> > [ INFO  ] Stage: Initializing
>> > [ INFO  ] Generating a temporary VNC password.
>> > [ INFO  ] Stage: Environment setup
>> >   Continuing will configure this host for serving as hypervisor
>> > and
>> > create a VM where you have to install the engine afterwards.
>> >   Are you sure you want to continue? (Yes, No)[Yes]:
>> >   Configuration files: []
>> >   Log file:
>> >
>> > /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160305194655-o29y86.log
>> >   Version: otopi-1.4.1 (otopi-1.4.1-1.el7.centos)
>> > [ INFO  ] Hardware supports virtualization
>> > [ INFO  ] Stage: Environment packages setup
>> > [ INFO  ] Stage: Programs detection
>> > [ INFO  ] Stage: Environment setup
>> > [ ERROR ] Failed to execute stage 'Environment setup': Failed to start
>> > service 'vdsmd'
>> > [ INFO  ] Stage: Clean up
>> > [ INFO  ] Generating answer file
>> > '/var/lib/ovirt-hosted-engine-setup/answers/answers-20160305194703.conf'
>> > [ INFO  ] Stage: Pre-termination
>> > [ INFO  ] Stage: Termination
>> > [ ERROR ] Hosted Engine deployment failed: this system is not reliable,
>> > please check the issue, fix and redeploy
>> >   Log file is located at
>> >
>> > /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160305194655-o29y86.log
>> >
>> > --
>> > vdsm-tool restore-nets output:
>> >
>> > [root@ovirt01 etc]# /usr/bin/vdsm-tool restore-nets
>> > Traceback (most recent call last):
>> >   File "/usr/share/vdsm/vdsm-restore-net-config", line 429, in 
>> > restore(args)
>> >   File "/usr/share/vdsm/vdsm-restore-net-config", line 387, in resto

Re: [ovirt-users] Fresh install failing (Hosted Engine)

2016-03-06 Thread Yedidyah Bar David
On Sun, Mar 6, 2016 at 2:50 AM, Jonathan Sherman  wrote:
> I want to extend my lab and am trying an install using the hosted engine,
> but the install is failing for me:
>
> References used for install:
> https://glennsnead.wordpress.com/2016/02/28/ovirt-3-6-installation/
> http://community.redhat.com/blog/2014/10/up-and-running-with-ovirt-3-5/
>
> Setup:
> Minimal install of CentOS Linux release 7.2.1511 (Core)
> Using DHCP with static address (tried without DHCP with same issue)
> yum upgrade
>
> Installed packages:
> yum localinstall -y
> http://resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm
> yum install -y ovirt-hosted-engine-setup screen glusterfs-server nfs-utils
> vdsm-gluster system-storage-manager mailx
>
> rebooted
>
> Tried hosted-engine --deploy, but it errors out.  I followed various logs
> and I _think_ it's failing related to vdsm-tool restore-nets.  I could use
> some guidance on this to help track down what's happening and how to fix.
>
> (Note:  I'd very much prefer using the hosted engine vs. another option for
> my lab, so I'm willing to put in the time to figure this out.  Thanks for
> any assistance!)
>
> Install error:
> [root@ovirt01 network-scripts]# hosted-engine --deploy
> [ INFO  ] Stage: Initializing
> [ INFO  ] Generating a temporary VNC password.
> [ INFO  ] Stage: Environment setup
>   Continuing will configure this host for serving as hypervisor and
> create a VM where you have to install the engine afterwards.
>   Are you sure you want to continue? (Yes, No)[Yes]:
>   Configuration files: []
>   Log file:
> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160305194655-o29y86.log
>   Version: otopi-1.4.1 (otopi-1.4.1-1.el7.centos)
> [ INFO  ] Hardware supports virtualization
> [ INFO  ] Stage: Environment packages setup
> [ INFO  ] Stage: Programs detection
> [ INFO  ] Stage: Environment setup
> [ ERROR ] Failed to execute stage 'Environment setup': Failed to start
> service 'vdsmd'
> [ INFO  ] Stage: Clean up
> [ INFO  ] Generating answer file
> '/var/lib/ovirt-hosted-engine-setup/answers/answers-20160305194703.conf'
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
> [ ERROR ] Hosted Engine deployment failed: this system is not reliable,
> please check the issue, fix and redeploy
>   Log file is located at
> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160305194655-o29y86.log
>
> --
> vdsm-tool restore-nets output:
>
> [root@ovirt01 etc]# /usr/bin/vdsm-tool restore-nets
> Traceback (most recent call last):
>   File "/usr/share/vdsm/vdsm-restore-net-config", line 429, in 
> restore(args)
>   File "/usr/share/vdsm/vdsm-restore-net-config", line 387, in restore
> _restore_sriov_numvfs()
>   File "/usr/share/vdsm/vdsm-restore-net-config", line 82, in
> _restore_sriov_numvfs
> sriov_devices = _get_sriov_devices()
>   File "/usr/share/vdsm/vdsm-restore-net-config", line 54, in
> _get_sriov_devices
> devices = hostdev.list_by_caps()
>   File "/usr/share/vdsm/hostdev.py", line 175, in list_by_caps
> libvirt_devices = _get_devices_from_libvirt()
>   File "/usr/share/vdsm/hostdev.py", line 160, in _get_devices_from_libvirt
> for device in libvirtconnection.get().listAllDevices(0))
>   File "/usr/share/vdsm/hostdev.py", line 160, in 
> for device in libvirtconnection.get().listAllDevices(0))
>   File "/usr/share/vdsm/hostdev.py", line 107, in _parse_device_params
> devXML = etree.fromstring(device_xml)
>   File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1300, in XML
> parser.feed(text)
>   File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1642, in feed
> self._raiseerror(v)
>   File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1506, in
> _raiseerror
> raise err
> xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 4,
> column 13
> Traceback (most recent call last):
>   File "/usr/bin/vdsm-tool", line 219, in main
> return tool_command[cmd]["command"](*args)
>   File "/usr/lib/python2.7/site-packages/vdsm/tool/restore_nets.py", line
> 41, in restore_command
> exec_restore(cmd)
>   File "/usr/lib/python2.7/site-packages/vdsm/tool/restore_nets.py", line
> 54, in exec_restore
> raise EnvironmentError('Failed to restore the persisted networks')
> EnvironmentError: Failed to restore the persisted networks

Please check/post full ovirt-hosted-engine-setup logs, vdsm logs.

Do you have NetworkManager?

Thanks for the report!

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 3.6 engine-backup

2016-03-03 Thread Yedidyah Bar David
On Thu, Mar 3, 2016 at 5:40 PM, Giorgio Bart  wrote:
> Hi all,
> I just upgraded From 3.5 to 3.6 and I run a backup with engine-backup. The
> resulting files are very small in size compared to those created with the
> engine-backup command from 3.5. Is this correct ?

Yes:

https://gerrit.ovirt.org/36500

> old backup( scope=files) : 15MB
> new backup(scoope=files):  177KB
>
> In the old backup file the biggest size is from var directory
>
> 24M./lib/ovirt-engine
> 24M./lib
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



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


Re: [ovirt-users] oVirt New Install

2016-02-29 Thread Yedidyah Bar David
On Mon, Feb 29, 2016 at 7:27 PM, Brett I. Holcomb  wrote:
> Thank you for the explanation. That helps.  The hypervisors I used in the
> past had no such thing.  You just created storage areas and used them as
> desired and the admin interface worked whether or not they existd.

This is a complication caused by the way hosted-engine is implemented.

The main use-case for hosted-engine is for "cheap HA" (cheap = no extra
software and no dedicated hardware).

If all you want is a simple management interface for one host, you are
probably better off using virt-manager or something like that.

I think most people using oVirt on a single host do this mainly for
testing/education/etc and (intend to) also use it on a larger setup.
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt New Install

2016-02-29 Thread Yedidyah Bar David
On Sun, Feb 28, 2016 at 9:48 PM, Brett I. Holcomb <biholc...@l1049h.com> wrote:
> On Sun, 2016-02-28 at 11:31 +0200, Yedidyah Bar David wrote:
> > On Sun, Feb 28, 2016 at 3:58 AM, Brett I. Holcomb
> > om> wrote:
> > > #4 - finally decided to add new storage from another iSCSI LUN and
> > > suddenly
> > > the DC was running!  The local storage (#1), ISO Domain (#2)
> > > suddenly are
> > > available.  This is definitely non-intuitive behaviour.  i can't
> > > see why the
> > > DC has to have additional storage added to make it work.  It
> > > already has
> > > it's storage - which is available for use  when creating VMS.  The
> > > DC should
> > > just come up and if there is an issue putting VMs on the
> > > host_storage (space
> > > issues maybe?) then it shouldn't be allowed as a choice when
> > > creating a VM
> > > or there should be a message about not enough space.  Well, now I
> > > know I can
> > > work with it and just wonder why it was designed this way.  Very
> > > strange.
> >
> > This is how it currently works.
> >
> > This is because the hosted_storage domain can't be used as the
> > "master
> > storage domain", and such as master is required for many things.
> >
> That makes some sense.  I'd suggest that there be some indication that
> we need to add a master storage domain.

Perhaps. Actually we are trying to get rid of it:

https://www.ovirt.org/develop/release-management/features/storage/decommission-master-domain-and-spm/

> Is the master storage domain the same one used to store VMs or can it
> be a separate domain which is used only as the master and VMs go
> elsewhere.  Does is need a minimum amount of storage space?

Normally it's the first "normal" data domain, used to store VMs.

Not sure about minimum size if you do not intend to store VMs there.
I guess it can be very small - a few MBs or so.

> > Did this solve all your problems? If not, please:
> > 1. Try again with 3.6.3, which should be out in a few days, or the latest
> > RC [1].
> > 2. If you still have problems, please state versions of OSes and whatever
> > other relevant tools, and post (links to) full logs of both the host and
> > the engine:
> > /var/log/ovirt*
> > /var/log/vdsm*
> >
> > [1] http://lists.ovirt.org/pipermail/users/2016-February/038125.html
>
> Once I got the Data Center initialized things all fell into place and
> it's working.  The confirm reboot issue I think is because it's a menu
> entry that shows up whether or not the confirmation is needed and I
> thought it might have been an issue when I was troubleshooting.
> Currently my issues are due to running the oVirth Host and engine on a
> guest hosted on VMware Workstation on a Windows PC with limited memory
> .  But it's enough to do some testing and get ready to replace ESXi
> on my physical server.   As always there is a learning curve when
> moving to a new product and oVirt/RHEV looks like a worthy alternative
> to VMware, MS, etc.  I will check out the new release and definitely
> use it on the server.
> Thank you for your help.
>

Good luck and best regards,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [hosted-engine] admin@internal password for additional nodes?

2016-02-28 Thread Yedidyah Bar David
On Fri, Feb 26, 2016 at 3:40 AM, Wee Sritippho  wrote:
> Hi,
>
> I'm trying to deploy a 2nd host to my hosted-engine environment, but at some
> point, the setup ask me to type a password for admin@internal again. Do I
> need to type the same password that I choose when deploying the 1st host?

Yes.

> If
> not, would it replace the old password?

No.

If you enter the wrong password, interaction with the engine will simply fail.

Actually it should be enough to ask once and verify immediately (by trying to
connect to the engine), please file an RFE bug about this... Thanks!

Best,

>
> Thank you,
> Wee
>
> ---
> ซอฟต์แวร์ Avast แอนตี้ไวรัสตรวจสอบหาไวรัสจากอีเมลนี้แล้ว
> https://www.avast.com/antivirus
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



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


Re: [ovirt-users] oVirt New Install

2016-02-28 Thread Yedidyah Bar David
On Sun, Feb 28, 2016 at 3:58 AM, Brett I. Holcomb  wrote:
> #4 - finally decided to add new storage from another iSCSI LUN and suddenly
> the DC was running!  The local storage (#1), ISO Domain (#2) suddenly are
> available.  This is definitely non-intuitive behaviour.  i can't see why the
> DC has to have additional storage added to make it work.  It already has
> it's storage - which is available for use  when creating VMS.  The DC should
> just come up and if there is an issue putting VMs on the host_storage (space
> issues maybe?) then it shouldn't be allowed as a choice when creating a VM
> or there should be a message about not enough space.  Well, now I know I can
> work with it and just wonder why it was designed this way.  Very strange.

This is how it currently works.

This is because the hosted_storage domain can't be used as the "master
storage domain", and such as master is required for many things.

Did this solve all your problems? If not, please:
1. Try again with 3.6.3, which should be out in a few days, or the latest
RC [1].
2. If you still have problems, please state versions of OSes and whatever
other relevant tools, and post (links to) full logs of both the host and
the engine:
/var/log/ovirt*
/var/log/vdsm*

[1] http://lists.ovirt.org/pipermail/users/2016-February/038125.html

Best regards,

>
>
>
> On Sat, 2016-02-27 at 18:01 -0500, Brett I. Holcomb wrote:
>
> I am in the process of testing oVirt to replace ESXi 6 and have run into
> some issues that I haven't found answers to.  I've used ESXi for quite a
> while and done some work with Microsoft's Hypervisor but am new to oVirt.
> It looks like it has potential to replace the others but there are some
> major issues I'm trying to work through.  I'm using a hosted-engine
> deployment.  The host is a guest on VMware Workstation 11 on Windows.  Not
> the best but it lets me test oVirt.
>
>
> I've created the VM, the engine is installed, the webadmin works, and I can
> SSH to it but I'm seeing some things that I haven't been able to find
> answers to so any help is appreciated.  I'm using DNS to resolve and both
> the engine and host can ping each other, reverse lookup on their names
> works.
>
> 1.  I used an iSCSI LUN on a NAS for storage during the deploy install but
> this storage does not show up in the admin portal list of storages.  Is it
> supposed to?  It's being used as it now has 3+ our of 50 gig used.
>
> 2. I used a local directory on the VM for an initial ISO domain but it does
> not show up in the admin portal.  I have more than 15 Gig of space
> available.  Shouldn't it be showing up in the list of storages?  I tested
> using this
> (http://www.ovirt.org/documentation/how-to/troubleshooting/troubleshooting-nfs-storage-issues/)
> and from the host I can mount the engine's exported directory and create a
> file in it as the vdsm user.
>
> 3. My host wants confirmation it's rebooted which it has been both with
> hosted-engine vm-shutdown/vm-start, and rebooting from within the engine.
> If I tell it to confirm I get the message below.  Well, it's status is
> running.  i can't connect when it's connecting or non-operational!!  I've
> put the system into maintenance mode with hosted-engine commands, I used the
> context menu on the hosted-engine vm in the portal to put it into
> maintenance but it still refuses to confirm it's rebooted.  Any ideas on how
> to get it confirmed.  I've also rebooted the hosted-engine host with no
> change.
>
> "Error while executing action: Cannot confirm 'Host has been rebooted' Host.
> Valid Host statuses are "Non operational", "Maintenance" or "Connecting"."
>
> 4.  My Default Data Center is uninitialized which is probably why nothing
> works.  If I use guide me and attach the hosted_engine choice it tells me it
> cannot acquire a host id.  I restarted the sanlock service and then when I
> attached the storage the dialog hung up spinning it's wheel and never
> returned.  I restarted the VM from hosted-engine and still get the
> AcquireHostId failure.  The iSCSI lun is being used and accessed by the
> engine as there is 3+ gig of space used.  If I try and attach the
> hosted_engine storage the icon changes to a wrench, then back to the red
> down arrow and I get the error about not acquiring a host id.  What host id?
> I only have one host!  I've reinitialized the lockspace all with no effect.
> The /var/log/ovirt-engine/engine.log has this error.  What invalid argument?
> I've seen some bug reports on this but they are back in version 3.3 or so
> and are supposed to be fixed.
>
> Command
> 'org.ovirt.engine.core.bll.storage.AddStoragePoolWithStoragesCommand' f
> ailed: EngineException:
> org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericExcep
> tion: VDSErrorException: Failed to CreateStoragePoolVDS, error = Cannot
> acquire host id: ('1d26d977-
> 0a67-43ab-bfb8-462cea95029a', SanlockException(22, 'Sanlock lockspace add
> failure', 'Invalid argumen

Re: [ovirt-users] engine-backup - readlink: missing operand

2016-02-23 Thread Yedidyah Bar David
On Tue, Feb 23, 2016 at 1:44 PM, Halsey, Michael <
michael.hal...@intechnologywifi.com> wrote:

>
>
> Michael Halsey
> Dev Ops Engineer - intechnologyWiFi
> michael.hal...@intechnologywifi.com
> Direct 01423 510650
> Mobile 07467 145626
> Head Office 01423 510510
>
>
>
>>
>>
>>> Hi All,
>>>
>>>
>>> I’m having issues using the engine-backup command.
>>>
>>>
>>> When running:
>>>
>>>
>>> engine-backup --mode=backup --scope=files —file=veng.bak --log backup.log
>>>
>>
>> Please try '--log=backup.log' (with '=').
>>
>> That was unfortunately only a typo in the email. And not when running the
>> actual command.
>>
>
> You have an EM DASH (U+2014) instead of two HYPHEN-MINUS (U+002D) in front
> of 'file='.
>
> I suspect that my Outlook client for Mac has done that.
>
> Where did you copy that command from?
>
> From my command line.
> I have attached the command including the entire output in plaintext.
>

Now copied the command from the attached file and it worked for me.

If it still does not work for you, please run this:

BACKUP_ENV_CLEAN=1 sh -x /usr/bin/engine-backup --mode=backup --scope=files
--file=veng.bak --log backup.log > engine-backup-out 2> engine-backup-err

and check/post engine-backup-out and engine-backup-err (as links to some
pastebin service, please).


>
>
>
>>
>>
>>> I get back the following error:
>>>
>>>
>>> readlink: missing operand
>>>
>>> Try 'readlink --help' for more information.
>>>
>>> /usr/bin/engine-backup: line 1405: : No such file or directory
>>>
>>> Notifying engine
>>>
>>> /usr/bin/engine-backup: line 1472: : No such file or directory
>>>
>>> /usr/bin/engine-backup: line 1405: : No such file or directory
>>>
>>> FATAL: Failed notifying engine
>>>
>>>
>>> Log file is not created.
>>>
>>> I receive similar errors when changing the scope to ‘all' and ‘db'.
>>>
>>>
>>> I’m running:
>>>
>>>
>>> CentOS Linux release 7.2.1511 (Core)
>>>
>>> oVirt Engine Version: 3.6.2.6-1.el7.centos
>>>
>>> Engine is running on bare metal.
>>>
>>>
>>> I have tried this with SELinux in Permissive mode. No difference.
>>> All packages are up to date.
>>>
>>>
>>> Can anyone advise a fix for this or if I’m doing anything wrong?
>>>
>>>
>>> Thanks in advance,
>>>
>>>
>>>
>>>
>>>
>>> Michael Halsey
>>> Dev Ops Engineer - intechnologyWiFi
>>> michael.hal...@intechnologywifi.com
>>> Direct 01423 510650
>>> Mobile 07467 145626
>>> Head Office 01423 510510
>>>
>>>
>>>
>>>
>>>
>>> This is an email from inTechnology plc, Cardale House, Cardale Court,
>>> Beckwith Head Road, Harrogate, UK, HG3 1RY.
>>> Registered in England 3916586.
>>>
>>> The contents of this message may be privileged and confidential. If you
>>> have received this message in error, you may not use, disclose, copy or
>>> distribute its content in any way. Please notify the sender immediately.
>>> All messages are scanned for all viruses.
>>>
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>
>>
>> --
>> Didi
>>
>>
>> This is an email from inTechnology plc, Cardale House, Cardale Court,
>> Beckwith Head Road, Harrogate, UK, HG3 1RY.
>> Registered in England 3916586.
>>
>> The contents of this message may be privileged and confidential. If you
>> have received this message in error, you may not use, disclose, copy or
>> distribute its content in any way. Please notify the sender immediately.
>> All messages are scanned for all viruses.
>>
>
>
>
> --
> Didi
>
>
> This is an email from inTechnology plc, Cardale House, Cardale Court,
> Beckwith Head Road, Harrogate, UK, HG3 1RY.
> Registered in England 3916586.
>
> The contents of this message may be privileged and confidential. If you
> have received this message in error, you may not use, disclose, copy or
> distribute its content in any way. Please notify the sender immediately.
> All messages are scanned for all viruses.
>



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


Re: [ovirt-users] engine-backup - readlink: missing operand

2016-02-23 Thread Yedidyah Bar David
On Tue, Feb 23, 2016 at 11:27 AM, Halsey, Michael <
michael.hal...@intechnologywifi.com> wrote:

>
>
> Michael Halsey
> Dev Ops Engineer - intechnologyWiFi
> michael.hal...@intechnologywifi.com
> Direct 01423 510650
> Mobile 07467 145626
> Head Office 01423 510510
>
>
>
>> Hi All,
>>
>>
>> I’m having issues using the engine-backup command.
>>
>>
>> When running:
>>
>>
>> engine-backup --mode=backup --scope=files —file=veng.bak --log backup.log
>>
>
> Please try '--log=backup.log' (with '=').
>
> That was unfortunately only a typo in the email. And not when running the
> actual command.
>

You have an EM DASH (U+2014) instead of two HYPHEN-MINUS (U+002D) in front
of 'file='.

Where did you copy that command from?


>
>
>> I get back the following error:
>>
>>
>> readlink: missing operand
>>
>> Try 'readlink --help' for more information.
>>
>> /usr/bin/engine-backup: line 1405: : No such file or directory
>>
>> Notifying engine
>>
>> /usr/bin/engine-backup: line 1472: : No such file or directory
>>
>> /usr/bin/engine-backup: line 1405: : No such file or directory
>>
>> FATAL: Failed notifying engine
>>
>>
>> Log file is not created.
>>
>> I receive similar errors when changing the scope to ‘all' and ‘db'.
>>
>>
>> I’m running:
>>
>>
>> CentOS Linux release 7.2.1511 (Core)
>>
>> oVirt Engine Version: 3.6.2.6-1.el7.centos
>>
>> Engine is running on bare metal.
>>
>>
>> I have tried this with SELinux in Permissive mode. No difference.
>> All packages are up to date.
>>
>>
>> Can anyone advise a fix for this or if I’m doing anything wrong?
>>
>>
>> Thanks in advance,
>>
>>
>>
>>
>>
>> Michael Halsey
>> Dev Ops Engineer - intechnologyWiFi
>> michael.hal...@intechnologywifi.com
>> Direct 01423 510650
>> Mobile 07467 145626
>> Head Office 01423 510510
>>
>>
>>
>>
>>
>> This is an email from inTechnology plc, Cardale House, Cardale Court,
>> Beckwith Head Road, Harrogate, UK, HG3 1RY.
>> Registered in England 3916586.
>>
>> The contents of this message may be privileged and confidential. If you
>> have received this message in error, you may not use, disclose, copy or
>> distribute its content in any way. Please notify the sender immediately.
>> All messages are scanned for all viruses.
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
>
> --
> Didi
>
>
> This is an email from inTechnology plc, Cardale House, Cardale Court,
> Beckwith Head Road, Harrogate, UK, HG3 1RY.
> Registered in England 3916586.
>
> The contents of this message may be privileged and confidential. If you
> have received this message in error, you may not use, disclose, copy or
> distribute its content in any way. Please notify the sender immediately.
> All messages are scanned for all viruses.
>



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


Re: [ovirt-users] engine-backup - readlink: missing operand

2016-02-22 Thread Yedidyah Bar David
On Mon, Feb 22, 2016 at 7:10 PM, Halsey, Michael <
michael.hal...@intechnologywifi.com> wrote:

> Hi All,
>
>
> I’m having issues using the engine-backup command.
>
>
> When running:
>
>
> engine-backup --mode=backup --scope=files —file=veng.bak --log backup.log
>

Please try '--log=backup.log' (with '=').


>
> I get back the following error:
>
>
> readlink: missing operand
>
> Try 'readlink --help' for more information.
>
> /usr/bin/engine-backup: line 1405: : No such file or directory
>
> Notifying engine
>
> /usr/bin/engine-backup: line 1472: : No such file or directory
>
> /usr/bin/engine-backup: line 1405: : No such file or directory
>
> FATAL: Failed notifying engine
>
>
> Log file is not created.
>
> I receive similar errors when changing the scope to ‘all' and ‘db'.
>
>
> I’m running:
>
>
> CentOS Linux release 7.2.1511 (Core)
>
> oVirt Engine Version: 3.6.2.6-1.el7.centos
>
> Engine is running on bare metal.
>
>
> I have tried this with SELinux in Permissive mode. No difference.
> All packages are up to date.
>
>
> Can anyone advise a fix for this or if I’m doing anything wrong?
>
>
> Thanks in advance,
>
>
>
>
>
> Michael Halsey
> Dev Ops Engineer - intechnologyWiFi
> michael.hal...@intechnologywifi.com
> Direct 01423 510650
> Mobile 07467 145626
> Head Office 01423 510510
>
>
>
>
>
> This is an email from inTechnology plc, Cardale House, Cardale Court,
> Beckwith Head Road, Harrogate, UK, HG3 1RY.
> Registered in England 3916586.
>
> The contents of this message may be privileged and confidential. If you
> have received this message in error, you may not use, disclose, copy or
> distribute its content in any way. Please notify the sender immediately.
> All messages are scanned for all viruses.
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


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


Re: [ovirt-users] Upgrade patch 3.5 -> 3.6

2016-02-16 Thread Yedidyah Bar David
On Wed, Feb 17, 2016 at 9:09 AM, Николаев Алексей
 wrote:
> You must not configure firewall in backup restore procedure. Because EL6
> backup uses iptables instead EL7 fresh install uses firewalld.

Thanks for pointing that out!

Does this mean you actually tried this and that was the only issue?

Note also that EL7 also has iptables, you can use that if you want.
You'll have to do something like:
yum install iptables-services
systemctl disable firewalld.service
systemctl enable iptables.service
systemctl start iptables.service
You'll not have any default /etc/sysconfig/iptables, though. Either create
one manually (or find somewhere) or use e.g. system-config-firewall-tui.

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Upgrade patch 3.5 -> 3.6

2016-02-16 Thread Yedidyah Bar David
On Tue, Feb 16, 2016 at 11:58 AM, Johan Kooijman <m...@johankooijman.com> wrote:
> Didi,
>
> Ok, the piece of information on engine still supported on 3.6 was unknown to
> me. Makes my job a lot easier.
>
> What would be the recommended path: first upgrade the nodes to 3.6 and then
> the engine? Or the other way around?

Generally speaking, first engine then nodes. I am pretty certain it's documented
on the wiki, didn't check.

>
> On Tue, Feb 16, 2016 at 8:45 AM, Yedidyah Bar David <d...@redhat.com> wrote:
>>
>> On Tue, Feb 16, 2016 at 9:30 AM, Johan Kooijman <m...@johankooijman.com>
>> wrote:
>> > Yes. I pasted the information on AIO, that was wrong on my end. I have
>> > an
>> > engine running on dedicated hardware and about 20 nodes in this cluster.
>> > I
>> > do like to upgrade without downtime :) I know how to achieve this on the
>> > node-end, but since I have to go from C6 to C7, I wonder what the
>> > procedure
>> > would be for engine.
>>
>> Please explain exactly what you are trying to do.
>>
>> Note that engine is still supported on el6.
>>
>> (new) Hosts are not.
>>
>> all-in-one is running both together, thus is not supported on el6 either.
>>
>> IIRC we do not have a tested procedure to upgrade the engine from C6 to C7
>> yet, see also:
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=1234257
>> https://bugzilla.redhat.com/show_bug.cgi?id=1285743
>>
>> Best,
>>
>> >
>> > On Mon, Feb 15, 2016 at 9:21 PM, Alexander Wels <aw...@redhat.com>
>> > wrote:
>> >>
>> >> On Monday, February 15, 2016 08:21:40 PM Johan Kooijman wrote:
>> >> > Hi Alexander,
>> >> >
>> >> > Thanks for the input! My 3.5 is running on C6 however:
>> >> >
>> >> > Upgrade of All-in-One on EL6 is not supported in 3.6. VDSM and the
>> >> > packages
>> >> > requiring it are not built anymore for EL6
>> >> >
>> >>
>> >> Well that was a piece of information you forgot to mention in your
>> >> initial
>> >> email. So now I am not entirely sure what you are trying to do. Are you
>> >> trying
>> >> to save your existing VMs when you reinstall your machine?
>> >>
>> >>
>> >> > On Mon, Feb 15, 2016 at 3:37 PM, Alexander Wels <aw...@redhat.com>
>> >> > wrote:
>> >> > > On Monday, February 15, 2016 02:40:47 PM Johan Kooijman wrote:
>> >> > > > Hi,
>> >> > > >
>> >> > > > Can anybody recommend me best practice upgrade path for an
>> >> > > > upgrade
>> >> > > > from
>> >> > > > oVirt 3.5 on C6 to 3.6 on C7.2?
>> >> > >
>> >> > > The answer sort of depends on what you want. Do you want no
>> >> > > downtime
>> >> > > on
>> >> > > your
>> >> > > VMs or is downtime acceptable. Also are you running hosted engine
>> >> > > or
>> >> > > not?
>> >> > >
>> >> > > This is the basic plan which can be adjusted based on what your
>> >> > > needs
>> >> > > are:
>> >> > >
>> >> > > 1. Update engine from 3.5 to 3.6 (if hosted engine might be
>> >> > > trickier,
>> >> > > not
>> >> > > sure
>> >> > > haven't played with hosted engine).
>> >> > > 2. Create a new 3.6 cluster.
>> >> > > 3. Put 1 host in maintenance (which will migrate the VMs to the
>> >> > > other
>> >> > > hosts).
>> >> > > 4. Remove the host from the DC.
>> >> > > 5. Install C7.2 on the host
>> >> > > 6. Add that host to the new 3.6 cluster.
>> >> > > 7. Optional (you can cross cluster live migrate some VMs from 6 to
>> >> > > 7
>> >> > > (just
>> >> > > not
>> >> > > the other way around, so once the VM is moved its stuck in the new
>> >> > > cluster).
>> >> > > 8. Go to 3 until all hosts are moved.
>> >> > > 9. Your 3.5 cluster should now be empty, and can be removed.
>> >> > > 10. Upgrade your DC to 3.6 (Can't upgrade if any lower clusters
>> >> > > exist).
>> >> > >
>> >> > > If you can have downtime, then just shut down the VMs running on
>> >> > > the
>> >> > > host
>> >> > > in
>> >> > > step 3 before putting it in maintenance. Once the host is moved to
>> >> > > the
>> >> > > new
>> >> > > cluster you can start the VMs.
>> >> > >
>> >> > > Alexander
>> >> > > ___
>> >> > > Users mailing list
>> >> > > Users@ovirt.org
>> >> > > http://lists.ovirt.org/mailman/listinfo/users
>> >>
>> >
>> >
>> >
>> > --
>> > Met vriendelijke groeten / With kind regards,
>> > Johan Kooijman
>> >
>> > ___
>> > Users mailing list
>> > Users@ovirt.org
>> > http://lists.ovirt.org/mailman/listinfo/users
>> >
>>
>>
>>
>> --
>> Didi
>
>
>
>
> --
> Met vriendelijke groeten / With kind regards,
> Johan Kooijman



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


Re: [ovirt-users] Upgrade patch 3.5 -> 3.6

2016-02-15 Thread Yedidyah Bar David
On Tue, Feb 16, 2016 at 9:30 AM, Johan Kooijman  wrote:
> Yes. I pasted the information on AIO, that was wrong on my end. I have an
> engine running on dedicated hardware and about 20 nodes in this cluster. I
> do like to upgrade without downtime :) I know how to achieve this on the
> node-end, but since I have to go from C6 to C7, I wonder what the procedure
> would be for engine.

Please explain exactly what you are trying to do.

Note that engine is still supported on el6.

(new) Hosts are not.

all-in-one is running both together, thus is not supported on el6 either.

IIRC we do not have a tested procedure to upgrade the engine from C6 to C7
yet, see also:

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

Best,

>
> On Mon, Feb 15, 2016 at 9:21 PM, Alexander Wels  wrote:
>>
>> On Monday, February 15, 2016 08:21:40 PM Johan Kooijman wrote:
>> > Hi Alexander,
>> >
>> > Thanks for the input! My 3.5 is running on C6 however:
>> >
>> > Upgrade of All-in-One on EL6 is not supported in 3.6. VDSM and the
>> > packages
>> > requiring it are not built anymore for EL6
>> >
>>
>> Well that was a piece of information you forgot to mention in your initial
>> email. So now I am not entirely sure what you are trying to do. Are you
>> trying
>> to save your existing VMs when you reinstall your machine?
>>
>>
>> > On Mon, Feb 15, 2016 at 3:37 PM, Alexander Wels 
>> > wrote:
>> > > On Monday, February 15, 2016 02:40:47 PM Johan Kooijman wrote:
>> > > > Hi,
>> > > >
>> > > > Can anybody recommend me best practice upgrade path for an upgrade
>> > > > from
>> > > > oVirt 3.5 on C6 to 3.6 on C7.2?
>> > >
>> > > The answer sort of depends on what you want. Do you want no downtime
>> > > on
>> > > your
>> > > VMs or is downtime acceptable. Also are you running hosted engine or
>> > > not?
>> > >
>> > > This is the basic plan which can be adjusted based on what your needs
>> > > are:
>> > >
>> > > 1. Update engine from 3.5 to 3.6 (if hosted engine might be trickier,
>> > > not
>> > > sure
>> > > haven't played with hosted engine).
>> > > 2. Create a new 3.6 cluster.
>> > > 3. Put 1 host in maintenance (which will migrate the VMs to the other
>> > > hosts).
>> > > 4. Remove the host from the DC.
>> > > 5. Install C7.2 on the host
>> > > 6. Add that host to the new 3.6 cluster.
>> > > 7. Optional (you can cross cluster live migrate some VMs from 6 to 7
>> > > (just
>> > > not
>> > > the other way around, so once the VM is moved its stuck in the new
>> > > cluster).
>> > > 8. Go to 3 until all hosts are moved.
>> > > 9. Your 3.5 cluster should now be empty, and can be removed.
>> > > 10. Upgrade your DC to 3.6 (Can't upgrade if any lower clusters
>> > > exist).
>> > >
>> > > If you can have downtime, then just shut down the VMs running on the
>> > > host
>> > > in
>> > > step 3 before putting it in maintenance. Once the host is moved to the
>> > > new
>> > > cluster you can start the VMs.
>> > >
>> > > Alexander
>> > > ___
>> > > Users mailing list
>> > > Users@ovirt.org
>> > > http://lists.ovirt.org/mailman/listinfo/users
>>
>
>
>
> --
> Met vriendelijke groeten / With kind regards,
> Johan Kooijman
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



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


Re: [ovirt-users] "bridge port" error when setting up hosted-engine on 2nd oVirt 3.6.2 node

2016-02-15 Thread Yedidyah Bar David
On Mon, Feb 15, 2016 at 4:22 PM, Mike DePaulo  wrote:
> Hi,
>
> I am getting the following error when I attempt to setup my 2nd ovirt
> node as a hosted-engine:
>
> RuntimeError: The selected device None is not a supported bridge port
>
> The 1st node is death-star (192.168.1.50)
> The 2nd node is starkiller-base (192.168.1.52)
>
> This is not a production environment; this is my apartment.
>
> I am able to access the engine's webGUI.
>
> Both death-star and starkiller-base start out with only eno1 as their only 
> NIC.
> death-star, by the end of the hosted-engine-setup, had ovirtmgmt also
> (with the same MAC address.)
> starkiller-base does not have ovirtmgmt yet.
> I am not using VLANs.
>
> node version: ovirt-node-iso-3.6-0.999.201602121021.el7.centos.iso
> engine appliance version: oVirt-Engine-Appliance-CentOS-x86_64-7-20160126.ova

Seems like a bug in [1] - seems like we do not configure the bridge anymore
on additional host. But I didn't yet try that myself, I might be missing
something. Adding Simone.

[1] https://gerrit.ovirt.org/#/q/Ifcff652ef28e6b912514df2dd2daac2b07eca61e,n,z
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Problem update ovirt 3.5.6.2-1.el7 to 6.2.6-1.el7

2016-02-06 Thread Yedidyah Bar David
On Fri, Feb 5, 2016 at 2:02 PM, Marcelo Leandro  wrote:
> Thanks Martin,
> my problem resolved after the command :
>
> su - postgres -c "psql --command=\"ALTER DATABASE engine OWNER TO engine;\""
>
> i haven't  ideia what  started the problem,
> i restore backup following the link:
> http://www.ovirt.org/User:Adrian15/oVirt_engine_migration
>
> very thanks.
>

Please note that the above page is very old and unmaintained, and should only
be used to get some detailed reference about the process. It also mentions in
bold, close to the beginning, "This howto is intended for oVirt 3.1 version."

Please use the tool engine-backup and related pages about it.

If you encounter problems please report them.

Thanks!

Best regards,

> 2016-02-05 7:00 GMT-03:00 Martin Perina :
>> Hi,
>>
>> I'm not sure what you did to your setup, but looking at all setup logs
>> there's one big issue:
>>
>>   ERROR:  must be owner of database engine
>>
>> So, in over to by pass this you need to make sure that owner of db
>> 'engine' is user 'engine'. To do that please execute:
>>
>> su - postgres -c "psql --command=\"ALTER DATABASE engine OWNER TO engine;\""
>>
>> When done, please make sure you perform upgrade from 3.5 yo 3.6 properly:
>>
>> 1. Add 3.6 repo to your machine
>>
>> 2. Execute:
>>  yum update 'ovirt-engine-setup*'
>>
>> 3. Execute:
>>  engine-setup
>>
>>
>> If it still doesn't work please send latest setup log.
>>
>> Thanks
>>
>> Martin Perina
>>
>>
>>
>> - Original Message -
>>> From: "Marcelo Leandro" 
>>> To: "Darrell Budic" 
>>> Cc: "Martin Perina" , "Eli Mesika" 
>>> , "users" 
>>> Sent: Friday, February 5, 2016 2:44:16 AM
>>> Subject: Re: [ovirt-users] Problem update ovirt 3.5.6.2-1.el7 to 6.2.6-1.el7
>>>
>>> i try update, but the problem persists and now the ovirt not start.
>>>
>>> attached the setup.log, I tried three times:
>>>
>>> 1- i have problem with connection and the process closed
>>> 2-return erro :
>>> [ ERROR ] Failed to execute stage 'Misc configuration': Command
>>> '/usr/share/ovirt-engine-extension-aaa-jdbc/dbscripts/schema.sh'
>>> failed to execute
>>> i see that que yum have problem :
>>> run command:
>>> yum clean expire-cache
>>> and yum it's ok now.
>>> 3- return erro:
>>> [ ERROR ] Failed to execute stage 'Misc configuration': Command
>>> '/usr/share/ovirt-engine-extension-aaa-jdbc/dbscripts/schema.sh'
>>> failed to execute
>>>
>>> now the ovirt not start.
>>>
>>> erro the boot.log
>>>
>>> 22:15:55,237 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
>>> 22:16:05,538 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
>>> 22:16:05,614 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final
>>> "Brontes" starting
>>> 22:16:05,988 ERROR [org.jboss.as.server] JBAS015956: Caught exception
>>> during boot:
>>> org.jboss.as.controller.persistence.ConfigurationPersistenceException:
>>> JBAS014676: Failed to parse configuration
>>> at
>>> 
>>> org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:141)
>>> [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
>>> at org.jboss.as.server.ServerService.boot(ServerService.java:266)
>>> [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
>>> at
>>> 
>>> org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:155)
>>> [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
>>> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_95]
>>> Caused by: javax.xml.stream.XMLStreamException: ParseError at 
>>> [row,col]:[4,1]
>>> Message: Unexpected element '{urn:jboss:domain:2.1}server'
>>> at
>>> 
>>> org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:108)
>>> [staxmapper-1.1.0.Final.jar:1.1.0.Final]
>>> at
>>> 
>>> org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)
>>> [staxmapper-1.1.0.Final.jar:1.1.0.Final]
>>> at
>>> 
>>> org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:133)
>>> [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
>>> ... 3 more
>>>
>>> 22:16:06,012 FATAL [org.jboss.as.server] JBAS015957: Server boot has
>>> failed in an unrecoverable manner; exiting. See previous messages for
>>> details.
>>> 22:16:06,040 INFO  [org.jboss.as] JBAS015950: JBoss AS 7.1.1.Final
>>> "Brontes" stopped in 3ms
>>>
>>> additional information:
>>> [root@srv-ovirt01 ~]# cat 
>>> /etc/ovirt-engine/engine.conf.d/10-setup-jboss.conf
>>> JBOSS_HOME="/usr/share/ovirt-engine-jboss-as"
>>>  i try this https://bugzilla.redhat.com/show_bug.cgi?id=1062318 but no
>>> have success
>>>
>>>
>>> thanks.
>>>
>>> 2016-02-04 18:40 GMT-03:00 Darrell Budic :
>>> > I suspect that’s my problem, my database isn’t owned by engine:
>>> >
>>> > engine=# \l
>>> 

Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6

2016-01-26 Thread Yedidyah Bar David
On Tue, Jan 26, 2016 at 1:27 PM, Marcelo Leandro  wrote:
> Martins, can you help me ? I can't administer my environment.

Did you try running engine-setup?

>
> 2016-01-25 8:30 GMT-03:00 Eli Mesika :
>> Adding Martin
>>
>> There are some aaa errors before that, but first significant error is in 
>> 2016-01-20 00:14:55,002
>> Can you take a look ?
>>
>> - Original Message -
>>> From: "Marcelo Leandro" 
>>> To: "Eli Mesika" 
>>> Cc: users@ovirt.org, "Amador Pahim" 
>>> Sent: Sunday, January 24, 2016 1:48:04 PM
>>> Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6
>>>
>>> It's here : https://copy.com/TWjgIu7KwSkcmRZ8
>>>
>>>
>>> - Original Message -
>>> > From: "Amador Pahim" 
>>> > To: "Marcelo Leandro" , users@ovirt.org
>>> > Cc: emes...@redhat.com
>>> > Sent: Friday, January 22, 2016 7:08:20 PM
>>> > Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6
>>> >
>>> > On 01/22/2016 03:03 PM, Marcelo Leandro wrote:
>>> > > After engine-setup from ovirt-engine-3.5.6.2-1.el7.centos to
>>> > > ovirt-engine-3.6.1.3-1.el7.centos, I'm not able to login anymore. The
>>> > > engine.log say
>>> > > Caused by: org.codehaus.jackson.map.JsonMappingException: Invalid type
>>> > > id 'org.ovirt.engine.core.common.businessentities.DiskImage' (for id
>>> > > type 'Id.class'): no such class found (through reference chain:
>>> > >
>>> org.ovirt.engine.core.common.action.AddVmFromSnapshotParameters["vm"]->org.ovirt.engine.core.common.businessentities.VM["diskList"])
>>> >
>>> > hmm, I see a similar msg here:
>>> > http://lists.ovirt.org/pipermail/devel/2015-July/010976.html
>>> >
>>> > Not sure if related. Eli? Any thoughts here?
>>>
>>> I don't think it is related ...
>>> Amador, can you please attach a full engine log ?
>>>
>>> >
>>> > >
>>> > > Here the setup log:
>>> > > https://copy.com/YBddV8bg3tnjHnwp
>>> > >
>>> > > And here the engine.log:
>>> > > https://copy.com/TWjgIu7KwSkcmRZ8
>>> > >
>>> > > Need urgent assistance. Thank you in advance.
>>> > >
>>> > > Best Regards,
>>> > > Marcelo Leandro
>>> > > ___
>>> > > 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



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


Re: [ovirt-users] moving db

2016-01-25 Thread Yedidyah Bar David
On Mon, Jan 25, 2016 at 4:59 PM, Giorgio Bart  wrote:
> Hi all,
> is this the correct way to move engine db from one server to another?
>
> 1) service engine stop
> 2) dump db
> 3) restore dump on new db server
> 4) modify /etc/ovirt-engine/engine.conf.d/10-setup-database.conf
> 5) run engine-setup

In principle, yes.

You'll also have to take care of iptables etc., also postgresql stuff
(create user/database, allow access).

If you have dwh, you'll have to configure it too.

Check this for some similar flows:

http://www.ovirt.org/Features/Migration_of_local_DWH_Reports_to_remote

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] moving db

2016-01-25 Thread Yedidyah Bar David
On Mon, Jan 25, 2016 at 5:08 PM, Giorgio Bart  wrote:
> The problem should be only the encrypted password?
> I'd like to know if engine-setup will read and apply the new configurations
> from the file

Sorry, I missed that. I think that 'service ovirt-engine start' will
be enough - no engine-setup will be needed, and that if you do run it
(e.g. to upgrade), that too will work correctly.

>
> 2016-01-25 16:02 GMT+01:00 Marcelo Leandro :
>>
>> check this out:
>>
>> http://www.ovirt.org/User:Adrian15/oVirt_engine_migration#engine-setup_Database
>>
>> 2016-01-25 11:59 GMT-03:00 Giorgio Bart :
>> > Hi all,
>> > is this the correct way to move engine db from one server to another?
>> >
>> > 1) service engine stop
>> > 2) dump db
>> > 3) restore dump on new db server
>> > 4) modify /etc/ovirt-engine/engine.conf.d/10-setup-database.conf
>> > 5) run engine-setup
>> >
>> > Thanks,
>> > Giorgio
>> >
>> >
>> >
>> > ___
>> > 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
>



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


Re: [ovirt-users] moving db

2016-01-25 Thread Yedidyah Bar David
On Mon, Jan 25, 2016 at 6:27 PM, Giorgio Bart <giorgiobart...@gmail.com> wrote:
> Ok, so if i modify any of the config under /etc/ovirt-engine, for example
> the db parameters,
> and restart the engine service it should just work, right ?

In principle, yes.

>
>
> 2016-01-25 16:11 GMT+01:00 Yedidyah Bar David <d...@redhat.com>:
>>
>> On Mon, Jan 25, 2016 at 5:08 PM, Giorgio Bart <giorgiobart...@gmail.com>
>> wrote:
>> > The problem should be only the encrypted password?
>> > I'd like to know if engine-setup will read and apply the new
>> > configurations
>> > from the file
>>
>> Sorry, I missed that. I think that 'service ovirt-engine start' will
>> be enough - no engine-setup will be needed, and that if you do run it
>> (e.g. to upgrade), that too will work correctly.
>>
>> >
>> > 2016-01-25 16:02 GMT+01:00 Marcelo Leandro <marcelol...@gmail.com>:
>> >>
>> >> check this out:
>> >>
>> >>
>> >> http://www.ovirt.org/User:Adrian15/oVirt_engine_migration#engine-setup_Database
>> >>
>> >> 2016-01-25 11:59 GMT-03:00 Giorgio Bart <giorgiobart...@gmail.com>:
>> >> > Hi all,
>> >> > is this the correct way to move engine db from one server to another?
>> >> >
>> >> > 1) service engine stop
>> >> > 2) dump db
>> >> > 3) restore dump on new db server
>> >> > 4) modify /etc/ovirt-engine/engine.conf.d/10-setup-database.conf
>> >> > 5) run engine-setup
>> >> >
>> >> > Thanks,
>> >> > Giorgio
>> >> >
>> >> >
>> >> >
>> >> > ___
>> >> > 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
>> >
>>
>>
>>
>> --
>> Didi
>
>



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


Re: [ovirt-users] Issues after upgrade

2016-01-24 Thread Yedidyah Bar David
On Fri, Jan 22, 2016 at 2:08 PM, Fabien CARRE  wrote:
> Hello,
> I am experiencing some issues ever since I upgraded ovirt-engine from
> 3.6.0.3-1.el6 to 3.6.1.3-1.el6.
>
> The first problem was after the renewal of the certifcate, The browser
> saying : firefox (Error code: sec_error_reused_issuer_and_serial)
> I had to switch back to the previous one to access the Portal.

IIRC you were prompted by engine-setup asking whether to renew, also
pointing you at [1], which mentions that you'll have to update the new ca
cert in browsers and reinstall hosts.

[1] http://www.ovirt.org/OVirt_3.5.4_Release_Notes#PKI

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Emergency. ovirt-engine won't start after upgrade to 3.6.1

2016-01-24 Thread Yedidyah Bar David
On Mon, Jan 25, 2016 at 8:40 AM, Sandro Bonazzola  wrote:
> Can you please provide a full sos or log-collector report?

We already got one such report [1], but didn't manage to understand how it
happened, and the machine was later reinstalled. Sandro - it does have a
sosreport attached, perhaps you want to take a look too.

Eric - please also check audit (selinux) logs, and please also try running
under strace, something like:

Open shell1:
# echo $$

note the pid, and then:

Open shell2:
# strace -f -o /tmp/engine-trace -s 4096 -tt -p PID
(where PID is the pid of shell1)

Then on shell1:
# service ovirt-engine start

Then please attach the trace to bug [1]. Thanks!

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

>
> Il 25/Gen/2016 06:58, "Eric Wong"  ha scritto:
>>
>> All oVirt guru:
>>
>>
>>
>> Please help.  After upgrading our 3.5 install to the latest 3.6.1, we are
>> not able to start ovirt-engine anymore.  We completely lost control to our
>> virtualization environment at this point.
>>
>>
>>
>> There is nothing being logged in server.log & engine.log.   The only entry
>> I saw in /var/log/messages is:
>>
>>
>>
>> Ovirt-engine: ERROR run:352 Error: process terminated with status code 1.
>>
>>
>>
>> Can anyone help us at least to start the ovirt-engine once again?  The
>> enclosed is the upgrade log L
>>
>>
>>
>> Thanks,
>>
>> Eric
>>
>>
>>
>>
>> ___
>> 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
>



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


Re: [ovirt-users] ovirt-host-deploy PKI

2016-01-20 Thread Yedidyah Bar David
On Wed, Jan 20, 2016 at 3:39 AM, Jaicel <jai...@asti.dost.gov.ph> wrote:
> i checked it after failure. but yesterday i also tried observing /tmp during
> installation, ovirt created a directory but no file was inside during or even
> after the installation failed.

Can you please try this as root on the engine machine:

HOST=192.168.208.21; D=$(mktemp -d /tmp/test123-XXX); echo test >
"${D}"/f1; tar -C "${D}" -cf - . | ssh -i
/etc/pki/ovirt-engine/keys/engine_id_rsa "${HOST}" 'umask 0077;
MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp -d -t ovirt-XX)";
trap "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr
\"${MYTMP}\" > /dev/null 2>&1" 0; tar --warning=no-timestamp -C
"${MYTMP}" -x &&  ls -lR "${MYTMP}"'; rm -rf "${D}"

If it does not work, please try running sshd on the host under strace, e.g.:

strace -f -o /tmp/trace-sshd -tt -s 4096 -p $(cat /var/run/sshd.pid)

and then check/post /tmp/trace-sshd.

You can do this with both the test command above and host-deploy.
You can kill strace when finished.

Thanks,

>
> Thanks
>
> - Original Message -
> From: "Yedidyah Bar David" <d...@redhat.com>
> To: "jaicel" <jai...@asti.dost.gov.ph>
> Cc: "Simone Tiraboschi" <stira...@redhat.com>, "users" <users@ovirt.org>
> Sent: Tuesday, January 19, 2016 4:47:07 PM
> Subject: Re: [ovirt-users] ovirt-host-deploy PKI
>
> On Tue, Jan 19, 2016 at 7:25 AM, Jaicel <jai...@asti.dost.gov.ph> wrote:
>> If the engine wasn't able to copy back host-deploy logs, you can also find
>> them under /tmp/ on the host.
>> Can you please try to look for them and attach here?
>>
>> i've checked the /tmp directory on the host but no host-deploy logs created
>> there during the host installation on ovirt manager yesterday.
>
> Did you check this _during_ deploy? Or after it failed?
>
> Can you check again during deploy?
>
> It should be inside a temporary sub directory of /tmp .
>
> Thanks,
>
>>
>> Thanks,
>> Jaicel
>>
>> 
>> From: "Simone Tiraboschi" <stira...@redhat.com>
>> To: "jaicel" <jai...@asti.dost.gov.ph>
>> Cc: "users" <users@ovirt.org>
>> Sent: Monday, January 18, 2016 10:06:22 PM
>> Subject: Re: [ovirt-users] ovirt-host-deploy PKI
>>
>>
>> On Mon, Jan 18, 2016 at 8:20 AM, Jaicel <jai...@asti.dost.gov.ph> wrote:
>>>
>>> 2016-01-18 14:59:25,321 INFO  [org.ovirt.engine.core.uutils.ssh.SSHDialog]
>>> (org.ovirt.thread.pool-8-thread-31) SSH execute root@192.168.208.21 'umask
>>> 0077; MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp -d -t ovirt-XX)";
>>> trap "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" >
>>> /dev/null 2>&1" 0; tar --warning=no-timestamp -C "${MYTMP}" -x &&
>>> "${MYTMP}"/setup DIALOG/dialect=str:machine DIALOG/customization=bool:True'
>>> 2016-01-18 15:09:25,323 ERROR [org.ovirt.engine.core.bll.VdsDeploy]
>>> (VdsDeploy) Error during deploy dialog: java.io.IOException: Unexpected
>>> connection termination
>>> at
>>> org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:388)
>>> [otopi.jar:]
>>> at
>>> org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:405)
>>> [otopi.jar:]
>>> at
>>> org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:821)
>>> [bll.jar:]
>>> at
>>> org.ovirt.engine.core.bll.VdsDeploy.access$2000(VdsDeploy.java:83)
>>> [bll.jar:]
>>> at org.ovirt.engine.core.bll.VdsDeploy$51.run(VdsDeploy.java:969)
>>> [bll.jar:]
>>> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
>>
>>
>> Hello Jaicel,
>> the engine was correctly able to connect once to the host at 2016-01-18
>> 14:59:25,321 but then the SSH connection got dropped at 2016-01-18
>> 15:09:25,323 and the engine wasn't able to reconnect so something strange is
>> happened is probably happened at network level.
>> If the engine wasn't able to copy back host-deploy logs, you can also find
>> them under /tmp/ on the host.
>> Can you please try to look for them and attach here?
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
>
>
> --
> Didi



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


Re: [ovirt-users] ovirt-host-deploy PKI

2016-01-19 Thread Yedidyah Bar David
On Tue, Jan 19, 2016 at 7:25 AM, Jaicel  wrote:
> If the engine wasn't able to copy back host-deploy logs, you can also find
> them under /tmp/ on the host.
> Can you please try to look for them and attach here?
>
> i've checked the /tmp directory on the host but no host-deploy logs created
> there during the host installation on ovirt manager yesterday.

Did you check this _during_ deploy? Or after it failed?

Can you check again during deploy?

It should be inside a temporary sub directory of /tmp .

Thanks,

>
> Thanks,
> Jaicel
>
> 
> From: "Simone Tiraboschi" 
> To: "jaicel" 
> Cc: "users" 
> Sent: Monday, January 18, 2016 10:06:22 PM
> Subject: Re: [ovirt-users] ovirt-host-deploy PKI
>
>
> On Mon, Jan 18, 2016 at 8:20 AM, Jaicel  wrote:
>>
>> 2016-01-18 14:59:25,321 INFO  [org.ovirt.engine.core.uutils.ssh.SSHDialog]
>> (org.ovirt.thread.pool-8-thread-31) SSH execute root@192.168.208.21 'umask
>> 0077; MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp -d -t ovirt-XX)";
>> trap "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" >
>> /dev/null 2>&1" 0; tar --warning=no-timestamp -C "${MYTMP}" -x &&
>> "${MYTMP}"/setup DIALOG/dialect=str:machine DIALOG/customization=bool:True'
>> 2016-01-18 15:09:25,323 ERROR [org.ovirt.engine.core.bll.VdsDeploy]
>> (VdsDeploy) Error during deploy dialog: java.io.IOException: Unexpected
>> connection termination
>> at
>> org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:388)
>> [otopi.jar:]
>> at
>> org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:405)
>> [otopi.jar:]
>> at
>> org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:821)
>> [bll.jar:]
>> at
>> org.ovirt.engine.core.bll.VdsDeploy.access$2000(VdsDeploy.java:83)
>> [bll.jar:]
>> at org.ovirt.engine.core.bll.VdsDeploy$51.run(VdsDeploy.java:969)
>> [bll.jar:]
>> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
>
>
> Hello Jaicel,
> the engine was correctly able to connect once to the host at 2016-01-18
> 14:59:25,321 but then the SSH connection got dropped at 2016-01-18
> 15:09:25,323 and the engine wasn't able to reconnect so something strange is
> happened is probably happened at network level.
> If the engine wasn't able to copy back host-deploy logs, you can also find
> them under /tmp/ on the host.
> Can you please try to look for them and attach here?
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



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


Re: [ovirt-users] ovirt appliance for he on master?

2016-01-19 Thread Yedidyah Bar David
On Tue, Jan 19, 2016 at 5:54 PM, Gianluca Cecchi
 wrote:
>
> On Tue, Jan 19, 2016 at 3:48 PM, Simone Tiraboschi 
> wrote:
>>
>>
>>>
>>> >> >>
>>> >> Thanks, but i see 4.0 inside the name of the rpm file ...
>>> >
>>> >
>>> > Master is already targeting to 4.0
>>> > If you need 3.6 go here:
>>> >
>>> > http://jenkins.ovirt.org/job/ovirt-appliance_ovirt-3.6_build-artifacts-el7-x86_64/
>>> >
>>> >> Is it usable as 3.6.x?
>>> >
>>> >
>>> > It should but I cannot ensure since master is a development branch and
>>> > something could be broken or new or simply different.
>>>
>>> OK, is there any chance that Italian is inserted in any 3.6.x or not?
>>> So you are saying that today if I set repo as master I would go with
>>> future 4.0 and not 3.6.yrc?
>>
>> We are absolutely out of time to add it to 3.6 so it will be in 4.0.
>> Thanks for all your effort on that topic.
>
>
>
> No problem.
> Contributing to translation is a complimentary way to learn oVirt
> internals... ;-)
>
> The question was because now I'm a bit confused:
> we have RC for 3.6.2 as described here:
> http://lists.ovirt.org/pipermail/users/2016-January/037237.html
>
> I suppose that we will have other 3.6.x or is 3.6.2 the terminal one?
> I see some days ago that 4.0 is still in planning phase without schedule
> defined:
> http://lists.ovirt.org/pipermail/users/2016-January/037194.html
>
> But you are saying that master is already targeting 4.0.
> So if one wants to test 3.6 development between 3.6.2 and 3.6.3 but before
> any RC is released yet for 3.6.3 which repo should he/she use?

There is 3.6 nightly snapshot:

http://www.ovirt.org/Install_nightly_snapshot

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



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


Re: [ovirt-users] no more admin@internal account available

2016-01-18 Thread Yedidyah Bar David
On Mon, Jan 18, 2016 at 4:28 PM, Nathanaël Blanchet  wrote:
> Hello,
>
> My internal domain is not available anymore in the webadmin login and any
> query with admin@internal fail.
> What can I do to recover it?

You can try running engine-setup.

Check also:

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

>
> --
> Nathanaël Blanchet
>
> Supervision réseau
> Pôle Infrastrutures Informatiques
> 227 avenue Professeur-Jean-Louis-Viala
> 34193 MONTPELLIER CEDEX 5
> Tél. 33 (0)4 67 54 84 55
> Fax  33 (0)4 67 54 84 14
> blanc...@abes.fr
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



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


Re: [ovirt-users] ovirt-engine-3.6.2.4 engine-setup failed

2016-01-10 Thread Yedidyah Bar David
On Sat, Jan 9, 2016 at 5:05 AM, Dewey Du  wrote:
> Hello,
>
> I cloned the project from https://github.com/oVirt/ovirt-engine, and make
> clean install PREFIX="/home/worker/ovirt-engine".
>
> After make install successfully, I try ./bin/engine-setup, get the following
> error.
>
> Please confirm installation settings (OK, Cancel) [OK]:
> [ INFO  ] Stage: Transaction setup
> [ INFO  ] Stage: Misc configuration
> [ INFO  ] Stage: Package installation
> [ INFO  ] Yum Status: Downloading Packages
> [ INFO  ] Yum Download/Verify: antlr-tool-2.7.7-30.el7.noarch
> ...
> ...
> ...
> [ INFO ] Configuring PostgreSQL
> [ ERROR ] Failed to execute stage 'Misc configuration': 'str' object has no
> attribute 'isResolvedByDNS'

What version of ovirt-setup-lib do you have?

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] how to get infos about dev of ovirt 4.0

2016-01-10 Thread Yedidyah Bar David
On Sun, Jan 10, 2016 at 10:21 AM, Yaniv Kaul  wrote:
> On Fri, Jan 8, 2016 at 1:22 PM, Nathanaël Blanchet  wrote:
>>
>> Since meetings have been canceled (and reports), I find it difficult for
>> community to get informations about the development state of ovirt.
>> How and where can we follow the release management, in particular for 4.0,
>> i.e. the new integrated features, the blocking bugs, etc... I didn't find
>> any documents like the one that was used for previous release
>> (http://goo.gl/9X3G49)
>
>
> Hi Nathanaël,
>
> Are you looking for specific information?
> The planning is, as always has been, in Bugzilla and while many work on
> 3.6.x still, there has been some work on 4.0 items already (mainly in the
> mast branch of oVirt).
> I'm using [1] as a Bugzilla query to look at all open RFEs. Those with 4.0.0
> are the ones currently targeted for 4.0 - but I assume more will be
> added/removed to the list.
>
> Which meetings and reports are you missing?
>
> HTH,
> Y.
>
> [1]
> https://bugzilla.redhat.com/buglist.cgi?cmdtype=runnamed_id=4419697=RHEVM%2FoVirt%20open%20FutureFeatures
> (Let me know if you can't see the results - I'm trying to see which group
> has the highest visibility wrt sharing saved searches.)

Just noting that some months ago there was a significant change in management
of ovirt bugs in bugzilla, see e.g. [1] [2]. This was done also so that
spreadsheets will not be needed anymore.

[1] http://www.ovirt.org/Bugzilla_rework
[2] http://lists.ovirt.org/pipermail/devel/2015-September/011339.html

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ISO domain question

2016-01-10 Thread Yedidyah Bar David
On Sun, Jan 10, 2016 at 5:09 AM, Will Dennis  wrote:
> So would have to create a new SD (I'm using Gluster-based hyperconverged)
> and then create the symlink in the new mount in the subdirectory you named?
> Maybe I'll just rsync the ISO files into there...
>
> Thanks anyhow... Seems like there should be an easier way to consume an
> external existing repository.

Indeed, and we have an RFE for that:
https://bugzilla.redhat.com/show_bug.cgi?id=1034112

>
>
>
> Sent with Good (www.good.com)
>
>
> -Original Message-
> From: Maor Lipchuk [mlipc...@redhat.com]
> Sent: Saturday, January 09, 2016 10:18 AM Eastern Standard Time
> To: Will Dennis
> Cc: users
> Subject: Re: [ovirt-users] ISO domain question
>
> Hi Will,
>
> The ISO storage domain oVirt maintains is configured specifically for oVirt,
> for example don_md/metadata is configured with class ISO.
> All the ISO files are stored in a special folder under
> "images/----"
> What you can do is to add a new ISO Storage Domain to oVirt, and use a
> symbolic link under the '1' folder to all the ISO files in your
> pre-existing NFS-available ISO.
>
> Please let me know if that answer your question
>
> Regards,
> Maor
>
>
>
>
>
> - Original Message -
>> From: "Will Dennis" 
>> To: "users" 
>> Sent: Friday, January 8, 2016 2:50:38 PM
>> Subject: [ovirt-users] ISO domain question
>>
>> I’d like to utilize a pre-existing NFS-available ISO repository we have,
>> instead of creating an oVirt-specific one. This repo is of course used for
>> other purposes, so it cannot be devoted to oVirt alone. We have
>> successfully
>> used this NFS resource in VMware, but cannot see how to do the same in
>> oVirt… Is it possible? Or must oVirt maintain its own?
>>
>> ___
>> 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
>



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


Re: [ovirt-users] Error migrating VM with direct LUN disk

2016-01-07 Thread Yedidyah Bar David
On Thu, Jan 7, 2016 at 10:16 AM, Chris Adams  wrote:
> Once upon a time, Chris Adams  said:
>> I have a VM with a virtio-scsi disk that is a direct-mapped iSCSI LUN.
>> I'm trying to migrate it from one node to another (in the process of
>> updating my system from 3.5.3 to 3.5.5), and it fails migration with:
>>
>> Thread-1886273::ERROR::2016-01-06 
>> 10:31:17,657::migration::161::vm.Vm::(_recover) 
>> vmId=`606ae10e-bcac-4bf8-8ad0-e9d76f0c6f43`::unsupported configuration: 
>> scsi-block 'lun' devices do not support the serial property
>> Thread-1886273::ERROR::2016-01-06 10:31:17,693::migration::260::vm.Vm::(run) 
>> vmId=`606ae10e-bcac-4bf8-8ad0-e9d76f0c6f43`::Failed to migrate
>>   File "/usr/share/vdsm/virt/migration.py", line 246, in run
>> self._startUnderlyingMigration(time.time())
>>   File "/usr/share/vdsm/virt/migration.py", line 335, in 
>> _startUnderlyingMigration
>>   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1701, in 
>> migrateToURI2
>> if ret == -1: raise libvirtError ('virDomainMigrateToURI2() failed', 
>> dom=self)
>> Thread-1886279::DEBUG::2016-01-06 
>> 10:31:18,539::__init__::481::jsonrpc.JsonRpcServer::(_serveRequest) Calling 
>> 'VM.getMigrationStatus' in bridge with {u'vmID': 
>> u'606ae10e-bcac-4bf8-8ad0-e9d76f0c6f43'}
>>
>> Is this a known bug (maybe fixed in a newer version), something
>> unexpected, etc.?  Is there a way around it (other than shutting down
>> the VM)?
>
> So, this isn't just a bug with migration; I powered off the VM and then
> tried to start it on a host that had been updated to 3.5.5 and it would
> not start (same error).
>
> This is a pretty significant regression IMHO - I can't start this VM on
> any 3.5.5 host.

Seems like a result of the fix for [1].

Please check/post vdsm/libvirt/qemu versions and logs.

Do you have any vdsm hooks installed?

Was this system upgraded from a previous version? Please
state the upgrade history.

Thanks.

Adding Allon.

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

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



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


Re: [ovirt-users] Cluster

2016-01-07 Thread Yedidyah Bar David
On Thu, Jan 7, 2016 at 1:18 PM, Michal Skrivanek
<michal.skriva...@redhat.com> wrote:
>
> On 07 Jan 2016, at 10:56, Budur Nagaraju <nbud...@gmail.com> wrote:
>
> My Setup looks like this ,
>
> Hosted Engine1 : Installed with  centos 6.7 64Bit CPU sandy Bridge and
> Default  cluster is  in oVirt engine Belongs to  sandy bridge.
> Hosted Engine2 : Installed with  centos 6.7 64Bit CPU sandy Bridge and
> Default  cluster is  in oVirt engine Belongs to  sandy bridge.
>
> oVirt Engine : Installed with Centos 6.7 64 Bit , its hosted in the hosted
> engine1 or 2.
>
> oVirt node: Installed with the version oVirt Node Hypervisor release 3.5
> (0.999.201509102313.el7.centos) belongs to  Intel Nehalem Family
>
>
> assuming that the “Default” cluster with those 2 HE hosts above is 3.6 then
> no
> Or are you talking about a 3.5 setup altogether? and everything is at
> 3.5…then yes. However there might be some caveats due to the special hosted
> engine VM. Didi or someone from integration would need to comment on that

AFAIK you can't migrate the engine vm to a hypervisor (host or node) that is
not a hosted-engine host. you'd need to deploy the node as a hosted-engine
host. ovirt-node allows this too in 3.5+, see e.g.:
http://dougsland.livejournal.com/124084.html

>
>
> so as per your update we can't migrate the oVirt Engine to the node which
> has the version installed 3.5 (0.999.201509102313.el7.centos ?
>
>
>
>
> On Thu, Jan 7, 2016 at 2:40 PM, Michal Skrivanek
> <michal.skriva...@redhat.com> wrote:
>>
>>
>> On 07 Jan 2016, at 10:06, Budur Nagaraju <nbud...@gmail.com> wrote:
>>
>> Thanks for the update .
>>
>> Is there a way to migrate the oVirt Engine  to the oVirt node ? as My
>> setup has two hosted engine when I try to migrate Engine  to the ovirt node
>> which is  in different cluster am not able to succeed.
>>
>>
>> for normal VMs - as long as the cluster compatibility is the same you can
>> migrate a VM from your el6-only cluster to a new el7-only cluster - from el6
>> host to el7 host (using the special cross-cluster migration, both clusters
>> need to be set up the same (storage, networks, etc))
>>
>> Note you can do that only one way from el6 to el7, and in cluster levels
>> 3.5 or 3.6.
>>
>> Thanks,
>> michal
>>
>>
>>
>> Getting the same Error.
>>
>> On Thu, Jan 7, 2016 at 2:18 PM, Michal Skrivanek
>> <michal.skriva...@redhat.com> wrote:
>>>
>>>
>>> > On 07 Jan 2016, at 07:25, Yedidyah Bar David <d...@redhat.com> wrote:
>>> >
>>> > On Thu, Jan 7, 2016 at 12:21 AM, Budur Nagaraju <nbud...@gmail.com>
>>> > wrote:
>>> >> Can someone help me in the issue ? This is blocking my testing .
>>> >
>>> > The linked engine.log has:
>>> >
>>> > Missing CPU features : model_SandyBridge
>>> >
>>> > Please check/post exact models of servers and their cpus, bios settings
>>> > in both, cluster cpu type. Thanks.
>>>
>>> The log seem to be pretty clear about that, and there are messages even
>>> in UI
>>>
>>> Message: Not possible to mix RHEL 6.x and 7.x hosts in one cluster. Tried
>>> adding oVirt Node - 3.6 - 0.999.201510261021.el7.centos host to a cluster
>>> with RHEL - 6 - 7.el6.centos.12.3 hosts.
>>>
>>> and indeed separate problem with CPU mode, your cluster requests
>>> sandybridge but your host is older
>>>
>>> You need to keep same RHEL versions within cluster, and if you want to
>>> use older HW you need to lower the cluster requirements
>>>
>>> >
>>> >>
>>> >> On Jan 6, 2016 1:57 PM, "Budur Nagaraju" <nbud...@gmail.com> wrote:
>>> >>>
>>> >>> Hosted engine and and oVirt engine both are having Centos6.x version
>>> >>> I
>>> >>> mean Its (centos6.7) ,while second host am facing that issues.
>>> >>>
>>> >>> On Wed, Jan 6, 2016 at 1:54 PM, Oved Ourfali <oourf...@redhat.com>
>>> >>> wrote:
>>> >>>>
>>> >>>> Adding Sandro, as perhaps it is related to hosted engine in any way.
>>> >>>> Conceptually, you can't mix centos6 and 7 in the same cluster, in
>>> >>>> case
>>> >>>> that's what you did.
>>> >>>>
>>> >>>> On Jan 6, 2016 10:08, "Budur Nagaraju" <nbud...@gmail.com> wrote:
>>

Re: [ovirt-users] upgrade 3.6 to 3.6.1

2016-01-07 Thread Yedidyah Bar David
On Wed, Dec 30, 2015 at 8:50 AM, Sebastien Philippot
 wrote:
> Hello,
>
> We have ovirt 3.6 on CentOS 7.1 on engine + hosts.
> We would like to upgrade to 3.6.1.
> I'm looking  for the best procedure.
> For the moment, we have 2 hosts in a cluster "prod" with only one default
> network.
>
> * We must upgrade OS on CentOS 7.2 before ?
> 1/ upgrade engine to centos 7.2 first ? => yum update , reboot and
> engine-setup ?
> 2/ first host to maintenance, look for migation of VMs on the second host
> and upgrade between the web interface or "yum update and reboot" for centos
> 7.2 ?
> 3/ up the first host and maintenance for the second, etc ..

Is this a hosted-engine setup? Where does the engine run?

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] bootstrap error

2016-01-06 Thread Yedidyah Bar David
On Wed, Jan 6, 2016 at 2:38 PM, pba...@algotech.cz  wrote:
> Hello, can anybody help me with this error ??
>
> I've got  new, fresh !! prepared instalation of four node gluster with
> separated oVirt 3.5.6  mgmt server ( running on ESX ) .
> I can't add any new node to oVirt  due to   "Host 2hp2 installation failed.
> Invalid data recieved during bootstrap." error.
> All servers are Centos 7.2.1511 rel. ( minimal ) kernel -
> 3.10.0-327.3.1.el7.x86_64 #1 SMP
>
>
> Any idea ??
> THX a lot
>
> Pavel
>
> LOGS - /var/log/ovirt-engine/engine.log
> ===
>
> 2016-01-06 07:28:57,261 ERROR [org.ovirt.engine.core.bll.VdsDeploy]
> (VdsDeploy) Error during deploy dialog: java.lang.RuntimeException: Invalid
> data recieved during bootstrap
> at
> org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:370)
> [otopi.jar:]
> at
> org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:405)
> [otopi.jar:]
> at
> org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:821)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.VdsDeploy.access$2000(VdsDeploy.java:83)
> [bll.jar:]
> at org.ovirt.engine.core.bll.VdsDeploy$51.run(VdsDeploy.java:969)
> [bll.jar:]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_91]
>
> 2016-01-06 07:28:57,267 ERROR [org.ovirt.engine.core.bll.VdsDeploy]
> (org.ovirt.thread.pool-8-thread-10) [6ff27e07] Error during host
> 172.16.5.154 install: java.lang.RuntimeException: Invalid data recieved
> during bootstrap
> at
> org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:370)
> [otopi.jar:]
> at
> org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:405)
> [otopi.jar:]
> at
> org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:821)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.VdsDeploy.access$2000(VdsDeploy.java:83)
> [bll.jar:]
> at org.ovirt.engine.core.bll.VdsDeploy$51.run(VdsDeploy.java:969)
> [bll.jar:]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_91]
>
> 2016-01-06 07:28:57,269 ERROR [org.ovirt.engine.core.bll.InstallerMessages]
> (org.ovirt.thread.pool-8-thread-10) [6ff27e07] Installation 172.16.5.154:
> Invalid data recieved during bootstrap
> 2016-01-06 07:28:57,274 ERROR
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (org.ovirt.thread.pool-8-thread-10) [6ff27e07] Correlation ID: 6ff27e07,
> Call Stack: null, Custom Event ID: -1, Message: Failed to install Host 2hp2.
> Invalid data recieved during bootstrap.
> 2016-01-06 07:28:57,275 ERROR [org.ovirt.engine.core.bll.VdsDeploy]
> (org.ovirt.thread.pool-8-thread-10) [6ff27e07] Error during host
> 172.16.5.154 install, prefering first exception: java.lang.RuntimeException:
> Invalid data recieved during bootstrap
> at
> org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:370)
> [otopi.jar:]
> at
> org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:405)
> [otopi.jar:]
> at
> org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:821)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.VdsDeploy.access$2000(VdsDeploy.java:83)
> [bll.jar:]
> at org.ovirt.engine.core.bll.VdsDeploy$51.run(VdsDeploy.java:969)
> [bll.jar:]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_91]
>
> 2016-01-06 07:28:57,277 ERROR
> [org.ovirt.engine.core.bll.InstallVdsInternalCommand]
> (org.ovirt.thread.pool-8-thread-10) [6ff27e07] Host installation failed for
> host d7d43c54-70ee-4c2d-a165-8dfe84db65ec, 2hp2.:
> java.lang.RuntimeException: Invalid data recieved during bootstrap
> at
> org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:370)
> [otopi.jar:]
> at
> org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:405)
> [otopi.jar:]
> at
> org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:821)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.VdsDeploy.access$2000(VdsDeploy.java:83)
> [bll.jar:]
> at org.ovirt.engine.core.bll.VdsDeploy$51.run(VdsDeploy.java:969)
> [bll.jar:]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_91]
>
> 2016-01-06 07:28:57,280 INFO
> [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand]
> (org.ovirt.thread.pool-8-thread-10) [6ff27e07] START,
> SetVdsStatusVDSCommand(HostName = 2hp2, HostId =
> d7d43c54-70ee-4c2d-a165-8dfe84db65ec, status=InstallFailed,
> nonOperationalReason=NONE, stopSpmFailureLogged=false), log id: 21b78169
> 2016-01-06 07:28:57,287 INFO
> [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand]
> (org.ovirt.thread.pool-8-thread-10) [6ff27e07] FINISH,
> SetVdsStatusVDSCommand, log id: 21b78169
> 2016-01-06 07:28:57,292 ERROR
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> 

Re: [ovirt-users] Hosted Engine

2016-01-06 Thread Yedidyah Bar David
On Thu, Jan 7, 2016 at 12:28 AM, Budur Nagaraju  wrote:
> So in this case it won't migrate to ovirt node then?

Do you have other hosted-engine hosts?

What's the output, on the hosted-engine host, of 'hosted-engine --vm-status'?

>
> On Jan 7, 2016 3:56 AM, "Patrick Russell" 
> wrote:
>>
>> Put the host it’s on into maintenance mode in the GUI. It will migrate to
>> another HE host automatically.
>>
>>
>> -Patrick
>>
>> From:  on behalf of Budur Nagaraju
>> 
>> Date: Wednesday, January 6, 2016 at 4:20 PM
>> To: Maor Lipchuk 
>> Cc: users 
>> Subject: Re: [ovirt-users] Hosted Engine
>>
>> Yes HE VM is available in GUI but unable to migrate , is there a way to
>> resolve the issue?
>>
>> On Jan 6, 2016 8:23 PM, "Maor Lipchuk"  wrote:
>>>
>>> Basically it your HE VM appears in the GUI you can live migrate it to
>>> another Host in the same cluster.
>>> Roy, please correct me if I'm wrong.
>>>
>>> Regards,
>>> Maoir
>>>
>>>
>>>
>>> - Original Message -
>>> > From: "Budur Nagaraju" 
>>> > To: "users" 
>>> > Sent: Wednesday, January 6, 2016 11:23:48 AM
>>> > Subject: [ovirt-users] Hosted Engine
>>> >
>>> > can we migrate a Engine which is pushed by Hosted Engine to the other
>>> > oVirt
>>> > node ? which is in same cluster ?
>>> >
>>> > Thanks,
>>> > Nagaraju
>>> >
>>> >
>>> > ___
>>> > 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
>



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


Re: [ovirt-users] Hosted-Engine

2016-01-05 Thread Yedidyah Bar David
On Tue, Jan 5, 2016 at 11:03 AM, Budur Nagaraju  wrote:
> Installed hosted engine and configured ovirt engine on it and issue is after
> sometime ovirt engine is automatically getting rebooted ,can you pls help me
> .

Please check/post ha logs from /var/log/ovirt-hosted-engine-ha/* . Thanks.

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


Re: [ovirt-users] Hosted

2016-01-05 Thread Yedidyah Bar David
On Tue, Jan 5, 2016 at 12:25 PM, Budur Nagaraju  wrote:
> HI
>
> What is the command to  execute  in the hosted engine to get the below
> options ?
>
> Engine health status page is not yet reachable.
>   To continue make a selection from the options below:
>   (1) Continue setup - engine installation is complete
>   (2) Power off and restart the VM
>   (3) Abort setup
>   (4) Destroy VM and abort setup

Not sure what you ask, this is part of 'hosted-engine --deploy'.

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


Re: [ovirt-users] Unable to upgrade ovirt-engine 3.5.5 to 3.6.1 on EL6

2016-01-05 Thread Yedidyah Bar David
On Tue, Jan 5, 2016 at 6:47 PM, Frank Wall <f...@moov.de> wrote:
> On Tue, Jan 05, 2016 at 05:37:08PM +0200, Yedidyah Bar David wrote:
>> Perhaps to aid debugging you can try this, but _do_not_ press Enter:
>>
>> yum --disableplugin=versionlock update ovirt-engine
>>
>> Kill it (or reply 'no').
>>
>> What does it output?
>
> Basically the same dependency error. I've attached the full output to this 
> e-mail.
>
> To answer your other questions:
>
>> 16:43  fraenki: what happens when you try yum update slf4j?
>
> It is not currently installed (on oVirt 3.5.5) and only the inappropiate 
> version
> is available:

But I assume you do have 3.6 repos enabled, right?

>
> # yum --showduplicates list slf4j
> [...]
> Available Packages
> slf4j.noarch   1.5.8-8.el6  centos-base
>
>
>> 16:44  fraenki: also for vdsm-jsonrpc-java
>
> # yum update vdsm-jsonrpc-java
> [...]
> --> Running transaction check
> ---> Package vdsm-jsonrpc-java.noarch 0:1.0.15-1.el6 will be updated
> --> Processing Dependency: vdsm-jsonrpc-java < 1.1.0 for package: 
> ovirt-engine-backend-3.5.5-1.el6.noarch
> ---> Package vdsm-jsonrpc-java.noarch 0:1.1.5-1.el6 will be an update
> --> Processing Dependency: slf4j >= 1.6.1 for package: 
> vdsm-jsonrpc-java-1.1.5-1.el6.noarch
> [...]
> Error: Package: vdsm-jsonrpc-java-1.1.5-1.el6.noarch (ovirt-3.6)
>Requires: slf4j >= 1.6.1
>Available: slf4j-1.5.8-8.el6.noarch (centos-base)
>slf4j = 1.5.8-8.el6
> [...]
>
> Very similar (of not the same) output to the `yum update ovirt-engine` 
> command.
>
> Where should I get "slf4j >= 1.6.1" from?

As Martin already replied,

http://resources.ovirt.org/pub/ovirt-3.6/rpm/el6/noarch/

Now verified that this works for me on a centos6 machine:

yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm
yum --showduplicates list slf4j
=> shows (also) 1.7.7-1.el6

> It does not seem to be available from
> the "centos-base" repository (there's only slf4j = 1.5.8-8.el6 available):
> http://mirror.centos.org/centos/6/os/x86_64/Packages/
>
>> 16:46  fraenki: if it still fails for you after the usual things, e.g.
>> yum clean all, check repos etc., I'll try to reproduce
>
> Yeah, tried this. Already wiped my repos and reinstalled ovirt-release36.rpm.

Perhaps a mirror/proxy issue?

>
> FWIW, I've noticed that a more recent slf4j is available from the SL6 repo at:
> http://ftp.scientificlinux.org/linux/scientific/6x/external_products/maven/$basearch/
> But I fear that this will break things in the long run (and it would replace
> several other packages as well, very likely to break ovirt-engine completely).
>
>> > I'd switch my Hosted-Engine VM to EL7 if it wouldn't be such a pain. The 
>> > only
>> > "Upgrade Guide" I could find for Engine VM is this:
>> > http://www.ovirt.org/OVirt_Hosted_Engine_Backup_and_Restore
>> > No fun. :(
>>
>> This one does not deal with upgrading the engine OS. For that Sandro
>> started [1] but gave up after having some issues.
>
> Yeah, I wasn't really expecting that an in-place upgrade EL6->EL7 would work
> in this case. That's why I was thinking about the Backup/Restore method...

Didn't try that myself, but I think it should work.
It only deals with the engine, though. Whatever other stuff you had on the
engine machine, including an iso domain, extra packages/services/conf/etc.,
you'll have to recreate (or copy if relevant).
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 3.6.1 hosted engine won't start after reboot

2016-01-05 Thread Yedidyah Bar David
On Tue, Jan 5, 2016 at 10:21 PM, Simone Tiraboschi 
wrote:

>
>
> On Tue, Jan 5, 2016 at 7:31 PM, Fredy Sanchez 
> wrote:
>
>> Thank you Simone, but I can't connect to the VM. It is up only for a few
>> seconds before rebooting.
>>
>
> Se hosted-engine in global maintenance mode with
>   hosted-engine --set-maintenance --mode=global
> and manually start the VM with:
>   hosted-engine --vm-start
>

But in different thread [1] Roy said that's not possible. I admit I
didn't fully try to understand why, I wasn't aware of that. Adding Roy.

[1] http://lists.ovirt.org/pipermail/users/2016-January/036993.html


>
>
>> On Jan 5, 2016 1:18 PM, "Simone Tiraboschi"  wrote:
>>
>>>
>>>
>>> On Tue, Jan 5, 2016 at 7:06 PM, Fredy Sanchez 
>>> wrote:
>>>
 I am also attaching /etc/ovirt-hosted-engine/hosted-engine.conf and
 /var/run/ovirt-hosted-engine-ha/vm.conf

 Thank you again.


>>> In your case hosted-engine successfully starts the engine VM but than it
>>> fails checking the health of the ovirt-engine running inside that VM.
>>> Can you please check the status of ovirt-engine service connecting to
>>> your VM?
>>>
>>>
 On Tue, Jan 5, 2016 at 12:59 PM, Fredy Sanchez <
 fredy.sanc...@modmed.com> wrote:

> Hi list,
>
> Fresh install of 3.6.1 on CentOS 7.2 (physical host and engine vm).
> After a reboot, the engine vm will not come up. To be precise, the engine
> starts up, works for a few seconds, then reboots (see attached logs).
> Searching on the Internet seems that my problem is
>
> “After installation of the hosted-engine using the iso and commands
> you specified and rebooting the engine and registering the host in the
> engine, the engines network configuration is set to "managed by
> NetworkManager" but no NetworkManager is installed on the system. So the
> reboot will result in the loss of network connectivity and ha-agent trying
> to restart the hosted-engine in a loop.”
>
> Does anybody know if I can fix this on
> /var/run/ovirt-hosted-engine-ha/vm.conf or somewhere else?
> /var/log/ovirt-hosted-engine-ha/agent.log and
> /var/log/ovirt-hosted-engine-ha/broker.log haven’t been much help, even
> when set to debug mode.
>
> hosted-engine —vm-status says “Engine status : {"reason": "failed
> liveness check", "health": "bad", "vm": "up", "detail": "up”}”  Score is
> 3400.
>
> This is what I see in the logs:
>
> /var/log/ovirt-hosted-engine-ha/agent.log (attached)
>
> /var/log/ovirt-hosted-engine-ha/broker.log (attached)
>
> Thank you very much!
>
> --
> Fredy
>
>


 --
 Fredy



 ___
 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
>
>


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


Re: [ovirt-users] Users Digest, Vol 52, Issue 20

2016-01-04 Thread Yedidyah Bar David
On Tue, Jan 5, 2016 at 12:17 AM, Yaniv Kaul  wrote:
> On Mon, Jan 4, 2016 at 10:22 PM, Charles Tassell  wrote:
>>
>> Hi Budur,
>>
>>   Try running the command "kvm-ok"  I'm not sure what package it's from,
>> but it will tell you if your system supports the CPU virtualization commands
>> required to run KVM.  If kvm-ok isn't installed, you can try running "egrep
>> '(vmx|svm)' /proc/cpuinfo" vmx means you have Intel virtualization support,
>> while svm is the AMD implementation.  IE, on my Intel i5 I get a bunch of
>> lines like this: (**'s added for emphasis)
>
>
> This will only tell you if the CPU supports virtualization - it may still be
> disabled by the BIOS.
> Looking at the KVM module is the best approach:
> [root@reserved-0-250 lago]# lsmod |grep kvm
> kvm_intel 167936  20
> kvm   499712  1 kvm_intel
>
> Y.

You might also want to see what our code checks, see e.g. [1],
which is part of ovirt-host-deploy and is used also by
ovirt-hosted-engine-setup.

If you want to use it directly, you can do something like:

# yum install ovirt-host-deploy
# python -c 'from ovirt_host_deploy import hardware; v =
hardware.Virtualization(); print "OK" if
v.detect()==v.DETECT_RESULT_SUPPORTED else "Not OK"'

[1] 
https://gerrit.ovirt.org/gitweb?p=ovirt-host-deploy.git;a=blob;f=src/ovirt_host_deploy/hardware.py;hb=HEAD

>
>>
>>
>> flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
>> cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
>> rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
>> nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl **vmx**
>> smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt
>> tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts
>> dtherm tpr_shadow vnmi flexpriority ept vpid
>>
>>
>> On 16-01-04 02:47 PM, users-requ...@ovirt.org wrote:
>>>
>>> 1. Re:  HA cluster (Budur Nagaraju)
>>>
>>>
>>> --
>>>
>>> Message: 1
>>> Date: Tue, 5 Jan 2016 00:17:41 +0530
>>> From: Budur Nagaraju 
>>> To: Simone Tiraboschi 
>>> Cc: users 
>>> Subject: Re: [ovirt-users] HA cluster
>>> Message-ID:
>>>
>>> 

Re: [ovirt-users] Users Digest, Vol 52, Issue 20

2016-01-04 Thread Yedidyah Bar David
On Tue, Jan 5, 2016 at 9:00 AM, Yedidyah Bar David <d...@redhat.com> wrote:
> On Tue, Jan 5, 2016 at 12:17 AM, Yaniv Kaul <yk...@redhat.com> wrote:
>> On Mon, Jan 4, 2016 at 10:22 PM, Charles Tassell <ctass...@gmail.com> wrote:
>>>
>>> Hi Budur,
>>>
>>>   Try running the command "kvm-ok"  I'm not sure what package it's from,
>>> but it will tell you if your system supports the CPU virtualization commands
>>> required to run KVM.  If kvm-ok isn't installed, you can try running "egrep
>>> '(vmx|svm)' /proc/cpuinfo" vmx means you have Intel virtualization support,
>>> while svm is the AMD implementation.  IE, on my Intel i5 I get a bunch of
>>> lines like this: (**'s added for emphasis)
>>
>>
>> This will only tell you if the CPU supports virtualization - it may still be
>> disabled by the BIOS.
>> Looking at the KVM module is the best approach:
>> [root@reserved-0-250 lago]# lsmod |grep kvm
>> kvm_intel 167936  20
>> kvm   499712  1 kvm_intel
>>
>> Y.
>
> You might also want to see what our code checks, see e.g. [1],
> which is part of ovirt-host-deploy and is used also by
> ovirt-hosted-engine-setup.
>
> If you want to use it directly, you can do something like:
>
> # yum install ovirt-host-deploy
> # python -c 'from ovirt_host_deploy import hardware; v =
> hardware.Virtualization(); print "OK" if
> v.detect()==v.DETECT_RESULT_SUPPORTED else "Not OK"'

Sorry, this should have been all on one line but wrapped by my
mail client. Let's try again:

# python -c '\
from ovirt_host_deploy import hardware; \
v = hardware.Virtualization(); \
print( \
"OK" if \
v.detect()==v.DETECT_RESULT_SUPPORTED \
else "Not OK" \
)'

>
> [1] 
> https://gerrit.ovirt.org/gitweb?p=ovirt-host-deploy.git;a=blob;f=src/ovirt_host_deploy/hardware.py;hb=HEAD
>
>>
>>>
>>>
>>> flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
>>> cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
>>> rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
>>> nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl **vmx**
>>> smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt
>>> tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts
>>> dtherm tpr_shadow vnmi flexpriority ept vpid
>>>
>>>
>>> On 16-01-04 02:47 PM, users-requ...@ovirt.org wrote:
>>>>
>>>> 1. Re:  HA cluster (Budur Nagaraju)
>>>>
>>>>
>>>> --
>>>>
>>>> Message: 1
>>>> Date: Tue, 5 Jan 2016 00:17:41 +0530
>>>> From: Budur Nagaraju <nbud...@gmail.com>
>>>> To: Simone Tiraboschi <stira...@redhat.com>
>>>> Cc: users <users@ovirt.org>
>>>> Subject: Re: [ovirt-users] HA cluster
>>>> Message-ID:
>>>>
>>>> 

Re: [ovirt-users] Hosted-engine

2016-01-04 Thread Yedidyah Bar David
On Tue, Jan 5, 2016 at 8:06 AM, Budur Nagaraju  wrote:
> HI
>
> After installation of Hosted-Emgine ,I have rebooted the vm

How? Manually? Did you set maintenance mode? Please check [1].

[1] http://www.ovirt.org/Hosted_Engine_Howto

> and getting the
> following error.
>
> [root@He ~]# hosted-engine --vm-status
> Failed to connect to broker, the number of errors has exceeded the limit (1)
> Cannot connect to the HA daemon, please check the logs.

Perhaps you also rebooted the host?

You can try to check the logs in /var/log/ovirt-hosted-engine-ha and/or
restart the ha services.
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Users Digest, Vol 52, Issue 1

2016-01-03 Thread Yedidyah Bar David
On Sat, Jan 2, 2016 at 6:30 PM, Nir Soffer  wrote:
> On Sat, Jan 2, 2016 at 12:46 PM, Michael Cooper  wrote:
>> Hello Everyone,
>>
>> I wondering why I cannot attach my iso_domain to my Data Center.
>> When I try to attach it says no Valid DataCenters. Why is this happening?
>> Where should I start looking for the resolution?
>
> Can you describe your data center? do you have active hosts? active
> storage domain?
>
> Can you attach engine.log showing this error?

Also, if this is a clean new system, note that you need to attach
a data domain. You can try following:

http://www.ovirt.org/Quick_Start_Guide

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Unable to upgrade ovirt-engine 3.5.5 to 3.6.1 on EL6

2016-01-02 Thread Yedidyah Bar David
On Fri, Jan 1, 2016 at 12:44 AM, Frank Wall  wrote:
> Hi,
>
> I've just tried to upgrade my ovirt-engine 3.5.5 which is still running on 
> EL6,
> but it failed due to a dependency error regarding slf4j:
>
> # engine-setup
> [ INFO  ] Stage: Initializing
> [ INFO  ] Stage: Environment setup
>   Configuration files: 
> ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', 
> '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', 
> '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
>   Log file: 
> /var/log/ovirt-engine/setup/ovirt-engine-setup-20151231233407-lmovl5.log
>   Version: otopi-1.4.0 (otopi-1.4.0-1.el6)
> [ INFO  ] Stage: Environment packages setup
> [ INFO  ] Stage: Programs detection
> [ INFO  ] Stage: Environment setup
> [ INFO  ] Stage: Environment customization
>
>   --== PRODUCT OPTIONS ==--
>
>   --== PACKAGES ==--
>
> [ INFO  ] Checking for product updates...
> [ ERROR ] Yum: [u'ovirt-engine-3.6.1.3-1.el6.noarch requires slf4j >= 1.7.0', 
> u'vdsm-jsonrpc-java-1.1.5-1.el6.noarch requires slf4j >= 1.6.1']
> [ INFO  ] Yum: Performing yum transaction rollback
> [ ERROR ] Failed to execute stage 'Environment customization': 
> [u'ovirt-engine-3.6.1.3-1.el6.noarch requires slf4j >= 1.7.0', 
> u'vdsm-jsonrpc-java-1.1.5-1.el6.noarch requires slf4j >= 1.6.1']
> [ INFO  ] Stage: Clean up
>   Log file is located at 
> /var/log/ovirt-engine/setup/ovirt-engine-setup-20151231233407-lmovl5.log
> [ INFO  ] Generating answer file 
> '/var/lib/ovirt-engine/setup/answers/20151231233424-setup.conf'
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
> [ ERROR ] Execution of setup failed
>
> I've followed the upgrade guide [1], and yes, I'm aware that AiO is no longer
> supported on EL6 [2], but this is just my Hosted-Engine VM, *not* an AiO host.
> So I thought it would still work.
>
> I haven't attached any further logs, because this error is really obvious I
> guess. These are the currently installed oVirt packages:
>
> otopi-1.4.0-1.el6.noarch
> otopi-java-1.4.0-1.el6.noarch
> ovirt-engine-3.5.5-1.el6.noarch
> ovirt-engine-backend-3.5.5-1.el6.noarch
> ovirt-engine-cli-3.5.0.5-1.el6.noarch
> ovirt-engine-dbscripts-3.5.5-1.el6.noarch
> ovirt-engine-extension-aaa-jdbc-1.0.4-1.el6.noarch
> ovirt-engine-extensions-api-impl-3.5.5-1.el6.noarch
> ovirt-engine-jboss-as-7.1.1-1.el6.x86_64
> ovirt-engine-lib-3.6.1.3-1.el6.noarch
> ovirt-engine-restapi-3.5.5-1.el6.noarch
> ovirt-engine-sdk-python-3.5.2.1-1.el6.noarch
> ovirt-engine-setup-3.6.1.3-1.el6.noarch
> ovirt-engine-setup-base-3.6.1.3-1.el6.noarch
> ovirt-engine-setup-plugin-ovirt-engine-3.6.1.3-1.el6.noarch
> ovirt-engine-setup-plugin-ovirt-engine-common-3.6.1.3-1.el6.noarch
> ovirt-engine-setup-plugin-websocket-proxy-3.6.1.3-1.el6.noarch
> ovirt-engine-tools-3.5.5-1.el6.noarch
> ovirt-engine-userportal-3.5.5-1.el6.noarch
> ovirt-engine-webadmin-portal-3.5.5-1.el6.noarch
> ovirt-engine-websocket-proxy-3.5.5-1.el6.noarch
> ovirt-host-deploy-1.3.1-1.el6.noarch
> ovirt-host-deploy-java-1.3.1-1.el6.noarch
> ovirt-image-uploader-3.5.1-1.el6.noarch
> ovirt-iso-uploader-3.5.2-1.el6.noarch
> vdsm-jsonrpc-java-1.0.15-1.el6.noarch
>
> Any ideas?
>
> [1] http://www.ovirt.org/OVirt_3.6.1_Release_Notes#oVirt_Hosted_Engine
> [2] http://www.ovirt.org/OVirt_3.6.1_Release_Notes#Known_issues

Sounds like:

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

Can you post exact flow and logs? Thanks.
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How to manually restore ovirt-engine from sql dump file?

2015-12-31 Thread Yedidyah Bar David
On Wed, Dec 30, 2015 at 9:23 PM, Arman Khalatyan  wrote:
> Hello,
> Due to the HW error we lost ovirt-engine db.

Only db? Rest of machine is ok? You also want stuff
in /etc (and /var, somewhat less important).

> We have only recent dump files from
> /var/lib/ovirt-engine/backups/

These are saved during engine-setup, and are backups made
with the version you had _before_ starting the upgrade.

They are meant only for restoration during rollback,
by engine-setup itself, in case it has a problem and tries
to rollback.

> Is it possible to restore database using dump files?

In principle yes, but unless you have a backup of /etc
taken _before_ the last upgrade, you'll have an older
dump with a newer /etc, which might lead to conflicts.

You can try something like that. First on a test system
of course:
1. yum remove ovirt-engine\*
2. yum install ovirt-engine with the exact version you had
before last upgrade. You can check logs in
/var/log/ovirt-engine/setup and/or /var/log/yum.log.
3. Keep (or copy/restore) /etc/ovirt-engine and
/etc/pki/ovirt-engine. If you had dwh/reports you'll need
more files. Also better check the list of backed up files
in the start of the engine-backup script to see what else
it backs up.
4. Restore the db using psql (if <= 3.5) or pg_restore
(if >=3.6). If needed first create one.
5. run engine-setup --offline and see that all seems ok.
6. Then upgrade to latest by running engine-setup without
--offline.

> BTW the VMs are still running without ovirt-engine.

Indeed, but are not managed. Meaning, no ha/scheduling/etc.

Note that if you do try that on a test system, it will immediately
try to manage your hosts. Better prevent that (firewall or
whatever) before you are ready to do that on your live system.

Good luck,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Can I reduce the Java heap size of engine-backup???

2015-12-30 Thread Yedidyah Bar David
On Wed, Dec 30, 2015 at 7:50 PM, John Florian <jflor...@doubledog.org> wrote:
> On 12/29/2015 02:02 AM, Yedidyah Bar David wrote:
>> On Tue, Dec 29, 2015 at 12:51 AM, John Florian <jflor...@doubledog.org> 
>> wrote:
>>> I'm trying to run the engine-backup script via a Bacula job using the
>>> RunScript option so that the engine-backup dumps its output someplace
>>> where Bacula will collect it once engine-backup finishes.  However the
>>> job is failing and with enough digging I eventually learned the script
>>> was writing the following in /tmp/hs_err_pid5789.log:
>>>
>>> #
>>> # There is insufficient memory for the Java Runtime Environment to continue.
>>> # Native memory allocation (mmap) failed to map 2555904 bytes for
>>> committing reserved memory.
>>> # Possible reasons:
>>> #   The system is out of physical RAM or swap space
>>> #   In 32 bit mode, the process size limit was hit
>>> # Possible solutions:
>>> #   Reduce memory load on the system
>>> #   Increase physical memory or swap space
>>> #   Check if swap backing store is full
>>> #   Use 64 bit Java on a 64 bit OS
>>> #   Decrease Java heap size (-Xmx/-Xms)
>>> #   Decrease number of Java threads
>>> #   Decrease Java thread stack sizes (-Xss)
>>> #   Set larger code cache with -XX:ReservedCodeCacheSize=
>>> # This output file may be truncated or incomplete.
>>> #
>>> #  Out of Memory Error (os_linux.cpp:2627), pid=5789, tid=140709998221056
>>> #
>>> # JRE version:  (8.0_65-b17) (build )
>>> # Java VM: OpenJDK 64-Bit Server VM (25.65-b01 mixed mode linux-amd64
>>> compressed oops)
>>> # Failed to write core dump. Core dumps have been disabled. To enable
>>> core dumping, try "ulimit -c unlimited" before starting Java again
>>> #
>>>
>>>
>>> So is there any good way to reduce the Java heap size?  I mean I know
>>> what -Xmx does, but where might I try setting it, ideally so that it
>>> affects the engine-backup only?  Any idea of good setting for a very
>>> small environment with a dozen VMs?
>> engine-backup does not directly call nor need java.
>>
>> AFAICS it only calls it indirectly as part of some other initialization
>> by running java-home [1], which is a script that decides what JAVA_HOME
>> to use for the engine. This script only runs 'java -version', which imo
>> should not need that much memory. Perhaps there is something else I do
>> not fully understand, such as bacula severely limiting available resources
>> for the process it runs, or something like that.
>>
>> If you only want to debug it, and not as a recommended final solution,
>> you can create a script [2] which only outputs the needed java home.
>> Simply run [1] and make [2] echo the same thing. If [2] exists, [1] will
>> only run it and nothing else, as you can see inside it.
>>
>> I do not think this will work - quite likely engine-backup will fail
>> shortly later, if indeed it gets access to so little memory. Please
>> report back. Thanks and good luck,
>>
>> [1] /usr/share/ovirt-engine/bin/java-home
>> [2] /usr/share/ovirt-engine/bin/java-home.local
> Thanks for the info and response Didi.  Doing the above did allow the
> backup to run successfully.

OK.

>  I had also replaced the Bacula RunScript
> with "bash -c ulimit" which reported unlimited but I don't play with
> those types of limits enough to know if that's correctly reporting to
> what engine-backup is constrained.

And was this enough?

>  I did occur to me that perhaps a
> better way to learn of any such constraints would be to query Bacula's
> file daemon (the only necessary Bacula component running on client
> systems that are getting backed up) since I suspect it must be this
> component that's actually spawning the RunScript client side.  From the
> Bacula Director (server side) I queried the status of the client which
> is my oVirt engine and it reports:
>
> europa.doubledog.org-fd Version: 5.2.13 (19 February 2013)
> x86_64-redhat-linux-gnu redhat (Core)
> Daemon started 28-Dec-15 16:08. Jobs: run=2 running=0.
>  Heap: heap=32,768 smbytes=190,247 max_bytes=1,599,864 bufs=100
> max_bufs=6,758
>  Sizeof: boffset_t=8 size_t=8 debug=0 trace=0
>
> Alas, I know of no way to increase any of the bacula-fd limits.  If I
> dead-end here, perhaps I'll query the Bacula mailing lists.

For both yourself and for others, I think it's best to continue with
this route.

Also note that I have no idea how much memory pg_dump might need on
a larg

Re: [ovirt-users] Self-hosted engine: Host cannot activate - network issues

2015-12-29 Thread Yedidyah Bar David
On Tue, Dec 29, 2015 at 9:19 PM, Alan Murrell  wrote:
> Everything seems to be good.  The install created the "ovirtmgmt" bridge
> without any issue.  At one point after I did the 'engine-setup', I thought
> the host got stuck, as it seemed to stay on "[INFO] Connecting to the
> engine" for quite a bit of time, but my "screen" session just got broken.

:-(

>  I
> reconnected to the screen session, and was able to continue/finish the
> setup.

For even less attended and hopefully quicker deploys, you can try
ovirt-appliance. It's still not published on our repos, but you can use the
last one from jenkins:

http://jenkins.ovirt.org/job/ovirt-appliance_ovirt-3.6_build-artifacts-el7-x86_64/lastSuccessfulBuild/

>
> Logging in to the webadmin indicates all seems to be fine (network
> interfaces are good, no errors, survives a reboot)
>
> Thanks for your insight on this! :-)

Thanks for the report!
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Self-hosted engine: Host cannot activate - network issues

2015-12-29 Thread Yedidyah Bar David
On Tue, Dec 29, 2015 at 9:56 AM, Alan Murrell <li...@murrell.ca> wrote:
> On 28/12/2015 11:29 PM, Yedidyah Bar David wrote:
>>
>> Did you principally do exactly the same thing in 3.5 and 3.6?
>
>
> I did.  I basically followed "Up and Running with oVirt 3.5", except I used
> 3.6 packages.
>
>> In both cases just had a simple network interface (no
>> vlan/bonding/whatever)
>> and input it when asked?
>
>
> Well, I pre-created the 'ovirtmgmt' bridge, as I had to do that under 3.5
> otherwise I ran into problems during setup.  I can't recall offhand what the
> bug was (I posted about it a while back), but perhaps whatever it was has
> been fixed in 3.6, and I shouldn't pre-create the 'ovirtmgmt' bridge?

It should have worked also in 3.5 in principle, not sure about your specific
problems.

In principle pre-creating the bridge should work, but is not commonly tested.

Perhaps you also had issues with NetworkManager?

>
> After I sent my earlier e-mail on this issue, I played around with a couple
> things and actually got it up and working (the interfaces turned green,
> etc.).  As a test, I rebooted the host, but now I can't even ping the host.
> it is at the office, so I won't have physical access to it until I go in in
> a few hours.
>
>> What exact versions (OS and ovirt)?
>
>
> CentOS 7 minimal (after 'yum update', I think it it 7.2?).  oVirt is 3.6.1,
> I believe (whatever version is installed form latest repo packages)
>
> Since I have lost access, I suspect something happened to the 'ovirtmgmt'
> interface.  There is nothing on it that matters, so I may just do a fresh
> install, but without pre-creating the 'ovirtmgmt' bridge and see if the
> setup does it (which I understand itis supposed to?)

It is.

Please open bugs if it does not work.

Thanks and best regards,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hosted engine vs. hypervisor hosts naming on hyperconverged setup

2015-12-29 Thread Yedidyah Bar David
On Tue, Dec 29, 2015 at 3:44 PM, Will Dennis  wrote:
> Would like to get this issue settled before I move on… Should I expect to see 
> the hosted engine VM showing up in the “VMs” node, or is it a “hidden” VM 
> because of it’s special status?

This is tracked in the following bz:

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

>
> Also, I see that I can change the name of the 1st host if I select it in the 
> “Hosts” node, and choose “Edit”… Would it cause any problem if I rename it 
> there (how would that effect the engine VM, if at all?)

IIUC it should not do anything to the engine vm or the ha daemons.

>
>
> On Dec 28, 2015, at 8:59 AM, Will Dennis 
> > wrote:
>
> The uncompressed engine log for the period in question is 12M... Too large 
> for a pastebin...
>
> However, I grepped for ‘domain’ and that culls it down to 18 lines; the 
> results are at:http://ur1.ca/od26u
>
>
> From: Roy Golan [mailto:rgo...@redhat.com]
> Sent: Monday, December 28, 2015 3:04 AM
> To: Will Dennis
> Cc: users
> Subject: Re: [ovirt-users] Hosted engine vs. hypervisor hosts naming on 
> hyperconverged setup
>
>
>
> On Mon, Dec 28, 2015 at 5:31 AM, Will Dennis 
> > wrote:
> There is still nothing showing up in the “VMs” node…
>
>
> Please share the /var/log/ovirt-engine/engine.log from the engine machine
> If you are running 3.6.1 you should see the domain imported automatically.
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



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


Re: [ovirt-users] Hosted engine support

2015-12-29 Thread Yedidyah Bar David
On Tue, Dec 29, 2015 at 1:04 PM, Budur Nagaraju  wrote:
> HI
>
> Installed KVM in the host in which VT is enabled .
> installed  one vm centos6.7 64 bit in the KVM server  and tried to configure
> Hosted engine ,getting the below error ,
>
> "Failed to execute stage ‘Environment Customization’: Hardware
> virtualization support is not available :please check BIOS settings and turn
> on NX support if available"

Not sure what you are trying to do - deploy hosted-engine inside this vm?

Did you enable nested kvm?

Note that you need el (rhel or centos) 7 for the host, if using 3.6.

>
>
>
> Even though VT is enabled facing the issue  any setting needs to be done in
> the vm ?
>
> Thanks,
> Nagaraju
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



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


Re: [ovirt-users] Wrong nvidia drivers dependency for ovirt-hosted-engine-setup on CentOS 7.2

2015-12-28 Thread Yedidyah Bar David
On Mon, Dec 28, 2015 at 1:52 PM, Aleksey Chudov
 wrote:
> Hi,
>
> I have installed package
> ovirt-hosted-engine-setup-1.3.1.4-1.el7.centos.noarch on CentOS 7.2 and
> nvidia drivers installed as dependencies. If I manually try to remove nvidia
> drivers yum proposes to remove ovirt packages as well. I don't have any
> nvidia devices in my servers so I consider this a dependency bug. Please
> check the output below.
>
>
> # rpm -qa '*nvidia*' '*ovirt*'
> nvidia-x11-drv-352.63-1.el7.elrepo.x86_64
> ovirt-host-deploy-1.4.1-1.el7.centos.noarch
> yum-plugin-nvidia-1.0.2-1.el7.elrepo.noarch
> libgovirt-0.3.3-1.el7.x86_64
> kmod-nvidia-352.63-1.el7.elrepo.x86_64
> ovirt-release36-002-2.noarch
> ovirt-engine-sdk-python-3.6.0.3-1.el7.centos.noarch
> ovirt-hosted-engine-ha-1.3.3.6-1.el7.centos.noarch
> ovirt-vmconsole-1.0.0-1.el7.centos.noarch
> ovirt-vmconsole-host-1.0.0-1.el7.centos.noarch
> ovirt-setup-lib-1.0.0-1.el7.centos.noarch
> ovirt-hosted-engine-setup-1.3.1.4-1.el7.centos.noarch
>
>
> # rpm -qa | grep nvidia | xargs yum history info
> Loaded plugins: fastestmirror, nvidia
> [nvidia]: No NVIDIA display devices found
> Transaction ID : 18
> Begin time : Thu Dec 24 14:14:14 2015
> Begin rpmdb: 429:07df3601154cf590c9c5c0435c6dd92b88beb824
> End time   :14:18:53 2015 (279 seconds)
> End rpmdb  : 697:c3c9771baf9f1abe81798d792470334cf2eb8ba6
> User   : root 
> Return-Code: Success
> Command Line   : -d 2 -y install ovirt-hosted-engine-setup
> Transaction performed with:
> Installed rpm-4.11.3-17.el7.x86_64  @anaconda
> Installed yum-3.4.3-132.el7.centos.0.1.noarch   @anaconda
> Installed yum-plugin-fastestmirror-1.1.31-34.el7.noarch @anaconda
> Packages Altered:
> ...
> Dep-Install kmod-nvidia-352.63-1.el7.elrepo.x86_64
> @elrepo
> ...
> Dep-Install nvidia-x11-drv-352.63-1.el7.elrepo.x86_64
> @elrepo
> ...
> Install ovirt-hosted-engine-setup-1.3.1.4-1.el7.centos.noarch
> @ovirt-3.6
> ...
> Dep-Install yum-plugin-nvidia-1.0.2-1.el7.elrepo.noarch
> @elrepo
> Scriptlet output:
>1 depmod: WARNING: could not open
> /lib/modules/3.10.0-229.el7.x86_64/modules.order: No such file or directory
>2 depmod: WARNING: could not open
> /lib/modules/3.10.0-229.el7.x86_64/modules.builtin: No such file or
> directory
>3 gtk-query-immodules-2.0-64: error while loading shared libraries:
> libpangocairo-1.0.so.0: cannot open shared object file: No such file or
> directory
>4 warning: %post(gtk2-2.24.28-8.el7.x86_64) scriptlet failed, exit status
> 127
>5 gtk-query-immodules-3.0-64: error while loading shared libraries:
> libEGL.so.1: cannot open shared object file: No such file or directory
>6 Working. This may take some time ...
>7 Done.
> history info

Not sure where you got elrepo repos, but I do not think they are from
ovirt. Please try a clean setup without them. Do you need them?

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] R: Re: Network instability after upgrade 3.6.0 -> 3.6.1

2015-12-28 Thread Yedidyah Bar David
On Mon, Dec 28, 2015 at 3:48 PM, Stefano Danzi <s.da...@hawai.it> wrote:
> Problem solved!!!
>
> The file hosted-engine.conf had a wrong fqdn.
> I don't think that this happened during upgrade... mybe thay my colleague
> did something of wrong...

Thanks for the report :-)

>
>
> Il 20/12/2015 14.52, Stefano Danzi ha scritto:
>
> Network problems was solved after changing Bond mode  (and it's strange. I
> have to investigate around qemu-kvm, cento 7.2 and switch firmware ), but
> broker problem still exist.  If I turn on the host, ha agent start engine
> vm. When engine VM is up, broker strats to send email.  Now I haven't here
> detailed logs.
>
>
> ---- Messaggio originale 
> Da: Yedidyah Bar David <d...@redhat.com>
> Data: 20/12/2015 11:20 (GMT+01:00)
> A: Stefano Danzi <s.da...@hawai.it>, Dan Kenigsberg <dan...@redhat.com>
> Cc: users <users@ovirt.org>
> Oggetto: Re: [ovirt-users] Network instability after upgrade 3.6.0 -> 3.6.1
>
> On Fri, Dec 18, 2015 at 5:31 PM, Stefano Danzi <s.da...@hawai.it> wrote:
>> I found this in vdsm.log and I think that could be the problem:
>>
>> Thread-3771::ERROR::2015-12-18
>>
>> 16:18:58,597::brokerlink::279::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(_communicate)
>> Connection closed: Connection closed
>> Thread-3771::ERROR::2015-12-18 16:18:58,597::API::1847::vds::(_getHaInfo)
>> failed to retrieve Hosted Engine HA info
>> Traceback (most recent call last):
>>   File "/usr/share/vdsm/API.py", line 1827, in _getHaInfo
>> stats = instance.get_all_stats()
>>   File
>>
>> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py",
>> line 103, in get_all_stats
>> self._configure_broker_conn(broker)
>>   File
>>
>> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py",
>> line 180, in _configure_broker_conn
>> dom_type=dom_type)
>>   File
>>
>> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
>> line 176, in set_storage_domain
>> .format(sd_type, options, e))
>> RequestError: Failed to set storage domain FilesystemBackend, options
>> {'dom_type': 'nfs3', 'sd_uuid': '46f55a31-f35f-465c-b3e2-df45c05e06a7'}:
>> Connection closed
>
> My guess is that this is a consequence of your networking problems.
>
> Adding Dan.
>
>>
>>
>> Il 17/12/2015 18.51, Stefano Danzi ha scritto:
>>>
>>> I partially solve the problem.
>>>
>>> My host machine has 2 network interfaces with a bond. The bond was
>>> configured with  mode=4 (802.3ad) and switch was configured in the same
>>> way.
>>> If I remove one network cable the network become stable. With both cables
>>> attached the network is instable.
>>>
>>> I removed the link aggregation configuration from switch and change the
>>> bond in mode=2 (balance-xor). Now the network are stable.
>>> The strange thing is that previous configuration worked fine for one
>>> year... since the last upgrade.
>>>
>>> Now ha-agent don't reboot the hosted-engine anymore, but I receive two
>>> emails from brocker evere 2/5 minutes.
>>> First a mail with "ovirt-hosted-engine state transition
>>> StartState-ReinitializeFSM" and after "ovirt-hosted-engine state
>>> transition
>>> ReinitializeFSM-EngineStarting"
>>>
>>>
>>> Il 17/12/2015 10.51, Stefano Danzi ha scritto:
>>>>
>>>> Hello,
>>>> I have one testing host (only one host) with self hosted engine and 2 VM
>>>> (one linux and one windows).
>>>>
>>>> After upgrade ovirt from 3.6.0 to 3.6.1 the network connection works
>>>> discontinuously.
>>>> Every 10 minutes HA agent restart hosted engine VM because result down.
>>>> But the machine is UP,
>>>> only the network stop to work for some minutes.
>>>> I activate global maintenace mode to prevent engine reboot. If I ssh to
>>>> the hosted engine sometimes
>>>> the connection work and sometimes no.  Using VNC connection to engine I
>>>> see that sometime VM reach external network
>>>> and sometimes no.
>>>> If I do a tcpdump on phisical ethernet interface I don't see any packet
>>>> when network on vm don't work.
>>>>
>>>> Same thing happens fo others two VM.
>>>>
>>>> Before the upgrade I never had network 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
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
> --
> Didi
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>



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


Re: [ovirt-users] Can I reduce the Java heap size of engine-backup???

2015-12-28 Thread Yedidyah Bar David
On Tue, Dec 29, 2015 at 12:51 AM, John Florian  wrote:
> I'm trying to run the engine-backup script via a Bacula job using the
> RunScript option so that the engine-backup dumps its output someplace
> where Bacula will collect it once engine-backup finishes.  However the
> job is failing and with enough digging I eventually learned the script
> was writing the following in /tmp/hs_err_pid5789.log:
>
> #
> # There is insufficient memory for the Java Runtime Environment to continue.
> # Native memory allocation (mmap) failed to map 2555904 bytes for
> committing reserved memory.
> # Possible reasons:
> #   The system is out of physical RAM or swap space
> #   In 32 bit mode, the process size limit was hit
> # Possible solutions:
> #   Reduce memory load on the system
> #   Increase physical memory or swap space
> #   Check if swap backing store is full
> #   Use 64 bit Java on a 64 bit OS
> #   Decrease Java heap size (-Xmx/-Xms)
> #   Decrease number of Java threads
> #   Decrease Java thread stack sizes (-Xss)
> #   Set larger code cache with -XX:ReservedCodeCacheSize=
> # This output file may be truncated or incomplete.
> #
> #  Out of Memory Error (os_linux.cpp:2627), pid=5789, tid=140709998221056
> #
> # JRE version:  (8.0_65-b17) (build )
> # Java VM: OpenJDK 64-Bit Server VM (25.65-b01 mixed mode linux-amd64
> compressed oops)
> # Failed to write core dump. Core dumps have been disabled. To enable
> core dumping, try "ulimit -c unlimited" before starting Java again
> #
>
>
> So is there any good way to reduce the Java heap size?  I mean I know
> what -Xmx does, but where might I try setting it, ideally so that it
> affects the engine-backup only?  Any idea of good setting for a very
> small environment with a dozen VMs?

engine-backup does not directly call nor need java.

AFAICS it only calls it indirectly as part of some other initialization
by running java-home [1], which is a script that decides what JAVA_HOME
to use for the engine. This script only runs 'java -version', which imo
should not need that much memory. Perhaps there is something else I do
not fully understand, such as bacula severely limiting available resources
for the process it runs, or something like that.

If you only want to debug it, and not as a recommended final solution,
you can create a script [2] which only outputs the needed java home.
Simply run [1] and make [2] echo the same thing. If [2] exists, [1] will
only run it and nothing else, as you can see inside it.

I do not think this will work - quite likely engine-backup will fail
shortly later, if indeed it gets access to so little memory. Please
report back. Thanks and good luck,

[1] /usr/share/ovirt-engine/bin/java-home
[2] /usr/share/ovirt-engine/bin/java-home.local
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Migration path: All-In-One to self-hosted engine?

2015-12-28 Thread Yedidyah Bar David
On Tue, Dec 29, 2015 at 3:54 AM, Alan Murrell  wrote:
> Hi All,
>
> I am just wondering if there is any sort of migration path for those running
> All-In-One setups to a self-hosted engine setup?

I am not aware of anyone trying that.

You can start with [1]. Note that it does not deal with db creation - this is
discussed in [2], but also note that if you use 3.6, you can use the new
'--provision-*' options during restore.

Please carefully read both of them and understand what's to be expected.

Is this a semi-critical system? Or can you easily suffer a few days of downtime?

Do you intend/hope to use the existing storage domain? Note that hosted-engine
does not (currently?) support local storage - it requires some shared storage,
nfs/iscsi/fc. And also that people ran into locking issues with a loopback nfs
mount. So it seems like the best bet is currently loopback iscsi, which means
you'll have to copy your existing data over there somehow.

A rough plan can thus be something like, assuming you have plenty of disk space:
1. shutdown all VMs
2. create a loopback iscsi export domain and export your VMs there
3. Continue with [1] (and [2])
4. During hosted-engine deploy use a different iscsi data domain for the engine
5. After finishing, attach to that export domain and import your VMs from it

I might be missing some parts, didn't fully think this over.

It will be greatly simplified if you have a separate storage server.

[1] http://www.ovirt.org/Migrate_to_Hosted_Engine
[2] http://www.ovirt.org/Ovirt-engine-backup
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Self-hosted engine: Host cannot activate - network issues

2015-12-28 Thread Yedidyah Bar David
On Tue, Dec 29, 2015 at 4:15 AM, Alan Murrell  wrote:
> I am attempting to install oVirt 3.6 on a CentOS7 host.  it is a single
> server, so I am trying to install a self-hosted engine.  I am able to
> install oVirt 3.5 self-hosted engine, but am having some problems doing it
> with 3.6.
>
> Everything appears to go fine; the engine-setup completes successfully.  On
> the host, I pressed"1" to indicate engine-setup was complete, and it can
> connect to the webadmin but the host never becomes operational.
>
> I am able to log in to the webadmin, and indeed the host is in a
> non-operational state.  When I click on the host then click on the "Virtual
> networks" tab, all my interfaces are showing a red arrow.
>
> When I click on "Setup Host Networks", my "ovirtmgmt" network is unassigned.
> Believing this to be why my host is not operational (since it is under
> "Required"), I assigned it to my management interface, but the interfaces
> still remain red.  In addition, the "ovirtmgmt" network does have a green
> arrow, but also the icon indicating "Out of sync".  If I click on "Sync All
> Networks", I get the following error:
>
> "Error while executing action SyncAllHostNetworks: Network is currently
> being used"
>
> which makes sense, since "ovirtmgmt" is assigned/in use.  I am unable to
> unassign ovirtmgmt.
>
> Current status is this:
>
>   - All network interfaces are showing the red "down" arrow
>   - "ovirtmgmt" is assigned to my management NIC, but indicating that it is
> out of sync
>   - I am unable to unassign the "ovirtmgmt" network (or at least, if I do,
> the "OK" button is greyed out)
>
> I could destroy the engine VM and go through the setup again, with the idea
> of once it is installed and waiting for the host to become operational, I
> could do a "Sync All Networks" and see if the networks turn green and go
> from there.
>
> I wanted to see what sort of insight I could get from here first.  I am not
> sure what logs would be useful to you, so let me know what you want to see
> and I and make them available (I will likely zip them up and post a link)

from host:
/var/log/ovirt-hosted-engine-*/* (-setup and -ha)
/var/log/vdsm/*

from engine:
/var/log/ovirt-engine/*
/var/log/ovirt-engine/host-deploy/*

If last one is empty, it means the engine did not manage to get
host-deploy logs. Please check and try to copy what you find from /tmp
of the host while waiting for host-deploy ("Waiting for the host to
become operational").

>
> Something else I could try if this becomes a "puzzler" is to do a 3.5.x
> self-hosted engine then perform an in-place upgrade to 3.6 and see if that
> works?  I would rather try to help make a direct 3.6 install work, though...

Did you principally do exactly the same thing in 3.5 and 3.6?
In both cases just had a simple network interface (no vlan/bonding/whatever)
and input it when asked?

What exact versions (OS and ovirt)?

I also changed the subject.

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Calculating Requirements

2015-12-23 Thread Yedidyah Bar David
On Wed, Dec 23, 2015 at 10:49 PM, Taste-Of-IT  wrote:
> Am 2015-12-23 12:46, schrieb Sandro Bonazzola:
>>
>> On Wed, Dec 23, 2015 at 12:13 AM, Taste-Of-IT 
>> wrote:
>>
>>> Hello,
>>>
>>> i have a testsystem with 16GB RAM and ovirt as sef-hosted-engine on
>>> centos7. i have no vm started and the host consume 2,5GB RAM. In
>>> documents it is written that the engine needs aprox 3GB RAM and the
>>> system self 1GB RAM. At all nearly 4GB RAM. So i can use aprox 12GB
>>> RAM for virtual machines if i use the ram 1:1. is that a good point
>>> of calculation, or are there any other points to calculate?
>>
>>
>> I think that you can leave the Hosted Engine VM with 4GB of ram
>> (minimum requirements) which will be added to the 2.5GB of RAM you're
>> already using.
>> So you'll have something like ~9 GB of RAM using it 1:1.
>>
>>
>>
>>> thx
>>> Taste
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users [1]
>>
>>
>> --
>>
>> Sandro Bonazzola
>> Better technology. Faster innovation. Powered by community
>> collaboration.
>> See how it works at redhat.com [2]
>>
>>
>> Links:
>> --
>> [1] http://lists.ovirt.org/mailman/listinfo/users
>> [2] http://redhat.com
>
> Hello Sandro,
>
> iam not sure if we talk about the same, since iam new with ovirt. But i have
> installed self-hosted-egine, where i cant change the amont of memory for the
> engine-vm, since its the same host. am i right with this? so what is the
> calculation for this?

With hosted-engine, the engine runs in its own VM. If you allocate to
this VM 4GB, you get Sandro's calculation.

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM database update ( VMrestore)

2015-12-23 Thread Yedidyah Bar David
On Wed, Dec 23, 2015 at 11:41 PM, p...@email.cz  wrote:
> Hello,
>
> 1) if I've got full VM's datastore backup ( eg. via rsync ) and restore one
> VM's  files to different store and empty oVirt database, will that database
> be updated automaticaly or any more actions needed ??

No idea, but I am pretty certain it won't happen automatically, not sure
about manually.

> 2) Are VM's file stored in oVirt database in names only ? ( no check sum, or
> other  IDs ) - meaning can I replace VM file by another one with different
> size  ??

IIUC yes, you'll be able to replace a file.

You might also want to check [1]. Adding Allon.

[1] http://www.ovirt.org/Features/ImportStorageDomain

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How to run "engine-backup"?

2015-12-23 Thread Yedidyah Bar David
On Wed, Dec 23, 2015 at 1:04 AM, Simone Tiraboschi  wrote:
>
>
> On Tue, Dec 22, 2015 at 7:41 PM, Will Dennis  wrote:
>>
>> n/m, found this URL cleverly concealed in the output of “—help” ;)
>>
>>
>>
>> http://www.ovirt.org/Ovirt-engine-backup
>>
>>
>>
>> Still would be good to know how I could get a console...
>
>
> You have more options:
> 1. You can just ssh to the engine VM; if you deployed using the appliance
> you were asked about setting its root password via cloud-init.
> 2. Since 3.6.1, the engine will import the hosted-engine storage domain and
> you'll see the engine VM in the engine. You could open its console from here
> as for other VMs.
> 3. You could directly connect to it with VNC/spice also from other hosts:
> on the host where the engine VM runs:
>   [root@c72het20151222h1 vdsm_logs]# hosted-engine --add-console-password
>   Enter password:
> code = 0
> message = 'Done'
> on your machine:
>/bin/remote-viewer vnc://:5900
> 4. You could use the VM virtio serial console if the VM is configured for
> that (and the engine appliance is) as described here:
> http://www.ovirt.org/Serial_Console_Setup#I_need_to_access_the_console_the_old_way

You can also check:

http://www.ovirt.org/Hosted_Engine_Console

>
>
>
>>
>>
>>
>> From: Will Dennis
>> Sent: Tuesday, December 22, 2015 1:37 PM
>> To: 'Simone Tiraboschi'
>> Cc: users
>> Subject: RE: [ovirt-users] How to run "engine-backup"?
>>
>>
>>
>> Are there any docs on using this (other than the ‘—help” option text)?
>>
>>
>>
>> Also, I do not have a GUI environment on my oVirt hosts; how to I display
>> the console of the hosted engine VM if I need it?
>>
>>
>>
>> From: Simone Tiraboschi [mailto:stira...@redhat.com]
>> Sent: Tuesday, December 22, 2015 11:44 AM
>> To: Will Dennis
>> Cc: users
>> Subject: Re: [ovirt-users] How to run "engine-backup"?
>>
>>
>>
>> yes, engine-backup is on the engine VM :-)
>>
>>
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



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


Re: [ovirt-users] Cannot retrieve answer file from 1st HE host when setting up 2nd host

2015-12-21 Thread Yedidyah Bar David
On Sun, Dec 20, 2015 at 10:04 PM, Will Dennis  wrote:
> FYI, the answer file is located at:
> /var/lib/ovirt-hosted-engine-setup/answers/answers-20151218124259.conf
>
> There are many other answer files in that directory as well from prior 
> unsuccessful runs… Does that matter?

The answerfile is expected to be found in
/etc/ovirt-hosted-engine/answers.conf .
It's written there upon a successful completion of deploy.

It's also always written to /var/lib/ovirt-hosted-engine-setup/answers/ .

You can also copy it by yourself to somefile and run:

hosted-engine --deploy --config-append=somefile

But I'd invest some time understanding why scp fails. Might be bad
name resolution?

>
>
> On Dec 20, 2015, at 2:51 PM, Will Dennis 
> > wrote:
>
> OK, thanks to the assist from Joob, I did startup the engine VM, and took it 
> out of maint mode… Then I went to my second oVirt host, and tried 
> “hosted-engine —setup” again, and I’m still getting the error message “Failed 
> to execute stage 'Environment customization': [Errno 2] No such file”
>
> Screen output of the “hosted-engine —setup” run:
> http://ur1.ca/ocr5u
>
> So, I guess that means it can’t find the answer file where it expects it on 
> the first host… What do I do now?
>
> -Will
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



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


Re: [ovirt-users] Network instability after upgrade 3.6.0 -> 3.6.1

2015-12-21 Thread Yedidyah Bar David
On Sun, Dec 20, 2015 at 3:52 PM, Stefano Danzi  wrote:
> Network problems was solved after changing Bond mode  (and it's strange. I
> have to investigate around qemu-kvm, cento 7.2 and switch firmware ), but
> broker problem still exist.  If I turn on the host, ha agent start engine
> vm. When engine VM is up, broker strats to send email.  Now I haven't here
> detailed logs.

Any updates? Please Cc with updates and logs also Martin (Cced).

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] After update to 3.6.1 profile internal does not exist message

2015-12-21 Thread Yedidyah Bar David
On Sun, Dec 20, 2015 at 9:50 PM, Martin Perina <mper...@redhat.com> wrote:
>
>
> - Original Message -
>> From: "Yedidyah Bar David" <d...@redhat.com>
>> To: "Gianluca Cecchi" <gianluca.cec...@gmail.com>, "Martin Perina" 
>> <mper...@redhat.com>, "Sandro Bonazzola"
>> <sbona...@redhat.com>
>> Cc: "Simone Tiraboschi" <stira...@redhat.com>, "users" <users@ovirt.org>
>> Sent: Sunday, December 20, 2015 10:50:43 AM
>> Subject: Re: [ovirt-users] After update to 3.6.1 profile internal does not 
>> exist message
>>
>> On Sun, Dec 20, 2015 at 12:45 AM, Gianluca Cecchi
>> <gianluca.cec...@gmail.com> wrote:
>> > On Sat, Dec 19, 2015 at 9:14 PM, Gianluca Cecchi  wrote:
>> >>
>> >>
>> >> I fear that the "yum update" command I executed after "engine-setuo"
>> >> completed successfully, to update the OS to CentOS 7.2 has pulled in the
>> >> package
>> >> Dec 19 13:46:48 Updated:
>> >> ovirt-engine-extension-aaa-jdbc-1.0.4-1.el7.noarch
>> >>
>> >> and has created my problems... and create similar ones to other guys...
>> >> what do you think?
>> >>
>> >> Gianluca
>> >
>> >
>> >
>> > It was indeed the main reason for not being able to authenticate in
>> > webadmin
>> > portal:
>> >
>> > I reverted to the previous version of the package. After putting env in
>> > maintenance global I executed:
>> >
>> > # systemctl stop ovirt-engine
>> >
>> > Previous version:
>> > Nov 04 12:52:20 Installed:
>> > ovirt-engine-extension-aaa-jdbc-1.0.1-1.el7.noarch
>> >
>> > # yum downgrade ovirt-engine-extension-aaa-jdbc
>> > ...
>> > Dependencies Resolved
>> >
>> > 
>> >  Package Arch   Version
>> > Repository Size
>> > 
>> > Downgrading:
>> >  ovirt-engine-extension-aaa-jdbc noarch 1.0.1-1.el7
>> > ovirt-3.6 165 k
>> >
>> > # systemctl start ovirt-engine
>> >
>> > and I'm able to connect again. In engine.log now
>> >
>> > 2015-12-19 23:38:31,352 INFO
>> > [org.ovirt.engine.core.uutils.config.ShellLikeConfd] (default task-1) []
>> > Loaded file
>> > '/etc/ovirt-engine/engine.conf.d/50-ovirt-engine-extension-aaa-jdbc.conf'.
>> > ...
>> > 2015-12-19 23:38:31,357 INFO
>> > [org.ovirt.engine.core.uutils.config.ShellLikeConfd] (default task-1) []
>> > Value of property 'ENGINE_JAVA_MODULEPATH' is
>> > '/usr/share/ovirt-engine-wildfly-overlay/modules:/usr/share/ovirt-engine/modules/common:/usr/share/ovirt-engine-extension-aaa-jdbc/modules'.
>> > ...
>> > 2015-12-19 23:38:34,355 INFO
>> > [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (ServerService
>> > Thread Pool -- 37) [] Instance name: 'internal-authn', Extension name:
>> > '"ovirt-engine-extension-aaa-jdbc".authn', Version: '"1.0.1"', Notes:
>> > 'Display name: "ovirt-engine-extension-aaa-jdbc"', License: 'ASL 2.0',
>> > Home:
>> > 'http://www.ovirt.org', Author 'The oVirt Project', Build interface
>> > Version:
>> > '0',  File: '/etc/ovirt-engine/extensions.d/internal-authn.properties',
>> > Initialized: 'true'
>> > 2015-12-19 23:38:34,355 INFO
>> > [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (ServerService
>> > Thread Pool -- 37) [] Instance name: 'internal-authz', Extension name:
>> > '"ovirt-engine-extension-aaa-jdbc".authz', Version: '"1.0.1"', Notes:
>> > 'Display name: "ovirt-engine-extension-aaa-jdbc"', License: 'ASL 2.0',
>> > Home:
>> > 'http://www.ovirt.org', Author 'The oVirt Project', Build interface
>> > Version:
>> > '0',  File: '/etc/ovirt-engine/extensions.d/internal-authz.properties',
>> > Initialized: 'true'
>>
>> On Sat, Dec 19, 2015 at 10:14 PM, Gianluca Cecchi
>> <gianluca.cec...@gmail.com> wrote:
>> > On Sat, Dec 19, 2015 at 8:57 PM, Gianluca Cecchi
>> > <gianluca.cec...@gmail.com>
>> > wrote:
>> >>
>> >>
>> >>
>> &

Re: [ovirt-users] After update to 3.6.1 profile internal does not exist message

2015-12-20 Thread Yedidyah Bar David
On Sun, Dec 20, 2015 at 12:45 AM, Gianluca Cecchi
 wrote:
> On Sat, Dec 19, 2015 at 9:14 PM, Gianluca Cecchi  wrote:
>>
>>
>> I fear that the "yum update" command I executed after "engine-setuo"
>> completed successfully, to update the OS to CentOS 7.2 has pulled in the
>> package
>> Dec 19 13:46:48 Updated:
>> ovirt-engine-extension-aaa-jdbc-1.0.4-1.el7.noarch
>>
>> and has created my problems... and create similar ones to other guys...
>> what do you think?
>>
>> Gianluca
>
>
>
> It was indeed the main reason for not being able to authenticate in webadmin
> portal:
>
> I reverted to the previous version of the package. After putting env in
> maintenance global I executed:
>
> # systemctl stop ovirt-engine
>
> Previous version:
> Nov 04 12:52:20 Installed:
> ovirt-engine-extension-aaa-jdbc-1.0.1-1.el7.noarch
>
> # yum downgrade ovirt-engine-extension-aaa-jdbc
> ...
> Dependencies Resolved
>
> 
>  Package Arch   Version
> Repository Size
> 
> Downgrading:
>  ovirt-engine-extension-aaa-jdbc noarch 1.0.1-1.el7
> ovirt-3.6 165 k
>
> # systemctl start ovirt-engine
>
> and I'm able to connect again. In engine.log now
>
> 2015-12-19 23:38:31,352 INFO
> [org.ovirt.engine.core.uutils.config.ShellLikeConfd] (default task-1) []
> Loaded file
> '/etc/ovirt-engine/engine.conf.d/50-ovirt-engine-extension-aaa-jdbc.conf'.
> ...
> 2015-12-19 23:38:31,357 INFO
> [org.ovirt.engine.core.uutils.config.ShellLikeConfd] (default task-1) []
> Value of property 'ENGINE_JAVA_MODULEPATH' is
> '/usr/share/ovirt-engine-wildfly-overlay/modules:/usr/share/ovirt-engine/modules/common:/usr/share/ovirt-engine-extension-aaa-jdbc/modules'.
> ...
> 2015-12-19 23:38:34,355 INFO
> [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (ServerService
> Thread Pool -- 37) [] Instance name: 'internal-authn', Extension name:
> '"ovirt-engine-extension-aaa-jdbc".authn', Version: '"1.0.1"', Notes:
> 'Display name: "ovirt-engine-extension-aaa-jdbc"', License: 'ASL 2.0', Home:
> 'http://www.ovirt.org', Author 'The oVirt Project', Build interface Version:
> '0',  File: '/etc/ovirt-engine/extensions.d/internal-authn.properties',
> Initialized: 'true'
> 2015-12-19 23:38:34,355 INFO
> [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (ServerService
> Thread Pool -- 37) [] Instance name: 'internal-authz', Extension name:
> '"ovirt-engine-extension-aaa-jdbc".authz', Version: '"1.0.1"', Notes:
> 'Display name: "ovirt-engine-extension-aaa-jdbc"', License: 'ASL 2.0', Home:
> 'http://www.ovirt.org', Author 'The oVirt Project', Build interface Version:
> '0',  File: '/etc/ovirt-engine/extensions.d/internal-authz.properties',
> Initialized: 'true'

On Sat, Dec 19, 2015 at 10:14 PM, Gianluca Cecchi
 wrote:
> On Sat, Dec 19, 2015 at 8:57 PM, Gianluca Cecchi 
> wrote:
>>
>>
>>
>> but I don't understand how this can influence the fact that inside the web
>> ui login I don't see any selectable value for the profile field: the
>> "internal" default domain is missing I didn't implement any other
>>
>> https://drive.google.com/file/d/0BwoPbcrMv8mvNTV1S2M3MGdKNHM/view?usp=sharing
>>
>> Gianluca
>
>
>
> the culprit could be related to these lines in engine.log
>
>  2015-12-19 13:57:22,403 INFO
> [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (ServerService
> Thread Pool -- 41) [] Extension 'internal-authn' loaded
> 2015-12-19 13:57:22,406 INFO
> [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (ServerService
> Thread Pool -- 41) [] Loading extension 'internal-authz'
> 2015-12-19 13:57:22,408 INFO
> [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (ServerService
> Thread Pool -- 41) [] Extension 'internal-authz' loaded
> 2015-12-19 13:57:22,409 INFO
> [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (ServerService
> Thread Pool -- 41) [] Initializing extension 'internal-authn'
> 2015-12-19 13:57:22,447 ERROR
> [org.ovirt.engine.extension.aaa.jdbc.binding.api.AuthnExtension]
> (ServerService Thread Pool -- 41) [] Unexpected Exception invoking:
> EXTENSION_INITIALIZE[e5ae1b7f-9104-4f23-a444-7b9175ff68d2]
> 2015-12-19 13:57:22,447 ERROR
> [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (ServerService
> Thread Pool -- 41) [] Error in activating extension 'internal-authn':
> Database schema is older than required by currently installed
> ovirt-engine-extension-aaa-jdbc package version. Please upgrade profile
> database schema before proceeding (for more info about upgrade please take a
> look at README.admin file contained in ovirt-engine-extension-aaa-jdbc
> package).

README.admin there [1] says, among other things:

Re: [ovirt-users] Import KVM/libvirt VMs to oVirt

2015-12-20 Thread Yedidyah Bar David
On Sun, Dec 20, 2015 at 12:59 PM,  <ov...@timmi.org> wrote:
> Hi,
>
> thank you for the quick response.
>
> Yes I can confirm that I'm also able to perform this through copying of the
> image but then you need to know the exact file name of the disk you need to
> overwrite.
>
> Is there a way to see the file name also in the oVirt admin portal?

If you check the "Disks" tab, you'll see there an ID tab.

For nfs/qcow, that's a directory name to be found under 'images'
inside the storage domain. Under this directory you'll find several
files (data, metadata and lease) per each snapshot of this disk.
Not sure any of this is documented and/or intended for direct
manipulation.

Best,

>
> Best regards
> Christoph
>
>
>
> Am 20.12.2015 um 11:24 schrieb Yedidyah Bar David:
>>
>> On Sun, Dec 20, 2015 at 12:13 PM,  <ov...@timmi.org> wrote:
>>>
>>> Hi list,
>>>
>>> finally I managed to install oVirt on my new server and so far it is
>>> really
>>> great.
>>>
>>> The next step on my side it to migrate VMs from another server
>>> (KVM/libvirtd/virt-manager) to oVirt.
>>> I was trying to find something in the documentation but so far no luck.
>>>
>>> Google was pointing me to tow options:
>>>
>>> - virt-v2v
>>> - import-to-ovirt.pl (script from Richard WM Jones)
>>>
>>>
>>> Currently I'm trying to migrate a Win7 VM (with VirtIO) with
>>> import_to_ovirt
>>> bzt I receive the following error message:
>>> ./import-to-ovirt.pl: no operating system was found on the disk
>>>
>>> I'm executing the following command:
>>> ./import-to-ovirt.pl /path-to-image-file/disk.img hostname:/export-domain
>>>
>>> Is anyone able to support me here?
>>> As both systems are running KVM there should be a quite easy way to
>>> migrate
>>> the VMs or not?
>>
>> Adding Richard.
>>
>> IIRC people managed to do that by merely creating a new vm and copying the
>> existing one over the new empty disk. No idea about details, you might
>> want
>> to search the list archives.
>>
>> Best,
>
>



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


Re: [ovirt-users] Network instability after upgrade 3.6.0 -> 3.6.1

2015-12-20 Thread Yedidyah Bar David
On Fri, Dec 18, 2015 at 5:31 PM, Stefano Danzi  wrote:
> I found this in vdsm.log and I think that could be the problem:
>
> Thread-3771::ERROR::2015-12-18
> 16:18:58,597::brokerlink::279::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(_communicate)
> Connection closed: Connection closed
> Thread-3771::ERROR::2015-12-18 16:18:58,597::API::1847::vds::(_getHaInfo)
> failed to retrieve Hosted Engine HA info
> Traceback (most recent call last):
>   File "/usr/share/vdsm/API.py", line 1827, in _getHaInfo
> stats = instance.get_all_stats()
>   File
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py",
> line 103, in get_all_stats
> self._configure_broker_conn(broker)
>   File
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py",
> line 180, in _configure_broker_conn
> dom_type=dom_type)
>   File
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
> line 176, in set_storage_domain
> .format(sd_type, options, e))
> RequestError: Failed to set storage domain FilesystemBackend, options
> {'dom_type': 'nfs3', 'sd_uuid': '46f55a31-f35f-465c-b3e2-df45c05e06a7'}:
> Connection closed

My guess is that this is a consequence of your networking problems.

Adding Dan.

>
>
> Il 17/12/2015 18.51, Stefano Danzi ha scritto:
>>
>> I partially solve the problem.
>>
>> My host machine has 2 network interfaces with a bond. The bond was
>> configured with  mode=4 (802.3ad) and switch was configured in the same way.
>> If I remove one network cable the network become stable. With both cables
>> attached the network is instable.
>>
>> I removed the link aggregation configuration from switch and change the
>> bond in mode=2 (balance-xor). Now the network are stable.
>> The strange thing is that previous configuration worked fine for one
>> year... since the last upgrade.
>>
>> Now ha-agent don't reboot the hosted-engine anymore, but I receive two
>> emails from brocker evere 2/5 minutes.
>> First a mail with "ovirt-hosted-engine state transition
>> StartState-ReinitializeFSM" and after "ovirt-hosted-engine state transition
>> ReinitializeFSM-EngineStarting"
>>
>>
>> Il 17/12/2015 10.51, Stefano Danzi ha scritto:
>>>
>>> Hello,
>>> I have one testing host (only one host) with self hosted engine and 2 VM
>>> (one linux and one windows).
>>>
>>> After upgrade ovirt from 3.6.0 to 3.6.1 the network connection works
>>> discontinuously.
>>> Every 10 minutes HA agent restart hosted engine VM because result down.
>>> But the machine is UP,
>>> only the network stop to work for some minutes.
>>> I activate global maintenace mode to prevent engine reboot. If I ssh to
>>> the hosted engine sometimes
>>> the connection work and sometimes no.  Using VNC connection to engine I
>>> see that sometime VM reach external network
>>> and sometimes no.
>>> If I do a tcpdump on phisical ethernet interface I don't see any packet
>>> when network on vm don't work.
>>>
>>> Same thing happens fo others two VM.
>>>
>>> Before the upgrade I never had network 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
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



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


Re: [ovirt-users] Self hosted engine and upgrade path to 3.6.1 CentOS 7.2 with single host

2015-12-20 Thread Yedidyah Bar David
On Sun, Dec 20, 2015 at 11:44 AM, Gianluca Cecchi
<gianluca.cec...@gmail.com> wrote:
> On Sun, Dec 20, 2015 at 10:21 AM, Yedidyah Bar David <d...@redhat.com>
> wrote:
>>
>>
>> >
>> > After reboot and exiting maintenance I found the hosted_storage domain
>> > in
>> > state "unattached" and not "maintenance" as in another test I have done
>> > (note that in in that test there were not true data domains configured
>> > apart
>> > the hosted_storage...)
>> > I also got some exceptions inside the GUI when going into storage tab on
>> > hosted_storage line. See:
>> >
>> > https://drive.google.com/file/d/0BwoPbcrMv8mvYmdQYVM0dkRJaGM/view?usp=sharing
>> >
>> > Uncaught exception occurred. Please try reloading the page. Details:
>> > (TypeError) __gwt$exception: : c is null
>> >
>> > I tried to attach the hosted_storage but then the engine VM went down
>>
>> It must have already been attached, because otherwise the engine vm would
>> not be up. So it might be some inconsistency between the engine and host.
>>
>> > I did wait for about 10 minutes and the VM was not restarted.
>>
>> Can you check/post ha logs (/var/log/ovirt-hosted-engine-ha)?
>>
>> Adding Martin.
>>
>
>
> here they are in tgz format. Contents for all yesterday and up to now:
> drwxr-xr-x root/root 0 2015-12-20 10:25 logs/
> -rw-r--r-- root/root   5557044 2015-12-20 10:25 logs/agent.log
> -rw-r--r-- root/root  11934533 2015-12-20 10:25 logs/agent.log.2015-12-18
> -rw-r--r-- root/root   4510074 2015-12-20 10:25 logs/broker.log
> -rw-r--r-- root/root   9867696 2015-12-20 10:25 logs/broker.log.2015-12-18
>
> https://drive.google.com/file/d/0BwoPbcrMv8mvTEh2bGplZEw2ZmM/view?usp=sharing
>
> Take in mind that starting from both host and engine in 3.6.0 yesterday at
> 13:30 the engine was updated to 3.6.1.
> After solving its problems (see
> http://lists.ovirt.org/pipermail/users/2015-December/036678.html ) at about
> 23:50 I also updated host as suggested taking it to CentOS 7.2 and 3.6.1
> too.
>
>
>>
>> > Is there any reason for ithe environment  to "automatically" go back
>> > into
>> > maintenance?
>> > Because as soon as I run again the command
>> >
>> > hosted-engine --set-maintenance --mode=none
>> >
>> > the engine VM was started again.
>>
>> No idea, Martin?
>>
>> > Is there any command to see the current state of maintenance
>> > (none/local/global)?
>>
>> hosted-engine --vm-status
>>
>
> Thanks.
> BTW: what is the meaning of "score" field, passing from 3400 to 0 whn I put
> host to maintenance?
> Is the score related to priority to run engine VM among hosts (in my case
> only one)?

Yes.

You might want to have a look at [1], especially page 15. I can only find
a link to it at [2], perhaps we should link elsewhere too (e.g. howto page).

[1] https://www.ovirt.org/images/d/d5/Fosdem-hosted-engine.pdf
[2] http://www.ovirt.org/FOSDEM_2014

>
>>
>> >
>> > Inside the webadmin gui  in hosts tab I still see the icon indicating
>> > "update available" for it
>> > And in action items: "a new version is available" message
>> >
>> > In software subtab the host is detected as:
>> > OS Version: RHEL - 7 - 2.1511.el7.centos.2.10
>> > Kernel Version: 3.10.0 - 327.3.1.el7.x86_64
>> > KVM Version: 2.3.0 - 31.el7_2.4.1
>> > LIBVIRT Version: libvirt-1.2.17-13.el7_2.2
>> > VDSM Version: vdsm-4.17.13-0.el7.centos
>> > SPICE Version: 0.12.4 - 15.el7
>> > CEPH Version: librbd1-0.80.7-3.el7
>>
>> Are you sure the engine even manages to speak to the host?
>> Please check/post also engine and vdsm logs.
>>
>> Adding Oved.
>> --
>> Didi
>
>
> WHat do you mean by "the engine even manages to speak to the host"?
> After both updated to 3.6.1 I was indeed able to power on 2 machines defined
> in the DC and connect to their consoles, so I think there is
> communication...

Sounds so.

> Or do you mean particular communication in terms of what upadates are in
> place? What kind of check makes the engine when it shows "update available"
> fr the host?

No, I meant the above. Now really adding Oved...
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 3.6.1 HE install on CentOS 7.2 resulted in unsync'd network

2015-12-20 Thread Yedidyah Bar David
On Sat, Dec 19, 2015 at 12:53 PM, Gianluca Cecchi
 wrote:
> On Sat, Dec 19, 2015 at 1:08 AM, John Florian 
> wrote:
>>
>> I'm trying to get a 3.6.1 HE setup going where I have 4 VLANs (VIDs
>> 101-104) for storage networks, 1 VLAN (VID 100) for ovirtmgmt and 1 more
>> (VID 1) for everything else.  Because I know of no way to manipulate the
>> network configuration from the management GUI once the HE is running and
>> with only a single Host, I made the OS configuration as close as possible to
>> what I'd want when done.  This looks like:
>
>
> Why do you think of this necessary pre-work? I configured (in 3.6.0) an
> environment with HE too on a single host and I only preconfigured my bond1
> in 802.3ad mode with the interfaces I planned to use for ovirtmgmt and I
> left the other interfaces unconfigured, so that all is not used by Network
> Manager.
> During  the "hosted-engine --deploy" setup I got this input:
>
>--== NETWORK CONFIGURATION ==--
>
>   Please indicate a nic to set ovirtmgmt bridge on: (em1, bond1,
> em2) [em1]: bond1
>   iptables was detected on your computer, do you wish setup to
> configure it? (Yes, No)[Yes]:
>   Please indicate a pingable gateway IP address [10.4.168.254]:
>
> and then on preview of configuration to apply:
>
>   --== CONFIGURATION PREVIEW ==--
>
>   Bridge interface   : bond1
>   Engine FQDN: ractorshe.mydomain.local
>   Bridge name: ovirtmgmt
>
> After setup I configured my vlan based networks for my VMS from the GUI
> itself as in the usual way, so that now I have this bond0 created by oVirt
> GUI on the other two interfaces (em1 and em2):
>
> [root@ractor ~]# cat /proc/net/bonding/bond0
> Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
>
> Bonding Mode: IEEE 802.3ad Dynamic link aggregation
> Transmit Hash Policy: layer2 (0)
> MII Status: up
> MII Polling Interval (ms): 100
> Up Delay (ms): 0
> Down Delay (ms): 0
>
> 802.3ad info
> LACP rate: fast
> Min links: 0
> Aggregator selection policy (ad_select): stable
> Active Aggregator Info:
> Aggregator ID: 2
> Number of ports: 2
> Actor Key: 17
> Partner Key: 8
> Partner Mac Address: 00:01:02:03:04:0c
>
> Slave Interface: em1
> MII Status: up
> Speed: 1000 Mbps
> Duplex: full
> Link Failure Count: 0
> Permanent HW addr: 00:25:64:ff:0b:f0
> Aggregator ID: 2
> Slave queue ID: 0
>
> Slave Interface: em2
> MII Status: up
> Speed: 1000 Mbps
> Duplex: full
> Link Failure Count: 0
> Permanent HW addr: 00:25:64:ff:0b:f2
> Aggregator ID: 2
> Slave queue ID: 0
>
> And then "ip a" command returns:
>
> 9: bond0.65@bond0:  mtu 1500 qdisc noqueue
> master vlan65 state UP
> link/ether 00:25:64:ff:0b:f0 brd ff:ff:ff:ff:ff:ff
> 10: vlan65:  mtu 1500 qdisc noqueue state
> UP
> link/ether 00:25:64:ff:0b:f0 brd ff:ff:ff:ff:ff:ff
>
> with
> [root@ractor ~]# brctl show
> bridge namebridge idSTP enabledinterfaces
> ;vdsmdummy;8000.no
> ovirtmgmt8000.002564ff0bf4nobond1
> vnet0
> vlan658000.002564ff0bf0nobond0.65
> vnet1
> vnet2
>
> vnet1 and vnet2 being the virtual network interfaces of my two running VMs.
>
> The only note I can submit is that by default when you set a network in
> oVirt GUI with mode=4 (802.3ad), it defaults to configuring it with
> "lacp_rate=0" so slow, that I think it is bad, as I read in many articles
> (but I'm not a network guru at all)
> So that I chose custom mode in the GUI and specified "mode=4 lacp_rate=1" in
> options and this was reflected in my configuration as you see above in bond0
> output.
>
> Can we set lacp_rate=1 as a default option for mode=4 in oVirt?

No idea, adding Dan. I guess you can always open an RFE bz...
Dan - any specific reason for the current defaults?
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Import KVM/libvirt VMs to oVirt

2015-12-20 Thread Yedidyah Bar David
On Sun, Dec 20, 2015 at 12:13 PM,   wrote:
> Hi list,
>
> finally I managed to install oVirt on my new server and so far it is really
> great.
>
> The next step on my side it to migrate VMs from another server
> (KVM/libvirtd/virt-manager) to oVirt.
> I was trying to find something in the documentation but so far no luck.
>
> Google was pointing me to tow options:
>
> - virt-v2v
> - import-to-ovirt.pl (script from Richard WM Jones)
>
>
> Currently I'm trying to migrate a Win7 VM (with VirtIO) with import_to_ovirt
> bzt I receive the following error message:
> ./import-to-ovirt.pl: no operating system was found on the disk
>
> I'm executing the following command:
> ./import-to-ovirt.pl /path-to-image-file/disk.img hostname:/export-domain
>
> Is anyone able to support me here?
> As both systems are running KVM there should be a quite easy way to migrate
> the VMs or not?

Adding Richard.

IIRC people managed to do that by merely creating a new vm and copying the
existing one over the new empty disk. No idea about details, you might want
to search the list archives.

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Self hosted engine and upgrade path to 3.6.1 CentOS 7.2 with single host

2015-12-20 Thread Yedidyah Bar David
On Sun, Dec 20, 2015 at 2:19 AM, Gianluca Cecchi
 wrote:
> On Fri, Dec 18, 2015 at 2:26 PM, Sandro Bonazzola 
> wrote:
>>
>>
>>>
>>
>> You can't put the only existing host in maintenance since Hosted Engine is
>> running on it and it can't migrate
>>
>>
>>>
>>> Or should I simply
>>> - shutdown the VMs in my Datacenter
>>> - shutdown engine VM
>>> - stop vdsmd on host
>>> - update host to both CentOS 7.2 and oVirt 3.6.1 packages with:
>>>   # yum update
>>> - reboot host
>>> - verify vdsmd is ok
>>> - exit the global maintenance mode and wait for a few minutes the engine
>>> VM should on this fresh upgraded host
>>> - hopefully the host will come up again as active and I can start my VMs
>>> ?
>>>
>>
>>
>> - shutdown the VMs in your Datacenter
>> - move the host to local maintenance
>> - shutdown engine VM
>> - yum update
>> - reboot
>> - exit maintenance
>>
>>
>>>
>>>
>
> After solving the engine VM part (see dedicated thread) I continued and
> follow the steps indicated for the host.
>
> After reboot and exiting maintenance I found the hosted_storage domain in
> state "unattached" and not "maintenance" as in another test I have done
> (note that in in that test there were not true data domains configured apart
> the hosted_storage...)
> I also got some exceptions inside the GUI when going into storage tab on
> hosted_storage line. See:
> https://drive.google.com/file/d/0BwoPbcrMv8mvYmdQYVM0dkRJaGM/view?usp=sharing
>
> Uncaught exception occurred. Please try reloading the page. Details:
> (TypeError) __gwt$exception: : c is null
>
> I tried to attach the hosted_storage but then the engine VM went down

It must have already been attached, because otherwise the engine vm would
not be up. So it might be some inconsistency between the engine and host.

> I did wait for about 10 minutes and the VM was not restarted.

Can you check/post ha logs (/var/log/ovirt-hosted-engine-ha)?

Adding Martin.

> Is there any reason for ithe environment  to "automatically" go back into
> maintenance?
> Because as soon as I run again the command
>
> hosted-engine --set-maintenance --mode=none
>
> the engine VM was started again.

No idea, Martin?

> Is there any command to see the current state of maintenance
> (none/local/global)?

hosted-engine --vm-status

>
> Anyway the hosted_storage domain still is in unattached state...
>
> BTW: even if the host has been updated:
>
> [root@ractor ]# yum update
> Loaded plugins: fastestmirror, langpacks
> Loading mirror speeds from cached hostfile
>  * base: ba.mirror.garr.it
>  * extras: ba.mirror.garr.it
>  * ovirt-3.6: ftp.nluug.nl
>  * ovirt-3.6-epel: epel.besthosting.ua
>  * updates: ba.mirror.garr.it
> No packages marked for update
> [root@ractor ]#
>
> Inside the webadmin gui  in hosts tab I still see the icon indicating
> "update available" for it
> And in action items: "a new version is available" message
>
> In software subtab the host is detected as:
> OS Version: RHEL - 7 - 2.1511.el7.centos.2.10
> Kernel Version: 3.10.0 - 327.3.1.el7.x86_64
> KVM Version: 2.3.0 - 31.el7_2.4.1
> LIBVIRT Version: libvirt-1.2.17-13.el7_2.2
> VDSM Version: vdsm-4.17.13-0.el7.centos
> SPICE Version: 0.12.4 - 15.el7
> CEPH Version: librbd1-0.80.7-3.el7

Are you sure the engine even manages to speak to the host?
Please check/post also engine and vdsm logs.

Adding Oved.
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not start (RESOLVED)

2015-12-20 Thread Yedidyah Bar David
On Sun, Dec 20, 2015 at 9:05 PM, Will Dennis <wden...@nec-labs.com> wrote:
> Fair enough… I think the phrase goes “the problem with idiot-proofing is that 
> they keep making bigger idiots…” :)
>
> Are you saying that vdsm isn’t a sub-project of oVirt?

It is, but I am not a maintainer of it :-)

> Who created it then, and where else is it used?

Not sure, it's open-source after all.

>
>
> On Dec 20, 2015, at 2:07 AM, Yedidyah Bar David 
> <d...@redhat.com<mailto:d...@redhat.com>> wrote:
> Well, I can think of other things as well, such as doing such a test
> during rpm/yum install stage, etc., but the question is how far should
> we go - there are many other ways to break ovirt, and we can't
> possibly consider all of them. That said, I guess patches are welcome
> (but you'll need to discuss this with a vdsm maintainer, not me,
> probably on gerrit and not here).
>



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


Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not start (RESOLVED)

2015-12-19 Thread Yedidyah Bar David
On Thu, Dec 17, 2015 at 6:45 PM, Will Dennis  wrote:
> The vdsmd startup failing problem is now resolved :) The root cause was that 
> the /etc/sudoers file (that we maintain a customized version of which thru 
> Ansible) was missing the "#includedir /etc/sudoers.d" stanza, which caused a 
> sudo problem with the vdsmd startup, since the sudoers include file "50-vdsm" 
> wasn't being parsed.
>
> In going back and reviewing the thread, this was the first post that pointed 
> out the real problem...
>
> -Original Message-
> From: Fabian Deutsch [mailto:fdeutsch at redhat.com]
> Sent: Tuesday, December 01, 2015 12:58 AM
> To: Will Dennis
> Cc: Simone Tiraboschi; users
> Subject: Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not 
> start
>
> On Tue, Dec 1, 2015 at 4:52 AM, Will Dennis  wrote:
>> Any clues out of the strace of vdsm?
>
> read(9, "sudo: a password is required\n", 4096) = 29
>
> Could it be that sudo is not configured to operate passwordless?
>
> The strat-up can then fail, because sudo requires a ty, but this isn't 
> available during service start.
>
> - fabian
>
>> On Nov 25, 2015, at 11:29 AM, Simone Tiraboschi  
>> wrote:
>>
>>> On Wed, Nov 25, 2015 at 5:22 PM, Willard Dennis  
>>> wrote:
>>> [root at ovirt-node-01 ~]# sudo -u vdsm /bin/bash
>>> bash-4.2$ /usr/share/vdsm/vdsm
>>> bash-4.2$ echo $?
>>> 1
>>
>> Can you please use strace on it?
>
> -Message End-
>
> However, not knowing about the missing sudoers include file, we continued to 
> chase a vdsm config problem (uninstall / reinstall vdsm RPM pkgs, & use 
> "vdsm-tool configure --force")
>
> Shame on me, it looks like I didn't think to check /var/log/messages for 
> "vdsm"-string entries until today, where we found the "vdsm user could not 
> manage to run sudo operation: (stderr: ['sudo: sorry, you must have a tty to 
> run sudo']). Verify sudoer rules configuration” message that ultimately led 
> to the solution :(
>
> However, not sure if it's possible to do so, but could /usr/share/vdsm/vdsm 
> be made to emit a error to STDERR if it cannot run correctly? That's the only 
> thing I could think of that may have helped me to resolve this earlier with 
> what I did do...

Well, I can think of other things as well, such as doing such a test
during rpm/yum install stage, etc., but the question is how far should
we go - there are many other ways to break ovirt, and we can't
possibly consider all of them. That said, I guess patches are welcome
(but you'll need to discuss this with a vdsm maintainer, not me,
probably on gerrit and not here).

>
> Thanks for everyone's kind assistance, this really is a great community! :)

Thanks a lot for the time spent and the report!

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Remove reporst and dwh services and db

2015-12-19 Thread Yedidyah Bar David
On Fri, Dec 18, 2015 at 11:45 AM, Kevin COUSIN  wrote:
> Hi list,
>
> Is it safe to remove dwh service et databases from an running ovirt engine ?
>
> I think I can try something like :
>
> engine-cleanup
> [ INFO  ] Stage: Initializing
> [ INFO  ] Stage: Environment setup
>   Configuration files: 
> ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', 
> '/etc/ovirt-engine-setup.conf.d/10-packaging-reports-jboss.conf', 
> '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', 
> '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
>   Log file: 
> /var/log/ovirt-engine/setup/ovirt-engine-remove-20151218103955-e7a1em.log
>   Version: otopi-1.4.0 (otopi-1.4.0-1.el7.centos)
> [ INFO  ] Stage: Environment packages setup
> [ INFO  ] Stage: Programs detection
> [ INFO  ] Stage: Environment customization
>   Do you want to remove all components? (Yes, No) [Yes]: no
>
>   --== PRODUCT OPTIONS ==--
>
>   Do you want to remove PKI keys? (Yes, No) [No]: no
>   Do you want to remove ISO domain layout? (Yes, No) [No]: no
>   Do you want to remove YUM version locking configuration? (Yes, No) 
> [No]: no
>   Do you want to remove PKI configuration? (Yes, No) [No]: no
>   Do you want to remove Core files? (Yes, No) [No]: no
>   Do you want to remove DWH files? (Yes, No) [No]: yes
>   Do you want to remove Reports files? (Yes, No) [No]: yes
>   Do you want to remove NFS exports configuration? (Yes, No) [No]: no
>   Do you want to remove NFS Configuration? (Yes, No) [No]: no
>   Do you want to remove Apache SSL configuration? (Yes, No) [No]: no
>   Do you want to remove VMConsole Helper PKI keys? (Yes, No) [No]: no
>   Do you want to remove VMConsole PKI Proxy keys? (Yes, No) [No]: no
>   The following files were changed since setup:
>   /etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-uuid.conf
>   
> /etc/ovirt-engine-reports/ovirt-engine-reports.conf.d/10-setup-database.conf
>   
> /etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-database.conf
>   /etc/ovirt-engine-reports/sso.properties
>   Remove them anyway? (Yes, No) [Yes]: yes
>   Do you want to remove the engine? (Yes, No) [No]: no
>   Do you want to remove DWH DB content? All data will be lost (Yes, 
> No) [No]: yes
>   Do you want to remove Reports DB content? All data will be lost 
> (Yes, No) [No]: yes
>   Do you want to remove Reports Jasper artifacts? (Yes, No) [No]: yes
>   Do you want to remove the WebSocket proxy? (Yes, No) [No]: no
> [ INFO  ] Stage: Setup validation
>   During execution engine service will be stopped (OK, Cancel) [OK]: 
> Cancel

No, this currently does not work, see [1] [2].

Please check [3] for something that currently works, although is not
very elegant.
Basically, just yum remove it and remove some extra files.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1060529
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1169695
[3] http://www.ovirt.org/Features/Migration_of_local_DWH_Reports_to_remote

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not start

2015-12-17 Thread Yedidyah Bar David
On Thu, Dec 17, 2015 at 2:45 PM, Willard Dennis  wrote:
> Sure, which ones would be useful?
>
> [root@ovirt-node-01 ~]# cd /var/log/vdsm/
> [root@ovirt-node-01 vdsm]# ls -la
> total 11520
> drwxr-xr-x   3 vdsm kvm 4096 Dec 17 04:34 .
> drwxr-xr-x. 13 root root4096 Dec 13 03:32 ..
> drwxr-xr-x   2 vdsm kvm6 Nov 24 05:42 backup
> -rw-r--r--   1 vdsm kvm0 Dec  1 23:42 connectivity.log
> -rw-r--r--   1 vdsm kvm   966994 Dec 17 07:20 mom.log
> -rw-r--r--   1 vdsm kvm  2097091 Dec 17 04:34 mom.log.1
> -rw-r--r--   1 vdsm kvm  2097117 Dec 16 22:34 mom.log.2
> -rw-r--r--   1 vdsm kvm  2097119 Dec 16 16:33 mom.log.3
> -rw-r--r--   1 vdsm kvm  2097120 Dec 16 10:32 mom.log.4
> -rw-r--r--   1 vdsm kvm  2097115 Dec 16 04:32 mom.log.5
> -rw-r--r--   1 root root  168714 Dec  2 10:30 supervdsm.log
> -rw-r--r--   1 root root3069 Oct 16 12:25 upgrade.log
> -rw-r--r--   1 vdsm kvm0 Dec  1 23:42 vdsm.log

Perhaps just upload all of them somewhere?

Also might be selinux? Please check/post also audit logs.

>
>
>> On Dec 17, 2015, at 2:51 AM, Fabian Deutsch  wrote:
>>
>> On Wed, Dec 16, 2015 at 10:52 PM, Willard Dennis  
>> wrote:
>>> Any thoughts on this issue?? This is holding up my project (oVirt hosted
>>> engine install won’t proceed if VDSM service is not running…)  Why am I even
>>> having such problems with the VDSM service? It’s on a vanilla CentOS 7
>>> install…
>>
>> Hey,
>>
>> so it looks like vdsm has an issue, can you provide some logs?
>>
>> - fabian
>>
>>
>> --
>> Fabian Deutsch 
>> RHEV Hypervisor
>> Red Hat
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



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


Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not start

2015-12-17 Thread Yedidyah Bar David
On Thu, Dec 17, 2015 at 2:50 PM, Willard Dennis  wrote:
> This is from /var/log/messages —
>
> Dec 17 07:46:25 ovirt-node-01 systemd: vdsmd.service holdoff time over, 
> scheduling restart.
> Dec 17 07:46:35 ovirt-node-01 systemd: mom-vdsm.service stopping timed out. 
> Killing.
> Dec 17 07:46:35 ovirt-node-01 systemd: mom-vdsm.service: main process exited, 
> code=killed, status=9/KILL
> Dec 17 07:46:35 ovirt-node-01 systemd: Unit mom-vdsm.service entered failed 
> state.
> Dec 17 07:46:35 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running mkdirs
> Dec 17 07:46:35 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running 
> configure_coredump
> Dec 17 07:46:35 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running 
> configure_vdsm_logs
> Dec 17 07:46:35 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running 
> wait_for_network
> Dec 17 07:46:35 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running 
> run_init_hooks
> Dec 17 07:46:35 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running 
> upgraded_version_check
> Dec 17 07:46:35 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running 
> check_is_configured
> Dec 17 07:46:36 ovirt-node-01 vdsmd_init_common.sh: Current revision of 
> multipath.conf detected, preserving
> Dec 17 07:46:36 ovirt-node-01 vdsmd_init_common.sh: libvirt is already 
> configured for vdsm
> Dec 17 07:46:36 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running 
> validate_configuration
> Dec 17 07:46:36 ovirt-node-01 vdsmd_init_common.sh: SUCCESS: ssl configured 
> to true. No conflicts
> Dec 17 07:46:36 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running 
> prepare_transient_repository
> Dec 17 07:46:36 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running 
> syslog_available
> Dec 17 07:46:36 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running nwfilter
> Dec 17 07:46:37 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running dummybr
> Dec 17 07:46:37 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running tune_system
> Dec 17 07:46:37 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running test_space
> Dec 17 07:46:37 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running test_lo
> Dec 17 07:46:37 ovirt-node-01 vdsm: vdsm user could not manage to run sudo 
> operation: (stderr: ['sudo: sorry, you must have a tty to run sudo']). Verify 
> sudoer rules configuration
> Dec 17 07:46:37 ovirt-node-01 systemd: vdsmd.service: main process exited, 
> code=exited, status=1/FAILURE
> Dec 17 07:46:37 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running 
> run_final_hooks
> Dec 17 07:46:37 ovirt-node-01 systemd: Unit vdsmd.service entered failed 
> state.
> Dec 17 07:46:37 ovirt-node-01 systemd: vdsmd.service holdoff time over, 
> scheduling restart.
>
>
> So, the message "vdsm user could not manage to run sudo operation: (stderr: 
> ['sudo: sorry, you must have a tty to run sudo']). Verify sudoer rules 
> configuration” — what would have to be set in sudden rules to allow this to 
> succeed?

I thought this was already discussed some messages ago.

No idea, but you should check your sudo (and perhaps related? e.g. pam
or whatever)
conf. vdsm ships /etc/sudoers.d/50_vdsm which normally works.
If you changed it, or have some other conflicting configuration,
this might break it.

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


Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not start

2015-12-17 Thread Yedidyah Bar David
On Thu, Dec 17, 2015 at 2:53 PM, Willard Dennis <wden...@nec-labs.com> wrote:
> Took the easy way out on selinux…
>
> [root@ovirt-node-01 vdsm]# sestatus
> SELinux status: disabled

Up to you, but note that we do work hard to make sure things work
with it enabled.

>
>
> On Dec 17, 2015, at 7:48 AM, Yedidyah Bar David <d...@redhat.com> wrote:
>
>
> Perhaps just upload all of them somewhere?
>
> Also might be selinux? Please check/post also audit logs.
>
>



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


Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not start

2015-12-17 Thread Yedidyah Bar David
On Thu, Dec 17, 2015 at 9:51 AM, Fabian Deutsch  wrote:
> On Wed, Dec 16, 2015 at 10:52 PM, Willard Dennis  wrote:
>> Any thoughts on this issue?? This is holding up my project (oVirt hosted
>> engine install won’t proceed if VDSM service is not running…)  Why am I even
>> having such problems with the VDSM service? It’s on a vanilla CentOS 7
>> install…
>
> Hey,
>
> so it looks like vdsm has an issue, can you provide some logs?
>

Perhaps it's this one:

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

> - fabian
>
>> Thanks
>> Will
>>
>>
>> On Dec 2, 2015, at 10:35 AM, Will Dennis  wrote:
>>
>> Ran the configure the first time and got an error...
>>
>> root@ovirt-node-01 ~> vdsm-tool configure --force
>>
>> Checking configuration status...
>>
>> Current revision of multipath.conf detected, preserving
>> libvirt is not configured for vdsm yet
>> FAILED: conflicting vdsm and libvirt-qemu tls configuration.
>> vdsm.conf with ssl=True requires the following changes:
>> libvirtd.conf: listen_tcp=0, auth_tcp="sasl", listen_tls=1
>> qemu.conf: spice_tls=1.
>>
>> Running configure...
>> Reconfiguration of sebool is done.
>> Reconfiguration of passwd is done.
>> Reconfiguration of libvirt is done.
>>
>> Done configuring modules to VDSM.
>>
>> So, made the appropriate edits to libvirtd.conf and qemu.conf
>>
>> root@ovirt-node-01 ~> grep "^[a-z]" /etc/libvirt/libvirtd.conf
>> listen_tls = 1
>> listen_tcp = 0
>> auth_tcp = "sasl"
>> auth_unix_rw="sasl"
>> ca_file="/etc/pki/vdsm/certs/cacert.pem"
>> cert_file="/etc/pki/vdsm/certs/vdsmcert.pem"
>> host_uuid="2b026fff-bae2-429f-9386-c60ffc5f3f32"
>> keepalive_interval=-1
>> key_file="/etc/pki/vdsm/keys/vdsmkey.pem"
>> unix_sock_group="qemu"
>> unix_sock_rw_perms="0770"
>>
>> root@ovirt-node-01 ~> grep "^[a-z]" /etc/libvirt/qemu.conf
>> spice_tls = 1
>> auto_dump_path="/var/log/core"
>> dynamic_ownership=0
>> lock_manager="sanlock"
>> remote_display_port_max=6923
>> remote_display_port_min=5900
>> save_image_format="lzop"
>> spice_tls=1
>> spice_tls_x509_cert_dir="/etc/pki/vdsm/libvirt-spice"
>>
>> Then re-ran the config...
>>
>> root@ovirt-node-01 ~> vdsm-tool configure --force
>>
>> Checking configuration status...
>>
>> Current revision of multipath.conf detected, preserving
>> libvirt is already configured for vdsm
>> SUCCESS: ssl configured to true. No conflicts
>>
>> Running configure...
>> Reconfiguration of sebool is done.
>> Reconfiguration of libvirt is done.
>>
>> Done configuring modules to VDSM.
>>
>> Sadly, vdsmd STILL fails to start...
>>
>> root@ovirt-node-01 ~> systemctl restart vdsmd
>> root@ovirt-node-01 ~> systemctl status vdsmd
>> vdsmd.service - Virtual Desktop Server Manager
>>Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled)
>>Active: activating (auto-restart) (Result: exit-code) since Wed
>> 2015-12-02 10:30:47 EST; 1s ago
>>   Process: 6522 ExecStopPost=/usr/libexec/vdsm/vdsmd_init_common.sh
>> --post-stop (code=exited, status=0/SUCCESS)
>>   Process: 6506 ExecStart=/usr/share/vdsm/daemonAdapter -0 /dev/null -1
>> /dev/null -2 /dev/null /usr/share/vdsm/vdsm (code=exited, status=1/FAILURE)
>>   Process: 6433 ExecStartPre=/usr/libexec/vdsm/vdsmd_init_common.sh
>> --pre-start (code=exited, status=0/SUCCESS)
>> Main PID: 6506 (code=exited, status=1/FAILURE)
>>
>> Dec 02 10:30:47 ovirt-node-01 systemd[1]: Unit vdsmd.service entered failed
>> 
>> Dec 02 10:30:47 ovirt-node-01 systemd[1]: vdsmd.service holdoff time over,
>> s
>> Hint: Some lines were ellipsized, use -l to show in full.
>>
>> :(
>>
>> From: Simone Tiraboschi [mailto:stira...@redhat.com]
>> Sent: Wednesday, December 02, 2015 3:57 AM
>> To: Will Dennis
>> Cc: Fabian Deutsch; users
>> Subject: Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not
>> start
>>
>> [snip]
>>
>> Now can you please now configure it with:
>>   vdsm-tool configure --force
>>
>> Then you have to restart it
>>
>>
>
>
>
> --
> Fabian Deutsch 
> RHEV Hypervisor
> Red Hat
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



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


Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not start

2015-12-16 Thread Yedidyah Bar David
On Wed, Dec 16, 2015 at 11:52 PM, Willard Dennis  wrote:
> Any thoughts on this issue?? This is holding up my project (oVirt hosted
> engine install won’t proceed if VDSM service is not running…)  Why am I even
> having such problems with the VDSM service? It’s on a vanilla CentOS 7
> install…

(Only briefly skimming the history of this thread:)

If all you want is to have it up and running, I'd suggest reinstalling
the OS and then try again. Quite likely you have there some local
non-default configurations or something. If it still fails, I'd suggest
to open a bug, describe exact flow, and attach all relevant logs. When
you reinstall the OS, keep in mind that things like a custom kickstart
file etc are also non-default configurations, so if you need them,
attach them to the bug as well.

If you are aware of such non-default stuff but do need them, you
basically have two choices:
1. Keep on debugging this til it works. We can try helping, but can't
guess every change you did to your system. In particular, as Simone
said before, sudo is configured to work out-of-the-box by default.
2. Try a clean vanilla OS install on another system and compare them
to try and see what difference breaks. This can be done also on a VM
with nested kvm, if you do not have a spare physical machine.

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirst engine-setup fails because of apache

2015-12-15 Thread Yedidyah Bar David
On Tue, Dec 15, 2015 at 7:24 PM, Fabrice Bacchella
 wrote:
> My setup is a mix of engine-setup and puppet.
>
> The reasons that prevent the restart are not the real problem. It try to 
> launch '/bin/systemctl start httpd' and that fails, as expected.
>
> The standard service httpd is unusable as the port 80 is already used by my 
> custom apache and I've done other tweaks, like setup up my own PKI. I don't 
> expect it to start in any way.
>
> I just want to keep total control on Apache's configuration and to use the 
> one done by ovirt configuration as a template. So it should no try to restart 
> it, just leave it alone. I will manage that by myself.

This does not seem possible currently. It should be a simple patch to
add another env key for that. patches (in gerrit) or RFEs (in
bugzilla) are welcome :-)

If you want to patch, check [1]. Do not hesitate to ask questions.

[1] 
packaging/setup/plugins/ovirt-engine-common/ovirt-engine-common/system/apache.py

Best,

>
>> Le 15 déc. 2015 à 18:12, Simone Tiraboschi  a écrit :
>>
>> Hi Fabrice,
>> can you please attach  the setup logs?
>>
>> thanks,
>> Simone
>>
>> On Tue, Dec 15, 2015 at 6:04 PM, Fabrice Bacchella 
>>  wrote:
>> I'm using a custom apache implementation, so `service httpd restart` fails 
>> on my server.
>>
>> And so:
>>  engine-setup --config-append=${answers_file}
>> fails with:
>> ...
>> [ INFO  ] Restarting httpd
>> [ ERROR ] Failed to execute stage 'Closing up': Failed to start service 
>> 'httpd'
>>
>> I could try to do OVESETUP_APACHE/httpdService="myapacheservice", but if 
>> fails for not very good technical reasons (my fault this one). 
>> OVESETUP_APACHE/httpdService=bool:False or OVESETUP_APACHE/enable=bool:False 
>> both fail too.
>>
>> I try to find a way to prevent that in answer files, like : 
>> OVESETUP_APACHE/needRestart=bool:False. But this does nothing, I think it's 
>> rewritten latter.
>>
>> Is there a way to prevent apache management or restart in ovirt installer ?
>> ___
>> 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



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


Re: [ovirt-users] Server dont work after Host setting

2015-12-10 Thread Yedidyah Bar David
On Thu, Dec 10, 2015 at 11:38 AM, Taste-Of-IT <kont...@taste-of-it.de> wrote:
> Am 2015-12-10 08:23, schrieb Yedidyah Bar David:
>>
>> On Mon, Dec 7, 2015 at 2:59 PM, Taste-Of-IT <kont...@taste-of-it.de>
>> wrote:
>>>
>>> Am 2015-12-07 13:41, schrieb Yedidyah Bar David:
>>>>
>>>>
>>>> On Mon, Dec 7, 2015 at 1:54 PM, Taste-Of-IT <kont...@taste-of-it.de>
>>>> wrote:
>>>>>
>>>>>
>>>>> Am 2015-12-07 11:17, schrieb Yedidyah Bar David:
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, Dec 7, 2015 at 11:34 AM, Taste-Of-IT <kont...@taste-of-it.de>
>>>>>> wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Am 2015-12-07 10:21, schrieb Yedidyah Bar David:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, Dec 7, 2015 at 11:05 AM, Taste-Of-IT
>>>>>>>> <kont...@taste-of-it.de>
>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Am 2015-12-07 08:06, schrieb Yedidyah Bar David:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Mon, Dec 7, 2015 at 12:38 AM, Taste-Of-IT
>>>>>>>>>> <kont...@taste-of-it.de>
>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Hello,
>>>>>>>>>>> i am new with ovirt and i installed ovirt engine 3.6 on centos 7.
>>>>>>>>>>> After
>>>>>>>>>>> first login i create the host with fqdn of ovirt server but
>>>>>>>>>>> without
>>>>>>>>>>> powersavesettings. Firt i saw installing as status for host, but
>>>>>>>>>>> after
>>>>>>>>>>> a
>>>>>>>>>>> while nothing happend, I reboot the server. In engine.log i see
>>>>>>>>>>> "VMs
>>>>>>>>>>> initialization finished for Host", but i cant open the webgui.
>>>>>>>>>>> What
>>>>>>>>>>> can
>>>>>>>>>>> i
>>>>>>>>>>> do? Where can i look to find the error and what have i done
>>>>>>>>>>> wrong?
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> If host-deploy managed to finish, you can see its log in [1].
>>>>>>>>>> Otherwise
>>>>>>>>>> please try to (re)install the host.
>>>>>>>>>>
>>>>>>>>>> [1] /var/log/ovirt-engine/host-deploy/
>>>>>>>>>>
>>>>>>>>>> Best,
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Hi Didi,
>>>>>>>>> ok i will have a closer look into the log. Actuall the WebGUI
>>>>>>>>> doesnt
>>>>>>>>> load,
>>>>>>>>> services are up and running. How can i reinstall the host? Via cli?
>>>>>>>>> Or
>>>>>>>>> do
>>>>>>>>> you mean the hostsystem with installed ovirt engine? thx
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Not sure I follow.
>>>>>>>>
>>>>>>>

Re: [ovirt-users] engine-setup failed because of postgres 9.4

2015-12-10 Thread Yedidyah Bar David
On Thu, Dec 10, 2015 at 1:43 PM, Fabrice Bacchella
 wrote:
> I'm on a RHEL 7, trying to install a ovirt 3.6.0.3.
>
> The database used is on a remote server, using a postgres 9.4.
>
> The backup of the previous database fails with :
> 2015-12-10 12:04:13 DEBUG
> otopi.**FILTERED**_engine_setup.engine_common.database database.backup:661
> db backup res {'result': [{'stderr': 'pg_dump: server version: 9.4.5;
> pg_dump version: 9.2.14\npg_dump: aborting because of server version
> mismatch\n', 'rc': 1}], 'stdout': ''}
>
> But the good pg_dump is in the path:
>
> ~# type pg_dump
> pg_dump is /usr/pgsql-9.4/bin/pg_dump
>
> Although in the log file:
>
> 2015-12-10 12:40:19 DEBUG otopi.context context.dumpEnvironment:510 ENV
> COMMAND/pg_dump=str:'/bin/pg_dump'
>
> Why ? How can I enforce the use of the latest pg_dump without rewrinting the
> '/bin/pg_dump' which is owned by the official postgres package ?

otopi ignores the PATH in env.

It defaults to:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

You can change that by something like:
cat << __EOF__ > /etc/ovirt-engine-setup.conf.d/99-my-path.conf
[environment:default]
SYSTEM/commandPath=str:/usr/pgsql-9.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
__EOF__

Or just pass on the command line:

engine-setup 
--otopi-environment='SYSTEM/commandPath=str:/usr/pgsql-9.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'

grep for commandPath in the log file to see that it worked.

Never tried this myself, though. You might face problems also with pg libraries,
including making psycopg2 use your own libs. Please report about
success/failure/problems.
Thanks.

Good luck,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


<    9   10   11   12   13   14   15   16   17   18   >