[ovirt-users] LocalOnHost Multipath Blacklist Fails

2015-12-10 Thread Duckworth, Douglas C
Hello

I have a Host with LocalOnHost storage only.

Trying to blacklist the local disks from multipath:

PV VG Fmt  Attr PSize PFree
/dev/sda1  HostVG lvm2 a--  8.18t 0
/dev/sdb4  HostVG lvm2 a--  1.64t 24.00m

As you can see we need to blacklist these devices:

36b8ca3a0ea18e4001a95ba4832bcb7ea
36b8ca3a0ea18e4001a95b9f82df5609b

scsi-36b8ca3a0ea18e4001a95b9f82df5609b -> ../../sda
scsi-36b8ca3a0ea18e4001a95b9f82df5609b-part1 -> ../../sda1
scsi-36b8ca3a0ea18e4001a95ba4832bcb7ea -> ../../sdb
scsi-36b8ca3a0ea18e4001a95ba4832bcb7ea-part1 -> ../../sdb1
scsi-36b8ca3a0ea18e4001a95ba4832bcb7ea-part2 -> ../../sdb2
scsi-36b8ca3a0ea18e4001a95ba4832bcb7ea-part3 -> ../../sdb3
scsi-36b8ca3a0ea18e4001a95ba4832bcb7ea-part4 -> ../../sdb4

After making blacklist changes, you can see in "syslog_errors,"
multipathd does not like my blacklist syntax.

Do you see errors in the multipath.conf file?

Thanks
Doug

-- 
Thanks

Douglas Charles Duckworth
Unix Administrator
Tulane University
Technology Services
1555 Poydras Ave
NOLA -- 70112

E: du...@tulane.edu
O: 504-988-9341
F: 504-988-8505
# RHEV REVISION 1.1

defaults {
polling_interval5
getuid_callout  "/sbin/scsi_id --whitelisted --replace-whitespace 
--device=/dev/%n"
no_path_retry   fail
user_friendly_names no
flush_on_last_del   yes
fast_io_fail_tmo5
dev_loss_tmo30
max_fds 4096
}

devices {
device {
vendor  "HITACHI"
product "DF.*"
getuid_callout  "/sbin/scsi_id --whitelisted --replace-whitespace 
--device=/dev/%n"
}
device {
vendor  "COMPELNT"
product "Compellent Vol"
no_path_retry   fail
}

blacklist {
devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]"
devnode "^hd[a-z][[0-9]]"
devnode "^cciss!c[0-9]d[0-9]"
devnode "^sda[0-9]"
devnode "^sdb[0-9]"
}
device {
# multipath.conf.default
vendor  "DGC"
product ".*"
product_blacklist   "LUNZ"
path_grouping_policy"group_by_prio"
path_checker"emc_clariion"
hardware_handler"1 emc"
prio"emc"
failbackimmediate
rr_weight   "uniform"
# vdsm required configuration
getuid_callout  "/sbin/scsi_id --whitelisted --replace-whitespace 
--device=/dev/%n"
features"0"
no_path_retry   fail
}
}

[root@tulhv2p01 ~]# dmsetup info
Name:  HostVG-Logging
State: ACTIVE
Read Ahead:1024
Tables present:LIVE
Open count:1
Event number:  0
Major, minor:  253, 3
Number of targets: 1
UUID: LVM-nDhOY9xDEcSqmAsMh69ye25Kbe5qmAWA0yoPQuWVSKfTYk60a55lj36L9uKhD4Jt

Name:  HostVG-Swap
State: ACTIVE
Read Ahead:1024
Tables present:LIVE
Open count:1
Event number:  0
Major, minor:  253, 1
Number of targets: 1
UUID: LVM-nDhOY9xDEcSqmAsMh69ye25Kbe5qmAWA4EYoDR4qic0K1tyfyK9sRhDtIdbo1Hv1

Name:  HostVG-Data
State: ACTIVE
Read Ahead:1024
Tables present:LIVE
Open count:1
Event number:  0
Major, minor:  253, 4
Number of targets: 2
UUID: LVM-nDhOY9xDEcSqmAsMh69ye25Kbe5qmAWAiuZH1xJfhklzPBmeABSnIAp0y0FWKVbQ

Name:  HostVG-Config
State: ACTIVE
Read Ahead:1024
Tables present:LIVE
Open count:1
Event number:  0
Major, minor:  253, 2
Number of targets: 1
UUID: LVM-nDhOY9xDEcSqmAsMh69ye25Kbe5qmAWAfkOxIT7Wl06EBzd45xNQNFaAnSQT2sdd

Name:  live-rw
State: ACTIVE
Read Ahead:1024
Tables present:LIVE
Open count:1
Event number:  0
Major, minor:  253, 0
Number of targets: 1

Dec 10 16:05:36 tulhv2p01 root: RESTARTING MULTIPATH
Dec 10 16:05:39 tulhv2p01 multipathd: force queue_without_daemon (operator)
Dec 10 16:05:39 tulhv2p01 multipathd: shut down---
Dec 10 16:05:39 tulhv2p01 kernel: device-mapper: table: 253:5: multipath: error 
getting device
Dec 10 16:05:39 tulhv2p01 kernel: device-mapper: ioctl: error adding target to 
table
Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 26, invalid keyword: 
blacklist
Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 27, invalid keyword: 
devnode
Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 28, invalid keyword: 
devnode
Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 29, invalid keyword: 
devnode
Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 30, invalid keyword: 
devnode
Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 31, invalid keyword: 
devnode
Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 33, invalid keyword: 
device
Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 35, invalid keyword: 
vendor
Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 36, 

Re: [ovirt-users] [oVirt 3.5.6] changing RAM of the hosted engine VM

2015-12-10 Thread Simone Tiraboschi
On Thu, Dec 10, 2015 at 6:34 PM, Simone Tiraboschi 
wrote:

>
>
> On Thu, Dec 10, 2015 at 6:24 PM, wodel youchi 
> wrote:
>
>> Hi,
>>
>> Yes I tried to refresh many time the Webgui, even logging out and logging
>> in again, but no changes.
>>
>> here is the engine-setup logs
>>
>> the big one, is the log of the first setup.
>>
>
> Ok, the engine update issue is here:
> 2015-12-10 12:48:20 DEBUG otopi.ovirt_engine_setup.engine_common.database
> database.execute:214 Result: [{'started_at': datetime.datetime(2015, 12,
> 10, 11, 24, 20, 316000, tzinfo=psycopg2.tz.FixedOffsetTimezone(offset=60,
> name=None)), 'task_id': 'fd62d708-8e9c-4209-956c-3bfc627b3117',
> 'action_type': 36, 'name': 'Default'}]
> 2015-12-10 12:48:20 DEBUG otopi.context context._executeMethod:152 method
> exception
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/otopi/context.py", line 142, in
> _executeMethod
> method['method']()
>   File
> "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/upgrade/asynctasks.py",
> line 448, in _validateAsyncTasks
> ) = self._checkRunningTasks()
>   File
> "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/upgrade/asynctasks.py",
> line 341, in _checkRunningTasks
> self._getRunningTasks(dbstatement),
>   File
> "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/upgrade/asynctasks.py",
> line 202, in _getRunningTasks
> for entry in tasks
> KeyError: '36'
> 2015-12-10 12:48:20 ERROR otopi.context context._executeMethod:161 Failed
> to execute stage 'Setup validation': '36'
>
> You tried to run engine-setup while an async task was running; the task
> was of kind  36 and engine-setup tried to decode it but it failed cause it
> doesn't know about that task type.
> If you simply retry after that task has been completed it will succeed.
>
> It's still worth to open a bug against that so I'll do.
>

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


>
>
> As I said you don't need to update the engine to refresh the engine VM
> details so it's worth to investigate also that one.
> Can you please attach also vdsm logs?
>
>
>
>
>> the small one, is from today's setup after augmenting the amount of
>> memory for the HE.
>>
>> Thanks
>>
>> 
>>  Cet
>> e-mail a été envoyé depuis un ordinateur protégé par Avast.
>> www.avast.com
>> 
>> <#1518cf5bb43d38e5_1518cec58a732f51_DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>> 2015-12-10 15:15 GMT+01:00 Simone Tiraboschi :
>>
>>>
>>>
>>> On Thu, Dec 10, 2015 at 12:53 PM, wodel youchi 
>>> wrote:
>>>
 Hi,

 I have an oVirt 3.5.6 platform using hosted-engine setup.

 I installed my engine's VM with 2Gb of memory at the beginning, now I
 want to add 2Gb

 I've modified /etc/ovirt-hosted-engine/vm.conf on my hypervisors

>>>
>>> On 3.5 it was enough. On 3.6.z you will be able to edit from the engine
>>> web ui.
>>>
>>>

 the VM is booting with 4Gb of memory (free -m), but the GUI is still
 showing 2Gb

>>>
>>> Did you tried to refresh?
>>>
>>>

 I tried engine-setup but I get this error


>>> It's absolutely not needed but on the other side it shouldn't fail as
>>> well.
>>> Can you please attach the whole engine-setup logs?
>>>
>>>

 [ INFO  ] Cleaning async tasks and compensations
 [ ERROR ] Failed to execute stage 'Setup validation': '36'
 [ INFO  ] Stage: Clean up
   Log file is located at
 /var/log/ovirt-engine/setup/ovirt-engine-setup-20151210124227-xrr3g5.log
 [ INFO  ] Generating answer file
 '/var/lib/ovirt-engine/setup/answers/20151210124820-setup.conf'
 [ INFO  ] Stage: Pre-termination
 [ INFO  ] Stage: Termination
 [ ERROR ] Execution of setup failed


 Here is the tailf log

 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
 OVESETUP_WSP_RPMDISRO_PACKAGES_SETUP=str:'ovirt-engine-setup-plugin-websocket-proxy'
 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
 PACKAGER/keepAliveInterval=int:'30'
 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
 PACKAGER/yumDisabledPlugins=list:'[]'
 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
 PACKAGER/yumEnabledPlugins=list:'[]'
 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
 PACKAGER/yumExpireCache=bool:'True'
 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
 PACKAGER/yumRollback=bool:'True'
 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
 PACKAGER/yumpackagerEnabled=bool:'True'
 

Re: [ovirt-users] Importing a Windows Guest in oVirt

2015-12-10 Thread Richard W.M. Jones
On Thu, Dec 10, 2015 at 09:14:46AM +0200, Shahar Havivi wrote:
> On 30.11.15 19:09, David Lo Bascio wrote:
> > Hi everyone,
> > 
> > I migrated several Linux guest this way:
> > /virt-v2v -ic qemu+ssh://root@/system -o rhev -os :
> > --network  /
> > 
> > Now, I have some Windows guest running on KVM managed by libvirt and I would
> > like to import them in oVirt through virt-v2v in a similar way.
> > Can you help me?
> Hi,
> virt-v2v is not supporting "converting" kvm to kvm since there is no
> real conversion going on.
> However we do work on importing kvm VMs managed by libvirt and hopefully it
> will be available in a month or two.

In the meantime,

http://git.annexia.org/?p=import-to-ovirt.git;a=summary

Note that it's not supported.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] vms on storage

2015-12-10 Thread Fred Rolland
Hi,

Look at the following :

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

Regards,

Fred

On Thu, Dec 10, 2015 at 5:43 AM, Budur Nagaraju  wrote:

> HI
>
> Need some clarification , if I copy the deployed vms from the storage to
> another storage by using the backup tools will be able to deploy the backed
> up vms in another engine ?
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 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  wrote:
> Am 2015-12-10 08:23, schrieb Yedidyah Bar David:
>>
>> On Mon, Dec 7, 2015 at 2:59 PM, Taste-Of-IT 
>> wrote:
>>>
>>> Am 2015-12-07 13:41, schrieb Yedidyah Bar David:


 On Mon, Dec 7, 2015 at 1:54 PM, Taste-Of-IT 
 wrote:
>
>
> Am 2015-12-07 11:17, schrieb Yedidyah Bar David:
>>
>>
>>
>> On Mon, Dec 7, 2015 at 11:34 AM, Taste-Of-IT 
>> wrote:
>>>
>>>
>>>
>>> Am 2015-12-07 10:21, schrieb Yedidyah Bar David:




 On Mon, Dec 7, 2015 at 11:05 AM, Taste-Of-IT
 
 wrote:
>
>
>
>
> Am 2015-12-07 08:06, schrieb Yedidyah Bar David:
>>
>>
>>
>>
>>
>> On Mon, Dec 7, 2015 at 12:38 AM, Taste-Of-IT
>> 
>> 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.

 The engine runs on some machine, let's call it "the engine machine".
 If it's a self-hosted-engine, it's running inside a VM managed by
 itself.
 Otherwise it's running elsewhere (on some physical machine, or some
 other
 VM).

 A "Host", in ovirt terminology, is where VMs run.

 Now please describe what you did, what you now try to do that
 doesn't
 work, and what you can find in logs that might be related.

 If you can't access the web admin ui, that's a completely different
 problem than if you can't add a host to the engine.

 Best,
>>>
>>>
>>>
>>>
>>>
>>> Hi Didi,
>>> as far i understand there are to ways to setup ovirt. One as
>>> self-hosted
>>> enginge for ha and with ovirt host in vm on storage
>>
>>
>>
>>
>> That's called "self-hosted-engine"
>>
>>> and hosted engine where
>>> all runs on the same host.
>>
>>
>>
>>
>> This is called all-in-one [1].
>>
>> [1] http://www.ovirt.org/Feature/AllInOne
>>
>>> So i setup hosted engine on same machine and in
>>> installation process i setup iso_domain via nfs too. i have done
>>> nothing
>>> more yet. so as i can see and read from the manual i now have to
>>> setup
>>> the
>>> host,
>>
>>
>>
>>
>> No. You are not supposed to setup the host from the web interface.
>> I didn't try that recently, but in the past there were issues similar
>> to what you wrote below. Please follow the instructions in that page.
>> Also please note that in 4.0, allinone will be dropped. Systems that
>> wish to have everything on a single host will need to use
>> hosted-engine.
>> Also note that people reported locking issues with local nfs mounts,
>> so
>> it seems like the safest bet for now is to use nested kvm - run a VM
>> to
>> play the "Host" role, and another VM as an nfs server (or iscsi), and
>> then either a third VM for the engine, or hosted-engine (meaning,
>> engine
>> runs inside a VM running inside the first VM).
>>
>>> than network and than data domain and so on. now i setup the host and
>>> say new, put a name inside and the fqdn of the initial host of host
>>> engine
>>> like myserver.com. after that i saw the progress which says
>>> "installing.." i
>>> wait several minutes and after that i got network 

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

2015-12-10 Thread Taste-Of-IT

Am 2015-12-10 08:23, schrieb Yedidyah Bar David:
On Mon, Dec 7, 2015 at 2:59 PM, Taste-Of-IT  
wrote:

Am 2015-12-07 13:41, schrieb Yedidyah Bar David:


On Mon, Dec 7, 2015 at 1:54 PM, Taste-Of-IT 
wrote:


Am 2015-12-07 11:17, schrieb Yedidyah Bar David:



On Mon, Dec 7, 2015 at 11:34 AM, Taste-Of-IT 


wrote:



Am 2015-12-07 10:21, schrieb Yedidyah Bar David:




On Mon, Dec 7, 2015 at 11:05 AM, Taste-Of-IT 


wrote:




Am 2015-12-07 08:06, schrieb Yedidyah Bar David:





On Mon, Dec 7, 2015 at 12:38 AM, Taste-Of-IT

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.

The engine runs on some machine, let's call it "the engine 
machine".

If it's a self-hosted-engine, it's running inside a VM managed by
itself.
Otherwise it's running elsewhere (on some physical machine, or 
some

other
VM).

A "Host", in ovirt terminology, is where VMs run.

Now please describe what you did, what you now try to do that 
doesn't

work, and what you can find in logs that might be related.

If you can't access the web admin ui, that's a completely 
different

problem than if you can't add a host to the engine.

Best,





Hi Didi,
as far i understand there are to ways to setup ovirt. One as
self-hosted
enginge for ha and with ovirt host in vm on storage




That's called "self-hosted-engine"


and hosted engine where
all runs on the same host.




This is called all-in-one [1].

[1] http://www.ovirt.org/Feature/AllInOne


So i setup hosted engine on same machine and in
installation process i setup iso_domain via nfs too. i have done
nothing
more yet. so as i can see and read from the manual i now have to 
setup

the
host,




No. You are not supposed to setup the host from the web interface.
I didn't try that recently, but in the past there were issues 
similar
to what you wrote below. Please follow the instructions in that 
page.
Also please note that in 4.0, allinone will be dropped. Systems 
that
wish to have everything on a single host will need to use 
hosted-engine.
Also note that people reported locking issues with local nfs 
mounts, so
it seems like the safest bet for now is to use nested kvm - run a 
VM to
play the "Host" role, and another VM as an nfs server (or iscsi), 
and
then either a third VM for the engine, or hosted-engine (meaning, 
engine

runs inside a VM running inside the first VM).

than network and than data domain and so on. now i setup the host 
and
say new, put a name inside and the fqdn of the initial host of 
host

engine
like myserver.com. after that i saw the progress which says
"installing.." i
wait several minutes and after that i got network time out and 
cant

enter
the webgui. hope that helps




Good luck,




Hi,
that sounds not good. As i understand the only way with ovirt from
Version 4
will self-hosted-engine and i have to setup all in nested-vms if i 
want

or
only can use one machine, right?



Not sure I completely followed.

allinone will not be supported in 4.

hosted-engine will be the only way to install an entire ovirt system 
on
a single machine, _supported_ by ovirt. And as I said, even this one 
will

require an external storage machine.

Of course you can use virsh/kvm or whatever other means for creating 
VMs

and use them to setup ovirt.



Ok i will have to reinstall my testsystem. Is that the way todo:
http://www.ovirt.org/Features/Self_Hosted_Engine?



Yes, but you can use the howto [1], which is perhaps more 
comfortable.


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


So i have to install ovirt
on centos7, than create a kvm with centos for the engine than for 
the

host
and last a kvm for the nfs and data domain with centos, or better to 
use

iscsi du to performance? after that i can install the first virtuall
machine,right?



Depends on what you want to do.

BTW, I didn't mention glusterfs, mainly because I do not know it 
well,

but that's also something to consider.


sounds strange and complicated...



ovirt is not designed to manage a single machine. For a single 
machine,
simpler libvirt frontends are easier to use. If you install it 

Re: [ovirt-users] solution for removing a data storage

2015-12-10 Thread Fred Rolland
Hi,

The steps for removing are correct.
Notice that when you click "Remove" you will have the option to format the
domain in order to wipe existing data on it.

Why do you want to remove and add it again?

Thanks,

Fred


On Thu, Dec 10, 2015 at 9:48 AM, alireza sadeh seighalan <
seighal...@gmail.com> wrote:

> hi everyone
>
> for removing a data storage and add it again this solution is ok:
>
>
>  1. Use the Storage resource tab, tree mode
> 2. Select the storage domain in the main tab
> 3. In the details pane at bottom select datacenter tab
> 4. Select the DC where the storage domain is active
> 5. Select Maintenance link
> 6. Select Detach link to detach from the data center.
>
> Now you don't see any more the storage domain in storage resource tab.
> 7. Go to system --> Storage
> and the storage domain now in in an unlinked state
> 8. Select the storage domain and choose "remove"
> 9. Select a host from the list.
> 10. Click OK to remove the storage domain and close the window.
>
> best regards
>
> seighalani
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] hot plug memory in el7

2015-12-10 Thread Michal Skrivanek

> On 10 Dec 2015, at 00:11, Gianluca Cecchi  wrote:
> 
> On Wed, Dec 9, 2015 at 10:21 PM, Sandro Bonazzola  wrote:
> 
> 
> No idea. If it's libvirt issue, can you test 
> http://cbs.centos.org/koji/buildinfo?buildID=4726 
>  ? it's from centos virt 
> sig, introduced for Xen but should work on kvm as well. or the 7.2 libvirt 
> from http://mirror.centos.org/centos/7/cr/x86_64/Packages/ 
> .
> 
> 
> 
> Hello,
> tried on a test environment where I have 3.6.0 on single CentOS 7.1 
> hypervisor configured with SelfHostedEngine
> I have a CentOS 7.1 vm running.
> 
> On hypervisor I shutdown VM, put maintenance global and shutdown engine VM.
> Then
> [root@ractor ~]# yum --enablerepo=cr update libvirt*
> Loaded plugins: fastestmirror, langpacks
> cr   
> | 3.4 kB  00:00:00 
> cr/7/x86_64/primary_db   
> | 3.7 MB  00:00:02 
> Loading mirror speeds from cached hostfile
>  * base: centos.fastbull.org 
>  * extras: centos.fastbull.org 
>  * ovirt-3.6: ftp.nluug.nl 
>  * ovirt-3.6-epel: epel.besthosting.ua 
>  * updates: centos.copahost.com 
> Resolving Dependencies
> --> Running transaction check
> ---> Package libvirt-client.x86_64 0:1.2.8-16.el7_1.5 will be updated
> ---> Package libvirt-client.x86_64 0:1.2.17-13.el7_2.2 will be an update
> --> Processing Dependency: libsystemd.so.0(LIBSYSTEMD_209)(64bit) for 
> package: libvirt-client-1.2.17-13.el7_2.2.x86_64
> --> Processing Dependency: libsystemd.so.0()(64bit) for package: 
> libvirt-client-1.2.17-13.el7_2.2.x86_64
> ---> Package libvirt-daemon.x86_64 0:1.2.8-16.el7_1.5 will be updated
> ---> Package libvirt-daemon.x86_64 0:1.2.17-13.el7_2.2 will be an update
> ---> Package libvirt-daemon-config-nwfilter.x86_64 0:1.2.8-16.el7_1.5 will be 
> updated
> ---> Package libvirt-daemon-config-nwfilter.x86_64 0:1.2.17-13.el7_2.2 will 
> be an update
> ---> Package libvirt-daemon-driver-interface.x86_64 0:1.2.8-16.el7_1.5 will 
> be updated
> ---> Package libvirt-daemon-driver-interface.x86_64 0:1.2.17-13.el7_2.2 will 
> be an update
> ---> Package libvirt-daemon-driver-network.x86_64 0:1.2.8-16.el7_1.5 will be 
> updated
> ---> Package libvirt-daemon-driver-network.x86_64 0:1.2.17-13.el7_2.2 will be 
> an update
> ---> Package libvirt-daemon-driver-nodedev.x86_64 0:1.2.8-16.el7_1.5 will be 
> updated
> ---> Package libvirt-daemon-driver-nodedev.x86_64 0:1.2.17-13.el7_2.2 will be 
> an update
> ---> Package libvirt-daemon-driver-nwfilter.x86_64 0:1.2.8-16.el7_1.5 will be 
> updated
> ---> Package libvirt-daemon-driver-nwfilter.x86_64 0:1.2.17-13.el7_2.2 will 
> be an update
> ---> Package libvirt-daemon-driver-qemu.x86_64 0:1.2.8-16.el7_1.5 will be 
> updated
> ---> Package libvirt-daemon-driver-qemu.x86_64 0:1.2.17-13.el7_2.2 will be an 
> update
> ---> Package libvirt-daemon-driver-secret.x86_64 0:1.2.8-16.el7_1.5 will be 
> updated
> ---> Package libvirt-daemon-driver-secret.x86_64 0:1.2.17-13.el7_2.2 will be 
> an update
> ---> Package libvirt-daemon-driver-storage.x86_64 0:1.2.8-16.el7_1.5 will be 
> updated
> ---> Package libvirt-daemon-driver-storage.x86_64 0:1.2.17-13.el7_2.2 will be 
> an update
> --> Processing Dependency: libdevmapper.so.1.02(DM_1_02_97)(64bit) for 
> package: libvirt-daemon-driver-storage-1.2.17-13.el7_2.2.x86_64
> ---> Package libvirt-daemon-kvm.x86_64 0:1.2.8-16.el7_1.5 will be updated
> ---> Package libvirt-daemon-kvm.x86_64 0:1.2.17-13.el7_2.2 will be an update
> ---> Package libvirt-lock-sanlock.x86_64 0:1.2.8-16.el7_1.5 will be updated
> ---> Package libvirt-lock-sanlock.x86_64 0:1.2.17-13.el7_2.2 will be an update
> ---> Package libvirt-python.x86_64 0:1.2.8-7.el7_1.1 will be updated
> ---> Package libvirt-python.x86_64 0:1.2.17-2.el7 will be an update
> --> Running transaction check
> ---> Package device-mapper-libs.x86_64 7:1.02.93-3.el7_1.1 will be updated
> --> Processing Dependency: device-mapper-libs = 7:1.02.93-3.el7_1.1 for 
> package: 7:device-mapper-1.02.93-3.el7_1.1.x86_64
> ---> Package device-mapper-libs.x86_64 7:1.02.107-5.el7 will be an update
> ---> Package systemd-libs.x86_64 0:208-20.el7_1.6 will be updated
> --> Processing Dependency: systemd-libs = 208-20.el7_1.6 for package: 
> systemd-208-20.el7_1.6.x86_64
> ---> Package systemd-libs.x86_64 0:219-19.el7 will be an update
> --> Running transaction check
> ---> Package device-mapper.x86_64 7:1.02.93-3.el7_1.1 will be updated
> --> Processing Dependency: device-mapper = 7:1.02.93-3.el7_1.1 for package: 
> 7:device-mapper-event-1.02.93-3.el7_1.1.x86_64
> ---> Package device-mapper.x86_64 7:1.02.107-5.el7 will be an update
> ---> Package systemd.x86_64 0:208-20.el7_1.6 

[ovirt-users] [ANN] oVirt 3.6.1 Third Release Candidate is now available for testing

2015-12-10 Thread Sandro Bonazzola
The oVirt Project is pleased to announce the availability
of the Third Release Candidate of oVirt 3.6.1 for testing, as of December
10th, 2015.

This release is available now for Fedora 22,
Red Hat Enterprise Linux 6.7, CentOS Linux 6.7 (or similar) and
Red Hat Enterprise Linux >= 7.1, CentOS Linux >= 7.1 (or similar).

This release supports Hypervisor Hosts running
Red Hat Enterprise Linux >= 7.1, CentOS Linux >= 7.1 (or similar) and
Fedora 22.
Highly experimental support for Debian 8.2 Jessie has been added too.

This release candidate includes updated packages for:
- ovirt-engine
- ovirt-engine-extension-aaa-jdbc
- ovirt-hosted-engine-ha
- ovirt-hosted-engine-setup
- vdsm

This release of oVirt 3.6.1 includes numerous bug fixes.
See the release notes [1] for an initial list of the new features and bugs
fixed.

Please refer to release notes [1] for Installation / Upgrade instructions.
A new oVirt Live ISO will be available soon[2].

Please note that mirrors[3] may need usually one day before being
synchronized.

Please refer to the release notes for known issues in this release.

[1] http://www.ovirt.org/OVirt_3.6.1_Release_Notes
[2] http://resources.ovirt.org/pub/ovirt-3.6-pre/iso/
[3] http://www.ovirt.org/Repository_mirrors#Current_mirrors

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


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

2015-12-10 Thread Simone Tiraboschi
On Thu, Dec 10, 2015 at 8:23 AM, Yedidyah Bar David  wrote:

> On Mon, Dec 7, 2015 at 2:59 PM, Taste-Of-IT 
> wrote:
> > Am 2015-12-07 13:41, schrieb Yedidyah Bar David:
> >>
> >> On Mon, Dec 7, 2015 at 1:54 PM, Taste-Of-IT 
> >> wrote:
> >>>
> >>> Am 2015-12-07 11:17, schrieb Yedidyah Bar David:
> 
> 
>  On Mon, Dec 7, 2015 at 11:34 AM, Taste-Of-IT 
>  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
>  
>  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.
> >>
> >> The engine runs on some machine, let's call it "the engine machine".
> >> If it's a self-hosted-engine, it's running inside a VM managed by
> >> itself.
> >> Otherwise it's running elsewhere (on some physical machine, or some
> >> other
> >> VM).
> >>
> >> A "Host", in ovirt terminology, is where VMs run.
> >>
> >> Now please describe what you did, what you now try to do that
> doesn't
> >> work, and what you can find in logs that might be related.
> >>
> >> If you can't access the web admin ui, that's a completely different
> >> problem than if you can't add a host to the engine.
> >>
> >> Best,
> >
> >
> >
> >
> > Hi Didi,
> > as far i understand there are to ways to setup ovirt. One as
> > self-hosted
> > enginge for ha and with ovirt host in vm on storage
> 
> 
> 
>  That's called "self-hosted-engine"
> 
> > and hosted engine where
> > all runs on the same host.
> 
> 
> 
>  This is called all-in-one [1].
> 
>  [1] http://www.ovirt.org/Feature/AllInOne
> 
> > So i setup hosted engine on same machine and in
> > installation process i setup iso_domain via nfs too. i have done
> > nothing
> > more yet. so as i can see and read from the manual i now have to
> setup
> > the
> > host,
> 
> 
> 
>  No. You are not supposed to setup the host from the web interface.
>  I didn't try that recently, but in the past there were issues similar
>  to what you wrote below. Please follow the instructions in that page.
>  Also please note that in 4.0, allinone will be dropped. Systems that
>  wish to have everything on a single host will need to use
> hosted-engine.
>  Also note that people reported locking issues with local nfs mounts,
> so
>  it seems like the safest bet for now is to use nested kvm - run a VM
> to
>  play the "Host" role, and another VM as an nfs server (or iscsi), and
>  then either a third VM for the engine, or hosted-engine (meaning,
> engine
>  runs inside a VM running inside the first VM).
> 
> > than network and than data domain and so on. now i setup the host and
> > say new, put a name inside and the fqdn of the initial host of host
> > engine
> > like myserver.com. after that i saw the progress which says
> > "installing.." i
> > wait several minutes and after that i got network time out and cant
> > enter
> > the webgui. hope that helps
> 
> 
> 
>  Good luck,
> >>>
> >>>
> >>>
> >>> Hi,
> >>> that sounds not good. As i understand the only way with ovirt from
> >>> Version 4
> >>> will self-hosted-engine and i 

Re: [ovirt-users] oVirt 4.0 wishlist: progress bar in the WebUI

2015-12-10 Thread Taste-Of-IT

Am 2015-12-08 12:51, schrieb Amit Aviram:

On Tue, Dec 8, 2015 at 12:09 PM, Kevin COUSIN 
wrote:


Hi list,

It could be great if we can follow process like moving Disk
storage,
snapshots or VM import in the oVirt Interface, like in VMware or
VMM.


Hi Kevin, actually there is usage of a progress bar in some oVirt
processes, such as oVirt's integration with virt-v2v:
https://www.youtube.com/watch?v=QSss__Nl5rU [2]

Also, a progress bar will be in use in the upcoming image upload
feature:
http://www.ovirt.org/Features/Image_Upload [3]

and hopefully will be included in more features in the future.


Regards,

Kevin C
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users [1]




Links:
--
[1] http://lists.ovirt.org/mailman/listinfo/users
[2] https://www.youtube.com/watch?v=QSss__Nl5rU
[3] http://www.ovirt.org/Features/Image_Upload

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


Hello,
i am not sure if i am right here, but i am new with ovirt and i change 
from proxmox. After installing all-in-one and setup my first virtual 
machine, i wanted to jump into the boot while i want to install the vm 
from iso, but its not possible. my browser want to open console.vv. i 
search and found this howto: 
http://www.ovirt.org/How_to_Connect_to_SPICE_Console_With_Portal and was 
confused how extensiv this is. so my wish is that spice or just an vnc 
console or what ever will work out of the box, or how do you install 
from iso with no network...?

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


[ovirt-users] VM migration fails when hardware node fails

2015-12-10 Thread Bill James
We are testing our new ovirt installation. We notice that if I shutdown 
a hardware node that the VM's do not migrate off and don't start up 
after the node is restarted.

Its a 3 node cluster with the ovirt-engine on a 4th host.

centos 7.1.1503
ovirt-engine-3.6.0.3-1.el7.centos.noarch
glusterfs-3.7.5-1.el7.x86_64

High Availability box is checked, Priority = High.


2015-12-10 11:43:34,251 WARN 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(org.ovirt.thread.pool-8-thread-42) [5f8883ec] Correlation ID: 5d94dbf7, 
Job ID: 83159d5a-0ab9-4f1b-afbc-e5c2fcbb6e04, Call Stack: null, Custom 
Event ID: -1, Message: Failed to migrate VM billjov2.test.j2noc.com to 
Host ovirt3.test.j2noc.com . Trying to migrate to another Host.

...
2015-12-10 11:43:49,137 INFO 
[org.ovirt.engine.core.vdsbroker.VmAnalyzer] 
(DefaultQuartzScheduler_Worker-87) [5f8883ec] VM 
'f67a4f38-bb4b-460f-81ea-10ecae60edcc'(billjov2.test.j2noc.com) moved 
from 'MigratingFrom' --> 'Up'
2015-12-10 11:43:49,518 WARN 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(org.ovirt.thread.pool-8-thread-4) [5f8883ec] Correlation ID: 5d94dbf7, 
Job ID: 83159d5a-0ab9-4f1b-afbc-e5c2fcbb6e04, Call Stack: null, Custom 
Event ID: -1, Message: Failed to migrate VM billjov2.test.j2noc.com to 
Host ovirt1.test.j2noc.com . Trying to migrate to another Host.



Migrating live works just fine.

I haven't found anywhere where it says why it failed when node is down.
Any ideas on why it is failing? And why VM's don't start when node is up?



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.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] hot plug memory in el7

2015-12-10 Thread Nathanaël Blanchet



Le 10/12/2015 10:41, Michal Skrivanek a écrit :


On 10 Dec 2015, at 00:11, Gianluca Cecchi > wrote:


On Wed, Dec 9, 2015 at 10:21 PM, Sandro Bonazzola wrote:



No idea. If it's libvirt issue, can you test
http://cbs.centos.org/koji/buildinfo?buildID=4726 ? it's from
centos virt sig, introduced for Xen but should work on kvm as
well. or the 7.2 libvirt from
http://mirror.centos.org/centos/7/cr/x86_64/Packages/.



Hello,
tried on a test environment where I have 3.6.0 on single CentOS 7.1 
hypervisor configured with SelfHostedEngine

I have a CentOS 7.1 vm running.

On hypervisor I shutdown VM, put maintenance global and shutdown 
engine VM.

Then
[root@ractor ~]# yum --enablerepo=cr update libvirt*
Loaded plugins: fastestmirror, langpacks
cr | 3.4 kB  00:00:00
cr/7/x86_64/primary_db | 3.7 MB  00:00:02
Loading mirror speeds from cached hostfile
 * base: centos.fastbull.org 
 * extras: centos.fastbull.org 
 * ovirt-3.6: ftp.nluug.nl 
 * ovirt-3.6-epel: epel.besthosting.ua 
 * updates: centos.copahost.com 
Resolving Dependencies
--> Running transaction check
---> Package libvirt-client.x86_64 0:1.2.8-16.el7_1.5 will be updated
---> Package libvirt-client.x86_64 0:1.2.17-13.el7_2.2 will be an update
--> Processing Dependency: libsystemd.so.0(LIBSYSTEMD_209)(64bit) for 
package: libvirt-client-1.2.17-13.el7_2.2.x86_64
--> Processing Dependency: libsystemd.so.0()(64bit) for package: 
libvirt-client-1.2.17-13.el7_2.2.x86_64

---> Package libvirt-daemon.x86_64 0:1.2.8-16.el7_1.5 will be updated
---> Package libvirt-daemon.x86_64 0:1.2.17-13.el7_2.2 will be an update
---> Package libvirt-daemon-config-nwfilter.x86_64 0:1.2.8-16.el7_1.5 
will be updated
---> Package libvirt-daemon-config-nwfilter.x86_64 
0:1.2.17-13.el7_2.2 will be an update
---> Package libvirt-daemon-driver-interface.x86_64 
0:1.2.8-16.el7_1.5 will be updated
---> Package libvirt-daemon-driver-interface.x86_64 
0:1.2.17-13.el7_2.2 will be an update
---> Package libvirt-daemon-driver-network.x86_64 0:1.2.8-16.el7_1.5 
will be updated
---> Package libvirt-daemon-driver-network.x86_64 0:1.2.17-13.el7_2.2 
will be an update
---> Package libvirt-daemon-driver-nodedev.x86_64 0:1.2.8-16.el7_1.5 
will be updated
---> Package libvirt-daemon-driver-nodedev.x86_64 0:1.2.17-13.el7_2.2 
will be an update
---> Package libvirt-daemon-driver-nwfilter.x86_64 0:1.2.8-16.el7_1.5 
will be updated
---> Package libvirt-daemon-driver-nwfilter.x86_64 
0:1.2.17-13.el7_2.2 will be an update
---> Package libvirt-daemon-driver-qemu.x86_64 0:1.2.8-16.el7_1.5 
will be updated
---> Package libvirt-daemon-driver-qemu.x86_64 0:1.2.17-13.el7_2.2 
will be an update
---> Package libvirt-daemon-driver-secret.x86_64 0:1.2.8-16.el7_1.5 
will be updated
---> Package libvirt-daemon-driver-secret.x86_64 0:1.2.17-13.el7_2.2 
will be an update
---> Package libvirt-daemon-driver-storage.x86_64 0:1.2.8-16.el7_1.5 
will be updated
---> Package libvirt-daemon-driver-storage.x86_64 0:1.2.17-13.el7_2.2 
will be an update
--> Processing Dependency: libdevmapper.so.1.02(DM_1_02_97)(64bit) 
for package: libvirt-daemon-driver-storage-1.2.17-13.el7_2.2.x86_64

---> Package libvirt-daemon-kvm.x86_64 0:1.2.8-16.el7_1.5 will be updated
---> Package libvirt-daemon-kvm.x86_64 0:1.2.17-13.el7_2.2 will be an 
update
---> Package libvirt-lock-sanlock.x86_64 0:1.2.8-16.el7_1.5 will be 
updated
---> Package libvirt-lock-sanlock.x86_64 0:1.2.17-13.el7_2.2 will be 
an update

---> Package libvirt-python.x86_64 0:1.2.8-7.el7_1.1 will be updated
---> Package libvirt-python.x86_64 0:1.2.17-2.el7 will be an update
--> Running transaction check
---> Package device-mapper-libs.x86_64 7:1.02.93-3.el7_1.1 will be 
updated
--> Processing Dependency: device-mapper-libs = 7:1.02.93-3.el7_1.1 
for package: 7:device-mapper-1.02.93-3.el7_1.1.x86_64

---> Package device-mapper-libs.x86_64 7:1.02.107-5.el7 will be an update
---> Package systemd-libs.x86_64 0:208-20.el7_1.6 will be updated
--> Processing Dependency: systemd-libs = 208-20.el7_1.6 for package: 
systemd-208-20.el7_1.6.x86_64

---> Package systemd-libs.x86_64 0:219-19.el7 will be an update
--> Running transaction check
---> Package device-mapper.x86_64 7:1.02.93-3.el7_1.1 will be updated
--> Processing Dependency: device-mapper = 7:1.02.93-3.el7_1.1 for 
package: 7:device-mapper-event-1.02.93-3.el7_1.1.x86_64

---> Package device-mapper.x86_64 7:1.02.107-5.el7 will be an update
---> Package systemd.x86_64 0:208-20.el7_1.6 will be updated
--> Processing Dependency: systemd = 208-20.el7_1.6 for package: 
systemd-sysv-208-20.el7_1.6.x86_64
--> Processing Dependency: systemd = 208-20.el7_1.6 for package: 
systemd-python-208-20.el7_1.6.x86_64
--> Processing Dependency: systemd = 208-20.el7_1.6 for package: 
libgudev1-208-20.el7_1.6.x86_64

---> 

Re: [ovirt-users] hot plug memory in el7

2015-12-10 Thread Michal Skrivanek

> On 10 Dec 2015, at 11:30, Gianluca Cecchi  wrote:
> 
> On Thu, Dec 10, 2015 at 10:41 AM, Michal Skrivanek  
> wrote:
> 
>> On 10 Dec 2015, at 00:11, Gianluca Cecchi  wrote:
>> 
>> On Wed, Dec 9, 2015 at 10:21 PM, Sandro Bonazzola  wrote:
>> 
>> 
>> No idea. If it's libvirt issue, can you test 
>> http://cbs.centos.org/koji/buildinfo?buildID=4726 ? it's from centos virt 
>> sig, introduced for Xen but should work on kvm as well. or the 7.2 libvirt 
>> from http://mirror.centos.org/centos/7/cr/x86_64/Packages/.
>> 
>> 
>> 
>> 
>> Then I reboot my HV, exit from maintenance, connect to engine and start VM.
>> VM situation
>> $ free
>>   totalusedfree  shared  buff/cache   
>> available
>> Mem:8172900  147356 78756928480  149852 
>> 7847248
>> Swap:839676   0  839676
>> 
>> I set memory from 8192Mb to 10240Mb
>> I get the same window I got with previous libvirt version.
>> I select OK (I don't select "Apply later" checkbox)
>> 
>> Inside guest there is no changed memory, but I can see this in 
>> /var/log/messages:
> 
> could it be perhaps the guest has troubles recognizing hotplug? Is it also a 
> CentOS 7.1 guest?
> 
> Yes, CentOS 7.1 updated up to a couple of days ago.

Can you try 7.2? I don’t remember exactly but it may be that in earlier guests 
it’s not automatic. Check some tips for onlining memory explicitly

5.2. How to online memory
 
Even if the memory is hot-added, it is not at ready-to-use state.
For using newly added memory, you have to "online" the memory block.
 
For onlining, you have to write "online" to the memory block's state file as:
 
% echo online > /sys/devices/system/memory/memoryXXX/state



> 
>   
> 
>> 
>> Dec  9 23:56:18 racclient1 kernel: init_memory_mapping: [mem 
>> 0x24000-0x2bfff]
>> 
>> ANd output of dmesg contains:
>> 
>> [  219.363640] ACPI: \_SB_.MP00: ACPI_NOTIFY_DEVICE_CHECK event
>> [  219.364248] init_memory_mapping: [mem 0x24000-0x2bfff]
>> [  219.364253]  [mem 0x24000-0x2bfff] page 2M
>> [  219.366773]  [ea000900-ea00091f] PMD -> 
>> [8800b7e0-8800b7ff] on node 0
>> [  219.368433]  [ea000920-ea00093f] PMD -> 
>> [88023140-8802315f] on node 0
>> [  219.369838]  [ea000940-ea00095f] PMD -> 
>> [88023360-8802337f] on node 0
>> [  219.371226]  [ea000960-ea00097f] PMD -> 
>> [88023300-8802331f] on node 0
>> [  219.372790]  [ea000980-ea00099f] PMD -> 
>> [880232c0-880232df] on node 0
>> [  219.374185]  [ea0009a0-ea0009bf] PMD -> 
>> [88023220-8802323f] on node 0
>> [  219.377349]  [ea0009c0-ea0009ff] PMD -> 
>> [8800b740-8800b77f] on node 0
>> [  219.378716]  [ea000a00-ea000a1f] PMD -> 
>> [8800b700-8800b71f] on node 0
>> [  219.380115]  [ea000a20-ea000a3f] PMD -> 
>> [880230c0-880230df] on node 0
>> [  219.388147]  [ea000a40-ea000abf] PMD -> 
>> [880227c0-8802283f] on node 0
>> [  219.389687]  [ea000ac0-ea000adf] PMD -> 
>> [8800b720-8800b73f] on node 0
> 
> but “free” sstill shows the same value as before hotplug?
> 
> 
> Yes, output of "free" command show the same amount of memory
> 
>   
> 
>> 
>> I then shutdown the VM and power on it again and I get the changed memory:
> 
> well, yeah, but that doesn’t count since you’ve shut it down, so the next run 
> is initialized with 10GB
> 
> 
> It was only to verify that after shutdown/power on the changed setting would 
> have been applied to the VM
>  
>> $ free
>>   totalusedfree  shared  buff/cache   
>> available
>> Mem:   10237276  167872 99196568480  149748 
>> 9891280
>> Swap:839676   0  839676
>> 
>> BTW: When I press ok in the gui for memory increase I get these events in 
>> webadmin:
>> Dec 9, 2015 11:56:22 PM
>> VM racclient1 c71_Disk1_newtemplate disk was updated by admin@internal.
> 
> hm..doesn’t sound right. Did the confirmation window show any more fields as 
> changed other than memory?
> 
> The window I got when I increased the amount of memory was the same as in a 
> previous test where I selected "Cancel", before libvirt update; see
> https://drive.google.com/file/d/0BwoPbcrMv8mvbUw2VnpCMTNNQlU/view?usp=sharing
> 
> And I also commented about misleading information inside it: I didn't clearly 
> understand what would have been changed and what not, because I see memory 
> information in both parts…..

I agree it’s confusing. Please do open a bug on that

Thanks,
michal

> 
>> 
>> It doesn't seem as expected, does it?
> 
> I think we’re almost there. Just need to figure out what 

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

2015-12-10 Thread Fabrice Bacchella
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 ?

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


Re: [ovirt-users] hot plug memory in el7

2015-12-10 Thread Gianluca Cecchi
On Thu, Dec 10, 2015 at 11:31 AM, Nathanaël Blanchet 
wrote:

>
>
> I did the same test, I obtain the same result but here is what I get into
> the /var/log/messages guest (7.1) logs and not mentionned there:
> unsupported configuration: maxMemory has to be specified when using memory
> devices
> What can't I do with this error, is it a known issue?
>
>
In my case I only got the line I wrote in previous e-mail when I click ok
in web gui to increase memory:
Dec  9 23:56:18 racclient1 kernel: init_memory_mapping: [mem
0x24000-0x2bfff]

See here the messages boot related lines for my guest, just before I tried
to increase memory, in case they can be useful:

https://drive.google.com/file/d/0BwoPbcrMv8mvNnFmUDMybXpla1E/view?usp=sharing

BTW: Nathanaël did you increase by 256Mb multiples? I see this is a sort of
limitation... what was previous amount of ram of VM and the tried new
setting?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] hot plug memory in el7

2015-12-10 Thread Gianluca Cecchi
On Thu, Dec 10, 2015 at 10:41 AM, Michal Skrivanek 
wrote:

>
> On 10 Dec 2015, at 00:11, Gianluca Cecchi 
> wrote:
>
> On Wed, Dec 9, 2015 at 10:21 PM, Sandro Bonazzola  wrote:
>
>>
>>
>> No idea. If it's libvirt issue, can you test
>> http://cbs.centos.org/koji/buildinfo?buildID=4726 ? it's from centos
>> virt sig, introduced for Xen but should work on kvm as well. or the 7.2
>> libvirt from http://mirror.centos.org/centos/7/cr/x86_64/Packages/.
>>
>>
>>
>
> Then I reboot my HV, exit from maintenance, connect to engine and start VM.
> VM situation
> $ free
>   totalusedfree  shared  buff/cache
> available
> Mem:8172900  147356 78756928480  149852
> 7847248
> Swap:839676   0  839676
>
> I set memory from 8192Mb to 10240Mb
> I get the same window I got with previous libvirt version.
> I select OK (I don't select "Apply later" checkbox)
>
> Inside guest there is no changed memory, but I can see this in
> /var/log/messages:
>
>
> could it be perhaps the guest has troubles recognizing hotplug? Is it also
> a CentOS 7.1 guest?
>

Yes, CentOS 7.1 updated up to a couple of days ago.



>
>
> Dec  9 23:56:18 racclient1 kernel: init_memory_mapping: [mem
> 0x24000-0x2bfff]
>
> ANd output of dmesg contains:
>
> [  219.363640] ACPI: \_SB_.MP00: ACPI_NOTIFY_DEVICE_CHECK event
> [  219.364248] init_memory_mapping: [mem 0x24000-0x2bfff]
> [  219.364253]  [mem 0x24000-0x2bfff] page 2M
> [  219.366773]  [ea000900-ea00091f] PMD ->
> [8800b7e0-8800b7ff] on node 0
> [  219.368433]  [ea000920-ea00093f] PMD ->
> [88023140-8802315f] on node 0
> [  219.369838]  [ea000940-ea00095f] PMD ->
> [88023360-8802337f] on node 0
> [  219.371226]  [ea000960-ea00097f] PMD ->
> [88023300-8802331f] on node 0
> [  219.372790]  [ea000980-ea00099f] PMD ->
> [880232c0-880232df] on node 0
> [  219.374185]  [ea0009a0-ea0009bf] PMD ->
> [88023220-8802323f] on node 0
> [  219.377349]  [ea0009c0-ea0009ff] PMD ->
> [8800b740-8800b77f] on node 0
> [  219.378716]  [ea000a00-ea000a1f] PMD ->
> [8800b700-8800b71f] on node 0
> [  219.380115]  [ea000a20-ea000a3f] PMD ->
> [880230c0-880230df] on node 0
> [  219.388147]  [ea000a40-ea000abf] PMD ->
> [880227c0-8802283f] on node 0
> [  219.389687]  [ea000ac0-ea000adf] PMD ->
> [8800b720-8800b73f] on node 0
>
>
> but “free” sstill shows the same value as before hotplug?
>


Yes, output of "free" command show the same amount of memory



>
>
> I then shutdown the VM and power on it again and I get the changed memory:
>
>
> well, yeah, but that doesn’t count since you’ve shut it down, so the next
> run is initialized with 10GB
>
>
It was only to verify that after shutdown/power on the changed setting
would have been applied to the VM


> $ free
>   totalusedfree  shared  buff/cache
> available
> Mem:   10237276  167872 99196568480  149748
> 9891280
> Swap:839676   0  839676
>
> BTW: When I press ok in the gui for memory increase I get these events in
> webadmin:
> Dec 9, 2015 11:56:22 PM
> VM racclient1 c71_Disk1_newtemplate disk was updated by admin@internal.
>
>
> hm..doesn’t sound right. Did the confirmation window show any more fields
> as changed other than memory?
>

The window I got when I increased the amount of memory was the same as in a
previous test where I selected "Cancel", before libvirt update; see
https://drive.google.com/file/d/0BwoPbcrMv8mvbUw2VnpCMTNNQlU/view?usp=sharing

And I also commented about misleading information inside it: I didn't
clearly understand what would have been changed and what not, because I see
memory information in both parts.

>
>
> It doesn't seem as expected, does it?
>
>
> I think we’re almost there. Just need to figure out what happened in the
> guest. I would suspect a problem there
>
> Thanks,
> michal
>
> Gianluca
>
>
>

The gui events have the same timestamp of the moment when I pressed ok.
After 2-3 minutes I did shutdown and power on of the VM and I only got the
down/up events...
I'm available to make further test you need.

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


Re: [ovirt-users] hot plug memory in el7

2015-12-10 Thread Gianluca Cecchi
On Thu, Dec 10, 2015 at 12:24 PM, Michal Skrivanek 
wrote:

>
>
> >
> > Yes, CentOS 7.1 updated up to a couple of days ago.
>
> Can you try 7.2? I don’t remember exactly but it may be that in earlier
> guests it’s not automatic. Check some tips for onlining memory explicitly
>
> 5.2. How to online memory
>  
> Even if the memory is hot-added, it is not at ready-to-use state.
> For using newly added memory, you have to "online" the memory block.
>
> For onlining, you have to write "online" to the memory block's state file
> as:
>
> % echo online > /sys/devices/system/memory/memoryXXX/state
>
>

Hello,
with your suggestions it worked as expected, without updating any packages
in VM 7.1 guest (I seemed to remember that the forced online operation
should not be necessary any more...):

Starting state with 10Gb of ram inside the VM
[root@racclient1 ~]# ll -d  /sys/devices/system/memory/memory* | wc -l
80

slots defined:
0 --> 23
32 --> 87

Increase from web gui memory from 10240 to 12288

I see this in messages as expected

Dec 10 12:59:32 racclient1 kernel: init_memory_mapping: [mem
0x2c000-0x33fff]

In /sys/devices/system/memory I see 16 new memoryxx directories (probably
each one addressing 128Mb...)

88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103

They have indeed been added but are offline, eg

latest previous one:
[root@racclient1 ~]# cat /sys/devices/system/memory/memory87/state
online

first newly added one:
[root@racclient1 ~]# cat /sys/devices/system/memory/memory88/state
offline

[root@racclient1 ~]# cat /sys/devices/system/memory/memory87/online
1
[root@racclient1 ~]# cat /sys/devices/system/memory/memory88/online
0

put online the new segments:
[root@racclient1 ~]# for i in $(seq 88 103)
> do
> echo online > /sys/devices/system/memory/memory${i}/state
> done

Memory has been increased now, also from inside the OS.

[root@racclient1 ~]# free
  totalusedfree  shared  buff/cache
available
Mem:   12334428  222080119340448480  178304
 12019544


NOTE: no new entries after online memory, neither in messages file nor in
dmesg output.

Questions:
1) which component to bugzilla against for message confusing window of the
gui?
2) Initially I see that my VM (in webadmin gui) has 8Gb of defined memory
AND 8Gb of "Physical Memory Guaranteed".
After increasing memory, the second one remains the same and doesn't change
even after shutdown / Power on.
I think it could be an enhancement to ask the user if he/she wants to
change it too, instead of manually go through
Edit --> resource allocation --> memory allocation screen
If seen as a agreed enhancement, which components to bugzilla against for
RFE?
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] hot plug memory in el7

2015-12-10 Thread Nathanaël Blanchet

- Mail d'origine -
De: Gianluca Cecchi 
À: Nathanaël Blanchet 
Cc: users 
Envoyé: Thu, 10 Dec 2015 11:49:58 +0100 (CET)
Objet: Re: [ovirt-users] hot plug memory in el7

On Thu, Dec 10, 2015 at 11:31 AM, Nathanaël Blanchet 
wrote:

>
>
> I did the same test, I obtain the same result but here is what I get into
> the /var/log/messages guest (7.1) logs and not mentionned there:
> unsupported configuration: maxMemory has to be specified when using memory
> devices
> What can't I do with this error, is it a known issue?
>
>
In my case I only got the line I wrote in previous e-mail when I click ok
in web gui to increase memory:
Dec  9 23:56:18 racclient1 kernel: init_memory_mapping: [mem
0x24000-0x2bfff]

See here the messages boot related lines for my guest, just before I tried
to increase memory, in case they can be useful:

https://drive.google.com/file/d/0BwoPbcrMv8mvNnFmUDMybXpla1E/view?usp=sharing

BTW: Nathanaël did you increase by 256Mb multiples? I see this is a sort of
limitation... what was previous amount of ram of VM and the tried new
setting?

Yes the initial memory was set to 1024mb and I increased to 2048.



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


[ovirt-users] [oVirt 3.5.6] changing RAM of the hosted engine VM

2015-12-10 Thread wodel youchi
Hi,

I have an oVirt 3.5.6 platform using hosted-engine setup.

I installed my engine's VM with 2Gb of memory at the beginning, now I want
to add 2Gb

I've modified /etc/ovirt-hosted-engine/vm.conf on my hypervisors

the VM is booting with 4Gb of memory (free -m), but the GUI is still
showing 2Gb

I tried engine-setup but I get this error


[ INFO  ] Cleaning async tasks and compensations
[ ERROR ] Failed to execute stage 'Setup validation': '36'
[ INFO  ] Stage: Clean up
  Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-setup-20151210124227-xrr3g5.log
[ INFO  ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20151210124820-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed


Here is the tailf log

2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
OVESETUP_WSP_RPMDISRO_PACKAGES_SETUP=str:'ovirt-engine-setup-plugin-websocket-proxy'
2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
PACKAGER/keepAliveInterval=int:'30'
2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
PACKAGER/yumDisabledPlugins=list:'[]'
2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
PACKAGER/yumEnabledPlugins=list:'[]'
2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
PACKAGER/yumExpireCache=bool:'True'
2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
PACKAGER/yumRollback=bool:'True'
2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
PACKAGER/yumpackagerEnabled=bool:'True'
2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
SYSTEM/clockMaxGap=int:'5'
2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
SYSTEM/clockSet=bool:'False'
2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
SYSTEM/commandPath=str:'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
SYSTEM/reboot=bool:'False'
2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
SYSTEM/rebootAllow=bool:'True'
2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
SYSTEM/rebootDeferTime=int:'10'
2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:504
ENVIRONMENT DUMP - END
2015-12-10 12:48:20 DEBUG otopi.context context._executeMethod:138 Stage
pre-terminate METHOD otopi.plugins.otopi.dialog.cli.Plugin._pre_terminate
2015-12-10 12:48:20 DEBUG otopi.context context._executeMethod:144
condition False
2015-12-10 12:48:20 INFO otopi.context context.runSequence:417 Stage:
Termination
2015-12-10 12:48:20 DEBUG otopi.context context.runSequence:421 STAGE
terminate
2015-12-10 12:48:20 DEBUG otopi.context context._executeMethod:138 Stage
terminate METHOD
otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._terminate
2015-12-10 12:48:20 ERROR otopi.plugins.ovirt_engine_common.base.core.misc
misc._terminate:151 Execution of setup failed
2015-12-10 12:48:20 DEBUG otopi.context context._executeMethod:138 Stage
terminate METHOD otopi.plugins.otopi.dialog.human.Plugin._terminate
2015-12-10 12:48:20 DEBUG otopi.context context._executeMethod:138 Stage
terminate METHOD otopi.plugins.otopi.dialog.machine.Plugin._terminate
2015-12-10 12:48:20 DEBUG otopi.context context._executeMethod:144
condition False
2015-12-10 12:48:20 DEBUG otopi.context context._executeMethod:138 Stage
terminate METHOD otopi.plugins.otopi.core.log.Plugin._terminate





- What is the correct way to modify the engine's VM memory


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


Re: [ovirt-users] LocalOnHost Multipath Blacklist Fails

2015-12-10 Thread Duckworth, Douglas C
Putting "blacklist" above "devices" seems to work:

defaults {
polling_interval5
getuid_callout  "/sbin/scsi_id --whitelisted
--replace-whitespace --device=/dev/%n"
no_path_retry   fail
user_friendly_names no
flush_on_last_del   yes
fast_io_fail_tmo5
dev_loss_tmo30
max_fds 4096
}
blacklist {
wwid "*"
devnode "^sd(a|b)[0-9]"
}
devices {
device {
vendor  "COMPELNT"
product "Compellent Vol"
no_path_retry   fail
}
}


multipathd restart:

Dec 10 16:32:19 tulhv2p01 multipathd: shut down---
Dec 10 16:32:19 tulhv2p01 multipathd: path checkers start up

No more syslog pollution!

Best
Doug

-- 
Thanks

Douglas Charles Duckworth
Unix Administrator
Tulane University
Technology Services
1555 Poydras Ave
NOLA -- 70112

E: du...@tulane.edu
O: 504-988-9341
F: 504-988-8505

On 12/10/2015 10:51 AM, Duckworth, Douglas C wrote:
> Hello
> 
> I have a Host with LocalOnHost storage only.
> 
> Trying to blacklist the local disks from multipath:
> 
> PV VG Fmt  Attr PSize PFree
> /dev/sda1  HostVG lvm2 a--  8.18t 0
> /dev/sdb4  HostVG lvm2 a--  1.64t 24.00m
> 
> As you can see we need to blacklist these devices:
> 
> 36b8ca3a0ea18e4001a95ba4832bcb7ea
> 36b8ca3a0ea18e4001a95b9f82df5609b
> 
> scsi-36b8ca3a0ea18e4001a95b9f82df5609b -> ../../sda
> scsi-36b8ca3a0ea18e4001a95b9f82df5609b-part1 -> ../../sda1
> scsi-36b8ca3a0ea18e4001a95ba4832bcb7ea -> ../../sdb
> scsi-36b8ca3a0ea18e4001a95ba4832bcb7ea-part1 -> ../../sdb1
> scsi-36b8ca3a0ea18e4001a95ba4832bcb7ea-part2 -> ../../sdb2
> scsi-36b8ca3a0ea18e4001a95ba4832bcb7ea-part3 -> ../../sdb3
> scsi-36b8ca3a0ea18e4001a95ba4832bcb7ea-part4 -> ../../sdb4
> 
> After making blacklist changes, you can see in "syslog_errors,"
> multipathd does not like my blacklist syntax.
> 
> Do you see errors in the multipath.conf file?
> 
> Thanks
> Doug
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How To: Node Hosted-Engine with less then 16GB

2015-12-10 Thread Alain Gilmor
Thanks for the reply Fabien.  I had to un-sub because I was getting too much 
mail. 


ovirt-node-iso-3.6-0.999.201511061021.el7.centos.iso

ovirt-engine-appliance-20151104.0-1.el7.centos.ova  (extracted from 
ovirt-hosted-engine-appliance RPM as described)


I would love if the Node TUI could default to a HTTP hosted OVA instead of 
requiring me to extract, place it on a webserver.  
I tried both the TUI method, and dropping to root & running the command line 
node-hosted-engine setup.  Always ended up with 16GB.


=)  cheers


From: Fabian Deutsch 
Sent: December 10, 2015 8:38 AM
To: Alain Gilmor
Cc: users@ovirt.org
Subject: Re: [ovirt-users] How To: Node Hosted-Engine with less then 16GB

On Thu, Dec 3, 2015 at 6:23 PM, Alain Gilmor  wrote:
> Here’s a short guide for people having trouble setting up Hosted-Engine
> using only Ovirt Nodes.   Anything to do with ‘ jenkins’ OVA did not work
> for me, size mismatch, etc.

Hey Alain,

a quite late reply, but still ..

Thzat's annoying, can you tell what Node builld you used?
We have seen this problem, and it shoul dhave been fixed lately.

> Anytime I tried to deploy the Hosted-Engine via the Node TUI, I was not
> prompted to adjust the amount of RAM the Hosted-Engine VM takes.  (default
> 16GB).   After the deploy setup, the Hosted-Engine VM would not boot.
>
> When using a regular Ovirt host to deploy the Hosted-Engine, I was prompted
> to adjust the RAM for the Hosted Engine!
>
>
>
> Solution  :
>
> Install ovirt-engine RPMs on “host1”.
>
> Install ovirt-hosted-engine-appliance RPM. Copy its OVA from
> /usr/share/ovirt-engine-appliance/  to your webserver
>
> Run hosted-engine –deploy from “host1”.  Adjust the RAM to 4096.
> Run the Hosted-Engine deploy from Node.  Let it SCP the config from “host1”
>
> Reboot Host1 as make it another Node.

Nice guide!

- fabian


--
Fabian Deutsch 
RHEV Hypervisor
Red Hat
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [oVirt 3.5.6] changing RAM of the hosted engine VM

2015-12-10 Thread Simone Tiraboschi
On Thu, Dec 10, 2015 at 6:24 PM, wodel youchi 
wrote:

> Hi,
>
> Yes I tried to refresh many time the Webgui, even logging out and logging
> in again, but no changes.
>
> here is the engine-setup logs
>
> the big one, is the log of the first setup.
>

Ok, the engine update issue is here:
2015-12-10 12:48:20 DEBUG otopi.ovirt_engine_setup.engine_common.database
database.execute:214 Result: [{'started_at': datetime.datetime(2015, 12,
10, 11, 24, 20, 316000, tzinfo=psycopg2.tz.FixedOffsetTimezone(offset=60,
name=None)), 'task_id': 'fd62d708-8e9c-4209-956c-3bfc627b3117',
'action_type': 36, 'name': 'Default'}]
2015-12-10 12:48:20 DEBUG otopi.context context._executeMethod:152 method
exception
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 142, in
_executeMethod
method['method']()
  File
"/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/upgrade/asynctasks.py",
line 448, in _validateAsyncTasks
) = self._checkRunningTasks()
  File
"/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/upgrade/asynctasks.py",
line 341, in _checkRunningTasks
self._getRunningTasks(dbstatement),
  File
"/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/upgrade/asynctasks.py",
line 202, in _getRunningTasks
for entry in tasks
KeyError: '36'
2015-12-10 12:48:20 ERROR otopi.context context._executeMethod:161 Failed
to execute stage 'Setup validation': '36'

You tried to run engine-setup while an async task was running; the task was
of kind  36 and engine-setup tried to decode it but it failed cause it
doesn't know about that task type.
If you simply retry after that task has been completed it will succeed.

It's still worth to open a bug against that so I'll do.


As I said you don't need to update the engine to refresh the engine VM
details so it's worth to investigate also that one.
Can you please attach also vdsm logs?




> the small one, is from today's setup after augmenting the amount of memory
> for the HE.
>
> Thanks
>
> 
>  Cet
> e-mail a été envoyé depuis un ordinateur protégé par Avast.
> www.avast.com
> 
> <#1518cec58a732f51_DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> 2015-12-10 15:15 GMT+01:00 Simone Tiraboschi :
>
>>
>>
>> On Thu, Dec 10, 2015 at 12:53 PM, wodel youchi 
>> wrote:
>>
>>> Hi,
>>>
>>> I have an oVirt 3.5.6 platform using hosted-engine setup.
>>>
>>> I installed my engine's VM with 2Gb of memory at the beginning, now I
>>> want to add 2Gb
>>>
>>> I've modified /etc/ovirt-hosted-engine/vm.conf on my hypervisors
>>>
>>
>> On 3.5 it was enough. On 3.6.z you will be able to edit from the engine
>> web ui.
>>
>>
>>>
>>> the VM is booting with 4Gb of memory (free -m), but the GUI is still
>>> showing 2Gb
>>>
>>
>> Did you tried to refresh?
>>
>>
>>>
>>> I tried engine-setup but I get this error
>>>
>>>
>> It's absolutely not needed but on the other side it shouldn't fail as
>> well.
>> Can you please attach the whole engine-setup logs?
>>
>>
>>>
>>> [ INFO  ] Cleaning async tasks and compensations
>>> [ ERROR ] Failed to execute stage 'Setup validation': '36'
>>> [ INFO  ] Stage: Clean up
>>>   Log file is located at
>>> /var/log/ovirt-engine/setup/ovirt-engine-setup-20151210124227-xrr3g5.log
>>> [ INFO  ] Generating answer file
>>> '/var/lib/ovirt-engine/setup/answers/20151210124820-setup.conf'
>>> [ INFO  ] Stage: Pre-termination
>>> [ INFO  ] Stage: Termination
>>> [ ERROR ] Execution of setup failed
>>>
>>>
>>> Here is the tailf log
>>>
>>> 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
>>> OVESETUP_WSP_RPMDISRO_PACKAGES_SETUP=str:'ovirt-engine-setup-plugin-websocket-proxy'
>>> 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
>>> PACKAGER/keepAliveInterval=int:'30'
>>> 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
>>> PACKAGER/yumDisabledPlugins=list:'[]'
>>> 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
>>> PACKAGER/yumEnabledPlugins=list:'[]'
>>> 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
>>> PACKAGER/yumExpireCache=bool:'True'
>>> 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
>>> PACKAGER/yumRollback=bool:'True'
>>> 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
>>> PACKAGER/yumpackagerEnabled=bool:'True'
>>> 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
>>> SYSTEM/clockMaxGap=int:'5'
>>> 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
>>> SYSTEM/clockSet=bool:'False'
>>> 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
>>> 

[ovirt-users] OVIRT 3.6/OVIRT 4.0 architecture integration design with Docker

2015-12-10 Thread Rizwan Ashraf
Good day all,
Do we have OVIRT 3.6 architecture integration design/capability with Docker.
Any updated documentation, PPT, configuration examples may help
Thank you,
Rizwan
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ovirt live + user/groups/roles management

2015-12-10 Thread Yair Zaslavsky
Hi all, 
I am interested in installing oVirt live , I am currently not interested to 
spawn actual VMs, but rather interested to check roles/groups/users management 
: 

a. Is there a built in JDBC support for users/groups management, or do I need 
to configure freeIPA/openLdap as my external provider? 

b. If I do not wish to run VMs at the moment, do I need to have nested 
virtualization configured? 


Cheers, 
Yair Zaslavsky 
Senior SW Engineer, Aconex 

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


Re: [ovirt-users] hot plug memory in el7

2015-12-10 Thread Michal Skrivanek

> On 10 Dec 2015, at 13:16, Gianluca Cecchi  wrote:
> 
> On Thu, Dec 10, 2015 at 12:24 PM, Michal Skrivanek  > wrote:
> 
> 
> >
> > Yes, CentOS 7.1 updated up to a couple of days ago.
> 
> Can you try 7.2? I don’t remember exactly but it may be that in earlier 
> guests it’s not automatic. Check some tips for onlining memory explicitly
> 
> 5.2. How to online memory
>  
> Even if the memory is hot-added, it is not at ready-to-use state.
> For using newly added memory, you have to "online" the memory block.
> 
> For onlining, you have to write "online" to the memory block's state file as:
> 
> % echo online > /sys/devices/system/memory/memoryXXX/state
> 
>  
> 
> Hello,
> with your suggestions it worked as expected, without updating any packages in 
> VM 7.1 guest (I seemed to remember that the forced online operation should 
> not be necessary any more…):

great!
with 7.2 it should be automatic. I think with Windows it works automatically as 
well.

> 
> Starting state with 10Gb of ram inside the VM
> [root@racclient1 ~]# ll -d  /sys/devices/system/memory/memory* | wc -l
> 80
> 
> slots defined:
> 0 --> 23
> 32 --> 87
> 
> Increase from web gui memory from 10240 to 12288
> 
> I see this in messages as expected
> 
> Dec 10 12:59:32 racclient1 kernel: init_memory_mapping: [mem 
> 0x2c000-0x33fff]
> 
> In /sys/devices/system/memory I see 16 new memoryxx directories (probably 
> each one addressing 128Mb...)
> 
> 88
> 89
> 90
> 91
> 92
> 93
> 94
> 95
> 96
> 97
> 98
> 99
> 100
> 101
> 102
> 103
> 
> They have indeed been added but are offline, eg
> 
> latest previous one:
> [root@racclient1 ~]# cat /sys/devices/system/memory/memory87/state 
> online
> 
> first newly added one:
> [root@racclient1 ~]# cat /sys/devices/system/memory/memory88/state 
> offline
> 
> [root@racclient1 ~]# cat /sys/devices/system/memory/memory87/online 
> 1
> [root@racclient1 ~]# cat /sys/devices/system/memory/memory88/online 
> 0
> 
> put online the new segments:
> [root@racclient1 ~]# for i in $(seq 88 103)
> > do
> > echo online > /sys/devices/system/memory/memory${i}/state
> > done
> 
> Memory has been increased now, also from inside the OS.
> 
> [root@racclient1 ~]# free
>   totalusedfree  shared  buff/cache   
> available
> Mem:   12334428  222080119340448480  178304
> 12019544
> 
> 
> NOTE: no new entries after online memory, neither in messages file nor in 
> dmesg output.
> 
> Questions:
> 1) which component to bugzilla against for message confusing window of the 
> gui?

doesn’t matter much, ovirt-engine, frontend.

> 2) Initially I see that my VM (in webadmin gui) has 8Gb of defined memory AND 
> 8Gb of "Physical Memory Guaranteed".
> After increasing memory, the second one remains the same and doesn't change 
> even after shutdown / Power on.

> I think it could be an enhancement to ask the user if he/she wants to change 
> it too, instead of manually go through 
> Edit --> resource allocation --> memory allocation screen
> If seen as a agreed enhancement, which components to bugzilla against for RFE?

yeah, these are two separate fields. The suggestion sounds reasonable to me, 
Roy, thoughts on that?

> Gianluca

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


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

2015-12-10 Thread Fabrice Bacchella

> Le 10 déc. 2015 à 13:51, Yedidyah Bar David  a écrit :
> 
> engine-setup 
> --otopi-environment='SYSTEM/commandPath=str:/usr/pgsql-9.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'

I got better results with 
--otopi-environment="COMMAND/pg_dump=str:'/usr/pgsql-9.4/bin/pg_dump'"

But anyway:

~$ ls -l /bin/pg_dump
lrwxrwxrwx 1 root root 31 Dec 10 13:13 /bin/pg_dump -> 
/etc/alternatives/pgsql-pg_dump

So it should not be needed to specify it at command line. Once the latest 
version of  postgres is installed :
~# alternatives --list | grep pg_dump
pgsql-pg_dump   auto/usr/pgsql-9.4/bin/pg_dump

I don't know why my first try failed. This time I installed pg-9.4 before and 
everything was fine.


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


Re: [ovirt-users] Migration failed

2015-12-10 Thread Yaniv Dary
We need logs to help, please attach them.

Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109

Tel : +972 (9) 7692306
8272306
Email: yd...@redhat.com
IRC : ydary


On Wed, Dec 9, 2015 at 2:07 PM, Massimo Mad  wrote:

> Hi Michal,
> This is my configuration end the error:
>
> 1 start to migrate the vm from cluster in centos 6.x to cluster un centos
> bare-metal 7.x
> Migration started (VM: Spacewalk, Source: ovirtxx3, Destination: ovirtxx5,
> User: admin@internal).
> 2 first error:Migration failed due to Error: Fatal error during
> migration. Trying to migrate to another Host (VM: Spacewalkp, Source:
> ovirtxx03, Destination: ovirtxx05).
> 3 Second error: Migration failed, No available host found (VM: Spacewalk,
> Source: ovirtxx3).
>
>
> Regards
> Massimo
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Auto Provisioning using Ovirt API's or scripts

2015-12-10 Thread Alexander Wels
On Thursday, December 10, 2015 02:02:13 PM Punit Dambiwal wrote:
> Hi Virat,
> 
> You can get the ovirt-node iso from this url :-
> 
> http://resources.ovirt.org/releases/node-base/ or
> http://resources.ovirt.org/pub/ovirt-node-base-stable/
> 
> For Auto provisioning and Scheduling of the VM,you need to right your own
> function with the help of ovirt API..
> 

Obviously I don't understand your use case, but it might be possible that VM 
pools will do what you want? Basically you create a VM template, and create a 
pool from that. You specify how many 'hot' VMs you want and how large the pool 
should be. Once you get at or close the number of used VMs it starts new ones 
up to the limit of the pool.

> Thanks,
> Punit
> 
> On Thu, Dec 10, 2015 at 1:03 PM, Virat, Thakur 
> 
> wrote:
> > Dear Punit,
> > 
> >Thanks For your Support.. But the Issue is I have Ovirt
> > 
> > Engine working on version 3.5 and Ovirt Node(hypervisor) on 3.4 and I am
> > unable to add host node in the engine 3.5. Do we have Ovirt node ISO 3.5
> > available. Because the article which you have sent me has mentioned some
> > Bugs in version 3.4
> > 
> > Secondly, Will this REST-API will serve the purpose of auto provisioning &
> > Scheduling of VM’s  for the users.
> > 
> > * Virat Thakur*
> > 
> > *   India-Asia Pacific*
> > 
> > *Contact:-  +91-9724274349 <%2B91-9724274349>*
> > 
> > 
> > 
> > *From:* Punit Dambiwal [mailto:hypu...@gmail.com]
> > *Sent:* 10 December 2015 06:37
> > *To:* Virat, Thakur
> > *Cc:* ov...@redhat.com; users@ovirt.org; engine-dle...@ovirt.org
> > *Subject:* Re: [ovirt-users] Auto Provisioning using Ovirt API's or
> > scripts
> > 
> > 
> > 
> > Hi Virat,
> > 
> > 
> > 
> > You can find the api documentation here http://www.ovirt.org/REST-Api
> > 
> > 
> > 
> > Thanks,
> > 
> > Punit
> > 
> > 
> > 
> > On Wed, Dec 9, 2015 at 2:07 PM, Virat, Thakur 
> > wrote:
> > 
> > Dear Ovirt,
> > 
> >I have configured Ovirt in my environment in such a
> > 
> > manner by installing  Ovirt Engine 3.4 on one physical server & ovirt node
> > on other physical server and have created template & provisioned VM’s.
> > 
> > 
> > 
> > I need to Know what API’s or script is needed to auto provision or
> > schedule VM’s to users and the users will be using Spice Protocol at their
> > end to access Vm’s. Is there any solution for this. Please need help on
> > this.
> > 
> > 
> > 
> > Thanks & Regards
> > 
> > *  Virat Thakur*
> > 
> > *   India-Asia Pacific*
> > 
> > *Contact:-  +91-9724274349 <%2B91-9724274349>*
> > 
> > 
> > 
> > 
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users

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


Re: [ovirt-users] hot plug memory in el7

2015-12-10 Thread Gianluca Cecchi
On Thu, Dec 10, 2015 at 2:35 PM, Michal Skrivanek 
wrote:

>
>
> great!
> with 7.2 it should be automatic. I think with Windows it works
> automatically as well.
>
>
In the mean time I tested how to make it automatic also in my CentOS 7.1
guest.

I temporarily added this rule
inside /lib/udev/rules.d/55-ovirt-guest-agent.rules (but it could have also
been a plain new file for that matter):

SUBSYSTEM=="memory", ACTION=="add", TEST=="state", ATTR{state}=="offline",
ATTR{state}="online"

With this row the addition is automatically intercepted and applied from
the OS too.
Tested changing from 8Gb to 10Gb of ram.

I'm not an udev guru I took inspiration form the already set up file
for cpu adition in 40-redhat.rules file.. ;-)

So perhaps the only change in 7.2 is an addition like mine in
40-redhat.rules?


>
>
> Questions:
> 1) which component to bugzilla against for message confusing window of the
> gui?
>
>
> doesn’t matter much, ovirt-engine, frontend.
>

Ok, I'll do



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


Re: [ovirt-users] [oVirt 3.5.6] changing RAM of the hosted engine VM

2015-12-10 Thread Simone Tiraboschi
On Thu, Dec 10, 2015 at 12:53 PM, wodel youchi 
wrote:

> Hi,
>
> I have an oVirt 3.5.6 platform using hosted-engine setup.
>
> I installed my engine's VM with 2Gb of memory at the beginning, now I want
> to add 2Gb
>
> I've modified /etc/ovirt-hosted-engine/vm.conf on my hypervisors
>

On 3.5 it was enough. On 3.6.z you will be able to edit from the engine web
ui.


>
> the VM is booting with 4Gb of memory (free -m), but the GUI is still
> showing 2Gb
>

Did you tried to refresh?


>
> I tried engine-setup but I get this error
>
>
It's absolutely not needed but on the other side it shouldn't fail as well.
Can you please attach the whole engine-setup logs?


>
> [ INFO  ] Cleaning async tasks and compensations
> [ ERROR ] Failed to execute stage 'Setup validation': '36'
> [ INFO  ] Stage: Clean up
>   Log file is located at
> /var/log/ovirt-engine/setup/ovirt-engine-setup-20151210124227-xrr3g5.log
> [ INFO  ] Generating answer file
> '/var/lib/ovirt-engine/setup/answers/20151210124820-setup.conf'
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
> [ ERROR ] Execution of setup failed
>
>
> Here is the tailf log
>
> 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
> OVESETUP_WSP_RPMDISRO_PACKAGES_SETUP=str:'ovirt-engine-setup-plugin-websocket-proxy'
> 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
> PACKAGER/keepAliveInterval=int:'30'
> 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
> PACKAGER/yumDisabledPlugins=list:'[]'
> 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
> PACKAGER/yumEnabledPlugins=list:'[]'
> 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
> PACKAGER/yumExpireCache=bool:'True'
> 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
> PACKAGER/yumRollback=bool:'True'
> 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
> PACKAGER/yumpackagerEnabled=bool:'True'
> 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
> SYSTEM/clockMaxGap=int:'5'
> 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
> SYSTEM/clockSet=bool:'False'
> 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
> SYSTEM/commandPath=str:'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
> 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
> SYSTEM/reboot=bool:'False'
> 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
> SYSTEM/rebootAllow=bool:'True'
> 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:500 ENV
> SYSTEM/rebootDeferTime=int:'10'
> 2015-12-10 12:48:20 DEBUG otopi.context context.dumpEnvironment:504
> ENVIRONMENT DUMP - END
> 2015-12-10 12:48:20 DEBUG otopi.context context._executeMethod:138 Stage
> pre-terminate METHOD otopi.plugins.otopi.dialog.cli.Plugin._pre_terminate
> 2015-12-10 12:48:20 DEBUG otopi.context context._executeMethod:144
> condition False
> 2015-12-10 12:48:20 INFO otopi.context context.runSequence:417 Stage:
> Termination
> 2015-12-10 12:48:20 DEBUG otopi.context context.runSequence:421 STAGE
> terminate
> 2015-12-10 12:48:20 DEBUG otopi.context context._executeMethod:138 Stage
> terminate METHOD
> otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._terminate
> 2015-12-10 12:48:20 ERROR otopi.plugins.ovirt_engine_common.base.core.misc
> misc._terminate:151 Execution of setup failed
> 2015-12-10 12:48:20 DEBUG otopi.context context._executeMethod:138 Stage
> terminate METHOD otopi.plugins.otopi.dialog.human.Plugin._terminate
> 2015-12-10 12:48:20 DEBUG otopi.context context._executeMethod:138 Stage
> terminate METHOD otopi.plugins.otopi.dialog.machine.Plugin._terminate
> 2015-12-10 12:48:20 DEBUG otopi.context context._executeMethod:144
> condition False
> 2015-12-10 12:48:20 DEBUG otopi.context context._executeMethod:138 Stage
> terminate METHOD otopi.plugins.otopi.core.log.Plugin._terminate
>
>
>
>
>
> - What is the correct way to modify the engine's VM memory
>
>
> Thanks in advance.
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How To: Node Hosted-Engine with less then 16GB

2015-12-10 Thread Fabian Deutsch
On Thu, Dec 3, 2015 at 6:23 PM, Alain Gilmor  wrote:
> Here’s a short guide for people having trouble setting up Hosted-Engine
> using only Ovirt Nodes.   Anything to do with ‘ jenkins’ OVA did not work
> for me, size mismatch, etc.

Hey Alain,

a quite late reply, but still ..

Thzat's annoying, can you tell what Node builld you used?
We have seen this problem, and it shoul dhave been fixed lately.

> Anytime I tried to deploy the Hosted-Engine via the Node TUI, I was not
> prompted to adjust the amount of RAM the Hosted-Engine VM takes.  (default
> 16GB).   After the deploy setup, the Hosted-Engine VM would not boot.
>
> When using a regular Ovirt host to deploy the Hosted-Engine, I was prompted
> to adjust the RAM for the Hosted Engine!
>
>
>
> Solution  :
>
> Install ovirt-engine RPMs on “host1”.
>
> Install ovirt-hosted-engine-appliance RPM. Copy its OVA from
> /usr/share/ovirt-engine-appliance/  to your webserver
>
> Run hosted-engine –deploy from “host1”.  Adjust the RAM to 4096.
> Run the Hosted-Engine deploy from Node.  Let it SCP the config from “host1”
>
> Reboot Host1 as make it another Node.

Nice guide!

- fabian


-- 
Fabian Deutsch 
RHEV Hypervisor
Red Hat
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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


Re: [ovirt-users] hot plug memory in el7

2015-12-10 Thread Michal Skrivanek

> On 10 Dec 2015, at 15:12, Gianluca Cecchi  wrote:
> 
> On Thu, Dec 10, 2015 at 2:35 PM, Michal Skrivanek  > wrote:
> 
> 
> great!
> with 7.2 it should be automatic. I think with Windows it works automatically 
> as well.
> 
> 
> In the mean time I tested how to make it automatic also in my CentOS 7.1 
> guest.
> 
> I temporarily added this rule inside 
> /lib/udev/rules.d/55-ovirt-guest-agent.rules (but it could have also been a 
> plain new file for that matter):
> 
> SUBSYSTEM=="memory", ACTION=="add", TEST=="state", ATTR{state}=="offline", 
> ATTR{state}="online"
> 
> With this row the addition is automatically intercepted and applied from the 
> OS too.
> Tested changing from 8Gb to 10Gb of ram.
> 
> I'm not an udev guru I took inspiration form the already set up file for 
> cpu adition in 40-redhat.rules file.. ;-)

me neither, but yeah, it’s in 7.2 just like that:)

# cat /lib/udev/rules.d/40-redhat.rules
# do not edit this file, it will be overwritten on update

# CPU hotadd request
SUBSYSTEM=="cpu", ACTION=="add", TEST=="online", ATTR{online}=="0", 
ATTR{online}="1"

# Memory hotadd request
SUBSYSTEM=="memory", ACTION=="add", ATTR{state}=="offline", ATTR{state}="online"

# reload sysctl.conf / sysctl.conf.d settings when the bridge module is loaded
ACTION=="add", SUBSYSTEM=="module", KERNEL=="bridge", 
RUN+="/usr/lib/systemd/systemd-sysctl --prefix=/proc/sys/net/bridge"

# load SCSI generic (sg) driver
SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", TEST!="[module/sg]", 
RUN+="/sbin/modprobe -bv sg"

# Rule for prandom character device node permissions
KERNEL=="prandom", MODE=“0644"

> 
> So perhaps the only change in 7.2 is an addition like mine in 40-redhat.rules?
>  
>> 
>> 
>> Questions:
>> 1) which component to bugzilla against for message confusing window of the 
>> gui?
> 
> doesn’t matter much, ovirt-engine, frontend.
> 
> Ok, I'll do
> 
>  
> Gianluca

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


[ovirt-users] Migration Return Errors

2015-12-10 Thread Matt Wells
We're running oVirt 3.5 in a two node setup.  We've had some storage issues
and getting it humming with Gluster but this seems to have all of that
squared away.  Our problem is peculiar and I wanted to ask the list to see
if anyone else has had this.  In short you can migrate a VM from one host
to the other  but once there it can not return to it's original host.
We attempted a few things yesterday and with testing today I'll attach logs
shortly.

** Environment
Hosts name -
Host1.example.com
Host2.example.com

VMs name -
Server1.example.com
Server2.example.com

This is a hosted-enginge configuration but all seems to be working well.
Even the hosted-engine shows this behavior but I'm focusing on Server 1 and
2; not the engine as I believe it complicates the tests.

* Both nodes are operational with no power management setup
* All VMs reside within the vm_storage mount point
* At this time there is only one Network; it has the VMs and hosts.  This
will be broken up after this is resolved.
* Server1 migrates (by hand ) from Host1 to Host2 with no issues
* Server2 is powered on atop Host1 with no issues; leaving one VM on both
hosts
* I attempt to migrate Server1 back to Host1 and he states there is no
available hypervisor
* I can reboot Server2 with no issues, create a new VM on Host1
* A VM can only migrate onces, never able to return from whence it came
The only way to force this is to place Host1 in maintenance mode and
activate again. After this Server2 can return to Host1 but then is unable
to go back to Server2; being in the same cycle
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users