[ovirt-users] Regarding Ovirt Node ISO

2017-07-27 Thread TranceWorldLogic .
Hi,

I want to know packages list in ovirt node ISO.
Do we have some documentation or some auto output of jenkin job ?

Please let me know.

Thanks,
~Rohit
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt VM backups

2017-07-27 Thread Victor José Acosta Domínguez
Also you could try the option i created:
http://blog.infratic.com/blog/2017/07/07/create-ovirtrhevs-vm-backup/


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


Re: [ovirt-users] Add CentOS 7 host fails during setup validation with 'Cannot locate vdsm package, possible cause is incorrect channels.'

2017-07-27 Thread Bill James

might want to double check what yum repos you have configured.
"yum search vdsm" or "yum list vdsm" should return something.
vdsm is not part of standard centos7 repo.

you can add it with something like

|# yum install 
||http://resources.ovirt.org/pub/yum-repo/ovirt-release41.rpm| 




https://www.ovirt.org/release/4.1.1/#fedora--centos--rhel



On 07/27/2017 11:35 AM, Schorschi wrote:
Trying to add a CentOS 7 host to oVirt instance, but fails during 
setup validation with 'Cannot locate vdsm package, possible cause is 
incorrect channels.'  Of course, given this is oVirt (not RHEV) and 
CentOS not RHEL, there is not any RHEL applicable channel. Anyone have 
this issue as well?


Version of KVM host (CentOS)...
Linux node01.dachshund-digital.org 3.10.0-514.26.2.el7.x86_64 #1 SMP 
Tue Jul 4 15:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

CentOS Linux release 7.3.1611 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/;
BUG_REPORT_URL="https://bugs.centos.org/;
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
CentOS Linux release 7.3.1611 (Core)
CentOS Linux release 7.3.1611 (Core)

Version of oVirt (and CentOS hosting oVirt)... Is release 4.1 per 
install http://resources.ovirt.org/pub/yum-repo/ovirt-release41.rpm
Linux ovirt.dachshund-digital.org 3.10.0-514.26.2.el7.x86_64 #1 SMP 
Tue Jul 4 15:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

CentOS Linux release 7.3.1611 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/;
BUG_REPORT_URL="https://bugs.centos.org/;
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
CentOS Linux release 7.3.1611 (Core)
CentOS Linux release 7.3.1611 (Core)

Any help appreciated.  Thanks.

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


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


Re: [ovirt-users] fence issue adding host

2017-07-27 Thread Bill James

that doesn't work either on good host or bad.
Maybe that is just a distraction.

Any idea why ovirt won't let me add the host?
"Test failed: [Failed: Unable to obtain correct plug status or plug is 
not available, , ]"




[root@ovirt6 prod ~]# /sbin/fence_ilo4 -a 10.144.254.87 -P -l 
Administrator -p *** -o status -v
Executing: /usr/bin/ipmitool -I lanplus -H 10.144.254.87 -U 
Administrator -P [set] -p 623 -L ADMINISTRATOR chassis power status


1  Error: Unable to establish IPMI v2 / RMCP+ session


Failed: Unable to obtain correct plug status or plug is not available


On 07/27/2017 04:00 AM, Martin Perina wrote:



On Thu, Jul 27, 2017 at 2:26 AM, Bill James > wrote:


I'm adding 3 hardware nodes to our cluster. All 3 same type of
server and software, HP DL360 G8, centos 7.
One fails the fence agent test.
The one I'm having problems with has a newer version of ilo
firmware, not sure if related.
Troublemaker: 2.54
Others: 2.53

ovirt-engine-4.1.0.4-1.el7.centos.noarch
vdsm-4.19.4-1.el7.centos.x86_64


2017-07-26 15:14:30,215-07 INFO
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(default task-52) [4d72d360-2b92-43f6-b2df-e80ee305c622] EVENT_ID:
FENCE_OPERATION_USING_AGENT_AND_PROXY_STARTED(9,020), Correlation
ID: null, Call Stack: null, Custom Event ID: -1, Message:
Executing power management status on Host ovirt6.j2noc.com
 using Proxy Host ovirt1.j2noc.com
 and Fence Agent ilo4:10.144.254.89.
2017-07-26 15:14:30,216-07 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand]

(default task-52) [4d72d360-2b92-43f6-b2df-e80ee305c622] START,
FenceVdsVDSCommand(HostName = ovirt1.j2noc.com
,
FenceVdsVDSCommandParameters:{runAsync='true',
hostId='23d2c0ab-5dd1-43af-9db3-2a426a539faf',
targetVdsId='----',
action='STATUS', agent='FenceAgent:{id='null', hostId='null',
order='1', type='ilo4', ip='10.144.254.89', port='null',
user='Administrator', password='***', encryptOptions='false',
options='power_wait=4'}', policy='null'}), log id: 1498b3c4
*2017-07-26 15:14:30,414-07 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand]
(default task-52) [4d72d360-2b92-43f6-b2df-e80ee305c622] FINISH,
FenceVdsVDSCommand, return: FenceOperationResult:{status='ERROR',
powerStatus='UNKNOWN', message='[Failed: Unable to obtain correct
plug status or plug is not available, , ]'}, log id: 1498b3c4*
2017-07-26 15:14:30,420-07 WARN
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(default task-52) [4d72d360-2b92-43f6-b2df-e80ee305c622] EVENT_ID:
FENCE_OPERATION_USING_AGENT_AND_PROXY_FAILED(9,021), Correlation
ID: null, Call Stack: null, Custom Event ID: -1, Message:
Execution of power management status on Host ovirt6.j2noc.com
 using Proxy Host ovirt1.j2noc.com
 and Fence Agent ilo4:10.144.254.89 failed.
2017-07-26 15:14:30,420-07 WARN  [org.ovirt.engine.core.bll.pm
.FenceAgentExecutor] (default
task-52) [4d72d360-2b92-43f6-b2df-e80ee305c622] Fence action
failed using proxy host '10.144.110.99', trying another proxy
2017-07-26 15:14:30,740-07 INFO
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(default task-52) [4d72d360-2b92-43f6-b2df-e80ee305c622] EVENT_ID:
FENCE_OPERATION_USING_AGENT_AND_PROXY_STARTED(9,020), Correlation
ID: null, Call Stack: null, Custom Event ID: -1, Message:
Executing power management status on Host ovirt6.j2noc.com
 using Proxy Host ovirt2.j2noc.com
 and Fence Agent ilo4:10.144.254.89.
2017-07-26 15:14:30,741-07 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand]

(default task-52) [4d72d360-2b92-43f6-b2df-e80ee305c622] START,
FenceVdsVDSCommand(HostName = ovirt2.j2noc.com
,
FenceVdsVDSCommandParameters:{runAsync='true',
hostId='91d8fa70-fd24-4530-90f7-982ff068230b',
targetVdsId='----',
action='STATUS', agent='FenceAgent:{id='null', hostId='null',
order='1', type='ilo4', ip='10.144.254.89', port='null',
user='Administrator', password='***', encryptOptions='false',
options='power_wait=4'}', policy='null'}), log id: 67d837da
2017-07-26 15:14:30,898-07 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand]

(default task-52) [4d72d360-2b92-43f6-b2df-e80ee305c622] FINISH,
FenceVdsVDSCommand, return: FenceOperationResult:{status='ERROR',
powerStatus='UNKNOWN', message='[Failed: Unable to obtain correct
plug status or plug is not available, , ]'}, log id: 

[ovirt-users] Add CentOS 7 host fails during setup validation with 'Cannot locate vdsm package, possible cause is incorrect channels.'

2017-07-27 Thread Schorschi
Trying to add a CentOS 7 host to oVirt instance, but fails during setup 
validation with 'Cannot locate vdsm package, possible cause is incorrect 
channels.'  Of course, given this is oVirt (not RHEV) and CentOS not 
RHEL, there is not any RHEL applicable channel.  Anyone have this issue 
as well?


Version of KVM host (CentOS)...
Linux node01.dachshund-digital.org 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue 
Jul 4 15:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

CentOS Linux release 7.3.1611 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/;
BUG_REPORT_URL="https://bugs.centos.org/;
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
CentOS Linux release 7.3.1611 (Core)
CentOS Linux release 7.3.1611 (Core)

Version of oVirt (and CentOS hosting oVirt)... Is release 4.1 per 
install http://resources.ovirt.org/pub/yum-repo/ovirt-release41.rpm
Linux ovirt.dachshund-digital.org 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue 
Jul 4 15:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

CentOS Linux release 7.3.1611 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/;
BUG_REPORT_URL="https://bugs.centos.org/;
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
CentOS Linux release 7.3.1611 (Core)
CentOS Linux release 7.3.1611 (Core)

Any help appreciated.  Thanks.

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


Re: [ovirt-users] Help get oVirt's add featured on Stack Overflow

2017-07-27 Thread Karli Sjöberg
Den 27 juli 2017 7:05 em skrev Allon Mureinik :Spotted in the wild! [1]Ah, the hardships of a programmer; hardcoded SQL works, read from buffer doesn't. We feel your pain:)/K[1] http://imgur.com/ZVFsbPgOn Mon, Jul 3, 2017 at 2:34 PM, Allon Mureinik  wrote:As Nicolas stated below, and as evident by [1], ladies and gentlemen - we are live.First person to share an actual screenshot of Stack Overflow displaying this add gets a +2 on his next engine patch :-)And thanks again to Eldan for designing the add and to all the upvoters.[1] https://meta.stackoverflow.com/ads/display/349017On Fri, Jun 30, 2017 at 4:30 AM, Jeff Burns  wrote:This is an excellent thing.  Thanks Eldan.  I've cast my vote.On Thu, Jun 29, 2017 at 12:38 PM  wrote:El 2017-06-29 17:27, Allon Mureinik escribió:
> Hi lists,
>
> Thanks to Eldan, we have a community ad for oVirt proposed on Stack
> Overflow [1].
> Now, we need some upvotes (current threshold is 6) before SO starts
> serving it.
>

Unless some hater downvotes, it has just reached the 6 votes threshold
;-)

> Have a SO account?
> Want to help?
> Just drop by and upvote.
>
> Have a great weekend,
> Allon
>
> [1] https://meta.stackoverflow.com/a/351453/2422776 [1]
>
> Links:
> --
> [1] https://meta.stackoverflow.com/a/351453/2422776
>
> ___
> 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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Help get oVirt's add featured on Stack Overflow

2017-07-27 Thread Allon Mureinik
Spotted in the wild! [1]

[1] http://imgur.com/ZVFsbPg

On Mon, Jul 3, 2017 at 2:34 PM, Allon Mureinik  wrote:

> As Nicolas stated below, and as evident by [1], ladies and gentlemen - we
> are live.
>
> First person to share an actual screenshot of Stack Overflow displaying
> this add gets a +2 on his next engine patch :-)
>
>
> And thanks again to Eldan for designing the add and to all the upvoters.
>
> [1] https://meta.stackoverflow.com/ads/display/349017
>
> On Fri, Jun 30, 2017 at 4:30 AM, Jeff Burns  wrote:
>
>> This is an excellent thing.  Thanks Eldan.  I've cast my vote.
>>
>> On Thu, Jun 29, 2017 at 12:38 PM  wrote:
>>
>>> El 2017-06-29 17:27, Allon Mureinik escribió:
>>> > Hi lists,
>>> >
>>> > Thanks to Eldan, we have a community ad for oVirt proposed on Stack
>>> > Overflow [1].
>>> > Now, we need some upvotes (current threshold is 6) before SO starts
>>> > serving it.
>>> >
>>>
>>> Unless some hater downvotes, it has just reached the 6 votes threshold
>>> ;-)
>>>
>>> > Have a SO account?
>>> > Want to help?
>>> > Just drop by and upvote.
>>> >
>>> > Have a great weekend,
>>> > Allon
>>> >
>>> > [1] https://meta.stackoverflow.com/a/351453/2422776 [1]
>>> >
>>> > Links:
>>> > --
>>> > [1] https://meta.stackoverflow.com/a/351453/2422776
>>> >
>>> > ___
>>> > Users mailing list
>>> > Users@ovirt.org
>>> > http://lists.ovirt.org/mailman/listinfo/users
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] sanlock ids file broken after server crash

2017-07-27 Thread Johan Bernhardsson
Hello,

The ids file for sanlock is broken on one setup. The first host id in
the file is wrong.

From the logfile i have:

verify_leader 1 wrong space name 0924ff77-ef51-435b-b90d-50bfbf2e�ke7
0924ff77-ef51-435b-b90d-50bfbf2e8de7 /rhev/data-center/mnt/glusterSD/



Note the broken char in the space name. 

This also apears. And it seams as the hostid too is broken in the ids
file:

leader4 sn 0924ff77-ef51-435b-b90d-50bfbf2e�ke7 rn ��7afa5-3a91-415b-
a04c-221d3e060163.vbgkvm01.a ts 4351980 cs eefa4dd7

Note the broken chars there as well. 

If i check the ids file with less or strings the first row where my
vbgkvm01 host are. That has broken chars.

Can this be repaired in some way without taking down all the virtual
machines on that storage?


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


[ovirt-users] Yum error while installing host on Centos7

2017-07-27 Thread Iurcev, Massimiliano
I installed ovirt-engine on Centos7. My target is to have a single host
machine.
During the installation of the (first and unique) host, I get an error:

Failed to install Host . Yum Non-fatal POSTIN scriptlet failure in rpm
package gtk2-2.24.28-8.el7.x86_64.

This error is followed by other errors:

Failed to install Host . Failed to execute stage 'Package
installation': One or more elements within Yum transaction failed.

and finally:
Host  installation failed. Command returned failure code 1 during SSH
session 'r...@.mydomain.it'.

All other libraries are yum-installed without problems.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt VM backups

2017-07-27 Thread Yaniv Kaul
On Thu, Jul 27, 2017 at 4:28 PM, Gianluca Cecchi 
wrote:

> On Thu, Jul 27, 2017 at 3:09 PM, Yaniv Kaul  wrote:
>
>>
>>
>> Now that I think of this, it's probably just as easy to write as an
>> Ansible role and add it to https://github.com/machacek
>> ondra/ovirt-ansible-roles
>>
>
>
> Hi Yaniv,
> as the user asked for a GUI too, I think that using Ansible for oVirt
> backup could be improved by an available GUI.
>

Agreed.


> I have just seen that there is a sort of "survey" to see what is the
> feeling/interest in having an opensource alternative for commercial Red Hat
> Tower here:
>
> https://www.ansible.com/open-tower
>
> I just joined and who is interested could do the same.
> Afaik there is currently only the limited feature Semaphore at the moment
> (never tested by me, while I have some experience in using commercial
> Tower):
> https://github.com/ansible-semaphore/semaphore
>
> Share your comments,
>

Another option is to use ManageIQ, which has support for Ansible automation
(and oVirt of course).
See the release announcement[1].

Y.

[1] http://manageiq.org/blog/2017/05/manageiq-fine-ga-announcement/


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


Re: [ovirt-users] oVirt VM backups

2017-07-27 Thread Gianluca Cecchi
On Thu, Jul 27, 2017 at 3:09 PM, Yaniv Kaul  wrote:

>
>
> Now that I think of this, it's probably just as easy to write as an
> Ansible role and add it to https://github.com/machacekondra/ovirt-ansible-
> roles
>


Hi Yaniv,
as the user asked for a GUI too, I think that using Ansible for oVirt
backup could be improved by an available GUI.
I have just seen that there is a sort of "survey" to see what is the
feeling/interest in having an opensource alternative for commercial Red Hat
Tower here:

https://www.ansible.com/open-tower

I just joined and who is interested could do the same.
Afaik there is currently only the limited feature Semaphore at the moment
(never tested by me, while I have some experience in using commercial
Tower):
https://github.com/ansible-semaphore/semaphore

Share your comments,
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt VM backups

2017-07-27 Thread FERNANDO FREDIANI
One thing that I cannot conceive when doing oVirt backups is the need to 
clone the VM in order to copy it. Why, as in VMware, isn't possible to 
just Snapshot and copy the read-only disk ?


Fernando


On 27/07/2017 07:14, Abi Askushi wrote:

Hi All,

For VM backups I am using some python script to automate the snapshot 
-> clone -> export -> delete steps (although with some issues when 
trying to backups a Windows 10 VM)


I was wondering if there is there any plan to integrate VM backups in 
the GUI or what other recommended ways exist out there.


Thanx,
Abi


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


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


Re: [ovirt-users] oVirt VM backups

2017-07-27 Thread Yaniv Kaul
On Thu, Jul 27, 2017 at 1:14 PM, Abi Askushi 
wrote:

> Hi All,
>
> For VM backups I am using some python script to automate the snapshot ->
> clone -> export -> delete steps (although with some issues when trying to
> backups a Windows 10 VM)
>
> I was wondering if there is there any plan to integrate VM backups in the
> GUI or what other recommended ways exist out there.
>

See https://github.com/wefixit-AT/oVirtBackup as an option.

Now that I think of this, it's probably just as easy to write as an Ansible
role and add it to https://github.com/machacekondra/ovirt-ansible-roles

If you are using Gluster, I believe
http://www.ovirt.org/develop/release-management/features/gluster/gluster-dr/
is also relevant.
Y.





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


Re: [ovirt-users] oVirt VM backups

2017-07-27 Thread Abi Askushi
Hi,

Yes, the python script is using this API.
I was thinking to have in the GUI for VM backups sth similar as the gluster
volume snapshot schedules.


On Thu, Jul 27, 2017 at 2:09 PM, Maor Lipchuk  wrote:

> On Thu, Jul 27, 2017 at 1:14 PM, Abi Askushi 
> wrote:
> > Hi All,
> >
> > For VM backups I am using some python script to automate the snapshot ->
> > clone -> export -> delete steps (although with some issues when trying to
> > backups a Windows 10 VM)
> >
> > I was wondering if there is there any plan to integrate VM backups in the
> > GUI or what other recommended ways exist out there.
>
> Hi Abi,
>
> Don't you want to use the backup API feature for that:
> https://www.ovirt.org/develop/api/design/backup-api/
>
> Regards,
> Maor
>
> >
> > Thanx,
> > Abi
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt VM backups

2017-07-27 Thread Maor Lipchuk
On Thu, Jul 27, 2017 at 1:14 PM, Abi Askushi  wrote:
> Hi All,
>
> For VM backups I am using some python script to automate the snapshot ->
> clone -> export -> delete steps (although with some issues when trying to
> backups a Windows 10 VM)
>
> I was wondering if there is there any plan to integrate VM backups in the
> GUI or what other recommended ways exist out there.

Hi Abi,

Don't you want to use the backup API feature for that:
https://www.ovirt.org/develop/api/design/backup-api/

Regards,
Maor

>
> Thanx,
> Abi
>
> ___
> 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] fence issue adding host

2017-07-27 Thread Martin Perina
On Thu, Jul 27, 2017 at 2:26 AM, Bill James  wrote:

> I'm adding 3 hardware nodes to our cluster. All 3 same type of server and
> software, HP DL360 G8, centos 7.
> One fails the fence agent test.
> The one I'm having problems with has a newer version of ilo firmware, not
> sure if related.
> Troublemaker: 2.54
> Others: 2.53
>
> ovirt-engine-4.1.0.4-1.el7.centos.noarch
> vdsm-4.19.4-1.el7.centos.x86_64
>
>
> 2017-07-26 15:14:30,215-07 INFO  [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] (default task-52)
> [4d72d360-2b92-43f6-b2df-e80ee305c622] EVENT_ID:
> FENCE_OPERATION_USING_AGENT_AND_PROXY_STARTED(9,020), Correlation ID:
> null, Call Stack: null, Custom Event ID: -1, Message: Executing power
> management status on Host ovirt6.j2noc.com using Proxy Host
> ovirt1.j2noc.com and Fence Agent ilo4:10.144.254.89.
> 2017-07-26 15:14:30,216-07 INFO  [org.ovirt.engine.core.
> vdsbroker.vdsbroker.FenceVdsVDSCommand] (default task-52)
> [4d72d360-2b92-43f6-b2df-e80ee305c622] START, FenceVdsVDSCommand(HostName
> = ovirt1.j2noc.com, FenceVdsVDSCommandParameters:{runAsync='true',
> hostId='23d2c0ab-5dd1-43af-9db3-2a426a539faf', 
> targetVdsId='----',
> action='STATUS', agent='FenceAgent:{id='null', hostId='null', order='1',
> type='ilo4', ip='10.144.254.89', port='null', user='Administrator',
> password='***', encryptOptions='false', options='power_wait=4'}',
> policy='null'}), log id: 1498b3c4
> *2017-07-26 15:14:30,414-07 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand] (default
> task-52) [4d72d360-2b92-43f6-b2df-e80ee305c622] FINISH, FenceVdsVDSCommand,
> return: FenceOperationResult:{status='ERROR', powerStatus='UNKNOWN',
> message='[Failed: Unable to obtain correct plug status or plug is not
> available, , ]'}, log id: 1498b3c4*
> 2017-07-26 15:14:30,420-07 WARN  [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] (default task-52)
> [4d72d360-2b92-43f6-b2df-e80ee305c622] EVENT_ID:
> FENCE_OPERATION_USING_AGENT_AND_PROXY_FAILED(9,021), Correlation ID:
> null, Call Stack: null, Custom Event ID: -1, Message: Execution of power
> management status on Host ovirt6.j2noc.com using Proxy Host
> ovirt1.j2noc.com and Fence Agent ilo4:10.144.254.89 failed.
> 2017-07-26 15:14:30,420-07 WARN  
> [org.ovirt.engine.core.bll.pm.FenceAgentExecutor]
> (default task-52) [4d72d360-2b92-43f6-b2df-e80ee305c622] Fence action
> failed using proxy host '10.144.110.99', trying another proxy
> 2017-07-26 15:14:30,740-07 INFO  [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] (default task-52)
> [4d72d360-2b92-43f6-b2df-e80ee305c622] EVENT_ID:
> FENCE_OPERATION_USING_AGENT_AND_PROXY_STARTED(9,020), Correlation ID:
> null, Call Stack: null, Custom Event ID: -1, Message: Executing power
> management status on Host ovirt6.j2noc.com using Proxy Host
> ovirt2.j2noc.com and Fence Agent ilo4:10.144.254.89.
> 2017-07-26 15:14:30,741-07 INFO  [org.ovirt.engine.core.
> vdsbroker.vdsbroker.FenceVdsVDSCommand] (default task-52)
> [4d72d360-2b92-43f6-b2df-e80ee305c622] START, FenceVdsVDSCommand(HostName
> = ovirt2.j2noc.com, FenceVdsVDSCommandParameters:{runAsync='true',
> hostId='91d8fa70-fd24-4530-90f7-982ff068230b', 
> targetVdsId='----',
> action='STATUS', agent='FenceAgent:{id='null', hostId='null', order='1',
> type='ilo4', ip='10.144.254.89', port='null', user='Administrator',
> password='***', encryptOptions='false', options='power_wait=4'}',
> policy='null'}), log id: 67d837da
> 2017-07-26 15:14:30,898-07 INFO  [org.ovirt.engine.core.
> vdsbroker.vdsbroker.FenceVdsVDSCommand] (default task-52)
> [4d72d360-2b92-43f6-b2df-e80ee305c622] FINISH, FenceVdsVDSCommand,
> return: FenceOperationResult:{status='ERROR', powerStatus='UNKNOWN',
> message='[Failed: Unable to obtain correct plug status or plug is not
> available, , ]'}, log id: 67d837da
> 2017-07-26 15:14:30,903-07 WARN  [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] (default task-52)
> [4d72d360-2b92-43f6-b2df-e80ee305c622] EVENT_ID:
> FENCE_OPERATION_USING_AGENT_AND_PROXY_FAILED(9,021), Correlation ID:
> null, Call Stack: null, Custom Event ID: -1, Message: Execution of power
> management status on Host ovirt6.j2noc.com using Proxy Host
> ovirt2.j2noc.com and Fence Agent ilo4:10.144.254.89 failed.
>
>
>
> I'm not sure the right syntax for fence_ipmilan since even a "good" host
> fails:
>
>
> [root@ovirt4 prod vdsm]#
> ​​
> fence_ipmilan -a 10.144.254.87 -P -l Administrator -p *** -o status -v
> chassis power status
> Executing: /usr/bin/ipmitool -I lanplus -H 10.144.254.87 -U Administrator
> -P [set] -p 623 -L ADMINISTRATOR chassis power status
>
> 1  Error: Unable to establish IPMI v2 / RMCP+ session
>
>
> Failed: Unable to obtain correct plug status or plug is not available
>

​Please bear in mind, that since 4.1.0​

​ilo4 agent is no longer mapped to fence_ipmi, but to the native 

Re: [ovirt-users] Windows 2016 Sysprep - Fixed IP

2017-07-27 Thread Sven Achtelik
Ok, I'll try that. Thank you

-Ursprüngliche Nachricht-
Von: Tomáš Golembiovský [mailto:tgole...@redhat.com] 
Gesendet: Donnerstag, 27. Juli 2017 12:16
An: Sven Achtelik 
Cc: users@ovirt.org
Betreff: Re: [ovirt-users] Windows 2016 Sysprep - Fixed IP

On Thu, 27 Jul 2017 04:30:16 -0500
Sven Achtelik  wrote:

> OK, and would that answer file pick up the fields from the GUI or would I 
> have to set everything in that answer file ? 

No it would not. You have to set everything you want in your answer file.

Tomas

> 
> -Ursprüngliche Nachricht-
> Von: Tomáš Golembiovský [mailto:tgole...@redhat.com] 
> Gesendet: Donnerstag, 27. Juli 2017 11:28
> An: Sven Achtelik 
> Cc: users@ovirt.org
> Betreff: Re: [ovirt-users] Windows 2016 Sysprep - Fixed IP
> 
> Hi,
> 
> On Wed, 26 Jul 2017 09:02:45 -0500
> Sven Achtelik  wrote:
> 
> > Hi All,
> > 
> > I'm looking into configuring a Windows 2016 Template via Run Once to have 
> > an static IP. Is there any way to do that ? Maybe over the Sysrep Section ? 
> > I didn't find an answer about how to use it or what syntax should be used ? 
> > Must I put a complete answer file into it or will this section on overwrite 
> > specific parts of the original file that resides on the engine ?  
> 
> You have to put there complete answer file. The XML templates on engine are 
> not used in this case.
> 
> Although, I'm not sure if you can set IP address through the answer file.
> 
> Tomas
> 
> > 
> > Thank you,
> > Sven  
> 
> 
> --
> Tomáš Golembiovský 


-- 
Tomáš Golembiovský 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Windows 2016 Sysprep - Fixed IP

2017-07-27 Thread Tomáš Golembiovský
On Thu, 27 Jul 2017 04:30:16 -0500
Sven Achtelik  wrote:

> OK, and would that answer file pick up the fields from the GUI or would I 
> have to set everything in that answer file ? 

No it would not. You have to set everything you want in your answer file.

Tomas

> 
> -Ursprüngliche Nachricht-
> Von: Tomáš Golembiovský [mailto:tgole...@redhat.com] 
> Gesendet: Donnerstag, 27. Juli 2017 11:28
> An: Sven Achtelik 
> Cc: users@ovirt.org
> Betreff: Re: [ovirt-users] Windows 2016 Sysprep - Fixed IP
> 
> Hi,
> 
> On Wed, 26 Jul 2017 09:02:45 -0500
> Sven Achtelik  wrote:
> 
> > Hi All,
> > 
> > I'm looking into configuring a Windows 2016 Template via Run Once to have 
> > an static IP. Is there any way to do that ? Maybe over the Sysrep Section ? 
> > I didn't find an answer about how to use it or what syntax should be used ? 
> > Must I put a complete answer file into it or will this section on overwrite 
> > specific parts of the original file that resides on the engine ?  
> 
> You have to put there complete answer file. The XML templates on engine are 
> not used in this case.
> 
> Although, I'm not sure if you can set IP address through the answer file.
> 
> Tomas
> 
> > 
> > Thank you,
> > Sven  
> 
> 
> --
> Tomáš Golembiovský 


-- 
Tomáš Golembiovský 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] oVirt VM backups

2017-07-27 Thread Abi Askushi
Hi All,

For VM backups I am using some python script to automate the snapshot ->
clone -> export -> delete steps (although with some issues when trying to
backups a Windows 10 VM)

I was wondering if there is there any plan to integrate VM backups in the
GUI or what other recommended ways exist out there.

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


Re: [ovirt-users] Windows 2016 Sysprep - Fixed IP

2017-07-27 Thread Tomáš Golembiovský
Hi,

On Wed, 26 Jul 2017 09:02:45 -0500
Sven Achtelik  wrote:

> Hi All,
> 
> I'm looking into configuring a Windows 2016 Template via Run Once to have an 
> static IP. Is there any way to do that ? Maybe over the Sysrep Section ? I 
> didn't find an answer about how to use it or what syntax should be used ? 
> Must I put a complete answer file into it or will this section on overwrite 
> specific parts of the original file that resides on the engine ?

You have to put there complete answer file. The XML templates on engine
are not used in this case.

Although, I'm not sure if you can set IP address through the answer file.

Tomas

> 
> Thank you,
> Sven


-- 
Tomáš Golembiovský 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt and Foreman

2017-07-27 Thread Juan Hernández

On 07/27/2017 09:46 AM, Davide Ferrari wrote:

On 25/07/17 10:59, Davide Ferrari wrote:


Hello

I've attached logs from:

- hammer cli (debug) with the command line I've used

- foreman logs

- ovirt engine logs (server.log)



Any idea about what might be happening?



Looks like the oVirt engine is rejecting the request to add the disk 
because some of the related entities doesn't exist. This is the relevant 
message in the engine log:


  2017-07-25 08:28:03,063Z ERROR 
[org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default 
task-51) [] Operation Failed: Entity not found: 
23f8f1ae-a3ac-47bf-8223-5b5f7c29e508


Would be nice if you can check the /var/log/httpd/ssl_access_log in the 
oVirt engine machine. There should be a line there with the 404 HTTP 
status, something like this:


  POST /ovirt-engine/api/vms//disks 404

What is the exact content of that line? Is the VM id the one that 
appears in the above message.


Also, can you check what are the identifiers of the relevant data center 
and storage domains?


There should also be additional details in the 
/var/log/ovirt-engine/server.log file. Please check it.

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


Re: [ovirt-users] Feature: Maximum memory size | BUG

2017-07-27 Thread Michal Skrivanek

> On 26 Jul 2017, at 14:59, Ladislav Humenik  wrote:
> 
> Hallo, after engine update to 4.1.2 from 4.0.6 we have following bug
> 
> *Your Future Description: *
> 
> Maximum memory value is stored in |VmBase.maxMemorySizeMb| property. It is 
> validated against range [/memory of VM/, /*MaxMemorySizeInMB/], where 
> /*MaxMemorySizeInMB/ is one of |VM32BitMaxMemorySizeInMB|, 
> |VM64BitMaxMemorySizeInMB| and |VMPpc64BitMaxMemorySizeInMB| configuration 
> options depending on selected operating system of the VM. Default value in 
> webadmin UI is 4x size of memory.
> 
> During migration of engine 4.0 -> 4.1 all VM-like entities will get max 
> memory = 4x memory.
> 
> If a VM (or template) is imported (from export domain, snapshot, external 
> system) and doesn't have max memory set yet, the maximum value of max memory 
> is set (|*MaxMemorySizeInMB| config options).
> 
> *Our engine settings:*
> [root@ovirt]# engine-config -g VM64BitMaxMemorySizeInMB
> VM64BitMaxMemorySizeInMB: 8388608 version: 4.1
> VM64BitMaxMemorySizeInMB: 8388608 version: 3.6
> VM64BitMaxMemorySizeInMB: 8388608 version: 4.0
> [root@ovirt# engine-config -g VM32BitMaxMemorySizeInMB
> VM32BitMaxMemorySizeInMB: 20480 version: general
> 
> *Template:
> *engine=# select vm_guid,vm_name,mem_size_mb,max_memory_size_mb from 
> vm_static where vm_name LIKE 'Blank';
>   vm_guid| vm_name | mem_size_mb | 
> max_memory_size_mb
> --+-+-+
> ---- | Blank   |8192 |  
> 32768
> (1 row)
> 
> *Created VM*
> - expected is mem_size_mb * VM64BitMaxMemorySizeInMB
> - we get mem_size_mb * 4 (default)
> 
> *Engine: *engine=# select vm_guid,vm_name,mem_size_mb,max_memory_size_mb from 
> vm_static where vm_name LIKE 'vm-hotplug%';
>   vm_guid|   vm_name   | mem_size_mb | 
> max_memory_size_mb
> --+-+-+
> 254a0c61-3c0a-41e7-a2ec-5f77cabbe533 | vm-hotplug  |1024 |
>4096
> c0794a03-58ba-4e68-8f43-e0320032830c | vm-hotplug2 |3072 |
>   12288
> (2 rows)
> 
> *Question:*
> It is possible to change this (default * 4) behavior in DB??

Hi,
no, not really, it’s just a UI-side default suggestion.
In API you supply it yourself in the request, any value you would want. It just 
limits the max hotpluggable amount of memory

Thanks,
michal

> 
> Kind Regards,
> Ladislav Humenik, System administrator
> 
> ___
> 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] Feature: Maximum memory size | BUG

2017-07-27 Thread Ladislav Humenik

Hello, thank you for fast response.

The point of changing the max_mem_size is little tricky, as we have 
environments with together ~13k VMs running on top of ovirt, no kidding 
:) and currently doing upgrades from 3.6 > 4.1. So we can easy set those 
values to the needed ones for every VM, thats not a big deal.


However, I was just hoping it is editable without changing/modifying our 
current API calls, for any newly created VM (as this is the reason for 
asking for help), somewhere in engine-config or in DB.


I'll just opened an RFE https://bugzilla.redhat.com/show_bug.cgi?id=1475382

Best regards,
Ladislav Humenik

On 26.07.2017 15:58, Michal Skrivanek wrote:


On 26 Jul 2017, at 16:50, Jakub Niedermertl > wrote:


Hello Ladislav,

the function computing size of default maximum memory size is 
currently not configurable from DB.


If you want it to be so please feel free to file an RFE [1].

[1]: https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine

Best regards,
Jakub

On Wed, Jul 26, 2017 at 1:59 PM, Ladislav Humenik 
> wrote:


Hallo, after engine update to 4.1.2 from 4.0.6 we have following bug

*Your Future Description: *

Maximum memory value is stored in |VmBase.maxMemorySizeMb|
property. It is validated against range [/memory of VM/,
/*MaxMemorySizeInMB/], where /*MaxMemorySizeInMB/ is one of
|VM32BitMaxMemorySizeInMB|, |VM64BitMaxMemorySizeInMB| and
|VMPpc64BitMaxMemorySizeInMB| configuration options depending on
selected operating system of the VM. Default value in webadmin UI
is 4x size of memory.

During migration of engine 4.0 -> 4.1 all VM-like entities will
get max memory = 4x memory.

If a VM (or template) is imported (from export domain, snapshot,
external system) and doesn't have max memory set yet, the maximum
value of max memory is set (|*MaxMemorySizeInMB| config options).

*Our engine settings:*
[root@ovirt]# engine-config -g VM64BitMaxMemorySizeInMB
VM64BitMaxMemorySizeInMB: 8388608 version: 4.1
VM64BitMaxMemorySizeInMB: 8388608 version: 3.6
VM64BitMaxMemorySizeInMB: 8388608 version: 4.0
[root@ovirt# engine-config -g VM32BitMaxMemorySizeInMB
VM32BitMaxMemorySizeInMB: 20480 version: general

*Template:
*engine=# select vm_guid,vm_name,mem_size_mb,max_memory_size_mb
from vm_static where vm_name LIKE 'Blank';
   vm_guid| vm_name | mem_size_mb |
max_memory_size_mb

--+-+-+
 ---- | Blank   |8192 | 
32768

(1 row)

*Created VM*
- expected is mem_size_mb * VM64BitMaxMemorySizeInMB
- we get mem_size_mb * 4 (default)

*Engine: *engine=# select
vm_guid,vm_name,mem_size_mb,max_memory_size_mb from vm_static
where vm_name LIKE 'vm-hotplug%';
   vm_guid|   vm_name   | mem_size_mb
| max_memory_size_mb

--+-+-+
 254a0c61-3c0a-41e7-a2ec-5f77cabbe533 | vm-hotplug  |1024
|   4096
 c0794a03-58ba-4e68-8f43-e0320032830c | vm-hotplug2 |3072
|  12288
(2 rows)

*Question:*
It is possible to change this (default * 4) behavior in DB??



if the issue is with GUI then setting the max memory in the template 
would be inherited to all VMs from that template, you can even change 
that in “Blank” I think, Jakube?
That’s for the default case, you can change that any way you like for 
the concrete VM you’re creating.
if the issue is with API you can simply provide any number for the max 
mem in all the requests


the VM[64|32]BitMaxMemorySizeInMB values are for the total maximum the 
particular qemu we ship supports, it’s not anything you should need to 
change.


Thanks,
michal



Kind Regards,
Ladislav Humenik, System administrator


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




--
Ladislav Humenik

System administrator / VI
IT Operations Hosting Infrastructure

1&1 Internet SE | Ernst-Frey-Str. 5 | 76135 Karlsruhe | Germany
Phone: +49 721 91374-8361
E-Mail: ladislav.hume...@1und1.de | Web: www.1und1.de

Hauptsitz Montabaur, Amtsgericht Montabaur, HRB 24498

Vorstand: Robert Hoffmann, Hans-Henning Kettler, Uwe Lamnek, Matthias Steinberg
Aufsichtsratsvorsitzender: René Obermann


Member of United Internet

Diese E-Mail kann vertrauliche und/oder gesetzlich geschützte Informationen 
enthalten. Wenn Sie nicht der bestimmungsgemäße Adressat sind oder diese E-Mail 
irrtümlich erhalten haben, unterrichten Sie bitte den Absender und vernichten 
Sie diese E-Mail. Anderen als dem bestimmungsgemäßen 

[ovirt-users] Feature: Maximum memory size | BUG

2017-07-27 Thread Ladislav Humenik

Hallo, after engine update to 4.1.2 from 4.0.6 we have following bug

*Your Future Description: *

Maximum memory value is stored in |VmBase.maxMemorySizeMb| property. It 
is validated against range [/memory of VM/, /*MaxMemorySizeInMB/], where 
/*MaxMemorySizeInMB/ is one of |VM32BitMaxMemorySizeInMB|, 
|VM64BitMaxMemorySizeInMB| and |VMPpc64BitMaxMemorySizeInMB| 
configuration options depending on selected operating system of the VM. 
Default value in webadmin UI is 4x size of memory.


During migration of engine 4.0 -> 4.1 all VM-like entities will get max 
memory = 4x memory.


If a VM (or template) is imported (from export domain, snapshot, 
external system) and doesn't have max memory set yet, the maximum value 
of max memory is set (|*MaxMemorySizeInMB| config options).


*Our engine settings:*
[root@ovirt]# engine-config -g VM64BitMaxMemorySizeInMB
VM64BitMaxMemorySizeInMB: 8388608 version: 4.1
VM64BitMaxMemorySizeInMB: 8388608 version: 3.6
VM64BitMaxMemorySizeInMB: 8388608 version: 4.0
[root@ovirt# engine-config -g VM32BitMaxMemorySizeInMB
VM32BitMaxMemorySizeInMB: 20480 version: general

*Template:
*engine=# select vm_guid,vm_name,mem_size_mb,max_memory_size_mb from 
vm_static where vm_name LIKE 'Blank';
   vm_guid| vm_name | mem_size_mb | 
max_memory_size_mb

--+-+-+
 ---- | Blank   |8192 
|  32768

(1 row)

*Created VM*
- expected is mem_size_mb * VM64BitMaxMemorySizeInMB
- we get mem_size_mb * 4 (default)

*Engine: *engine=# select vm_guid,vm_name,mem_size_mb,max_memory_size_mb 
from vm_static where vm_name LIKE 'vm-hotplug%';
   vm_guid|   vm_name   | mem_size_mb | 
max_memory_size_mb

--+-+-+
 254a0c61-3c0a-41e7-a2ec-5f77cabbe533 | vm-hotplug  |1024 
|   4096
 c0794a03-58ba-4e68-8f43-e0320032830c | vm-hotplug2 |3072 
|  12288

(2 rows)

*Question:*
It is possible to change this (default * 4) behavior in DB??

Kind Regards,
Ladislav Humenik, System administrator

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


Re: [ovirt-users] oVirt and Foreman

2017-07-27 Thread Davide Ferrari

On 25/07/17 10:59, Davide Ferrari wrote:


Hello

I've attached logs from:

- hammer cli (debug) with the command line I've used

- foreman logs

- ovirt engine logs (server.log)



Any idea about what might be happening?

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