[ovirt-users] Strange events during upgrade process to 4.5.4

2023-10-21 Thread james . kump
I recently began managing an Ovirt cluster.  It has 5 cpu nodes and 3 gpu nodes 
in two clusters.  When I started it was at 4.2.8 with a standalone engine.  I 
have henceforth been steadily upgrading it to 4.5.4.  I followed the upgrade 
guide and was successful in upgrading all 9 nodes from 4.2 to 4.3.10.  I then 
upgraded the engine to centos 8 with 4.4 engine.  I then rebuilt each of the 
nodes in the two data clusters to centos 8 ovirt 4.4 using the ovirt node 
installer iso.  They all joined the engine correctly.  I then upgraded the 
compatibility to 4.3 in both clusters and rebooted all the running VM's to also 
be at 4.3 compatibility.  I then upgraded the engine to 4.5.4 and proceeded to 
upgrade two nodes to 4.5.4.  They were successful and reattached to the engine 
correctly.  Here is where my issue arises.  Any VM that I migrate to the 4.5.4 
node from a 4.4.10 node migrates correctly and then within 5 minutes will 
automatically migrate back.  If I force pin a VM it stays running.  
 I have searched the logs but not found anything to explain such behavior.

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


[ovirt-users] securing ovirt vnc console

2023-06-28 Thread Bill James
Our security requirements require that we disable tls1.0 and tla1.1 for VNC
port, 59xx.
I have not yet been able to find where this can be done, only for spice
console.
Can anyone assist in pointing me to what config file controls this?

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


[ovirt-users] Unable to change engine-config

2023-03-25 Thread James Wadsworth
I wanted to change the default keyboard layout. I ran 
# engine-config -s VncKeyboardLayout=it
Picked up JAVA_TOOL_OPTIONS: -Dcom.redhat.fips=false
Cannot set value it to key VncKeyboardLayout. Valid values are 
[ar,cz,da,de,de-ch,en-gb,en-us,es,et,fi,fo,fr,fr-be,fr-ca,fr-ch,hr,hu,is,it,ja,lt,lv,mk,nl,no,pl,pt,pt-br,ru,sl,sv,th,tr]

I have tried with other values but the same result:
# engine-config -s ClientModeConsoleDefault=vnc
Picked up JAVA_TOOL_OPTIONS: -Dcom.redhat.fips=false
Cannot set value vnc to key ClientModeConsoleDefault. Valid values are 
[vnc,spice]

Am I making a mistake with the syntax or should I open a bug?
Thanks, James
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/3T4RKHHLW7PWW2K4UDN2OJWCB7VP46FM/


[ovirt-users] Re: Unable to reinstall 2nd and 3rd Host after restore HE backup onto 1st host

2023-03-25 Thread James Wadsworth
Well after many hours of debugging the issue was not with hosts but with the 
ovirt-engine. We didn't think it was the engine because we had successfully 
redeployed the engine on the first host. However it was the engine and it was 
due to the fact it was running the latest version of ansible 2.14.2  which uses 
python3.11. Unfortunately python3.11 does not have all the module yet compiled 
for this version so the adding of the host failed due to the netaddr module 
being missing. So we put python3.6 as the default version on the system because 
vdsm and other service need this version. We then copied from python3.9 the 
module netaddr to the python3.11 module folder. At this point we could 
reinstall the hosts. 

Somebody else had exactly the same problem at the same time and you can read 
the issue report here.
https://github.com/oVirt/ovirt-ansible-collection/issues/695
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JRQEKUJ6J4KPMHIDH4UGIR2ZBD64BW5E/


[ovirt-users] Unable to reinstall 2nd and 3rd Host after restore HE backup onto 1st host

2023-03-23 Thread James Wadsworth
ec=100ms expired, scheduling restart.
Mar 23 09:34:35 ovirt2.ad.tintolav.com systemd[1]: supervdsmd.service: 
Scheduled restart job, restart counter is at 5.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Automatic restarting of the unit supervdsmd.service has been scheduled, as 
the result for
-- the configured Restart= setting for the unit.
Mar 23 09:34:35 ovirt2.ad.tintolav.com systemd[1]: Stopped Auxiliary vdsm 
service for running helper functions as root.
-- Subject: Unit supervdsmd.service has finished shutting down
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit supervdsmd.service has finished shutting down.
Mar 23 09:34:35 ovirt2.ad.tintolav.com systemd[1]: supervdsmd.service: Start 
request repeated too quickly.
Mar 23 09:34:35 ovirt2.ad.tintolav.com systemd[1]: supervdsmd.service: Failed 
with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- The unit supervdsmd.service has entered the 'failed' state with result 
'exit-code'.
Mar 23 09:34:35 ovirt2.ad.tintolav.com systemd[1]: Failed to start Auxiliary 
vdsm service for running helper functions as root.
-- Subject: Unit supervdsmd.service has failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit supervdsmd.service has failed.
--
-- The result is failed.

It gives the same error on the 3rd host.

Is this a python dependency issue? We are currently using python3.9. Does 
anyone have any ideas how we get host 2 and 3 up and running again in the 
cluster? 
Thanks James
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/PHVNOASPZK3MNTGWTBTHZ5FA3AMDTDN2/


[ovirt-users] Re: Ovirt 4.4.10 running on RHEL 8.7

2023-01-19 Thread James Wadsworth
Thanks for your reply. After studying the documentation further I think the 
safest option will to set the rhel release to 8.5 while we are running 4.4
subscription-manager release --set=8.5
subscription-manager release --show

Then update the cluster to 4.4.10. After which we set the release to rhel 8.6 
and update to ovit 4.5 following the instruction in the link
https://www.ovirt.org/download/install_on_rhel.html

What are people's thoughts on this?



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


[ovirt-users] Ovirt 4.4.10 running on RHEL 8.7

2023-01-18 Thread James Wadsworth
Hi there, 

we currently have ovirt 4.4.9 running on RHEL 8.5. 

Can we upgrade the cluster to ovirt 4.4.10 on RHEL 8.7? 
Do we need to following these steps in this link?

https://www.ovirt.org/download/install_on_rhel.html

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


[ovirt-users] Re: ovirt vms NotResponding related to firewalls

2022-08-01 Thread Bill James
reposting after signing up my new email address...

On Thu, Jul 28, 2022 at 8:02 PM Bill James  wrote:

> we recently added a bunch of firewalls around vlans where our VMs live and
> it may be causing a lot of confusion to ovirt management node?
> Though I don't know why firewall would cause intermittent problems.
>
> We see a lot of errors like: (in engine.log)
>
> 2022-07-28 19:39:47,923-07 INFO  
> [org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer]
> (ForkJoinPool-1-worker-1) [] VM '6e177451-d43f-4e
>
> 91-85ad-6b8f3bcfc4ad'(epayfraud2.j2noc.com) moved from 'NotResponding'
> --> 'Up'
>
> ...
>
> 2022-07-28 19:39:53,676-07 WARN  
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (EE-ManagedThreadFactory-engineSch
>
> eduled-Thread-58) [] EVENT_ID: VM_NOT_RESPONDING(126), VM epayfraud
> 2.j2noc.com is not responding.
>
> ...
>
> 2022-07-28 19:40:36,189-07 INFO  
> [org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer]
> (ForkJoinPool-1-worker-10) [] VM '6e177451-d43f-4e91-85ad-6b8f3bcfc4ad'(
> epayfraud2.j2noc.com) moved from 'NotResponding' --> 'Up'
>
>
>
> I guess my first question is how does ovirt determine if VM is up or not,
> is it the management node or the host VM is running on and what ports does
> it use to determine health?
>
>
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/EMAQHOIPFURD4GFRLDVJHDY4N7WCQ6RB/


[ovirt-users] ovirt vms NotResponding related to firewalls

2022-08-01 Thread Bill James
we recently added a bunch of firewalls around vlans where our VMs live and
it may be causing a lot of confusion to ovirt management node?
Though I don't know why firewall would cause intermittent problems.

We see a lot of errors like: (in engine.log)

2022-07-28 19:39:47,923-07 INFO
[org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer]
(ForkJoinPool-1-worker-1) [] VM '6e177451-d43f-4e

91-85ad-6b8f3bcfc4ad'(epayfraud2.j2noc.com) moved from 'NotResponding' -->
'Up'

...

2022-07-28 19:39:53,676-07 WARN
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(EE-ManagedThreadFactory-engineSch

eduled-Thread-58) [] EVENT_ID: VM_NOT_RESPONDING(126), VM epayfraud
2.j2noc.com is not responding.

...

2022-07-28 19:40:36,189-07 INFO
[org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer]
(ForkJoinPool-1-worker-10) [] VM '6e177451-d43f-4e91-85ad-6b8f3bcfc4ad'(
epayfraud2.j2noc.com) moved from 'NotResponding' --> 'Up'



I guess my first question is how does ovirt determine if VM is up or not,
is it the management node or the host VM is running on and what ports does
it use to determine health?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/4VF6WRL4G6LJEIMFIEJBAI2AL74BL4YE/


[ovirt-users] Re: Cannot to update hosts, nothing provides libvirt-daemon-kvm >= 7.6.0-2 needed by vdsm-4.40.90.4-1.el8.x86_64

2021-11-18 Thread James Wadsworth
We had the same problem when updating to 4.4.9 on RHEL 8.4

Essentially to get past the problem we installed the following repo
# /etc/yum/repos.d/ovirt-4.4-stream-advanced-virt.repo
[ovirt-centos-stream-advanced-virtualization]
name=Advanced Virtualization CentOS Stream testing packages for $basearch
baseurl=https://buildlogs.centos.org/centos/8-stream/virt/$basearch/advancedvirt-common/
enabled=1
gpgcheck=0
module_hotfixes=1

The solution can be found in this thread
https://www.mail-archive.com/users@ovirt.org/msg68142.html
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/RFQJBVEUGQVS6LARQLWCEF4H7JYPE5GV/


[ovirt-users] Impossible to move disk after a previous disk move failed

2021-08-23 Thread James Wadsworth
n.CannotCreateLogicalVolume: Cannot create Logical Volume: 
'vgname=c23a5bef-48e0-46c7-9d5b-93c97f0240c0 
lvname=432ceb20-efb7-4a40-8431-1b5c825a6168 err=[\'  Logical Volume 
"432ceb20-efb7-4a40-8431-1b5c825a6168" already exists in volume group 
"c23a5bef-48e0-46c7-9d5b-93c97f0240c0"\']'

The logical volume it is trying to create already exists in the volume group. 
Can anyone help me get out of this situation?

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


[ovirt-users] Re: [OLVM] Host non responsive after installation

2021-05-03 Thread James Loker-Steele via Users
If it helps, I had to create a network called ovirtmgmt.

This was my network setup
Configure 2 nics to be in a bond.
Configure a bond with the bridge being ovirtmgmt
Configure a bridge called ovirtmgmt with a static up.

Make sure ovirtmgmt is DEFROUTE=Yes



Sent from my iPhone

> On 3 May 2021, at 17:17, Alan Daniels  wrote:
> 
> 
> Some new information: I found that the VDSM traffic (anything not SSH) was 
> being blocked by the default network security rules (not on the host). After 
> fixing this, I am still unable to add a host though.
> 
> If I try
> vdsm-client -a  Host getCapabilities
> I get this error:
> [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618)
> 
> Rather than the previous error of just timing out. So maybe there is still an 
> issue with the certs.
> 
> When I add the host, it now fails with:
> VDSM GPU2-2 command HostSetupNetworksVDS failed: Message timeout which can be 
> caused by communication issues
> and I can't SSH into the host anymore.
> 
> If I restart the host, it becomes NonOperational because ovirtmgmt is missing.
> 
> Thanks!
> - Alan
> 
>> On Mon, May 3, 2021 at 9:20 AM Alan Daniels  wrote:
>> I'll research this. Could you give me some more details on what to do?
>> 
>> Can I use vdsm-client -a  to test this as well? 
>> 
>>> On Mon, May 3, 2021 at 2:26 AM Ales Musil  wrote:
>>> I can see some ssl handshake: SSLError.
>>> 
>>> I would recommend reinstalling certificates from the engine. 
>>> 
>>> Regards,
>>> Ales
>>> 
 On Sun, May 2, 2021 at 2:50 PM Alan Daniels  wrote:
 Logs can be found here: 
 https://www.dropbox.com/s/vdvkj7kp0d4d73v/vdsmlogs.tar.gz?dl=0
 
 Couldn't attach them directly due to size limits.
 
 Thanks!
 - Alan
 
> On Fri, Apr 30, 2021 at 3:06 AM Ales Musil  wrote:
> 
> 
>> On Wed, Apr 28, 2021 at 3:09 PM  wrote:
>> oVirt version: 4.3
>> - ovirt-engine-appliance.x86_64 4.3-20200603.1.0.2.el7
>> vdsm version: 4.30.46-1.0.3.el7
>> 
>> I can connect to the host manually. If I supply invalid SSH args when 
>> adding the host, it fails immediately rather than running for a while 
>> and failing later.
> 
> Can you please share vdsm.log and supervdsm.log from the host? 
> 
> Thanks,
> Ales
> 
>  
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/privacy-policy.html
>> oVirt Code of Conduct: 
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives: 
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/3IZYCB37KK2VXTIZHEHJQ6WQOWAEZHAC/
> 
> 
> -- 
> Ales Musil
> Software Engineer - RHV Network
> Red Hat EMEA
> amu...@redhat.comIM: amusil
>  
>>> 
>>> 
>>> -- 
>>> Ales Musil
>>> Software Engineer - RHV Network
>>> Red Hat EMEA
>>> amu...@redhat.comIM: amusil
>>>  
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/KTCZI3ZVRKPKC3NT6JEO4KNBJ2LLKZFU/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/2A2CN3VSXPZI6Z6PII2LU5U6P5LVVJKM/


[ovirt-users] Re: host certification is about to expire

2021-04-22 Thread Bill James
restarting vdsmd did the trick, thank you!


On Tue, Apr 20, 2021 at 11:58 PM Yedidyah Bar David  wrote:

> On Tue, Apr 20, 2021 at 9:07 PM Bill James  wrote:
> >
> > Thank you for reply.
> > Notice Enroll cert was done 4/15, but still getting notices.
> >
> >
> > engine.log:
> >
> > 2021-04-19 20:05:59,922-07 WARN
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (EE-ManagedThreadFactory-engineScheduled-Thread-58) [] EVENT_ID:
> HOST_CERTIFICATION_IS_ABOUT_TO_EXPIRE(845), Host ovirt1.j2noc.com
> certification is about to expire at 2021-05-12. Please renew the host's
> certification.
> >
> > ..
> >
> >
> >
> > 2021-04-15 20:25:47,964-07 INFO
> [org.ovirt.engine.core.bll.hostdeploy.HostEnrollCertificateCommand]
> (default task-3) [6b9b252b-e78a-4f46-983c-58b4162c2818] Running command:
> HostEnrollCertificateCommand internal: false. Entities affected :  ID:
> 23d2c0ab-5dd1-43af-9db3-2a426a539faf Type: VDSAction group
> EDIT_HOST_CONFIGURATION with role type ADMIN
> >
> > 2021-04-15 20:25:48,004-07 INFO
> [org.ovirt.engine.core.bll.hostdeploy.HostEnrollCertificateInternalCommand]
> (EE-ManagedThreadFactory-commandCoordinator-Thread-1)
> [6b9b252b-e78a-4f46-983c-58b4162c2818] Running command:
> HostEnrollCertificateInternalCommand internal: true. Entities affected :
> ID: 23d2c0ab-5dd1-43af-9db3-2a426a539faf Type: VDS
> >
> > 2021-04-15 20:25:48,012-07 INFO
> [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand]
> (EE-ManagedThreadFactory-commandCoordinator-Thread-1)
> [6b9b252b-e78a-4f46-983c-58b4162c2818] START,
> SetVdsStatusVDSCommand(HostName = ovirt1.j2noc.com,
> SetVdsStatusVDSCommandParameters:{hostId='23d2c0ab-5dd1-43af-9db3-2a426a539faf',
> status='Installing', nonOperationalReason='NONE',
> stopSpmFailureLogged='false', maintenanceReason='null'}), log id: 2c9a2bff
> >
> > 2021-04-15 20:25:48,021-07 INFO
> [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand]
> (EE-ManagedThreadFactory-commandCoordinator-Thread-1)
> [6b9b252b-e78a-4f46-983c-58b4162c2818] FINISH, SetVdsStatusVDSCommand,
> return: , log id: 2c9a2bff
> >
> > 2021-04-15 20:25:48,037-07 INFO
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (default task-3) [6b9b252b-e78a-4f46-983c-58b4162c2818] EVENT_ID:
> HOST_CERTIFICATION_ENROLLMENT_STARTED(880), Enrolling certificate for host
> ovirt1.j2noc.com was started (User: bill.ja...@j2global.com
> @j2global.com-authz).
> >
> > 2021-04-15 20:25:48,058-07 INFO
> [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand]
> (EE-ManagedThreadFactory-commandCoordinator-Thread-1)
> [6b9b252b-e78a-4f46-983c-58b4162c2818] START,
> SetVdsStatusVDSCommand(HostName = ovirt1.j2noc.com,
> SetVdsStatusVDSCommandParameters:{hostId='23d2c0ab-5dd1-43af-9db3-2a426a539faf',
> status='Maintenance', nonOperationalReason='NONE',
> stopSpmFailureLogged='false', maintenanceReason='null'}), log id: e46428c
> >
> > 2021-04-15 20:25:48,062-07 INFO
> [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand]
> (EE-ManagedThreadFactory-commandCoordinator-Thread-1)
> [6b9b252b-e78a-4f46-983c-58b4162c2818] FINISH,
> >
> >  SetVdsStatusVDSCommand, return: , log id: e46428c
> >
> > 2021-04-15 20:25:48,069-07 INFO
> [org.ovirt.engine.core.common.utils.ansible.AnsibleExecutor]
> (EE-ManagedThreadFactory-commandCoordinator-Thread-1)
> [6b9b252b-e78a-4f46-983c-58b4162c2818] Executing Ansible command:
> /usr/bin/ansible-playbook --ssh-common-args=-F
> /var/lib/ovirt-engine/.ssh/config -v
> --private-key=/etc/pki/ovirt-engine/keys/engine_id_rsa
> --inventory=/tmp/ansible-inventory8413305606879978005
> --extra-vars=ovirt_organizationname="j2noc.com"
> --extra-vars=ovirt_ca_cert="-BEGIN CERTIFICATE-
> >
> >
> MIIDrjCCApagAwIBAgICEAAwDQYJKoZIhvcNAQEFBQAwQTELMAkGA1UEBhMCVVMxEjAQBgNVBAoT
> >
> >
> CWoybm9jLmNvbTEeMBwGA1UEAxMVb3ZpcnQuajJub2MuY29tLjE4NjU1MB4XDTE2MDUxMjE0NDUz
> >
> >
> MloXDTI2MDUxMTE0NDUzMlowQTELMAkGA1UEBhMCVVMxEjAQBgNVBAoTCWoybm9jLmNvbTEeMBwG
> >
> >
> A1UEAxMVb3ZpcnQuajJub2MuY29tLjE4NjU1MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC
> >
> >
> AQEAvGatrRaRs2lnC/uT2caEij9cAzrYeJvnskCUY/iJoVGZuERDmU0QanvEUIIKlcjAqJsAb3Z4
> >
> >
> 4h63RoXNshnvFUP7L0DR2YvfrKWnDV3AlA/rEQ8jwLedGGsvM/AxzTMaSlnlcJYSlJXeQKHEhc84
> >
> >
> OTF8k+KalJditE9XWS/Z+OV9T3RcnE5QpBNJDKgg0W42WU4Y2K8r+Jwpso0Ea7YZuMck8GORnQOD
> >
> >
> vlQbGvj/6pOBcMyAIeVa0puTFIsGuje0dM7VUYl/DP/2T8kwJJtDM7cgaV94KSUTJbjdBLshWSPI
> >
> >
> Jj5LK1s7k3FGqGlPdjiXsbccZ8wUs439HwjMm7C6SQIDAQABo4GvMIGsMB0GA1UdDgQWBBRVi07z
> >
&g

[ovirt-users] Re: host certification is about to expire

2021-04-20 Thread Bill James
ars=ovirt_ca_key="ssh-rsa
B3NzaC1yc2EDAQABAAABAQC8Zq2tFpGzaWcL+5PZxoSKP1wDOth4m+eyQJRj+ImhUZm4REOZTRBqe8RQggqVyMComwBvdnjiHrdGhc2yGe8VQ/svQNHZi9+spacNXcCUD+sRDyPAt50Yay8z8DHNMxpKWeVwlhKUld5AocSFzzg5MXyT4pqUl2K0T1dZL9n45X1PdFycTlCkE0kMqCDRbjZZThjYryv4nCmyjQRrthm4xyTwY5GdA4O+VBsa+P/qk4FwzIAh5VrSm5MUiwa6N7R0ztVRiX8M//ZPyTAkm0MztyBpX3gpJRMluN0EuyFZI8gmPksrWzuTcUaoaU92OJextxxnzBSzjf0fCMybsLpJ"
--extra-vars=ovirt_vdscertificatevalidityinyears="5"
/usr/share/ovirt-engine/playbooks/ovirt-host-enroll-certificate.yml
[Logfile:
/var/log/ovirt-engine/host-deploy/ovirt-enroll-certs-ansible-20210415202548-10.144.110.99-6b9b252b-e78a-4f46-983c-58b4162c2818.log]



ovirt-enroll-certs-ansible-20210415202548-10.144.110.99-6b9b252b-e78a-4f46-983c-58b4162c2818.log
attached.



On Mon, Apr 19, 2021 at 10:37 PM Yedidyah Bar David  wrote:

> On Mon, Apr 19, 2021 at 8:15 PM Bill James  wrote:
> >
> > I get this message from ovirt:
> > Message:Host  certification is about to expire at 2021-05-12.
> Please renew the host's certification.
> >
> > I tried putting host in maintenance mode and running "enroll
> certificate". Didn't help.
>
> Please check/share relevant logs (on the engine machine) -
> /var/log/ovirt-engine/engine.log and
> /var/log/ovirt-engine/host-deploy/* . Thanks.
>
> >
> > How do I renew the certificate?
>
> 'Enroll Certificate' should have worked. In principle you can also try
> 'Reinstall', which is not that much more drastic than 'Enroll
> Certificate' on a working host, but does do a bit more.
>
> >
> > I'm running 4.3.9.4-1.el7
>
> Please note that this is EOL. Also, the host-deploy code (including
> all of above) was rewritten in ansible in 4.4 (not implying the old
> code was/is broken, though).
>
> Best regards,
> --
> Didi
>
>

-- 


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 email 
and delete the original message and any copies.



ovirt-enroll-certs-ansible-20210415202548-10.144.110.99-6b9b252b-e78a-4f46-983c-58b4162c2818.log
Description: Binary data
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/HEQF4NE7AT7GH6TEXW245FJIJAT2DPXF/


[ovirt-users] host certification is about to expire

2021-04-19 Thread Bill James
I get this message from ovirt:
Message:Host  certification is about to expire at 2021-05-12.
Please renew the host's certification.

I tried putting host in maintenance mode and running "enroll certificate".
Didn't help.

How do I renew the certificate?

I'm running* 4.3.9.4-1.el7*


*Thanks.*

-- 


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 email 
and delete the original message and any copies.

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


[ovirt-users] Re: Change of IP's

2021-01-20 Thread James Loker-Steele via Users
Quite literally just done this.
Put a host  in maintenance
Remove the host from the cluster/ovirt engine.
Edit the network interface from terminal
Edit both files in /var/lib/vdsm/persistence/nets/ovirtmgmt 
And

/var/lib/vdsm/staging/nets/ovirtmgmt 
Edit the hosts file in /etc/hosts with new IP address 
Reboot host.
Do the same on the second host

Re-add hosts to ovirt management


Sent from my iPhone

> On 21 Jan 2021, at 07:10, Román Larumbe S. via Users  wrote:
> 
> 
> Hello,
> 
> I have a Dell VRTX with 2 M640 servers, we installed oVirt version 
> 4.3.10.4-1.el7, we have 1 cluster, 2 hosts and 2 storage domains.
> 
> I need to change ALL the network environment solution, that is, from IP's 
> 192.168.11.XX to 172.16.10.XX.
> 
> Can anybody help me?
> 
> Thank you.
> 
> 
> 
> Román Larumbe S.
> 
> Facebook: Serahp LS
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/75LGGOWTBH2VVMSVGFJ6SZZMJNUVIJCZ/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/EG2VGQM3O22UWWHEC2L3VR67DEMYES4R/


[ovirt-users] Re: Install of RHV 4.4 failing - "Host is not up, please check logs, perhaps also on the engine machine"

2021-01-19 Thread James Freeman
So grateful for your help here - I ran tcpdump on the host, and I saw 
the connection requests to the host from the hosted-engine on 54321/tcp, 
so I was kind of getting there on the whole vdsm thing.


The install just fell over again (same issue - the 120 second timeout 
you described). Taking a step back here, I think something is wrong very 
early on in my upgrade process. My environment is:


2 x RHEL based hosts (previously RHEL 7 - to be re-installed with RHEL 8 
as per install documentation)

NFS based storage
Self-hosted engine

I have been following the documentation here:

https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html-single/upgrade_guide/index#SHE_Upgrading_from_4-3

And specifically here:

https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html-single/upgrade_guide/index#Upgrading_the_Manager_to_4-4_4-3_SHE

All pre-requisite steps are done - the 4.3 engine was upgraded to the 
latest version before the backup was taken and it was shut down.


Now, I note that on my RHEL 8 host (newly installed), vdsmd is not 
configured or running. The deploy script is not opening the firewall for 
the temporary manager to talk to the host on 54321, but it wouldn't 
matter if it did - even if were open up the firewall, there's no 
configured vdsmd running for it to talk to anyway.


I suddenly have the feeling that I've missed an important step that 
would have configured the freshly installed RHEL 8 host for the 
hosted-engine to be installed on - but I can't see what this might be. 
I've been back and forth through the documentation but I can't see where 
vdsmd would have been configured on the host. In short (ignoring all the 
failed attempts), my commands to install on a fresh RHEL 8 host have been:


dnf module reset virt
dnf module list virt
dnf module enable virt:8.3
dnf distro-sync --nobest
dnf install rhvm-appliance
reboot
dnf install ovirt-hosted-engine-setup
dnf install firewalld
systemctl status firewalld
systemctl enable firewalld
systemctl start firewalld
systemctl status firewalld
hosted-engine --deploy --restore-from-file=backup.bck

Am I missing something fundamental, or is there another step that's not 
working where vdsmd would have been configured?


Many thanks

James

Yedidyah Bar David wrote on 19/01/2021 10:36:

On Tue, Jan 19, 2021 at 12:25 PM James Freeman  wrote:

Thanks Didi

Great pointer - I have just performed a fresh deploy - am in the
hosted-engine VM, and in /var/log/ovirt-engine/engine-log, I can see the
following 3 lines cycling over and over again:

2021-01-19 05:12:11,395-05 INFO
[org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp
Reactor) [] Connecting to rhvh1.example.org/192.168.50.31
2021-01-19 05:12:11,399-05 ERROR
[org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring]
(EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-96)
[] Unable to RefreshCapabilities: ConnectException: Connection refused
2021-01-19 05:12:11,401-05 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesAsyncVDSCommand]
(EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-96)
[] Command 'GetCapabilitiesAsyncVDSCommand(HostName = rhvh1.example.org,
VdsIdAndVdsVDSCommandParametersBase:{hostId='12057f7e-a4cf-46ec-b563-c1037ba5c62d',
vds='Host[rhvh1.example.org,12057f7e-a4cf-46ec-b563-c1037ba5c62d]'})'
execution failed: java.net.ConnectException: Connection refused

I can ping 192.168.50.31 and resolve rhvh1.example.org - however I note
that firewalld on the hypervisor host (192.168.50.31) hasn't had
anything allowed through it yet apart from SSH and Cockpit. Is this a
problem, or a red herring?

Generally speaking, the deploy process connects first from the engine to
the host via ssh (22), then (also) configures firewalld to allow access
to vdsm (the oVirt host-side agent, port 54321), and later the engine
normally communicates with the host via vdsm.

Whether or not all of this worked, depends on exactly how you configured
your host's firewalld beforehand.

I suggest to start by not touching it, do the deployment, then see what
it does/did (and that it worked), then decide how you are going to adapt
your policy/tooling/whatever for later deployments, assuming you want to
harden your hosts before deploying.


It seems that the hosted-engine is coming up and being installed and
configured ok. The engine health page looks ok (as validated by
Ansible). It looks like the hosted-engine is waiting for something to
happen on the host itself, but this never completed - which I suspect it
never will given that it cannot connect to the host.

The deploy process runs on the host, connects to the engine, asks it to
add the host, then waits until it sees the host in the engine with status
'Up'. It indeed does not try to further diagnose failures, nor fail more
quickly - if it's 'Up' it's quick, if it's not, it will wait for a timeout
(120 times * 10 seconds = 20 minutes).


Am I on the right track

[ovirt-users] Re: Install of RHV 4.4 failing - "Host is not up, please check logs, perhaps also on the engine machine"

2021-01-19 Thread James Freeman

Thanks Didi

Great pointer - I have just performed a fresh deploy - am in the 
hosted-engine VM, and in /var/log/ovirt-engine/engine-log, I can see the 
following 3 lines cycling over and over again:


2021-01-19 05:12:11,395-05 INFO 
[org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp 
Reactor) [] Connecting to rhvh1.example.org/192.168.50.31
2021-01-19 05:12:11,399-05 ERROR 
[org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring] 
(EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-96) 
[] Unable to RefreshCapabilities: ConnectException: Connection refused
2021-01-19 05:12:11,401-05 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesAsyncVDSCommand] 
(EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-96) 
[] Command 'GetCapabilitiesAsyncVDSCommand(HostName = rhvh1.example.org, 
VdsIdAndVdsVDSCommandParametersBase:{hostId='12057f7e-a4cf-46ec-b563-c1037ba5c62d', 
vds='Host[rhvh1.example.org,12057f7e-a4cf-46ec-b563-c1037ba5c62d]'})' 
execution failed: java.net.ConnectException: Connection refused


I can ping 192.168.50.31 and resolve rhvh1.example.org - however I note 
that firewalld on the hypervisor host (192.168.50.31) hasn't had 
anything allowed through it yet apart from SSH and Cockpit. Is this a 
problem, or a red herring?


It seems that the hosted-engine is coming up and being installed and 
configured ok. The engine health page looks ok (as validated by 
Ansible). It looks like the hosted-engine is waiting for something to 
happen on the host itself, but this never completed - which I suspect it 
never will given that it cannot connect to the host.


Am I on the right track?

Yedidyah Bar David wrote on 19/01/2021 10:06:

On Tue, Jan 19, 2021 at 11:44 AM  wrote:

Hi all

I am in the process of migrating a RHV 4.3 setup to RHV 4.4 and struggling with 
the setup. I am installing on RHEL 8.3, using settings backed up from the RHV 
4.3 install (via 'hosted-engine --deploy --restore-from-file=backup.bck').

The install process always fails at the same point for me at the moment, and I 
can't figure out how to get past it. As far as install progress goes, the local 
hosted-engine comes up and runs on the node. I have been able to grep for 
local_vm_ip in the logs, and can SSH into it with the password I set during the 
setup phase.

However the install playbooks always fail with:
2021-01-18 18:38:00,086-0500 ERROR otopi.plugins.gr_he_common.core.misc 
misc._terminate:167 Hosted Engine deployment failed: please check the logs for 
the issue, fix accordingly or re-deploy from scratch.

Earlier in the logs, I note the following:
2021-01-18 18:34:51,258-0500 ERROR otopi.ovirt_hosted_engine_setup.ansible_utils 
ansible_utils._process_output:109 fatal: [localhost]: FAILED! => {"changed": false, 
"msg": "Host is not up, please check logs, perhaps also on the engine machine"}
2021-01-18 18:37:16,661-0500 ERROR otopi.ovirt_hosted_engine_setup.ansible_utils 
ansible_utils._process_output:109 fatal: [localhost]: FAILED! => {"changed": false, 
"msg": "The system may not be provisioned according to the playbook results: please check the 
logs for the issue, fix accordingly or re-deploy from scratch.\n"}
Traceback (most recent call last):
   File "/usr/lib/python3.6/site-packages/otopi/context.py", line 132, in 
_executeMethod
 method['method']()
   File 
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-ansiblesetup/core/misc.py",
 line 435, in _closeup
 raise RuntimeError(_('Failed executing ansible-playbook'))
RuntimeError: Failed executing ansible-playbook
2021-01-18 18:37:18,996-0500 ERROR otopi.context context._executeMethod:154 
Failed to execute stage 'Closing up': Failed executing ansible-playbook
2021-01-18 18:37:32,421-0500 ERROR otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109 fatal: [localhost]: 
UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: connect to host 
rhvm.example.org port 22: No route to host", "skip_reason": "Host localhost is unreachable", "unreachable": 
true}

I find the unreachable message a bit odd, as at this stage all that has 
happened is that the local hosted-engine has been brought up to be configured, 
and so it is running on virbr0, not on my actual network. As a result, that DNS 
address will never resolve, and the IP it resolves to won't be up. I gave the 
installation script permission to modify the local /etc/hosts but this hasn't 
improved things.

I presume I'm missing something in the install process, or earlier on in the 
logs, but I've been scanning for errors and possible clues to no avail.

Any and all help greatly appreciated!

Please check/share, on the engine machine under /var/log/ovirt-engine,
or, if inaccessible, on the host, under
/var/log/ovirt-hosted-engine-setup/engine-logs-*:

engine.log

host-deploy/*

Good luck and best regards,

___
Users mailing list -- 

[ovirt-users] Install of RHV 4.4 failing - "Host is not up, please check logs, perhaps also on the engine machine"

2021-01-19 Thread james . freeman
Hi all

I am in the process of migrating a RHV 4.3 setup to RHV 4.4 and struggling with 
the setup. I am installing on RHEL 8.3, using settings backed up from the RHV 
4.3 install (via 'hosted-engine --deploy --restore-from-file=backup.bck').

The install process always fails at the same point for me at the moment, and I 
can't figure out how to get past it. As far as install progress goes, the local 
hosted-engine comes up and runs on the node. I have been able to grep for 
local_vm_ip in the logs, and can SSH into it with the password I set during the 
setup phase.

However the install playbooks always fail with:
2021-01-18 18:38:00,086-0500 ERROR otopi.plugins.gr_he_common.core.misc 
misc._terminate:167 Hosted Engine deployment failed: please check the logs for 
the issue, fix accordingly or re-deploy from scratch.

Earlier in the logs, I note the following:
2021-01-18 18:34:51,258-0500 ERROR 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109 
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Host is not up, 
please check logs, perhaps also on the engine machine"}
2021-01-18 18:37:16,661-0500 ERROR 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109 
fatal: [localhost]: FAILED! => {"changed": false, "msg": "The system may not be 
provisioned according to the playbook results: please check the logs for the 
issue, fix accordingly or re-deploy from scratch.\n"}
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/otopi/context.py", line 132, in 
_executeMethod
method['method']()
  File 
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-ansiblesetup/core/misc.py",
 line 435, in _closeup
raise RuntimeError(_('Failed executing ansible-playbook'))
RuntimeError: Failed executing ansible-playbook
2021-01-18 18:37:18,996-0500 ERROR otopi.context context._executeMethod:154 
Failed to execute stage 'Closing up': Failed executing ansible-playbook
2021-01-18 18:37:32,421-0500 ERROR 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109 
fatal: [localhost]: UNREACHABLE! => {"changed": false, "msg": "Failed to 
connect to the host via ssh: ssh: connect to host rhvm.example.org port 22: No 
route to host", "skip_reason": "Host localhost is unreachable", "unreachable": 
true}

I find the unreachable message a bit odd, as at this stage all that has 
happened is that the local hosted-engine has been brought up to be configured, 
and so it is running on virbr0, not on my actual network. As a result, that DNS 
address will never resolve, and the IP it resolves to won't be up. I gave the 
installation script permission to modify the local /etc/hosts but this hasn't 
improved things. 

I presume I'm missing something in the install process, or earlier on in the 
logs, but I've been scanning for errors and possible clues to no avail.

Any and all help greatly appreciated!
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/765U6UQFKK4NRMP4FQIKMJAQEXJKUFLH/


[ovirt-users] Re: noVNC error.

2021-01-19 Thread James Loker-Steele via Users
This is to do with the cert. 
it happened here
Turn off Vnc encryption in the compute> cluster > console settings.

Might need to maintenance and reinstall the host that you cannot access.

Sent from my iPhone

> On 19 Jan 2021, at 07:49, tommy  wrote:
> 
> 
> Hi:
>  
> I use novnc console can connect to engine vm.
>  
> But when I using novnc console connect to other vm in other datacenter, 
> failed.
>  
> The ovirt-websocket-proxy log is:
>  
> Jan 19 15:43:32 ooeng.tltd.com ovirt-websocket-proxy.py[1312]: 192.168.10.104 
> - - [19/Jan/2021 15:43:32] connecting to: ohost2.tltd.com:5900 (using SSL)
> Jan 19 15:43:32 ooeng.tltd.com ovirt-websocket-proxy.py[1312]: 
> ovirt-websocket-proxy[24096] INFO msg:824 handler exception: [SSL: 
> UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:618)
>  
> What reason ?
>  
>  
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/MHY4QCLAIDPL5AHJ6YURGKKJEM73LZT2/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/WUNH7YSO7M2W2CKK5RGCDPNNI2XLJPTY/


[ovirt-users] Re: CentOS 8 is dead

2020-12-25 Thread James Loker-Steele via Users
I believe the support is the same as red hat and paid is available but oel and 
the ovirt (olvm) is free as has been mentioned.
It’s currently on ovirt 4.3.6 and there is a bug or 2 with that as mentioned in 
the comments on the press release 
https://blogs.oracle.com/virtualization/announcing-oracle-linux-virtualization-manager
 They have not updated it to the later versions yet but are working on it. It 
is claimed to be reworked slightly for better handling of the database vms. 
Though that’s not confirmed.

I did have an issue with the self hosted engine vm deployment and as such it 
didn’t deploy. One of the errors was that it claimed the host could not handle 
virtualisation or something. Which was not true as running ovirt I was able to 
install the self hosted engine vm fine.
Installation guides here 
https://docs.oracle.com/en/virtualization/oracle-linux-virtualization-manager/#:~:text=Oracle%20Linux%20Virtualization%20Manager%20is%20a%20server%20virtualization,environment%20with%20enterprise-grade%20performance%20and%20support%20from%20Oracle.
Are useful though for setup and it’s all free.

Kind regards

James

Sent from my iPhone

> On 25 Dec 2020, at 21:51, Strahil Nikolov  wrote:
> 
> В 22:32 +0100 на 25.12.2020 (пт), marcel d'heureuse написа:
>> I think oracle is not a solution. if they do the same with oracle Linux like 
>> java one year ago. that you can't use it in company's it will be a wast of 
>> time to move to oracle. 
>> 
>> or am I wrong?
>> 
>> br
>> marcel
> I admit that Oracle's reputation is not best ... but I guess if they do take 
> such approach - we can always migrate to Springade/Rocky Linux/Lenix ..
> After all , OLVM is new tech for Oracle and they want more users to start 
> using it (and later switch to paid subscription).
> 
> I think that it's worth testing.
> 
> @Simon,
> 
> do you have any idea if there will be any issues migrating from CentOS 7 + 
> oVirt 4.3.10 to OEL 8 + OLVM (once the 4.4 is available ) ?
> I saw 
> https://blogs.oracle.com/virtualization/getting-started-with-oracle-linux-virtualization-manager
>  , but it's a little bit outdated and is about OLVM 4.2 + OEL 7 .
> 
> 
> Happy Hollidays!
> 
> Best Regards,
> Strahil Nikolov
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/LMKEZGWTKBWBHSODWCJOTBUAQ4KJEWTO/


[ovirt-users] Re: CentOS 8 is dead

2020-12-25 Thread James Loker-Steele via Users
Yes.
We use OEL and have setup oracles branded ovirt as well as test ovirt on oracle 
and it works a treat.


Sent from my iPhone

> On 25 Dec 2020, at 18:23, Diggy Mc  wrote:
> 
> Is Oracle Linux a viable alternative for the oVirt project?  It is, after 
> all, a rebuild of RHEL like CentOS.  If not viable, why not?  I need to make 
> some decisions posthaste about my pending oVirt 4.4 deployments.
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/PXCL7XVD7BLKKLPWIZJPNUMAFP3A3B5D/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/M2TMEQZH6LB65RJUPFAFTSBWYPAXSCZ3/


[ovirt-users] Re: CentOS 8 is dead

2020-12-15 Thread James Loker-Steele via Users
Also we have begun using OLVM based on tests we conducted with ovirt a while 
ago.
Only issue is olvm is currently stuck on 4.3.6 and waiting for oracle to 
release updates is a slow process.
Personally I would have liked to use ovirt but apparently using oracle is 
better for the Databases.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/GOAJY36LTUESTFOWCYWOCQON5ZMAXNCS/


[ovirt-users] Re: CentOS 8 is dead

2020-12-15 Thread James Loker-Steele via Users
This is what we are planning to do. We made a decision a while ago to start 
using oracle Linux as we are already an oracle db house. 
We have centos machines and are slowly ditching Ubuntu and Debian.
Moving to OEL is the logical choice.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/W73A26P762G7ZJ2MXLUTS4DIURTJHQQJ/


[ovirt-users] Re: 20+ Fresh Installs Failing in 20+ days [newbie & frustrated]

2020-11-04 Thread James Loker-Steele via Users
https://sudonull.com/post/39876-How-to-make-friends-Ovirt-and-Lets-Encrypt


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


[ovirt-users] Re: Left over hibernation disks that we can't delete

2020-10-27 Thread james
Morning Sandro,

we are running ovirt 4.4.2.6-1.el8 with iSCSI storage on CENTOS8. We have 20 
VMs on the system. We put all of them into hibernation and only one gave us 
this issue.

However over the weekend we had to reboot this VM which had the metadata and 
memory dump disks and when we rebooted these disk disappeared so the problem 
has resolved itself. 

Thanks for you time. 

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


[ovirt-users] Left over hibernation disks that we can't delete

2020-10-25 Thread james
After putting the VMs in our environment into hibernation, one of the VMs that 
came out of hibernation still has the metadata and memory dumb hanging around 
as 2 disks with status ok. They are not attached to any VM but we are unable to 
delete them. The VM in question came out of the hibernation without any issues. 

If they are no longer required how can we tidy them up?

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


[ovirt-users] Re: Failed to connect to server (code: 1006) connecting to second host noVNC console

2020-09-04 Thread James Loker-Steele via Users
Ok, i have resolved this issue

On cluster, i had to disable Encrypted VNC and reinstall the host to apply the 
changes.

This would probably not happen if it was a shared cluster. Right now its 2 
local clusters
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/MM752ERPAM4XTB5QCKGIZ5DMOEA7MBVP/


[ovirt-users] Failed to connect to server (code: 1006) connecting to second host noVNC console

2020-09-03 Thread James Loker-Steele via Users
Hi All,
Using OLVM and having an issue connecting to a noVNC console on a secondary 
host.
Im getting the Failed to connect.
We are using the standalone host as the deployment of the self hosted kept 
failing, something about the machine not being able to run virtualised machines 
even though it can.
Added a second kvm host to the management engine. Can create new machines, 
disks etc. Just when trying to connect to the console using noVNC.
Any help would be appreciated.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/4YO7WU6G4MU2OKUWEHCGNTSNJG7SSIAM/


[ovirt-users] Re: Failed to execute stage 'Environment customization': IPAddress() does not support netmasks or subnet prefixes! See documentation for details.

2020-07-28 Thread James Loker-Steele via Users
The issue was the Bonded Nic i was trying to use.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/G7C6JE7RKOMXJDSWQ46755XF2I6HU6UC/


[ovirt-users] Re: Failed to execute stage 'Environment customization': IPAddress() does not support netmasks or subnet prefixes! See documentation for details.

2020-07-28 Thread James Loker-Steele via Users
Hi Anton,

I tried without the /24 it threw an error saying it wasn’t a correct cidr 
address 10.93.130.50/64 (it added the /64)

Interesting though, I have manually created the ovirtmgmt bridge interface and 
assigned an IP address to it (as per another post) and it has gone past this 
step now without the /24.

The part I am crashing out on is being unable to resolve the address.  I can 
post the error shortly.
This is strange behaviour as the host can resolve, but I will be adding dns 
addresses to the ovirtmgmt interface and trying again(post didn’t show to add 
them) 

When I installed <4.2 I didn’t get these issues it went smoothly.
The problems seem related to ansible.

Best regards

James
Sent from my iPhone

> On 28 Jul 2020, at 07:25, Anton Louw  wrote:
> 
>  
> 
> Hi James,
>  
> You can remove the “/24” prefix after the IP address for the management VM. 
> You will get prompts to add the netmask and gateway after you add the IP 
> address.
>  
> 
> Anton Louw
> Cloud Engineer: Storage and Virtualization at Vox
> T:  087 805  | D: 087 805 1572
> M: N/A
> E: anton.l...@voxtelecom.co.za
> A: Rutherford Estate, 1 Scott Street, Waverley, Johannesburg
> www.vox.co.za
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>  
> 
> 
> Disclaimer
> 
> The contents of this email are confidential to the sender and the intended 
> recipient. Unless the contents are clearly and entirely of a personal nature, 
> they are subject to copyright in favour of the holding company of the Vox 
> group of companies. Any recipient who receives this email in error should 
> immediately report the error to the sender and permanently delete this email 
> from all storage devices.
> 
> This email has been scanned for viruses and malware, and may have been 
> automatically archived by Mimecast Ltd, an innovator in Software as a Service 
> (SaaS) for business. Providing a safer and more useful place for your human 
> generated data. Specializing in; Security, archiving and compliance. To find 
> out more Click Here.
> 
> 
> 
> From: James Loker-Steele via Users  
> Sent: 27 July 2020 11:36
> To: users@ovirt.org
> Subject: [ovirt-users] Failed to execute stage 'Environment customization': 
> IPAddress() does not support netmasks or subnet prefixes! See documentation 
> for details.
>  
> Hi All,
> Trying to install a self-hosted engine but cannot get past this step.
> 
> [root@ /]# hosted-engine --deploy
> [ INFO ] Stage: Initializing
> [ INFO ] Stage: Environment setup
> During customization use CTRL-D to abort.
> Continuing will configure this host for serving as hypervisor and will create 
> a local VM with a running engine.
> The locally running engine will be used to configure a new storage domain and 
> create a VM there.
> At the end the disk of the local VM will be moved to the shared storage.
> Are you sure you want to continue? (Yes, No)[Yes]: 
> Configuration files: []
> Log file: 
> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20200724164325-fyyler.log
> Version: otopi-1.8.3 (otopi-1.8.3-1.el7)
> [ INFO ] Stage: Environment packages setup
> [ INFO ] Stage: Programs detection
> [ INFO ] Stage: Environment setup (late)
> [ INFO ] Stage: Environment customization
> 
> --== STORAGE CONFIGURATION ==--
> 
> 
> --== HOST NETWORK CONFIGURATION ==--
> 
> Please indicate the gateway IP address [10.x.x.x]: 
> [ INFO ] TASK [ovirt.hosted_engine_setup : Execute just a specific set of 
> steps]
> [ INFO ] ok: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Force facts gathering]
> [ INFO ] ok: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Detecting interface on existing 
> management bridge]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Get all active network interfaces]
> [ INFO ] ok: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Filter bonds with bad naming]
> [ INFO ] ok: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Generate output list]
> [ INFO ] ok: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Validate selected bridge interface 
> if management bridge does not exists]
> [ INFO ] skipping: [localhost]
> Please indicate a nic to set ovirtmgmt bridge on: (bond0, bond0.130, 
> bond0.60, em1) [em1]: bond0.130
> Please specify which way the network connectivityshould be checked (ping, 
> dns, tcp, none) [dns]: 
> 
> --== VM CONFIGURATION ==--
> 
> Please enter the name of the datacenter where you want to deploy this 
> hosted-engine host. [Default]: 
> Please enter the name of the cluster where you want to deploy this 
> hosted-engine host. [Default]: 
> If you want to deploy with a custom engine appliance image,
> pleas

[ovirt-users] Failed to execute stage 'Environment customization': IPAddress() does not support netmasks or subnet prefixes! See documentation for details.

2020-07-28 Thread James Loker-Steele via Users
Hi All,
Trying to install a self-hosted engine but cannot get past this step.

[root@ /]# hosted-engine --deploy
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
  During customization use CTRL-D to abort.
  Continuing will configure this host for serving as hypervisor and 
will create a local VM with a running engine.
  The locally running engine will be used to configure a new storage 
domain and create a VM there.
  At the end the disk of the local VM will be moved to the shared 
storage.
  Are you sure you want to continue? (Yes, No)[Yes]: 
  Configuration files: []
  Log file: 
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20200724164325-fyyler.log
  Version: otopi-1.8.3 (otopi-1.8.3-1.el7)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup (late)
[ INFO  ] Stage: Environment customization
 
  --== STORAGE CONFIGURATION ==--
 
 
  --== HOST NETWORK CONFIGURATION ==--
 
  Please indicate the gateway IP address [10.x.x.x]: 
[ INFO  ] TASK [ovirt.hosted_engine_setup : Execute just a specific set of 
steps]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Force facts gathering]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Detecting interface on existing 
management bridge]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Get all active network interfaces]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Filter bonds with bad naming]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Generate output list]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Validate selected bridge interface 
if management bridge does not exists]
[ INFO  ] skipping: [localhost]
  Please indicate a nic to set ovirtmgmt bridge on: (bond0, bond0.130, 
bond0.60, em1) [em1]: bond0.130
  Please specify which way the network connectivityshould be checked 
(ping, dns, tcp, none) [dns]: 
 
  --== VM CONFIGURATION ==--
 
  Please enter the name of the datacenter where you want to deploy this 
hosted-engine host. [Default]: 
  Please enter the name of the cluster where you want to deploy this 
hosted-engine host. [Default]: 
  If you want to deploy with a custom engine appliance image,
  please specify the path to the OVA archive you would like to use
  (leave it empty to skip, the setup will use ovirt-engine-appliance 
rpm installing it if missing): 
/usr/share/ovirt-engine-appliance/ovirt-engine-appliance-4.3-20190926.1.0.5.el7.ova
[ INFO  ] Checking OVF archive content (could take a few minutes depending on 
archive size)
[ INFO  ] Checking OVF XML content (could take a few minutes depending on 
archive size)
  Please specify the number of virtual CPUs for the VM (Defaults to 
appliance OVF value): [4]: 
  Please specify the memory size of the VM in MB (Defaults to appliance 
OVF value): [4]: 16384
[ INFO  ] Detecting host timezone.
  Please provide the FQDN you would like to use for the engine.
  Note: This will be the FQDN of the engine VM you are now going to 
launch,
  it should not point to the base host or to any other existing machine.
  Engine VM FQDN:  []: 
  Please provide the domain name you would like to use for the engine 
appliance.
  Engine VM domain: []
  Enter root password that will be used for the engine appliance: 
  Confirm appliance root password: 
  Enter ssh public key for the root user that will be used for the 
engine appliance (leave it empty to skip): 
[WARNING] Skipping appliance root ssh public key
  Do you want to enable ssh access for the root user (yes, no, 
without-password) [yes]: 
  Do you want to apply a default OpenSCAP security profile (Yes, No) 
[No]: 
  You may specify a unicast MAC address for the VM or accept a randomly 
generated default [00:16:3e:3a:4b:fc]: 

  How should the engine VM network be configured (DHCP, Static)[DHCP]? 
static 
  Please enter the IP address to be used for the engine VM []: 
10.93.130.50/24
[ ERROR ] Failed to execute stage 'Environment customization': IPAddress() does 
not support netmasks or subnet prefixes! See documentation for details.
[ INFO  ] Stage: Clean up
[ INFO  ] Cleaning temporary resources
[ INFO  ] TASK [ovirt.hosted_engine_setup : Execute just a specific set of 
steps]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Force facts gathering]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch logs from the engine VM]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Set destination directory path]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK 

[ovirt-users] Re: upgrade VM cluster compatibility version

2020-04-14 Thread Bill James
ah, found it. Thank you very much!



On Tue, Apr 14, 2020 at 5:42 PM  wrote:

> When you edit the bm, show advanced options, then under system and
> advanced options.
>
> See the attached screenshot.
>
>
>
> Eric Evans
>
> Digital Data Services LLC.
>
> 304.660.9080
>
>
>
> *From:* Bill James 
> *Sent:* Tuesday, April 14, 2020 6:52 PM
> *To:* users 
> *Subject:* [ovirt-users] upgrade VM cluster compatibility version
>
>
>
> I'm trying to upgrade my cluster to 4.3. Currently its running
> 4.2.8.2-1.el7.
>
> But the cluster compatibility version is 3.6.
>
> I try to change that and it says I need to edit the VM.
>
>
> https://www.ovirt.org/documentation/upgrade-guide/chap-Post-Upgrade_Tasks.html
>
>
>
> says:
>
> *Important:* An error message may warn that some virtual machines and
> templates are incorrectly configured. To fix this error, edit each virtual
> machine manually. The *Edit Virtual Machine* window provides additional
> validations and warnings that show what to correct. Sometimes the issue is
> automatically corrected and the virtual machine’s configuration just needs
> to be saved again. After editing each virtual machine, you will be able to
> change the cluster compatibility version.
>
>
>
>
>
> I edit the VM and there are no errors or warnings. I see no way to change
> the cluster compatibility level on a VM.
>
> How do I change the Custom Compatibility Version??
>
>
>
>
> --
>
>
>
> 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 email
> and delete the original message and any copies.
>
>
>

-- 


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 email 
and delete the original message and any copies.

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


[ovirt-users] upgrade VM cluster compatibility version

2020-04-14 Thread Bill James
I'm trying to upgrade my cluster to 4.3. Currently its running
4.2.8.2-1.el7.
But the cluster compatibility version is 3.6.
I try to change that and it says I need to edit the VM.
https://www.ovirt.org/documentation/upgrade-guide/chap-Post-Upgrade_Tasks.html

says:
*Important:* An error message may warn that some virtual machines and
templates are incorrectly configured. To fix this error, edit each virtual
machine manually. The *Edit Virtual Machine* window provides additional
validations and warnings that show what to correct. Sometimes the issue is
automatically corrected and the virtual machine’s configuration just needs
to be saved again. After editing each virtual machine, you will be able to
change the cluster compatibility version.


I edit the VM and there are no errors or warnings. I see no way to change
the cluster compatibility level on a VM.
How do I change the Custom Compatibility Version??

-- 


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 email 
and delete the original message and any copies.

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


[ovirt-users] ovirt api snapshot date format?

2019-08-28 Thread Bill James
I'm trying to use the ovirt REST api to read snapshot date but the number
I'm getting back doesn't appear to be in epoch time. What format is it?

Example:
"date":1565299725928,"snapshot_status":"ok"

Should be "Aug 8, 2019", epoch conversion put it at Tue May 16 16:25:28
51572.


(accessed via https://$HOSTNAME/ovirt-engine/api/vms/$value/snapshots)
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/W6ED3NTRX45NEDBPFTD7O4PAIEF5U5AF/


[ovirt-users] Re: left over volume after failed disk move

2019-02-20 Thread Bill James
thank you. just to follow up for this thread, create Bug 1679355
<https://bugzilla.redhat.com/show_bug.cgi?id=1679355>

On Sat, Feb 16, 2019 at 9:55 PM Eyal Shenitzky  wrote:

> Can you please open a bug - https://bugzilla.redhat.com/
> <https://bugzilla.redhat.com/show_bug.cgi?id=1677319>
>
> Please attach the engine.log and the vdsm.log.
>
> Thanks
>
> On Fri, Feb 15, 2019 at 8:11 AM Bill James  wrote:
>
>> I tried moving some disks from one gluster volume to another.
>> 8 worked, 6 failed.
>>
>> I can't retry the move because ovirt says:
>> 2019-02-14 21:36:49,450-08 ERROR
>> [org.ovirt.engine.core.bll.tasks.SPMAsyncTask] (DefaultQuartzScheduler4)
>> [2d9789d1] BaseAsyncTask::logEndTaskFailure: Task '2a0e703b-0239-41f8-a920
>> -50c1ae096590' (Parent Command 'CreateImagePlaceholder', Parameters Type
>> 'org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters') ended with
>> failure:
>> -- Result: 'cleanSuccess'
>> -- Message: 'VDSGenericException: VDSErrorException: Failed in vdscommand
>> to HSMGetAllTasksStatusesVDS, error = Volume already exists:
>> ('d33e8048-a4b4-4b85-bf44-20be65b854f2',)',
>>
>>
>> How do I clear up the gluster volume of these failed images?
>> I'm running :
>> ovirt-engine-4.1.8.2-1.el7.centos.noarch
>> glusterfs-3.8.15-2.el7.x86_64
>> vdsm-4.19.43-1.el7.centos.x86_64
>>
>>
>> Some errors from the first failed disk move:
>> 2019-02-14 21:23:44,114-08 ERROR
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.VmReplicateDiskFinishVDSCommand]
>> (DefaultQuartzScheduler2) [7adfa09d-d0d6-4478-9a6a-c505535e325b] Failed
>>  in 'VmReplicateDiskFinishVDS' method
>> 2019-02-14 21:23:44,125-08 ERROR
>> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
>> (DefaultQuartzScheduler2) [7adfa09d-d0d6-4478-9a6a-c505535e325b] EVENT_ID: V
>> DS_BROKER_COMMAND_FAILURE(10,802), Correlation ID: null, Call Stack:
>> null, Custom ID: null, Custom Event ID: -1, Message: VDSM
>> ovirt4.j2noc.com command VmReplicateDiskFinishVDS fai
>> led: Resource unavailable
>>
>> attached is engine.log.
>>
>>
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct:
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives:
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/GAOGBS7CWLEK2IKSIFQKGGSCHUI7GJ5S/
>>
>
>
> --
> Regards,
> Eyal Shenitzky
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/4TLSWVGFPHNOPKJEKK2YDWPIKRZV7PN4/


[ovirt-users] Re: left over volume after failed disk move

2019-02-15 Thread Bill James
re-posting without attachment to see if it goes through.


On Thu, Feb 14, 2019 at 10:07 PM Bill James  wrote:

> I tried moving some disks from one gluster volume to another.
> 8 worked, 6 failed.
>
> I can't retry the move because ovirt says:
> 2019-02-14 21:36:49,450-08 ERROR
> [org.ovirt.engine.core.bll.tasks.SPMAsyncTask] (DefaultQuartzScheduler4)
> [2d9789d1] BaseAsyncTask::logEndTaskFailure: Task '2a0e703b-0239-41f8-a920
> -50c1ae096590' (Parent Command 'CreateImagePlaceholder', Parameters Type
> 'org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters') ended with
> failure:
> -- Result: 'cleanSuccess'
> -- Message: 'VDSGenericException: VDSErrorException: Failed in vdscommand
> to HSMGetAllTasksStatusesVDS, error = Volume already exists:
> ('d33e8048-a4b4-4b85-bf44-20be65b854f2',)',
>
>
> How do I clear up the gluster volume of these failed images?
> I'm running :
> ovirt-engine-4.1.8.2-1.el7.centos.noarch
> glusterfs-3.8.15-2.el7.x86_64
> vdsm-4.19.43-1.el7.centos.x86_64
>
>
> Some errors from the first failed disk move:
> 2019-02-14 21:23:44,114-08 ERROR
> [org.ovirt.engine.core.vdsbroker.vdsbroker.VmReplicateDiskFinishVDSCommand]
> (DefaultQuartzScheduler2) [7adfa09d-d0d6-4478-9a6a-c505535e325b] Failed
>  in 'VmReplicateDiskFinishVDS' method
> 2019-02-14 21:23:44,125-08 ERROR
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (DefaultQuartzScheduler2) [7adfa09d-d0d6-4478-9a6a-c505535e325b] EVENT_ID: V
> DS_BROKER_COMMAND_FAILURE(10,802), Correlation ID: null, Call Stack: null,
> Custom ID: null, Custom Event ID: -1, Message: VDSM ovirt4.j2noc.com
> command VmReplicateDiskFinishVDS fai
> led: Resource unavailable
>
> attached is engine.log.
>
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/A6CWUHKVSIFYUNVHATGLDOKCKK2B423C/


[ovirt-users] Use an oVirt-VM as a VDSM server

2018-04-30 Thread James Michels
Greetings.

In terms of teaching our students how to create and configure an oVirt
infrastructure, we're planning to provide each of them a VM that will act
as a Manager server, which has no issues so far. The problem is that we
don't have enough physical machines to use as virtualization servers
(VDSM), therefore we have been trying to use a CentOS7 based oVirt guest to
run as a VDSM server.

However, when trying to add it as a host, a (logical) error message shows
up saying that the VM doesn't allow virtualization.

The question is simple: Is there a way to enable virtualization on an oVirt
VM, so we can deploy them as VDSM servers?

This is oVirt 4.2.2 FWIW.

Thanks

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


[ovirt-users] gluster volume permission denied

2018-01-16 Thread Bill James
I have one node in our cluster that has problems when migrating a VM if 
the VM is hosted on a gluster volume.

If the VM is hosted on a NFS volume it migrates fine.

/var/log/messages:
Jan 16 14:36:09 ovirt1 libvirtd: 2018-01-16 22:36:09.769+: 9700: 
error : qemuProcessReportLogError:1862
 : internal error: process exited while connecting to monitor: 
2018-01-16T22:36:09.587405Z qemu-kvm: -drive

 
file=/rhev/data-center/8b6303b3-79c6-4633-ae21-71b15ed00675/67b4d9aa-f174-436a-b5a1-ec7cee5f2edb/images/60
3271e4-3089-4779-aa1c-faf280fabd17/7c7f7726-4ab0-4047-9b91-e0817a139e90,format=raw,if=none,id=drive-virtio-
disk0,serial=603271e4-3089-4779-aa1c-faf280fabd17,cache=none,werror=stop,rerror=stop,aio=threads: 
Could not
 open 
'/rhev/data-center/8b6303b3-79c6-4633-ae21-71b15ed00675/67b4d9aa-f174-436a-b5a1-ec7cee5f2edb/images/603271e4-3089-4779-aa1c-faf280fabd17/7c7f7726-4ab0-4047-9b91-e0817a139e90': 
Permission denied

(libvirt/csapi1.test.j2noc.com.log says same thing)

[root@ovirt1 test log]# ls -hl 
/rhev/data-center/8b6303b3-79c6-4633-ae21-71b15ed00675/67b4d9aa-f174-436a-b5a1-ec7cee5f2edb/images/603271e4-3089-4779-aa1c-faf280fabd17/7c7f7726-4ab0-4047-9b91-e0817a139e90
-rw-rw 1 vdsm kvm 20G Jan 16 15:32 
/rhev/data-center/8b6303b3-79c6-4633-ae21-71b15ed00675/67b4d9aa-f174-436a-b5a1-ec7cee5f2edb/images/603271e4-3089-4779-aa1c-faf280fabd17/7c7f7726-4ab0-4047-9b91-e0817a139e90


lrwxrwxrwx 1 vdsm kvm  98 Jan 10 21:21 
67b4d9aa-f174-436a-b5a1-ec7cee5f2edb -> 
/rhev/data-center/mnt/glusterSD/ovirt3-ks.test.j2noc.com:_gv3/67b4d9aa-f174-436a-b5a1-ec7cee5f2edb



engine.log:
2018-01-16 14:36:18,846-08 WARN 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (o
rg.ovirt.thread.pool-6-thread-34) [78d8b38c] EVENT_ID: 
VM_MIGRATION_TRYING_RERUN(128), Correlation ID: e39
9da53-cd31-401c-bf63-16b118b8884c, Job ID: 
4db6bd87-0da4-4358-acae-dc453c813969, Call Stack: null, Custom
ID: null, Custom Event ID: -1, Message: Failed to migrate VM 
csapi1.test.j2noc.com to Host ovirt1.test.j2n

oc.com . Trying to migrate to another Host.


ovirt-engine-tools-4.1.8.2-1.el7.centos.noarch
glusterfs-3.8.15-2.el7.x86_64
vdsm-4.19.43-1.el7.centos.x86_64
libvirt-daemon-3.2.0-14.el7_4.7.x86_64

Let me know what logs would be useful in troubleshooting this.

Thanks!


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


Re: [ovirt-users] How to remove a MAC Pool from a cluster?

2017-10-19 Thread James Michels
Nice, I could do it now.

Thank you!

James

2017-10-19 11:34 GMT+01:00 Michael Burman <mbur...@redhat.com>:

> Hello James,
>
> The way to do it is to assign a new MAC pool range to this cluster and
> then to remove it.
> This can be done via - Administration > Configure > MAC addresses pool -
> There you can create/edit and remove MAC pool range entities.
> So create another desired MAC pool range, assign it to the cluster(via
> edit cluster) and remove the desired MAC pool range from the system.
>
> Cheers)
>
> On Thu, Oct 19, 2017 at 12:33 PM, James Michels <
> karma.sometimes.hu...@gmail.com> wrote:
>
>> Hello.
>>
>> I'm trying to remove a MAC Pool that seems to be assigned to a cluster
>> and I can't. Opening Configure - MAC Address pools and chosing the MAC Pool
>> to remove causes this warning:
>>
>> Error while executing action: Cannot remove MAC Pool. Several Clusters
>> (1) are using this MAC Pool:
>> Cluster2
>> - Please remove it from all Clusters that are using it and try again.
>>
>> How can I do so? I don't see a way to unassign a MAC Pool from a cluster.
>>
>> Thank you
>>
>> James
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
>
> --
>
> Michael Burman
>
> Quality engineer - rhv network - redhat israel
>
> Red Hat
>
> <https://www.redhat.com>
>
> mbur...@redhat.comM: 0545355725 IM: mburman
> <https://red.ht/sig>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] How to remove a MAC Pool from a cluster?

2017-10-19 Thread James Michels
Hello.

I'm trying to remove a MAC Pool that seems to be assigned to a cluster and
I can't. Opening Configure - MAC Address pools and chosing the MAC Pool to
remove causes this warning:

Error while executing action: Cannot remove MAC Pool. Several Clusters (1)
are using this MAC Pool:
Cluster2
- Please remove it from all Clusters that are using it and try again.

How can I do so? I don't see a way to unassign a MAC Pool from a cluster.

Thank you

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


Re: [ovirt-users] host timeout for remote colo

2017-08-25 Thread Bill James
thanks, we found when we switched to a different internet provider that 
the network issues went away.
I'll look into upgrading, but it hard for us to keep up. We just got to 
4.1.0 recently.  :-)



On 8/24/17 10:57 PM, Yaniv Kaul wrote:



On Thu, Aug 24, 2017 at 9:55 PM, Bill James <bill.ja...@j2.com 
<mailto:bill.ja...@j2.com>> wrote:


We have an ovirt master (engine) host in Los Angeles and some
remote servers in the UK.
Normally they work fine, but when there is a heavy load on the UK
servers the management engine has problems with heartbeat and ends
up trying to restart the nodes.


Perhaps the mgmt interface is used for traffic other than mgmt? On 
small scale it's OK. For bigger scale and workloads, it's best to 
separate traffic to dedicated NICs.



I saw in this thread that I can change vdsHeartbeatInSeconds
(https://www.mail-archive.com/users@ovirt.org/msg41695.html
<https://www.mail-archive.com/users@ovirt.org/msg41695.html>)
but I don't really want to change it globally, just for the nodes
in UK.
Also not sure how to get the current setting of that value, only
how to change it. How do I tell current value?  I heard default is
30 seconds.


To change it:
usr/share/ovirt-engine/dbscripts/engine-psql.sh -c "update vdc_options 
set option_value = 90 where option_name = 'vdsHeartbeatInSeconds'



ovirt-engine-4.1.0.4-1.el7.centos.noarch


I recommend upgrade, though not specifically due to the above issue.


Or maybe its not best practice to have a cluster that far from the
engine?


We have an Engien in Israel managing hosts in Europe and the US.
Y.



2017-08-24 11:27:51,921-07 WARN
[org.ovirt.engine.core.vdsbroker.VdsManager]
(DefaultQuartzScheduler3) [feefbf3f-d0e2-4a64-b008-80838d04f130]
Failed to refresh VDS, network error, continuing,
vds='ovirt1.evuk.j2noc.com
<http://ovirt1.evuk.j2noc.com>'(d0482635-93fd-4cc3-9c78-523078845f11):
VDSGenericException: VDSNetworkException: Heartbeat exceeded

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





Cloud Services for Business www.j2.com
j2 | eFax | eVoice | FuseMail | Campaigner | KeepItSafe | Onebox


This email, including its contents and attachments, contains information from 
j2 Global, Inc. and/or its affiliates that may be privileged, confidential, or 
otherwise protected from disclosure.  The information is intended for the 
addressee(s) only.  If you are not an addressee, any disclosure, copy, 
distribution, or use of this message is prohibited.  If you have received this 
email in error, please immediately notify the sender by reply email and delete 
the message and any copies.  �2017 j2 Global, Inc. and affiliates.  All rights 
reserved.  eFax�, eVoice�, Campaigner�, FuseMail�, KeepItSafe�, and Onebox� are 
trademarks of j2 Global, Inc. and affiliates.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] host timeout for remote colo

2017-08-24 Thread Bill James
We have an ovirt master (engine) host in Los Angeles and some remote 
servers in the UK.
Normally they work fine, but when there is a heavy load on the UK 
servers the management engine has problems with heartbeat and ends up 
trying to restart the nodes.


I saw in this thread that I can change vdsHeartbeatInSeconds 
(https://www.mail-archive.com/users@ovirt.org/msg41695.html)

but I don't really want to change it globally, just for the nodes in UK.
Also not sure how to get the current setting of that value, only how to 
change it. How do I tell current value?  I heard default is 30 seconds.


ovirt-engine-4.1.0.4-1.el7.centos.noarch

Or maybe its not best practice to have a cluster that far from the engine?


2017-08-24 11:27:51,921-07 WARN 
[org.ovirt.engine.core.vdsbroker.VdsManager] (DefaultQuartzScheduler3) 
[feefbf3f-d0e2-4a64-b008-80838d04f130] Failed to refresh VDS, network 
error, continuing, 
vds='ovirt1.evuk.j2noc.com'(d0482635-93fd-4cc3-9c78-523078845f11): 
VDSGenericException: VDSNetworkException: Heartbeat exceeded


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


[ovirt-users] ovirt and mixed selinux

2017-07-28 Thread Bill James

I was hoping to migrate my systems to using selinux gradually.
I added 3 new nodes with selinux in permissive mode.
Migration fails to any of the previous hosts that currently have selinux 
disabled.
Is it an all or nothing deal? Obviously not easy to reboot all nodes at 
once.


2017-07-28 09:35:43,616 ERROR (migsrc/8c566813) [virt.vm] 
(vmId='8c566813-4bee-4f04-be23-c9fc10e1e1f2') unsupported configuration: 
Unable to find security driver for model selinux (migration:265)
2017-07-28 09:35:43,641 ERROR (migsrc/8c566813) [virt.vm] 
(vmId='8c566813-4bee-4f04-be23-c9fc10e1e1f2') Failed to migrate 
(migration:405)

Traceback (most recent call last):


ovirt-engine-4.1.0.4-1.el7.centos.noarch
libselinux-utils-2.5-6.el7.x86_64


related: http://lists.ovirt.org/pipermail/users/2016-October/076878.html

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


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 <bill.ja...@j2.com 
<mailto:bill.ja...@j2.com>> 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
<http://ovirt6.j2noc.com> using Proxy Host ovirt1.j2noc.com
<http://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
<http://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
<http://ovirt6.j2noc.com> using Proxy Host ovirt1.j2noc.com
<http://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
<http://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
<http://ovirt6.j2noc.com> using Proxy Host ovirt2.j2noc.com
<http://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
<http://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: Unab

[ovirt-users] fence issue adding host

2017-07-26 Thread Bill James
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




Any ideas on what the issue is?

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


[ovirt-users] Migrating oVirt cluster from 4.0 to 4.1

2017-06-12 Thread James
We recently moved our oVirt cluster from 4.0 to 4.1 and have migrated
all the hosts. The datacenter currently has a compatability setting of
4.1 but the cluster is still on 4.0. As cross-cluster migrations has
been removed (no option anymore?) we aren't 100% sure how to get the
cluster onto 4.1 whilst keeping the VMs online. Do we just change the
compatibility version live and it "just works" or do we have to have
downtime?

Any info would be great!

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


Re: [ovirt-users] do we need some documentation mainteiners?

2017-05-09 Thread James Michels
Seriously, what's wrong with you? I've being reading your comments for some
time and the only things I see are whining, unproductive complaining and
disrespectful comments.

Please, stop it. There are tons of ways to say something, and the way you
use is insulting for dozens of people developing this project. Most people
here are seeking help and/or trying to be useful aiding others in what they
can. If you don't like oVirt or you have that much complains maybe you
should start your project yourself and do things like you consider they
should be done.

James

2017-05-09 15:59 GMT+01:00 Fabrice Bacchella <fabrice.bacche...@orange.fr>:

> The documentation is alway a good laugh at ovirt. Look for RHEL instead.
>
> Le 9 mai 2017 à 16:13, Juan Pablo <pablo.localh...@gmail.com> a écrit :
>
> Team, Is just me or the documentation pages are not being updated ? many
> are outdated.. how can we collaborate?
>
> whats up with http://www.ovirt.org/documentation/admin-guide/ ?
>
> regards,
> JP
> ___
> 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] moving disk from one storage domain to another

2017-04-07 Thread Bill James



On 4/7/17 12:52 AM, Nir Soffer wrote:
On Fri, Apr 7, 2017 at 2:40 AM Bill James <bill.ja...@j2.com 
<mailto:bill.ja...@j2.com>> wrote:


We are trying to convert our qa environment from local nfs to gluster.
When I move a disk with a VM that is running on same server as the
storage it fails.
When I move a disk with VM running on a different system it works.

VM running on same system as disk:

2017-04-06 13:31:00,588 ERROR (jsonrpc/6) [virt.vm]
(vmId='e598485a-dc74-43f7-8447-e00ac44dae21') Unable to start
replication for vda to {u'domainID':
u'6affd8c3-2c51-4cd1-8300-bfbbb14edbe9', 'volumeInfo': {'domainID':
u'6affd8c3-2c
51-4cd1-8300-bfbbb14edbe9', 'volType': 'path', 'leaseOffset': 0,
'path':

u'/rhev/data-center/mnt/glusterSD/ovirt1-ks.test.j2noc.com:_gv2/6affd8c3-2c51-4cd1-8300-bfbbb14edbe9/images/7ae9b3f7-3507-4469-a080-d0944d0ab753/30fd46c9-c738-4b13-aeca-3dc9ffc677f5',
'volumeID': u'30fd46c9-c738-4b13-aeca-3dc9ffc677f5', 'leasePath':

u'/rhev/data-center/mnt/glusterSD/ovirt1-ks.test.j2noc.com:_gv2/6affd8c3-2c51-4cd1-8300-bfbbb14edbe9/images/7ae9b3f7-3507-4469-a080-d0944d0ab753/30fd46c9-c738-4b13-aeca-3dc9ffc677f5.lease',
'imageID': u'7ae9b3f7-3507-4469-a080-d0944d0ab753'}, 'diskType':
'file',
'format': 'cow', 'cache': 'none', u'volumeID':
u'30fd46c9-c738-4b13-aeca-3dc9ffc677f5', u'imageID':
u'7ae9b3f7-3507-4469-a080-d0944d0ab753', u'poolID':
u'8b6303b3-79c6-4633-ae21-71b15ed00675', u'device': 'disk', 'path':

u'/rhev/data-center/8b6303b3-79c6-4633-ae21-71b15ed00675/6affd8c3-2c51-4cd1-8300-bfbbb14edbe9/images/7ae9b3f7-3507-4469-a080-d0944d0ab753/30fd46c9-c738-4b13-aeca-3dc9ffc677f5',
'propagateErrors': u'off', 'volumeChain': [{'domainID':
u'6affd8c3-2c51-4cd1-8300-bfbbb14edbe9', 'volType': 'path',
'leaseOffset': 0, 'path':

u'/rhev/data-center/mnt/glusterSD/ovirt1-ks.test.j2noc.com:_gv2/6affd8c3-2c51-4cd1-8300-bfbbb14edbe9/images/7ae9b3f7-3507-4469-a080-d0944d0ab753/6756eb05-6803-42a7-a3a2-10233bf2ca8d',
'volumeID': u'6756eb05-6803-42a7-a3a2-10233bf2ca8d', 'leasePath':

u'/rhev/data-center/mnt/glusterSD/ovirt1-ks.test.j2noc.com:_gv2/6affd8c3-2c51-4cd1-8300-bfbbb14edbe9/images/7ae9b3f7-3507-4469-a080-d0944d0ab753/6756eb05-6803-42a7-a3a2-10233bf2ca8d.lease',
'imageID': u'7ae9b3f7-3507-4469-a080-d0944d0ab753'}, {'domainID':
u'6affd8c3-2c51-4cd1-8300-bfbbb14edbe9', 'volType': 'path',
'leaseOffset': 0, 'path':

u'/rhev/data-center/mnt/glusterSD/ovirt1-ks.test.j2noc.com:_gv2/6affd8c3-2c51-4cd1-8300-bfbbb14edbe9/images/7ae9b3f7-3507-4469-a080-d0944d0ab753/30fd46c9-c738-4b13-aeca-3dc9ffc677f5',
'volumeID': u'30fd46c9-c738-4b13-aeca-3dc9ffc677f5', 'leasePath':

u'/rhev/data-center/mnt/glusterSD/ovirt1-ks.test.j2noc.com:_gv2/6affd8c3-2c51-4cd1-8300-bfbbb14edbe9/images/7ae9b3f7-3507-4469-a080-d0944d0ab753/30fd46c9-c738-4b13-aeca-3dc9ffc677f5.lease',
'imageID': u'7ae9b3f7-3507-4469-a080-d0944d0ab753'}]} (vm:3594)
Traceback (most recent call last):
   File "/usr/share/vdsm/virt/vm.py", line 3588, in diskReplicateStart
 self._startDriveReplication(drive)
   File "/usr/share/vdsm/virt/vm.py", line 3713, in
_startDriveReplication
 self._dom.blockCopy(drive.name <http://drive.name>, destxml,
flags=flags)
   File "/usr/lib/python2.7/site-packages/vdsm/virt/virdomain.py",
line
69, in f
 ret = attr(*args, **kwargs)
   File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py",
line 123, in wrapper
 ret = f(*args, **kwargs)
   File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 941, in
wrapper
 return func(inst, *args, **kwargs)
   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 684, in
blockCopy
 if ret == -1: raise libvirtError ('virDomainBlockCopy() failed',
dom=self)
libvirtError: internal error: unable to execute QEMU command
'drive-mirror': Could not open

'/rhev/data-center/8b6303b3-79c6-4633-ae21-71b15ed00675/6affd8c3-2c51-4cd1-8300-bfbbb14edbe9/images/7ae9b3f7-3507-4469-a080-d0944d0ab753/30fd46c9-c738-4b13-aeca-3dc9ffc677f5':
Permission denied


[root@ovirt1 test vdsm]# ls -l

/rhev/data-center/8b6303b3-79c6-4633-ae21-71b15ed00675/6affd8c3-2c51-4cd1-8300-bfbbb14edbe9/images/7ae9b3f7-3507-4469-a080-d0944d0ab753/30fd46c9-c738-4b13-aeca-3dc9ffc677f5
-rw-rw 2 vdsm kvm 197120 Apr  6 13:29

/rhev/data-center/8b6303b3-79c6-4633-ae21-71b15ed00675/6affd8c3-2c51-4cd1-8300-bfbbb14edbe9/images/7ae9b3f7-3507-4469-a080-d0944d0ab753/30fd46c9-c738-4b13-aeca-3dc9ffc677f5



Then if I try and rerun it it says, even though move failed:

2017-04-06 13:49:27,197 INFO  (jsonrpc/1) [dispatcher] Run and
protect:
getAllTasksStatuses, Return response: {'allT
asksStatus': {'078d962c-e682-40f9-a177-2a8b479a7d8b': {'code': 212,

Re: [ovirt-users] NFS storage domain path is illegal

2017-04-05 Thread Bill James
once it is detached it no longer shows up in any list other than the 
dialog for "attach data domain".

How do I right click on it or select it to "remove" it?
I did find that if I select Data Center -> Default on left, select the 
storage tab, for domain in maintenance right click will let me Destroy 
the volume. Remove option never became active.




We will rename the host to not use '_', thanks for the replies!



On 04/05/2017 12:00 AM, Fred Rolland wrote:



On Wed, Apr 5, 2017 at 2:27 AM, Bill James <bill.ja...@j2.com 
<mailto:bill.ja...@j2.com>> wrote:


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


I'm trying to add a NFS storage domain but the gui keeps telling
me the export path is illegal.
Even though I can mount the volume fine at the command line.
I have not found any log that contains the error so I can't attach
log entry.

It says "Use IP:/path or FQDN:/path" but only IP works, no name
I've tried is allowed.

Also, how do I remove a storage domain?
I could put it into maintenance and then detach it, but I have not
found any way to remove/destroy/delete it.


Once it is detached, you have a "remove" button on the top above the list.
You can also do a right click on the row and select "destroy.

With the "remove" action you have the possibility to format the domain 
to wipe any data on it.



What I'm trying for Export Path:
   qagenfil1_nfs1:/ovirt_inside/images


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





Cloud Services for Business www.j2.com
j2 | eFax | eVoice | FuseMail | Campaigner | KeepItSafe | Onebox


This email, including its contents and attachments, contains information from 
j2 Global, Inc. and/or its affiliates that may be privileged, confidential, or 
otherwise protected from disclosure.  The information is intended for the 
addressee(s) only.  If you are not an addressee, any disclosure, copy, 
distribution, or use of this message is prohibited.  If you have received this 
email in error, please immediately notify the sender by reply email and delete 
the message and any copies.  �2017 j2 Global, Inc. and affiliates.  All rights 
reserved.  eFax�, eVoice�, Campaigner�, FuseMail�, KeepItSafe�, and Onebox� are 
trademarks of j2 Global, Inc. and affiliates.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] NFS storage domain path is illegal

2017-04-04 Thread Bill James

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


I'm trying to add a NFS storage domain but the gui keeps telling me the 
export path is illegal.

Even though I can mount the volume fine at the command line.
I have not found any log that contains the error so I can't attach log 
entry.


It says "Use IP:/path or FQDN:/path" but only IP works, no name I've 
tried is allowed.


Also, how do I remove a storage domain?
I could put it into maintenance and then detach it, but I have not found 
any way to remove/destroy/delete it.


What I'm trying for Export Path:
   qagenfil1_nfs1:/ovirt_inside/images


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


Re: [ovirt-users] assigned Host was not available

2017-03-14 Thread Bill James
We found if we move the rebuilt host to a new cluster setup for 4.1 
compatibility it could startup VMs just fine.

So we are guessing its just a 3.6 compat mode issue.
I'll try upgrading the rest of the nodes to 4.1 and change compat mode.
Hopefully all will just work then.
We'll see this weekend

Thanks.


On 03/14/2017 02:41 AM, Bill James wrote:
I'm not sure if its related or not but I noticed 3 other hosts are 
doing similar things.
They all have in common that they are earlier hardware nodes from the 
other 3 nodes in the cluster.
All are HP DL360's, but that later 3 have 256 GB ram, older ones have 
128GB ram.

The other 3 nodes are still running ovirt 3.6.4.


On 3/12/17 11:57 PM, Bill James wrote:
only thing different on the VM config is that I says Deploy to host 
ovirt4.test, which ovirt then ignores because "host is not available".


I attached logs from ovirt engine and ovirt4.test.
VM I tried to start is called "billj4-2".
I also tried to migrate another VM that is suppose to run on ovirt4 
called "billj4".

This time it successfully migrated and is running on ovrit4.test.

Thank you for your help!


[root@ovirt4 test vdsm]# virsh -r list --all
 IdName   State

 2 billj4 running


On 3/12/17 6:16 AM, Yaniv Kaul wrote:



On Tue, Mar 7, 2017 at 9:50 PM Bill James <bill.ja...@j2.com 
<mailto:bill.ja...@j2.com>> wrote:


I have a hardware node that I recently upgraded from 3.6.4 to
4.1.0.4-1.
It is having issues that certain VMs I cannot deploy to it
because ovirt
says host is not available.
However that host is status up and has 14 running VMs on it.

How do I tell why ovirt thinks the host is not available?


Anything different on the VM's configuration?
If some VMs do run on it, look like the issue is with the VM 
configuration. Can you provide full logs?

Y.


Attached is output from "vdsClient -s ovirt4.test.j2noc.com
<http://ovirt4.test.j2noc.com> getVdsStats"


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


engine.log:
2017-03-07 11:06:49,269-08 WARN
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(ForkJo
inPool-1-worker-0) [] EVENT_ID: USER_RUN_VM_ON_NON_DEFAULT_VDS(152),
Correlation ID: 81490f5b-3029-44d4-b223-df
6bb506efb3, Job ID: 76900dc9-ed9a-4fda-a17a-31825aa515c9, Call
Stack:
null, Custom Event ID: -1, Message: Guest
  billj4 started on Host ovirt7.test.j2noc.com
<http://ovirt7.test.j2noc.com>. (Default Host parameter
was ignored - assigned Host was not available).


___
Users mailing list
Users@ovirt.org <mailto: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] assigned Host was not available

2017-03-14 Thread Bill James
I'm not sure if its related or not but I noticed 3 other hosts are doing 
similar things.
They all have in common that they are earlier hardware nodes from the 
other 3 nodes in the cluster.
All are HP DL360's, but that later 3 have 256 GB ram, older ones have 
128GB ram.

The other 3 nodes are still running ovirt 3.6.4.


On 3/12/17 11:57 PM, Bill James wrote:
only thing different on the VM config is that I says Deploy to host 
ovirt4.test, which ovirt then ignores because "host is not available".


I attached logs from ovirt engine and ovirt4.test.
VM I tried to start is called "billj4-2".
I also tried to migrate another VM that is suppose to run on ovirt4 
called "billj4".

This time it successfully migrated and is running on ovrit4.test.

Thank you for your help!


[root@ovirt4 test vdsm]# virsh -r list --all
 IdName   State

 2 billj4 running


On 3/12/17 6:16 AM, Yaniv Kaul wrote:



On Tue, Mar 7, 2017 at 9:50 PM Bill James <bill.ja...@j2.com 
<mailto:bill.ja...@j2.com>> wrote:


I have a hardware node that I recently upgraded from 3.6.4 to
4.1.0.4-1.
It is having issues that certain VMs I cannot deploy to it
because ovirt
says host is not available.
However that host is status up and has 14 running VMs on it.

How do I tell why ovirt thinks the host is not available?


Anything different on the VM's configuration?
If some VMs do run on it, look like the issue is with the VM 
configuration. Can you provide full logs?

Y.


Attached is output from "vdsClient -s ovirt4.test.j2noc.com
<http://ovirt4.test.j2noc.com> getVdsStats"


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


engine.log:
2017-03-07 11:06:49,269-08 WARN
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(ForkJo
inPool-1-worker-0) [] EVENT_ID: USER_RUN_VM_ON_NON_DEFAULT_VDS(152),
Correlation ID: 81490f5b-3029-44d4-b223-df
6bb506efb3, Job ID: 76900dc9-ed9a-4fda-a17a-31825aa515c9, Call Stack:
null, Custom Event ID: -1, Message: Guest
  billj4 started on Host ovirt7.test.j2noc.com
<http://ovirt7.test.j2noc.com>. (Default Host parameter
was ignored - assigned Host was not available).


___
Users mailing list
Users@ovirt.org <mailto: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] assigned Host was not available

2017-03-10 Thread Bill James
We have tried re-kickstarting the server, and removing it from ovirt and 
reinstalling it.

Ovirt still thinks its not available to run VMs.
I even tried calling it by a different name, still no luck.
Starting a VM using "run-once" will deploy to the host just fine.


WHY?
I thought when host is in status UP its available.

How do I find out why ovirt thinks its not available for VMs even though 
it marked it as up?




On 3/7/17 11:45 AM, Bill James wrote:

I have a hardware node that I recently upgraded from 3.6.4 to 4.1.0.4-1.
It is having issues that certain VMs I cannot deploy to it because 
ovirt says host is not available.

However that host is status up and has 14 running VMs on it.

How do I tell why ovirt thinks the host is not available?

Attached is output from "vdsClient -s ovirt4.test.j2noc.com getVdsStats"


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


engine.log:
2017-03-07 11:06:49,269-08 WARN 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(ForkJo
inPool-1-worker-0) [] EVENT_ID: USER_RUN_VM_ON_NON_DEFAULT_VDS(152), 
Correlation ID: 81490f5b-3029-44d4-b223-df
6bb506efb3, Job ID: 76900dc9-ed9a-4fda-a17a-31825aa515c9, Call Stack: 
null, Custom Event ID: -1, Message: Guest
 billj4 started on Host ovirt7.test.j2noc.com. (Default Host parameter 
was ignored - assigned Host was not available).







vdsClient.out.gz
Description: GNU Zip compressed data
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] assigned Host was not available

2017-03-07 Thread Bill James

I have a hardware node that I recently upgraded from 3.6.4 to 4.1.0.4-1.
It is having issues that certain VMs I cannot deploy to it because ovirt 
says host is not available.

However that host is status up and has 14 running VMs on it.

How do I tell why ovirt thinks the host is not available?

Attached is output from "vdsClient -s ovirt4.test.j2noc.com getVdsStats"


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


engine.log:
2017-03-07 11:06:49,269-08 WARN 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(ForkJo
inPool-1-worker-0) [] EVENT_ID: USER_RUN_VM_ON_NON_DEFAULT_VDS(152), 
Correlation ID: 81490f5b-3029-44d4-b223-df
6bb506efb3, Job ID: 76900dc9-ed9a-4fda-a17a-31825aa515c9, Call Stack: 
null, Custom Event ID: -1, Message: Guest
 billj4 started on Host ovirt7.test.j2noc.com. (Default Host parameter 
was ignored - assigned Host was not available).





getVdsStats4.txt.gz
Description: application/gzip
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ovirt network setup hangs

2017-02-21 Thread Bill James

We recently upgraded our QA ovirt installation from ovirt3.6 to 4.0.3.
All seems to work fine except when I try to setup network configuration.

Even if I take an already configured host and change nothing when I 
select "Setup Host Networks" and press "ok" the window just hangs 
(spinning wheel) and task never finishes.
I can Delete the job and restart ovirt-engine and all is clean, till I 
try to setup a network, on any host, again.


I haven't found any log entries that seem to apply, but here's the start 
of the task:


2017-02-21 16:15:35,557 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand] 
(default
task-40) [77a44650] START, HostSetupNetworksVDSCommand(HostName = 
webdev3.dev.j2noc.com, 
HostSetupNetworksVdsCommandParameters:{runAsync='true', 
hostId='85f43ad0-bba8-46af-97db-062651d23a84', 
vds='Host[webdev3.dev.j2noc.com,85f43ad0-bba8-46af-97db-062651d23a84]', 
rollbackOnFailure='true', connectivityTimeout='120', 
networks='[HostNetwork:{defaultRoute='false', bonding='false', 
networkName='V102_dev', nicName='enp4s0f0', vlan='482', mtu='0',
 vmNetwork='true', stp='false', properties='[]', 
ipv4BootProtocol='NONE', ipv4Address='null', ipv4Netmask='null
', ipv4Gateway='null', ipv6BootProtocol='NONE', ipv6Address='null', 
ipv6Prefix='null', ipv6Gateway='null', swit

chType='LEGACY'},


Where would I look for more info?

Another error that is probably related is when I open Setup Host Network 
and click on the edit pencil I get an error: (ui.log)


2017-02-21 16:33:09,486 ERROR 
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] 
(default task-1) [] Permutation name: EBD94055CA35ABB08F35A7613B98C193
2017-02-21 16:33:09,486 ERROR 
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] 
(default task-1) [] Uncaught exception: 
com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError)

 __gwt$exception: : Cannot read property 'c' of null
at Unknown.Ev(webadmin-0.js@25078)
at Unknown.Mv(webadmin-0.js@41)
at Unknown.X7(webadmin-0.js@19)
at Unknown.$7(webadmin-0.js@19)
at Unknown.i7(webadmin-0.js@117)
...
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError)
 __gwt$exception: : Cannot read property 'c' of null


Did I miss something in the upgrade?


ovirt-engine-4.0.3-1.el7.centos.noarch
vdsm-4.18.11-1.el7.centos.x86_64

Thanks.

--

'ovirt-engine' and component 'Frontend.WebAdmin'

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


Re: [ovirt-users] oVirt installs 3.6 repos for 4.0 compat cluster

2017-01-24 Thread James
Yep,

This was 100% my fault here sorry. Turns out we add the repo as part of
our bootstrap process and I just missed the line.

Sorry for the confusion!

Cheers,
James

On Tue, 24 Jan 2017, at 06:24 PM, Yedidyah Bar David wrote:
> On Tue, Jan 24, 2017 at 7:00 AM, James <ja...@jloh.co> wrote:
> > Hi guys,
> >
> > I'm trying to servers to a new oVirt 4.0 cluster. I've upgraded the
> > engine (not hosted, standalone) to version 4.0.6.3 and run engine-setup
> > and everything seemed to go fine.
> >
> > When reinstalling oVirt on a host after removing it from the 3.6 compat
> > cluster into a 4.0 compat cluster causes issues when reinstalling and
> > setting up the management network for some reason. I haven't been able
> > to track this issue down fully yet.
> >
> > Whats weird is that even when a fresh new host is installed and added to
> > the grid for some reason oVirt installs the repos for oVirt 3.6 on the
> 
> AFAIK nothing in oVirt installs repos. It's up to the admin to add the
> correct repos, usually by installing a suitable ovirt-release*.rpm
> package.
> 
> Please check all of /etc/yum.repos.d before you (re)install such a host.
> 
> > host. I'm sure this is done by oVirt itself since they aren't there
> > before I install the host and we don't manage these outside of that. It
> 
> Can you please verify that somehow? E.g. 'yum search vdsm', 'yum info
> vdsm'?
> 
> Also, which OS are you using?
> 
> > also just stalls at "Activating" the host and I can't do anything with
> > them after that.
> >
> > Shouldn't it be installing version 4.0 for this cluster? I've triple
> > checked its set to version 4.0 compatibility and the data center its in
> > is also set to this level.
> >
> > Unsure what logs I can provide but any help would be greatly
> > appreciated!
> 
> Generally speaking, you should check:
> On engine machine - /var/log/ovirt-engine/* ,
> /var/log/ovirt-engine/host-deploy/*
> On host - /var/log/vdsm/* , during install also /tmp/*
> 
> But first check your repos.
> 
> Best,
> -- 
> Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] oVirt installs 3.6 repos for 4.0 compat cluster

2017-01-23 Thread James
Hi guys,

I'm trying to servers to a new oVirt 4.0 cluster. I've upgraded the
engine (not hosted, standalone) to version 4.0.6.3 and run engine-setup
and everything seemed to go fine.

When reinstalling oVirt on a host after removing it from the 3.6 compat
cluster into a 4.0 compat cluster causes issues when reinstalling and
setting up the management network for some reason. I haven't been able
to track this issue down fully yet.

Whats weird is that even when a fresh new host is installed and added to
the grid for some reason oVirt installs the repos for oVirt 3.6 on the
host. I'm sure this is done by oVirt itself since they aren't there
before I install the host and we don't manage these outside of that. It
also just stalls at "Activating" the host and I can't do anything with
them after that.

Shouldn't it be installing version 4.0 for this cluster? I've triple
checked its set to version 4.0 compatibility and the data center its in
is also set to this level.

Unsure what logs I can provide but any help would be greatly
appreciated!

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


Re: [ovirt-users] remove gluster storage domain and resize gluster storage domain

2016-12-01 Thread Bill James

thank you for the reply.

[root@ovirt1 prod ~]# lsblk
NAME  MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda 8:00  1.1T  0 disk
├─sda1  8:10  500M  0 part /boot
├─sda2  8:204G  0 part [SWAP]
└─sda3  8:30  1.1T  0 part
  ├─rootvg01-lv01 253:00   50G  0 lvm  /
  └─rootvg01-lv02 253:101T  0 lvm  /ovirt-store

ovirt2 same.
ovirt3:

[root@ovirt3 prod ~]# lsblk
NAME  MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda 8:00 279.4G  0 disk
├─sda1  8:10   500M  0 part /boot
├─sda2  8:20 4G  0 part [SWAP]
└─sda3  8:30 274.9G  0 part
  ├─rootvg01-lv01 253:0050G  0 lvm  /
*  └─rootvg01-lv02 253:10 224.9G  0 lvm  /ovirt-store*

Ah ha! I missed that. Thank you!!
I can fix that.


Once I detached the storage domain it is no longer listed.
Is there some option to make it show detached volumes?

ovirt-engine-3.6.4.1-1.el7.centos.noarch


On 12/1/16 3:58 AM, Sahina Bose wrote:



On Thu, Dec 1, 2016 at 10:54 AM, Bill James <bill.ja...@j2.com 
<mailto:bill.ja...@j2.com>> wrote:


I have a  3 node cluster with replica 3 gluster volume.
But for some reason the volume is not using the full size available.
I thought maybe it was because I had created a second gluster
volume on same partition, so I tried to remove it.

I was able to put it in maintenance mode and detach it, but in no
window was I able to get the "remove" option to be enabled.
Now if I select "attach data" I see ovirt thinks the volume is
still there, although it is not.

2 questions.

1. how do I clear out the old removed volume from ovirt?


To remove the storage domain, you need to detach the domain from the 
Data Center sub tab of Storage Domain. Once detached, the remove and 
format domain option should be available to you.
Once you detach - what is the status of the storage domain? Does it 
show as Detached?



2. how do I get gluster to use the full disk space available?


Its a 1T partition but it only created a 225G gluster volume. Why?
How do I get the space back?


What's the output of "lsblk"? Is it consistent across all 3 nodes?


All three nodes look the same:
/dev/mapper/rootvg01-lv02  1.1T  135G  929G  13% /ovirt-store
ovirt1-gl.j2noc.com:/gv1   225G  135G   91G  60%
/rhev/data-center/mnt/glusterSD/ovirt1-gl.j2noc.com
<http://ovirt1-gl.j2noc.com>:_gv1


[root@ovirt1 prod ovirt1-gl.j2noc.com:_gv1]# gluster volume status
Status of volume: gv1
Gluster process TCP Port  RDMA Port
Online  Pid

--
Brick ovirt1-gl.j2noc.com:/ovirt-store/bric
k1/gv1  49152 0 Y  5218
Brick ovirt3-gl.j2noc.com:/ovirt-store/bric
k1/gv1  49152 0 Y  5678
Brick ovirt2-gl.j2noc.com:/ovirt-store/bric
k1/gv1  49152 0 Y  61386
NFS Server on localhost 2049  0 Y  31312
Self-heal Daemon on localhost   N/A   N/A Y 
 31320
NFS Server on ovirt3-gl.j2noc.com <http://ovirt3-gl.j2noc.com>   
   2049 0 Y   38109

Self-heal Daemon on ovirt3-gl.j2noc.com
<http://ovirt3-gl.j2noc.com> N/A  N/A Y   38119
NFS Server on ovirt2-gl.j2noc.com <http://ovirt2-gl.j2noc.com>   
   2049 0 Y   5387

Self-heal Daemon on ovirt2-gl.j2noc.com
<http://ovirt2-gl.j2noc.com> N/A  N/A Y   5402

Task Status of Volume gv1

--
There are no active volume tasks


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





Cloud Services for Business www.j2.com
j2 | eFax | eVoice | FuseMail | Campaigner | KeepItSafe | Onebox


This email, its contents and attachments contain information from j2 Global, 
Inc. and/or its affiliates which may be privileged, confidential or otherwise 
protected from disclosure. The information is intended to be for the 
addressee(s) only. If you are not an addressee, any disclosure, copy, 
distribution, or use of the contents of this message is prohibited. If you have 
received this email in error please notify the sender by reply e-mail and 
delete the original message and any copies. (c) 2015 j2 Global, Inc. All rights 
reserved. eFax, eVoice, Campaigner, FuseMail, KeepItSafe, and Onebox are 
registered trademarks of j2 Global, Inc. and its affiliates.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] remove gluster storage domain and resize gluster storage domain

2016-11-30 Thread Bill James

I have a  3 node cluster with replica 3 gluster volume.
But for some reason the volume is not using the full size available.
I thought maybe it was because I had created a second gluster volume on 
same partition, so I tried to remove it.


I was able to put it in maintenance mode and detach it, but in no window 
was I able to get the "remove" option to be enabled.
Now if I select "attach data" I see ovirt thinks the volume is still 
there, although it is not.


2 questions.

1. how do I clear out the old removed volume from ovirt?

2. how do I get gluster to use the full disk space available?

Its a 1T partition but it only created a 225G gluster volume. Why? How 
do I get the space back?


All three nodes look the same:
/dev/mapper/rootvg01-lv02  1.1T  135G  929G  13% /ovirt-store
ovirt1-gl.j2noc.com:/gv1   225G  135G   91G  60% 
/rhev/data-center/mnt/glusterSD/ovirt1-gl.j2noc.com:_gv1



[root@ovirt1 prod ovirt1-gl.j2noc.com:_gv1]# gluster volume status
Status of volume: gv1
Gluster process TCP Port  RDMA Port Online  Pid
--
Brick ovirt1-gl.j2noc.com:/ovirt-store/bric
k1/gv1  49152 0 Y   5218
Brick ovirt3-gl.j2noc.com:/ovirt-store/bric
k1/gv1  49152 0 Y   5678
Brick ovirt2-gl.j2noc.com:/ovirt-store/bric
k1/gv1  49152 0 Y   61386
NFS Server on localhost 2049  0 Y   31312
Self-heal Daemon on localhost   N/A   N/A Y   31320
NFS Server on ovirt3-gl.j2noc.com   2049  0 Y   38109
Self-heal Daemon on ovirt3-gl.j2noc.com N/A   N/A Y   38119
NFS Server on ovirt2-gl.j2noc.com   2049  0 Y   5387
Self-heal Daemon on ovirt2-gl.j2noc.com N/A   N/A Y   5402

Task Status of Volume gv1
--
There are no active volume tasks


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


Re: [ovirt-users] desktop version of client?

2016-10-29 Thread James Michels
Hello Amy.

We had the same needs back in July as we have some classrooms with thin
clients and although we don't just offer the oVirt service we wanted
something simple so users don't need to open a browser and just handle
their machines in a simple way, so I found this project [1] that works
quite fine for what we need. Manage virtual machine's power and start a
viewer. Period. No more funcionalities (not sure if you need something more
sophisticated...).

The project has been stopped for a time but it seems that the maintainer is
implementing new capabilities and fixing some things lately.

As a side note, you didn't mention if your thin clients are linux or
windows based but I believe this is for linux only.

HTH,

James

[1] https://ovirt-desktop-client.click

2016-10-28 20:47 GMT+01:00 Amy Morrisson <amymorr9...@gmail.com>:

> Hey there,
>
> I'm looking for some kind of desktop client for ovirt. I believe as per
> what I've seen that there's nothing official so I'm looking for any other
> options (even if it's an own development). As a last resource we can use
> the web admin but the purpose is to have a few thin clients which would
> start the client at boot time so it's more confortable for users, plus most
> times the web admin becomes slow after a while.
>
> I'm not sure if something like this exists. In any case thanks for any tip.
>
> By the way, we're using ovirt 3.6.7, fwiw.
>
> Amy Morrisson
>
> ___
> 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] ovirt direct hypervisor access and questions about 4.x

2016-09-20 Thread James Ching

Hi,

I've been testing out oVirt 3.6 the past few weeks and feel that I've 
finally got a good grasp on it but there are still a few issues / 
questions that I hope some of you may be able to help out with.


1.  I have a problem directly connecting to a hypervisor and their VMs, 
I've followed the documentation and also tried various methods posted 
online but still now luck... this is what I've been trying: 
https://www.ovirt.org/documentation/how-to/guest-console/connect-to-spice-console-without-portal/


I'd like to have a backup way of accessing the hypervisor if there are 
problems with the portal if we need to troubleshoot anything local, can 
someone provide examples of the various access methods you have 
successfully set up and details of the commands/urls/paths used 
including any password setup/configs needed?


2. Is 4.x backwards compatible?  Is it possible to add a 3.x hypervisor 
to a 4.x hosted engine?  What are some of the clear advantages and 
upsides to starting with 4.x rather than 3.6?


Thanks in advance!


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


Re: [ovirt-users] oVirt fails to install on nodes after moving engine to C7 host

2016-09-06 Thread James
Worked perfectly, thanks so much!

On Tue, 6 Sep 2016, at 07:11 PM, Yedidyah Bar David wrote:
> On Tue, Sep 6, 2016 at 11:54 AM, James <mailingli...@mooash.com> wrote:
> > Thanks for the info. It looks like everything is tied together (as it
> > should be) dependency wise, so downgrading otopi isn't going to be that
> > simple.
> >
> > [root@engine ~]# yum downgrade otopi-1.4.2-1.el7.centos
> > otopi-java-1.4.2-1.el7.centos
> > 
> > Resolving Dependencies
> > --> Running transaction check
> > ---> Package otopi.noarch 0:1.4.2-1.el7.centos will be a downgrade
> > ---> Package otopi.noarch 0:1.5.2-1.el7.centos will be erased
> > ---> Package otopi-java.noarch 0:1.4.2-1.el7.centos will be a downgrade
> > ---> Package otopi-java.noarch 0:1.5.2-1.el7.centos will be erased
> > --> Finished Dependency Resolution
> > Error: Package: ovirt-engine-setup-base-4.0.2.7-1.el7.centos.noarch
> > (@ovirt-4.0)
> >Requires: otopi >= 1.5.0
> >Removing: otopi-1.5.2-1.el7.centos.noarch (@ovirt-4.0)
> >otopi = 1.5.2-1.el7.centos
> >Downgraded By: otopi-1.4.2-1.el7.centos.noarch (ovirt-3.6)
> >otopi = 1.4.2-1.el7.centos
> >Available: otopi-1.4.0-1.el7.noarch (centos-ovirt36)
> >otopi = 1.4.0-1.el7
> >Available: otopi-1.4.0-1.el7.centos.noarch (ovirt-3.6)
> >otopi = 1.4.0-1.el7.centos
> >Available: otopi-1.4.1-1.el7.noarch (centos-ovirt36)
> >otopi = 1.4.1-1.el7
> >Available: otopi-1.4.1-1.el7.centos.noarch (ovirt-3.6)
> >otopi = 1.4.1-1.el7.centos
> >Available: otopi-1.5.0-1.el7.centos.noarch (ovirt-4.0)
> >otopi = 1.5.0-1.el7.centos
> >Available: otopi-1.5.1-1.el7.noarch (centos-ovirt40-release)
> >otopi = 1.5.1-1.el7
> >Available: otopi-1.5.1-1.el7.centos.noarch (ovirt-4.0)
> >otopi = 1.5.1-1.el7.centos
> >  You could try using --skip-broken to work around the problem
> >  You could try running: rpm -Va --nofiles --nodigest
> > [root@engine ~]#
> >
> > Which just goes down a rabbit hole of dependency chasing for most ovirt*
> > packages. I can't think of a good way past this apart from a reinstall?
> 
> It's not really a rabbit hole - if you only upgraded the setup packages,
> it's just them.
> 
> You can downgrade the entire transaction with 'yum history'. Check
> 'yum history' output, 'yum history info ID' with a specific ID to see
> what happened there, then 'yum history undo ID'.
> 
> >
> > On Tue, 6 Sep 2016, at 06:19 PM, Yedidyah Bar David wrote:
> >> On Tue, Sep 6, 2016 at 10:43 AM, James <mailingli...@mooash.com> wrote:
> >> > Thanks for your help! I've pasted the log lines requested below. Also
> >> > worth noting that I tried upgrading it to 4.0 which I think has lead to
> >> > some broken package versions. Everything seems to work, but there are
> >> > some 4.0 packages installed.
> >>
> >> Perhaps that's the problem [1]. Can you try downgrading otopi to 1.4 and
> >> remove /var/cache/ovirt-engine/ovirt-host-deploy.tar on engine machine?
> >>
> >> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1348091
> >>
> >> Your package state is not very healthy but if above is enough to get you
> >> to install a host, and later you succeed upgrading to 4.0, you should be
> >> ok.
> >>
> >> >
> >> > When trying to install 4.0 I followed the docs (yum update
> >> > engine-setup*) however when running engine-setup it informed me that it
> >> > couldn't take the install to 4.0 because of the 3.5 cluster that
> >> > existed. Currently installed pacakges:
> >> >
> >> > Installed Packages
> >> > ovirt-engine.noarch
> >> >3.6.7.5-1.el7.centos
> >> >  @ovirt-3.6
> >> > ovirt-engine-backend.noarch
> >> >3.6.7.5-1.el7.centos
> >> >  @ovirt-3.6
> >> > ovirt-engine-cli.noarch
> >> >3.6.8.0-1.el7.centos
> >> >  @ovirt-4.0
> >> > ovirt-engine-dbscripts.noarch
> >> >3.6.7.5-1.el7.centos
> >> >  @ovirt-3.

Re: [ovirt-users] oVirt fails to install on nodes after moving engine to C7 host

2016-09-06 Thread James
Thanks for the info. It looks like everything is tied together (as it
should be) dependency wise, so downgrading otopi isn't going to be that
simple.

[root@engine ~]# yum downgrade otopi-1.4.2-1.el7.centos
otopi-java-1.4.2-1.el7.centos

Resolving Dependencies
--> Running transaction check
---> Package otopi.noarch 0:1.4.2-1.el7.centos will be a downgrade
---> Package otopi.noarch 0:1.5.2-1.el7.centos will be erased
---> Package otopi-java.noarch 0:1.4.2-1.el7.centos will be a downgrade
---> Package otopi-java.noarch 0:1.5.2-1.el7.centos will be erased
--> Finished Dependency Resolution
Error: Package: ovirt-engine-setup-base-4.0.2.7-1.el7.centos.noarch
(@ovirt-4.0)
   Requires: otopi >= 1.5.0
   Removing: otopi-1.5.2-1.el7.centos.noarch (@ovirt-4.0)
   otopi = 1.5.2-1.el7.centos
   Downgraded By: otopi-1.4.2-1.el7.centos.noarch (ovirt-3.6)
   otopi = 1.4.2-1.el7.centos
   Available: otopi-1.4.0-1.el7.noarch (centos-ovirt36)
   otopi = 1.4.0-1.el7
   Available: otopi-1.4.0-1.el7.centos.noarch (ovirt-3.6)
   otopi = 1.4.0-1.el7.centos
   Available: otopi-1.4.1-1.el7.noarch (centos-ovirt36)
   otopi = 1.4.1-1.el7
   Available: otopi-1.4.1-1.el7.centos.noarch (ovirt-3.6)
   otopi = 1.4.1-1.el7.centos
   Available: otopi-1.5.0-1.el7.centos.noarch (ovirt-4.0)
   otopi = 1.5.0-1.el7.centos
   Available: otopi-1.5.1-1.el7.noarch (centos-ovirt40-release)
   otopi = 1.5.1-1.el7
   Available: otopi-1.5.1-1.el7.centos.noarch (ovirt-4.0)
   otopi = 1.5.1-1.el7.centos
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@engine ~]#

Which just goes down a rabbit hole of dependency chasing for most ovirt*
packages. I can't think of a good way past this apart from a reinstall?

On Tue, 6 Sep 2016, at 06:19 PM, Yedidyah Bar David wrote:
> On Tue, Sep 6, 2016 at 10:43 AM, James <mailingli...@mooash.com> wrote:
> > Thanks for your help! I've pasted the log lines requested below. Also
> > worth noting that I tried upgrading it to 4.0 which I think has lead to
> > some broken package versions. Everything seems to work, but there are
> > some 4.0 packages installed.
> 
> Perhaps that's the problem [1]. Can you try downgrading otopi to 1.4 and
> remove /var/cache/ovirt-engine/ovirt-host-deploy.tar on engine machine?
> 
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1348091
> 
> Your package state is not very healthy but if above is enough to get you
> to install a host, and later you succeed upgrading to 4.0, you should be
> ok.
> 
> >
> > When trying to install 4.0 I followed the docs (yum update
> > engine-setup*) however when running engine-setup it informed me that it
> > couldn't take the install to 4.0 because of the 3.5 cluster that
> > existed. Currently installed pacakges:
> >
> > Installed Packages
> > ovirt-engine.noarch
> >3.6.7.5-1.el7.centos
> >  @ovirt-3.6
> > ovirt-engine-backend.noarch
> >3.6.7.5-1.el7.centos
> >  @ovirt-3.6
> > ovirt-engine-cli.noarch
> >3.6.8.0-1.el7.centos
> >  @ovirt-4.0
> > ovirt-engine-dbscripts.noarch
> >3.6.7.5-1.el7.centos
> >  @ovirt-3.6
> > ovirt-engine-dwh.noarch
> >3.6.6-1.el7.centos
> >  @ovirt-3.6
> > ovirt-engine-dwh-setup.noarch
> >4.0.1-1.el7.centos
> >  @ovirt-4.0
> > ovirt-engine-extension-aaa-jdbc.noarch
> >1.0.7-1.el7
> >  @ovirt-3.6
> > ovirt-engine-extension-aaa-ldap.noarch
> >1.2.1-1.el7
> >  @ovirt-4.0
> > ovirt-engine-extension-aaa-ldap-setup.noarch
> >1.2.1-1.el7
> >  @ovirt-4.0
> > ovirt-engine-extensions-api-impl.noarch
> >4.0.2.7-1.el7.centos
> >  @ovirt-4.0
> > ovirt-engine-lib.noarch
> >4.0.2.7-1.el7.centos
> >  @ovirt-4.0
> > ovirt-engine-restapi.noarch
> >3.6.7.5-1.el7.centos
> >  

Re: [ovirt-users] oVirt fails to install on nodes after moving engine to C7 host

2016-09-06 Thread James
read-32) [2bfaf56] Lock freed to object
'EngineLock:{exclusiveLocks='[12489166-d1ea-4bcc-8e96-526a1826c506=<VDS,
ACTION_TYPE_FAILED_OBJECT_LOCKED>]', sharedLocks='null'}'
2016-09-06 15:12:15,695 INFO 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(default task-3) [2bfaf56] Correlation ID: null, Call Stack: null,
Custom Event ID: -1, Message: Executing power management status on Host
srv3.xxx.xxx.xxx using Proxy Host srv2.xxx.xxx.xxx and Fence Agent
ipmilan:xxx.xx.xx.xx. 
2016-09-06 15:12:15,696 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand] (default
task-3) [2bfaf56] START, FenceVdsVDSCommand(HostName = srv2.xxx.xxx.xxx,
FenceVdsVDSCommandParameters:{runAsync='true',
hostId='d1fbefab-c5f7-4c4a-811f-0f4e2cd7d9e3',
targetVdsId='12489166-d1ea-4bcc-8e96-526a1826c506', action='STATUS',
agent='FenceAgent:{id='7cddafa7-94bd-48fe-b593-fbc3fe24950e',
hostId='12489166-d1ea-4bcc-8e96-526a1826c506', order='1',
type='ipmilan', ip='xxx.xx.xx.xx', port='null', user='root',
password='***', encryptOptions='false', options='privlvl=OPERATOR
delay=10
lanplus=1'}', policy='null'}), log id: 32d678be
2016-09-06 15:12:15,981 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand] (default
task-3) [2bfaf56] FINISH, FenceVdsVDSCommand, return:
FenceOperationResult:{status='SUCCESS', powerStatus='ON', message=''},
log id: 32d678be
2016-09-06 15:12:15,988 INFO 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(default task-3) [2bfaf56] Correlation ID: 2bfaf56, Call Stack: null,
Custom Event ID: -1, Message: Host srv3.xxx.xxx.xxx configuration was
updated by x...@xxx.xxx.


On Tue, 6 Sep 2016, at 05:01 PM, Yedidyah Bar David wrote:
> On Tue, Sep 6, 2016 at 6:08 AM, James <mailingli...@mooash.com> wrote:
> > Hey,
> >
> > I moved our standalone engine from a C6 host to a C7 host and now it
> > wont install/setup oVirt nodes. It just responds with messages like
> > this:
> >
> > Host xxx.xxx.xxx installation failed. Unexpected connection termination.
> > Failed to install Host xxx.xxx.xxx. Command returned failure code 1
> > during SSH session 'r...@xxx.xx.xx.x'.
> >
> > And from engine.log
> >
> > 2016-09-06 12:20:08,011 ERROR
> > [org.ovirt.engine.core.uutils.ssh.SSHDialog]
> > (org.ovirt.thread.pool-8-thread-41) [55397a53] SSH error running command
> > r...@xxx.xx.xx.x:'umask 0077; MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp
> > -d -t ovirt-XX)"; trap "chmod -R u+rwX \"${MY
> > 2016-09-06 12:20:08,011 ERROR
> > [org.ovirt.engine.core.uutils.ssh.SSHDialog]
> > (org.ovirt.thread.pool-8-thread-41) [55397a53] SSH error running command
> > r...@xxx.xx.xx.x:'umask 0077; MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp
> > -d -t ovirt-XX)"; trap "chmod -R u+rwX \"${MY
> > TMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; tar
> > --warning=no-timestamp -C "${MYTMP}" -x &&  "${MYTMP}"/ovirt-host-deploy
> > DIALOG/dialect=str:machine DIALOG/customization=bool:True': Command
> > returned failure code 1 during SSH session 'r...@xxx.xx.xx.x'
> > 2016-09-06 12:20:08,007 ERROR
> > [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy)
> > [55397a53] Error during deploy dialog: java.io.IOException: Unexpected
> > connection termination
> > at
> > 
> > org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:387)
> > [otopi.jar:]
> > at
> > 
> > org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:404)
> > [otopi.jar:]
> > at
> > 
> > org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase._threadMain(VdsDeployBase.java:304)
> > [bll.jar:]
> > at
> > 
> > org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase.access$800(VdsDeployBase.java:45)
> > [bll.jar:]
> > at
> > 
> > org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase$12.run(VdsDeployBase.java:386)
> > [bll.jar:]
> > at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_101]
> >
> > 2016-09-06 12:20:08,013 ERROR
> > [org.ovirt.engine.core.uutils.ssh.SSHDialog]
> > (org.ovirt.thread.pool-8-thread-41) [55397a53] Exception:
> > java.io.IOException: Command returned failure code 1 during SSH session
> > 'r...@xxx.xx.xx.x'
> > at
> > 
> > org.ovirt.engine.core.uutils.ssh.SSHClient.executeCommand(SSHClient.java:527)
> > [uutils.jar:]
> > at
> > 
> > org.ovirt.engine.

Re: [ovirt-users] Python SDK 4.0

2016-08-30 Thread James Michels
As how I see it, lots of things have changed, that involves redoing a lot
of code... Is it ok to use ovirt-engine-sdk-python 3.6.* against ovirt 4.0?
If so, what are the requisites?

Thanks

James

2016-08-30 12:46 GMT+01:00 Ondra Machacek <omach...@redhat.com>:

> On 08/30/2016 01:41 PM, James Michels wrote:
>
>> Hi
>>
>> Is there some document explaining changes between Python SDK versions
>> 3.6 and 4.0? I just upgraded to package version 4.0 and I'm unable to
>> find even the API object...
>>
>
> There is no document explaining changes, but there are many examples
> written here:
>
>  https://github.com/oVirt/ovirt-engine-sdk/tree/master/sdk/examples
>
> There is also description of usage here:
>
>  https://github.com/oVirt/ovirt-engine-sdk/tree/master/sdk
>
>
>
>> Thanks
>>
>> James
>>
>>
>> ___
>> 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] Python SDK 4.0

2016-08-30 Thread James Michels
Hi

Is there some document explaining changes between Python SDK versions 3.6
and 4.0? I just upgraded to package version 4.0 and I'm unable to find even
the API object...

Thanks

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


Re: [ovirt-users] Choose default auth backend

2016-08-29 Thread James Michels
Thanks for this!

Regards

James

2016-08-29 9:26 GMT+01:00 Ondra Machacek <omach...@redhat.com>:

> On 08/29/2016 10:09 AM, James Michels wrote:
>
>> Greetings,
>>
>> We have several auth backends (LDAP, AD...), and we'd like to establish
>> de default one to one of them. 'internal' seems to be the default now.
>>
>> Is there a way to override the default backend on the login page?
>>
>
> yes, we have such feature since 4.0.
> You can see details in doc text of following bug:
>
>  https://bugzilla.redhat.com/show_bug.cgi?id=1296274
>
> Doc text:
> With this update, a new configuration variable,
> ovirt.engine.aaa.authn.default.profile, has been added to the authn
> configuration file. Setting this variable ensures that the profile
> drop-down menu on the login page defaults to the selected profile. To
> configure this feature, add ovirt.engine.aaa.authn.default.profile to the
> authn configuration file for a selected profile and set the value to true
> then restart the ovirt-engine service. If the 
> ovirt.engine.aaa.authn.default.profile
> variable is not defined in the authn configuration file the drop-down menu
> defaults to internal.
>
>
>> This is ovirt 4.0.2
>>
>> Thanks
>>
>> James
>>
>>
>> ___
>> 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] Choose default auth backend

2016-08-29 Thread James Michels
Greetings,

We have several auth backends (LDAP, AD...), and we'd like to establish de
default one to one of them. 'internal' seems to be the default now.

Is there a way to override the default backend on the login page?

This is ovirt 4.0.2

Thanks

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


Re: [ovirt-users] ovirt4.0.1 and new node, migration fails

2016-08-26 Thread Bill James
Can anyone offer suggestions on how to figure out why when I create a 
new VM and go to "Host" and try to select "Specific Host", although 2 
nodes are listed it won't let me pick on of them?


No updates on the bug reported.
I tried ovirt-engine-4.0.2.7-1.el7.centos.noarch on both ovirt engine 
and the new node, no change.


The 2 nodes are not identical if that makes a difference. Both are HP 
DL360 G8's but one has 128GB RAM and the other has 32GB. Does that matter?


If after creating VM I go to "Run-once", then I can select the second 
node and VM starts up fine.

Or I can migrate the VM once its started.
Why doesn't the initial "New VM" window allow me to select a host?



On 8/15/16 8:51 AM, Bill James wrote:

sure did. No word yet on that.
*bug 1363900*



On 08/14/2016 03:43 AM, Yaniv Dary wrote:

Did you open a bug like Michal asked?

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 <mailto:yd...@redhat.com> IRC 
: ydary


On Fri, Aug 12, 2016 at 2:23 AM, Bill James <bill.ja...@j2.com 
<mailto:bill.ja...@j2.com>> wrote:


just fyi, I tried updating to
ovirt-engine-4.0.2.6-1.el7.centos.noarch
and still same story, it won't let me select a specific host to
deploy a VM to, and doesn't tell me why not.

However I can migrate the VM from one node to the other one just
fine.

Any ideas why?

I provided logs earlier.




On 08/03/2016 02:32 PM, Bill James wrote:

opened bug 1363900.
It also includes recent logs from all 3 servers.

Also tried updating vdsm to 4.18.10-1 and restarted ovirt-engine.
No change in results.

I can migrate VMs to new node but not initially assign VMs to
    that node.


On 07/29/2016 09:31 AM, Bill James wrote:

ok, I will raise a bug. Yes it is very frustrating just
having button not work without explanation.
I don't know if this is related, the new host that I am
having troubles with is running 4.0.1.1-1,
other other host is running 4.0.0.6-1

I was planning on migrating VMs then upgrade the older host.
Also Cluster is still in 3.6 mode, also waiting for
upgrade of older node.
All storage domains are on older node, its the NFS server.


hmm, just retried migration so I could get vdsm logs from
both hosts.
1 VM worked, the other 3 failed.
And I still can't assign VMs to new node.

VM that worked: f4cd4891-977d-44c2-8554-750ce86da7c9

Not sure what's special about it.
It and 45f4f24b-2dfa-401b-8557-314055a4662c are clones
from same template.


Attaching logs from 2 nodes and engine now.



On 7/29/16 4:00 AM, Michal Skrivanek wrote:

On 28 Jul 2016, at 18:37, Bill James
<bill.ja...@j2.com <mailto:bill.ja...@j2.com>> wrote:

I'm trying to test out ovirt4.0.1.
I added a new hardware node to the cluster. Its
status is Up.
But for some reason when I create a new VM and
try to select "Specific Host" the radio button
doesn't let me select it so I can't assign a VM
to new node.

please raise that as a bug if there is no explanation why

When I try to migrate a VM to new node it fails with:

MigrationError: Domain not found: no domain with
matching uuid '45f4f24b-2dfa-401b-8557-314055a4662c'


What did I miss?

for migration issues you always need to include vdsm
logs from both source and destination host. Hard to
say otherwise. Anything special about your deployment?

ovirt-engine-4.0.1.1-1.el7.centos.noarch
vdsm-4.18.6-1.el7.centos.x86_64

storage is NFS.

Attached logs.


___

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




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






--

Check it out Tomorrow night:
http://thebilljamesgroup.com/Events.html

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


Re: [ovirt-users] Upgrade hosts/nodes from engine

2016-08-17 Thread James Michels
Why not just assign the host a publicly accessible IP address and restrict
SSH by firewall so only the engine (and possibly you) can access through
SSH?

James

2016-08-16 23:03 GMT+01:00 Hanson <han...@andrewswireless.net>:

> Hi Guys,
>
> Quick question, I have my nodes on a bond-bridge-privateVlan setup, and my
> engine on a bond-bridge-publicVlan setup for remote monitoring.
>
> Understandably, the nodes are complaining that they are failing updates.
> (They're on a private vlan, and only configured with IP's in that vlan, the
> public vlan doesn't have IP's set on the hosts so they can pass it to VMs).
>
> Is there a way to have the engine do the updates on the node using its
> internet connection, like a proxy?
>
> For security reasons I like to have the nodes not publicly accessible, as
> we see hundreds if not thousands of ssh attempts, and root would probably
> be the most attacked account.
>
> Thanks,
>
> Hanson
>
> ___
> 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] ovirt4.0.1 and new node, migration fails

2016-08-15 Thread Bill James

sure did. No word yet on that.
bug 1363900



On 08/14/2016 03:43 AM, Yaniv Dary wrote:

Did you open a bug like Michal asked?

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 <mailto:yd...@redhat.com> IRC 
: ydary


On Fri, Aug 12, 2016 at 2:23 AM, Bill James <bill.ja...@j2.com 
<mailto:bill.ja...@j2.com>> wrote:


just fyi, I tried updating to ovirt-engine-4.0.2.6-1.el7.centos.noarch
and still same story, it won't let me select a specific host to
deploy a VM to, and doesn't tell me why not.

However I can migrate the VM from one node to the other one just fine.

Any ideas why?

I provided logs earlier.




On 08/03/2016 02:32 PM, Bill James wrote:

opened bug 1363900.
It also includes recent logs from all 3 servers.

Also tried updating vdsm to 4.18.10-1 and restarted ovirt-engine.
No change in results.

I can migrate VMs to new node but not initially assign VMs to
that node.


On 07/29/2016 09:31 AM, Bill James wrote:

ok, I will raise a bug. Yes it is very frustrating just
having button not work without explanation.
I don't know if this is related, the new host that I am
having troubles with is running 4.0.1.1-1,
other other host is running 4.0.0.6-1

I was planning on migrating VMs then upgrade the older host.
Also Cluster is still in 3.6 mode, also waiting for
upgrade of older node.
All storage domains are on older node, its the NFS server.


hmm, just retried migration so I could get vdsm logs from
both hosts.
1 VM worked, the other 3 failed.
And I still can't assign VMs to new node.

VM that worked: f4cd4891-977d-44c2-8554-750ce86da7c9

Not sure what's special about it.
It and 45f4f24b-2dfa-401b-8557-314055a4662c are clones
from same template.


Attaching logs from 2 nodes and engine now.



On 7/29/16 4:00 AM, Michal Skrivanek wrote:

On 28 Jul 2016, at 18:37, Bill James
<bill.ja...@j2.com <mailto:bill.ja...@j2.com>> wrote:

I'm trying to test out ovirt4.0.1.
I added a new hardware node to the cluster. Its
status is Up.
But for some reason when I create a new VM and try
to select "Specific Host" the radio button doesn't
let me select it so I can't assign a VM to new node.

please raise that as a bug if there is no explanation why

When I try to migrate a VM to new node it fails with:

MigrationError: Domain not found: no domain with
matching uuid '45f4f24b-2dfa-401b-8557-314055a4662c'


What did I miss?

for migration issues you always need to include vdsm
logs from both source and destination host. Hard to
say otherwise. Anything special about your deployment?

ovirt-engine-4.0.1.1-1.el7.centos.noarch
vdsm-4.18.6-1.el7.centos.x86_64

storage is NFS.

Attached logs.


___

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




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





Cloud Services for Business www.j2.com
j2 | eFax | eVoice | FuseMail | Campaigner | KeepItSafe | Onebox


This email, its contents and attachments contain information from j2 Global, 
Inc. and/or its affiliates which may be privileged, confidential or otherwise 
protected from disclosure. The information is intended to be for the 
addressee(s) only. If you are not an addressee, any disclosure, copy, 
distribution, or use of the contents of this message is prohibited. If you have 
received this email in error please notify the sender by reply e-mail and 
delete the original message and any copies. (c) 2015 j2 Global, Inc. All rights 
reserved. eFax, eVoice, Campaigner, FuseMail, KeepItSafe, and Onebox are 
registered trademarks of j2 Global, Inc. and its affiliates.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt4.0.1 and new node, migration fails

2016-08-11 Thread Bill James

just fyi, I tried updating to ovirt-engine-4.0.2.6-1.el7.centos.noarch
and still same story, it won't let me select a specific host to deploy a 
VM to, and doesn't tell me why not.


However I can migrate the VM from one node to the other one just fine.

Any ideas why?

I provided logs earlier.



On 08/03/2016 02:32 PM, Bill James wrote:

opened bug 1363900.
It also includes recent logs from all 3 servers.

Also tried updating vdsm to 4.18.10-1 and restarted ovirt-engine.
No change in results.

I can migrate VMs to new node but not initially assign VMs to that node.


On 07/29/2016 09:31 AM, Bill James wrote:
ok, I will raise a bug. Yes it is very frustrating just having button 
not work without explanation.
I don't know if this is related, the new host that I am having 
troubles with is running 4.0.1.1-1,

other other host is running 4.0.0.6-1

I was planning on migrating VMs then upgrade the older host.
Also Cluster is still in 3.6 mode, also waiting for upgrade of older 
node.

All storage domains are on older node, its the NFS server.


hmm, just retried migration so I could get vdsm logs from both hosts.
1 VM worked, the other 3 failed.
And I still can't assign VMs to new node.

VM that worked: f4cd4891-977d-44c2-8554-750ce86da7c9

Not sure what's special about it.
It and 45f4f24b-2dfa-401b-8557-314055a4662c are clones from same 
template.



Attaching logs from 2 nodes and engine now.



On 7/29/16 4:00 AM, Michal Skrivanek wrote:

On 28 Jul 2016, at 18:37, Bill James <bill.ja...@j2.com> wrote:

I'm trying to test out ovirt4.0.1.
I added a new hardware node to the cluster. Its status is Up.
But for some reason when I create a new VM and try to select 
"Specific Host" the radio button doesn't let me select it so I 
can't assign a VM to new node.

please raise that as a bug if there is no explanation why


When I try to migrate a VM to new node it fails with:

MigrationError: Domain not found: no domain with matching uuid 
'45f4f24b-2dfa-401b-8557-314055a4662c'



What did I miss?
for migration issues you always need to include vdsm logs from both 
source and destination host. Hard to say otherwise. Anything special 
about your deployment?



ovirt-engine-4.0.1.1-1.el7.centos.noarch
vdsm-4.18.6-1.el7.centos.x86_64

storage is NFS.

Attached logs.

___ 


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] Multipath iSCSI with several IPs

2016-08-04 Thread James Michels
I guess you mean the 'iSCSI multipath' sub-tab under the 'Datacenters' tab.
There you can assign one or more networks to a iSCSI backend. In my opinion
you cannot have more than one interface within the same network segment to
do multipath, as you would have connectivity issues (not sure if ovirt
restricts creating two overlapping networks)

2016-08-04 17:27 GMT+01:00 Chris Adams <c...@cmadams.net>:

> Once upon a time, James Michels <karma.sometimes.hu...@gmail.com> said:
> > Correct me if I'm wrong but I think Dan meant target's IPs. So if you
> have
> > a SAN backend with two IP addresses, you first discover LUNs from first
> IP
> > address, then discover LUNs from the second IP address, and so on... once
> > you have them all, you just check them and click on "OK" so the same
> target
> > is added with several IP addresses. You don't need to have one IP address
> > per oVirt server.
>
> Well, to do iSCSI multipath right, you should also have multiple
> interfaces on each client server, each with its own IP.  I'm not sure
> how you do that with oVirt.
>
> --
> Chris Adams <c...@cmadams.net>
> ___
> 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] Multipath iSCSI with several IPs

2016-08-04 Thread James Michels
Hello Chris,

Correct me if I'm wrong but I think Dan meant target's IPs. So if you have
a SAN backend with two IP addresses, you first discover LUNs from first IP
address, then discover LUNs from the second IP address, and so on... once
you have them all, you just check them and click on "OK" so the same target
is added with several IP addresses. You don't need to have one IP address
per oVirt server.


2016-08-04 16:32 GMT+01:00 Chris Adams :

> Once upon a time, Dan Yasny  said:
> > Normally you
> > 1. enter the IP
> > 2. click discover
> > 3. login to whatever was found
> > 4. enter another IP instead of the first
> > 5. goto 2
>
> How do you give the oVirt server two IPs (in the same subnet) though?
>
> --
> Chris Adams 
> ___
> 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] Fwd: Multipath iSCSI with several IPs

2016-08-04 Thread James Michels
Nice, now it's crystal clear. This is an Huawei Oceanstor disk array which
we want to test with ovirt so we can see performance, how ovirt behaves
with situations where one controller is disconnected etc., that's why we
wanted to implement multipath.

Thanks for the insight!

James

2016-08-04 15:42 GMT+01:00 Dan Yasny <dya...@gmail.com>:

>
>
> On Thu, Aug 4, 2016 at 10:37 AM, James Michels <
> karma.sometimes.hu...@gmail.com> wrote:
>
>> Hi Dan,
>>
>> The way you describe it I should have 2 storage backends with 2 IPs for
>> the same SAN backend, right?
>>
>
> Every iSCSI SAN has multiple portals (usually one on each storage
> controller, and each with it's own IP), and when you create a target you
> assign it the portals through which it should be accessible. So if you have
> two portals (two IPs) assigned to a target (LUN), you can access it via two
> paths, each path leading through a different portal/IP to the same
> target/LUN.
> What do you use for your iSCSI backend?
>
>
>> The problem I see is that when you create a disk for a VM, you assign it
>> to only one storage domain... so if the first fails, how will oVirt know
>> which one should use as failover?
>>
>>
> There is only one disk, but it sits on a target, which can be accessed via
> two different IPs. oVirt stores all the iSCSI portal IPs you give it as
> described in my first response in a database, and connects to them when
> connecting to the storage domain. If one is down, multipath will mark the
> path as down and keep using other IPs to access the same LUN
>
>
>> Thank you
>>
>> 2016-08-04 15:20 GMT+01:00 Dan Yasny <dya...@gmail.com>:
>>
>>> Normally you
>>> 1. enter the IP
>>> 2. click discover
>>> 3. login to whatever was found
>>> 4. enter another IP instead of the first
>>> 5. goto 2
>>>
>>> On Thu, Aug 4, 2016 at 10:13 AM, James Michels <
>>> karma.sometimes.hu...@gmail.com> wrote:
>>>
>>>> Hello,
>>>>
>>>> I want to add an iSCSI based storage domain. For that I add a domain on
>>>> the Storage tab with one of the IPs (say 10.10.10.1), but for failover
>>>> purposes I'd like to use multipath to add a failover IP so if the first one
>>>> fails, LUNs can be reached via the second (say 10.10.10.2).
>>>>
>>>> How can this be done in oVirt 4.0.1? I have not seen a way how to add
>>>> the second IP for multipath purposes.
>>>>
>>>> Thank you
>>>>
>>>> James
>>>>
>>>> ___
>>>> 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] Fwd: Multipath iSCSI with several IPs

2016-08-04 Thread James Michels
Hi Dan,

The way you describe it I should have 2 storage backends with 2 IPs for the
same SAN backend, right? The problem I see is that when you create a disk
for a VM, you assign it to only one storage domain... so if the first
fails, how will oVirt know which one should use as failover?

Thank you

2016-08-04 15:20 GMT+01:00 Dan Yasny <dya...@gmail.com>:

> Normally you
> 1. enter the IP
> 2. click discover
> 3. login to whatever was found
> 4. enter another IP instead of the first
> 5. goto 2
>
> On Thu, Aug 4, 2016 at 10:13 AM, James Michels <
> karma.sometimes.hu...@gmail.com> wrote:
>
>> Hello,
>>
>> I want to add an iSCSI based storage domain. For that I add a domain on
>> the Storage tab with one of the IPs (say 10.10.10.1), but for failover
>> purposes I'd like to use multipath to add a failover IP so if the first one
>> fails, LUNs can be reached via the second (say 10.10.10.2).
>>
>> How can this be done in oVirt 4.0.1? I have not seen a way how to add the
>> second IP for multipath purposes.
>>
>> Thank you
>>
>> James
>>
>> ___
>> 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] Multipath iSCSI with several IPs

2016-08-04 Thread James Michels
Hello,

I want to add an iSCSI based storage domain. For that I add a domain on the
Storage tab with one of the IPs (say 10.10.10.1), but for failover purposes
I'd like to use multipath to add a failover IP so if the first one fails,
LUNs can be reached via the second (say 10.10.10.2).

How can this be done in oVirt 4.0.1? I have not seen a way how to add the
second IP for multipath purposes.

Thank you

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


Re: [ovirt-users] ovirt4.0.1 and new node, migration fails

2016-08-03 Thread Bill James

opened bug 1363900.
It also includes recent logs from all 3 servers.

Also tried updating vdsm to 4.18.10-1 and restarted ovirt-engine.
No change in results.

I can migrate VMs to new node but not initially assign VMs to that node.


On 07/29/2016 09:31 AM, Bill James wrote:
ok, I will raise a bug. Yes it is very frustrating just having button 
not work without explanation.
I don't know if this is related, the new host that I am having 
troubles with is running 4.0.1.1-1,

other other host is running 4.0.0.6-1

I was planning on migrating VMs then upgrade the older host.
Also Cluster is still in 3.6 mode, also waiting for upgrade of older 
node.

All storage domains are on older node, its the NFS server.


hmm, just retried migration so I could get vdsm logs from both hosts.
1 VM worked, the other 3 failed.
And I still can't assign VMs to new node.

VM that worked: f4cd4891-977d-44c2-8554-750ce86da7c9

Not sure what's special about it.
It and 45f4f24b-2dfa-401b-8557-314055a4662c are clones from same 
template.



Attaching logs from 2 nodes and engine now.



On 7/29/16 4:00 AM, Michal Skrivanek wrote:

On 28 Jul 2016, at 18:37, Bill James <bill.ja...@j2.com> wrote:

I'm trying to test out ovirt4.0.1.
I added a new hardware node to the cluster. Its status is Up.
But for some reason when I create a new VM and try to select 
"Specific Host" the radio button doesn't let me select it so I can't 
assign a VM to new node.

please raise that as a bug if there is no explanation why


When I try to migrate a VM to new node it fails with:

MigrationError: Domain not found: no domain with matching uuid 
'45f4f24b-2dfa-401b-8557-314055a4662c'



What did I miss?
for migration issues you always need to include vdsm logs from both 
source and destination host. Hard to say otherwise. Anything special 
about your deployment?



ovirt-engine-4.0.1.1-1.el7.centos.noarch
vdsm-4.18.6-1.el7.centos.x86_64

storage is NFS.

Attached logs.

___ 


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] remote-viewer on OSX

2016-07-27 Thread Tony James

> On Jul 27, 2016, at 5:47 AM, Gianluca Cecchi  
> wrote:
> 
> Hello,
> I'm going to provide access to ovirt VMs to people who are using OSX
> At this moment I don't have access to any OSX environment to crosscheck, but 
> is still that complex/intricate?
> http://www.ovirt.org/documentation/admin-guide/virt/spice-remote-viewer-on-os-x/
> 

I’ve used this: https://github.com/jeffreywildman/homebrew-virt-manager

To launch a console I run “remote-viewer Downloads/console.vv"

> Thanks,
> Gianluca
> ___
> 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] migrating a vm from a down node

2016-06-27 Thread Bill James
I am doing some fault tolerance type testing with ovirt before we put it 
in production.
One thing I noticed is if I unplug the power from a hardware node, 
including iLo (fence),

that the VMs that were on that host go to unknown state.
I have found no way in the GUI to migrate the hosts, even they they are 
marked HA.

The only way I've found so far is to modify the database directly.
Is that the only recovery from a host failure of this type?



engine=> update vm_dynamic set status = 0 where vm_guid =(select
engine(> vm_guid from vm_static where vm_name = 'myvm');


ovirt-engine-3.6.4.1-1.el7.centos.noarch
centos 7.2


Also is 3.6.4 a OK version to use or should I upgrade first?
(looks like 3.6.6.2-1.el7.centos is current latest)
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Unofficial projects

2016-06-25 Thread James Michels
We have lots of non-technically profiled users but yet we want them to use
some machines, mostly "automatic" VM pools. So instead of making them open
the User panel, we're working on a very simple desktop app that will
connect to oVirt's API with their credentials, get a list of all VMs they
have permissions on and allow them only 2 operations: manage power (power
off, power on) and connect to the machine getting a SPICE ticket and
chaining it to virt-viewer. The main advantage is that this app will be
started on their session open, so it should be more confortable to them.

Once finished we will publish the source code, so If you consider this
useful I can notify you if interested.

Regards

2016-06-25 8:37 GMT+01:00 Michal Skrivanek <michal.skriva...@redhat.com>:

>
> > On 25 Jun 2016, at 08:56, James Michels <karma.sometimes.hu...@gmail.com>
> wrote:
> >
> > Greetings,
> >
> > Is there some official oVirt section where you list unofficial
> oVirt-related projects? If so, what is the process for a new unofficial
> project to get listed there?
>
> What do you have in mind? Anything cool?
>
> >
> > If not, I think it might be a good idea to provide a minimal support by
> listing them.
>
> If you mean to include something as a part of oVirt then following pages
> should explain it:
> https://www.ovirt.org/develop/projects/adding-a-new-project/
> https://www.ovirt.org/develop/projects/incubating-an-subproject/
>
> Thanks,
> michal
>
> >
> > Thank you.
> >
> > James
> > ___
> > 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] Unofficial projects

2016-06-25 Thread James Michels
Greetings,

Is there some official oVirt section where you list unofficial
oVirt-related projects? If so, what is the process for a new unofficial
project to get listed there?

If not, I think it might be a good idea to provide a minimal support by
listing them.

Thank you.

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


Re: [ovirt-users] dwhd error: host_interface_samples_history_pkey

2016-05-31 Thread Bill James

That fixed it, Thank you.


On 05/29/2016 12:39 AM, Yedidyah Bar David wrote:

On Fri, May 27, 2016 at 9:03 PM, Bill James <bill.ja...@j2.com> wrote:

Ovirt events keeps saying
"ETL service sampling has encountered an error. Please consult the service
log for more details."


ovirt-engine-dwhd.log says:
2016-05-27
10:55:00|UWxd1W|48u96S|MjrqV0|OVIRT_ENGINE_DWH|StatisticsSync|Default|6|Java
Exception|tJDBCOutput_4|org.postgresql.util.PSQLException:ERROR: root page
  3 of index "host_interface_samples_history_pkey" has level 0, expected 1|1

This error message is from postgresql, unrelated to a specific feature/table/etc
of ovirt.

It most likely means you had some corruption in your database, either due to
bad hardware (RAM, disk, etc) or temporary issues (power failure, kernel panic
etc).

If you think it was a temporary issue and just want to fix this specific bad
index, you can recreate it with the command "reindex". Search for e.g.
'postgresql "ignore_system_indexes" reindex' to find more relevant information.

Best,


Exception in component tJDBCOutput_3
org.postgresql.util.PSQLException: ERROR: current transaction is aborted,
commands ignored until end of transaction block
 at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2157)

(see attached)

I double checked all my VMs, they all have an interface assigned. Not sure
what host_interface_samples_history_pkey is referring to.


Thanks.


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







Cloud Services for Business www.j2.com
j2 | eFax | eVoice | FuseMail | Campaigner | KeepItSafe | Onebox


This email, its contents and attachments contain information from j2 Global, 
Inc. and/or its affiliates which may be privileged, confidential or otherwise 
protected from disclosure. The information is intended to be for the 
addressee(s) only. If you are not an addressee, any disclosure, copy, 
distribution, or use of the contents of this message is prohibited. If you have 
received this email in error please notify the sender by reply e-mail and 
delete the original message and any copies. (c) 2015 j2 Global, Inc. All rights 
reserved. eFax, eVoice, Campaigner, FuseMail, KeepItSafe, and Onebox are 
registered trademarks of j2 Global, Inc. and its affiliates.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] dwhd error: host_interface_samples_history_pkey

2016-05-27 Thread Bill James

Ovirt events keeps saying
"ETL service sampling has encountered an error. Please consult the 
service log for more details."



ovirt-engine-dwhd.log says:
2016-05-27 
10:55:00|UWxd1W|48u96S|MjrqV0|OVIRT_ENGINE_DWH|StatisticsSync|Default|6|Java 
Exception|tJDBCOutput_4|org.postgresql.util.PSQLException:ERROR: root page

 3 of index "host_interface_samples_history_pkey" has level 0, expected 1|1
Exception in component tJDBCOutput_3
org.postgresql.util.PSQLException: ERROR: current transaction is 
aborted, commands ignored until end of transaction block
at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2157)


(see attached)

I double checked all my VMs, they all have an interface assigned. Not 
sure what host_interface_samples_history_pkey is referring to.



Thanks.



ovirt-engine-dwhd.log.gz
Description: GNU Zip compressed data
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] gluster VM disk permissions

2016-05-24 Thread Bill James

I just tried importing using the import script and got this error:

[root@ovirt1 prod ~]# import-to-ovirt.pl 
/mnt/tmp/puppetdb.j2noc.com.disk.xm 
/rhev/data-center/mnt/j2hqnap02:_vol_ovirt__inside__export_exportTemplates

libvirt needs authentication to connect to libvirt URI qemu:///system
(see also: http://libvirt.org/auth.html http://libvirt.org/uri.html)
Please enter your authentication name: vdsm@ovirt
Please enter your password:
could not create appliance through libvirt.

Try running qemu directly without libvirt using this environment variable:
export LIBGUESTFS_BACKEND=direct

Original error from libvirt: internal error: process exited while 
connecting to monitor: 2016-05-24T18:10:21.651694Z qemu-kvm: -drive 
file=/tmp/libguestfsWx9FbI/overlay1,if=none,id=drive-scsi0-0-0-0,format=qcow2,cache=unsafe: 
Could not open '/tmp/libguestfsWx9FbI/overlay1': Permission denied

 [code=1 domain=10] at /usr/local/bin/import-to-ovirt.pl line 233.


I believe this is the same error that prompted me to use "user = root" 
in qemu.conf, but sounds like there is a better resolution?





[root@ovirt1 prod qemu]# less guestfs-7ogk4gszrvsyv7j7.log
2016-05-24 18:10:21.617+: starting up libvirt version: 1.2.17, 
package: 13.el7_2.4 (CentOS BuildSystem <http://bugs.centos.org>, 
2016-03-31-16:56:26, worker1.bsys.centos.org), qemu version: 2.3.0 
(qemu-kvm-ev-2.3.0-31.el7_2.4.1)
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin 
QEMU_AUDIO_DRV=none TMPDIR=/var/tmp /usr/libexec/qemu-kvm -name 
guestfs-7ogk4gszrvsyv7j7 -S -machine 
pc-i440fx-rhel7.2.0,accel=kvm,usb=off -cpu host -m 500 -realtime 
mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid 
ceeecdda-e44e-4227-990d-84261d0161aa -nographic -no-user-config 
-nodefaults -device sga -chardev 
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-guestfs-7ogk4gszrvsyv7j7/monitor.sock,server,nowait 
-mon chardev=charmonitor,id=monitor,mode=control -rtc 
base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet 
-no-reboot -no-acpi -boot strict=on -kernel 
/var/tmp/.guestfs-0/appliance.d/kernel -initrd 
/var/tmp/.guestfs-0/appliance.d/initrd -append panic=1 console=ttyS0 
udevtimeout=6000 udev.event-timeout=6000 no_timer_check acpi=off 
printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 TERM=screen 
-device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device 
virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x2 -device 
virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x3 -drive 
file=/tmp/libguestfsWx9FbI/overlay1,if=none,id=drive-scsi0-0-0-0,format=qcow2,cache=unsafe 
-device 
scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0,bootindex=1 
-drive 
file=/tmp/libguestfsWx9FbI/overlay2,if=none,id=drive-scsi0-0-1-0,format=qcow2,cache=unsafe 
-device 
scsi-hd,bus=scsi0.0,channel=0,scsi-id=1,lun=0,drive=drive-scsi0-0-1-0,id=scsi0-0-1-0 
-chardev socket,id=charserial0,path=/tmp/libguestfsWx9FbI/console.sock 
-device isa-serial,chardev=charserial0,id=serial0 -chardev 
socket,id=charchannel0,path=/tmp/libguestfsWx9FbI/guestfsd.sock -device 
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.libguestfs.channel.0 
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4 -msg timestamp=on

Domain id=5 is tainted: custom-argv
Domain id=5 is tainted: host-cpu
2016-05-24T18:10:21.651694Z qemu-kvm: -drive 
file=/tmp/libguestfsWx9FbI/overlay1,if=none,id=drive-scsi0-0-0-0,format=qcow2,cache=unsafe: 
Could not open '/tmp/libguestfsWx9FbI/overlay1': Permission denied

2016-05-24 18:10:21.825+: shutting down



[root@ovirt1 prod ~]# ps -e -o 
euser,user,suser,fuser,egroup,rgroup,sgroup,fgroup,cmd | egrep 
'qemu-kvm'|head -2
qemu qemu qemu qemu qemu qemu qemu qemu 
/usr/libexec/qemu-kvm -name billj6-1.j2noc.com -S -machine 
pc-i440fx-rhel7.2.0,accel=kvm,usb=off -cpu SandyBridge -m 
size=2097152k,slots=16,maxmem=4294967296k -realtime mlock=off -smp 
1,maxcpus=16,sockets=16,cores=1,threads=1 -numa 
node,nodeid=0,cpus=0,mem=2048 -uuid 60ded316-aa18-4eda-9c52-16016d026e1a 
-smbios type=1,manufacturer=oVirt,product=oVirt 
Node,version=7-2.1511.el7.centos.2.10,serial=30343536-3138-584D-51





On 05/23/2016 09:17 AM, Richard W.M. Jones wrote:

On Mon, May 23, 2016 at 09:00:48AM -0700, Bill James wrote:

thank you very much for the reply.
My main question now is does it required to use "user = root" in
qemu.conf for the import script to work?

I haven't knowingly modified qemu.conf in my life, so likely the
answer is no.

Rich.




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

Re: [ovirt-users] gluster VM disk permissions

2016-05-23 Thread Bill James

thank you very much for the reply.
My main question now is does it required to use "user = root" in 
qemu.conf for the import script to work?
I know in my earlier testing I got a permissions error when doing import 
until I added the root user line.


I guess I'll take it out and give it a try.



On 05/21/2016 01:52 AM, Richard W.M. Jones wrote:

On Fri, May 20, 2016 at 02:53:02PM -0700, Bill James wrote:

maybe the other doc is old but it says:
"And a feature I intentionally removed in RHEL 7 was importing KVM → KVM"
which is what I am doing. raw disk KVM to ovirt.

Yes I can copy the disk image over the top of a ovirt disk image,
but the import script seemed cleaner.

Does virt-v2v try to convert the KVM image to KVM image or does it
just import it?

Virt-v2v will now refuse to do this at all (except if you "trick" it
as I did in my blog posting), but if we allowed it then it would make
all kinds of modifications inside the guest which you don't need and
have at least the potential to break things.

The import-to-ovirt.pl script is/was intended as a simple import
script which you should use instead in the case where guests already
run on KVM and therefore don't need driver etc conversion/
installation.

As Nir said in the other reply, oVirt 4.0 has native import
functionality and the import script is not needed at all for KVM ->
oVirt imports.

Virt-v2v should only be used for foreign hypervisor imports, such as
VMware, Xen or Hyper-V to oVirt.

Rich.




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] gluster VM disk permissions

2016-05-20 Thread Bill James

maybe the other doc is old but it says:
"And a feature I intentionally removed in RHEL 7 was importing KVM → KVM"
which is what I am doing. raw disk KVM to ovirt.

Yes I can copy the disk image over the top of a ovirt disk image, but 
the import script seemed cleaner.


Does virt-v2v try to convert the KVM image to KVM image or does it just 
import it?





On 5/20/16 2:44 PM, Nir Soffer wrote:

On Fri, May 20, 2016 at 11:48 PM, Bill James <bill.ja...@j2.com> wrote:

I had added user = "root" because we use the import-to-ovirt.pl to move Vms
from our old virtual platform to ovirt.
My understanding was that was required for the to work.
Is that not true or is the import script not worth the headaches caused?
(https://rwmj.wordpress.com/2015/09/18/importing-kvm-guests-to-ovirt-or-rhev/)

I don't know anything about this solution, adding Richard to add more info.

If you run 3.6, you can use v2v to import from other systems.
Adding Shahar to add into on v2v.

Nir


[root@ovirt3 prod 4c4bfdf7-bc70-41b2-ab58-710ff8e850bf]# grep ^user
/etc/libvirt/qemu.conf
user = "root"

I'm assuming that's what sets the qemu user.



When I first tried using that script without setting "user = root" it didn't
work.




On 5/20/16 1:16 PM, Nir Soffer wrote:

On Fri, May 20, 2016 at 10:41 PM, Bill James <bill.ja...@j2.com> wrote:

attached output from one host. others look similar.

Your qemu runs as *root*:

  root root root root qemu qemu qemu qemu /usr/libexec/qemu-kvm

Here is the output from normal installation:

  qemu qemu qemu qemu qemu qemu qemu
qemu /usr/libexec/qemu-kvm

I guess that gluster is configure with "option root-squashing on" so you
practically run as "nobody", and you are not in the kvm group.

Running qemu as root is also a security risk, if there is a security bug
in qemu
a vm can use it to compromise your host or other vms.

Maybe you can configure gluster to treat root as vdsm using

  option translate-uid 0=36

See
http://www.gluster.org/community/documentation/index.php/Translators/features

But a better solution is to run qemu as qemu.

Adding Sahina to advise about gluster configuration.

Nir




On 5/20/16 11:47 AM, Nir Soffer wrote:

On Fri, May 20, 2016 at 9:25 PM, Bill James <bill.ja...@j2.com> wrote:

yes

[root@ovirt2 prod .shard]# sestatus
SELinux status: disabled

[root@ovirt3 prod ~]# sestatus
SELinux status: disabled


Can  you share output of:

ps -e -o euser,user,suser,fuser,egroup,rgroup,sgroup,fgroup,cmd | egrep
'qemu|libvirt'
ps auxe | egrep 'qemu|libvirt'





On 5/20/16 11:13 AM, Nir Soffer wrote:

On Fri, May 20, 2016 at 9:02 PM, Bill James <bill.ja...@j2.com> wrote:

[root@ovirt1 prod ~]# sestatus
SELinux status: disabled


Same on ovirt2?





On 5/20/16 10:49 AM, Nir Soffer wrote:

This smells like selinux issues, did yoi try with permissive mode?

בתאריך 20 במאי 2016 7:59 אחה״צ,‏ "Bill James" <bill.ja...@j2.com> כתב:

Nobody has any ideas or thoughts on how to troubleshoot?

why does qemu group work but not kvm when qemu is part of kvm group?

[root@ovirt1 prod vdsm]# grep qemu /etc/group
cdrom:x:11:qemu
kvm:x:36:qemu,sanlock
qemu:x:107:vdsm,sanlock


On 5/18/16 3:47 PM, Bill James wrote:

another data point.
Changing just owner to qemu doesn't help.
Changing just group to qemu does. VM starts fine after that.



On 05/18/2016 11:49 AM, Bill James wrote:

Some added info. This issue seems to be just like this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1052114

I have verified that chown qemu:qemu of disk image also fixes the
startup issue.
I'm using raw, not qcow images.


[root@ovirt2 prod a7af2477-4a19-4f01-9de1-c939c99e53ad]# qemu-img
info 253f9615-f111-45ca-bdce-cbc9e70406df
image: 253f9615-f111-45ca-bdce-cbc9e70406df
file format: raw
virtual size: 20G (21474836480 bytes)
disk size: 1.9G
[root@ovirt2 prod a7af2477-4a19-4f01-9de1-c939c99e53ad]# ls -l
253f9615-f111-45ca-bdce-cbc9e70406df
-rw-rw 1 qemu qemu 21474836480 May 18 11:38
253f9615-f111-45ca-bdce-cbc9e70406df

(default perms = vdsm:kvm)

qemu-img-ev-2.3.0-31.el7_2.4.1.x86_64
qemu-kvm-ev-2.3.0-31.el7_2.4.1.x86_64
libvirt-daemon-1.2.17-13.el7_2.4.x86_64


Ideas??


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


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. © 2015 j2 Global, Inc. All
rights reserved. eFax

Re: [ovirt-users] gluster VM disk permissions

2016-05-20 Thread Bill James
I had added user = "root" because we use the import-to-ovirt.pl to move 
Vms from our old virtual platform to ovirt.

My understanding was that was required for the to work.
Is that not true or is the import script not worth the headaches caused?
(https://rwmj.wordpress.com/2015/09/18/importing-kvm-guests-to-ovirt-or-rhev/)


[root@ovirt3 prod 4c4bfdf7-bc70-41b2-ab58-710ff8e850bf]# grep ^user 
/etc/libvirt/qemu.conf

user = "root"

I'm assuming that's what sets the qemu user.



When I first tried using that script without setting "user = root" it 
didn't work.




On 5/20/16 1:16 PM, Nir Soffer wrote:

On Fri, May 20, 2016 at 10:41 PM, Bill James <bill.ja...@j2.com> wrote:

attached output from one host. others look similar.

Your qemu runs as *root*:

 root root root root qemu qemu qemu qemu /usr/libexec/qemu-kvm

Here is the output from normal installation:

 qemu qemu qemu qemu qemu qemu qemu
qemu /usr/libexec/qemu-kvm

I guess that gluster is configure with "option root-squashing on" so you
practically run as "nobody", and you are not in the kvm group.

Running qemu as root is also a security risk, if there is a security bug in qemu
a vm can use it to compromise your host or other vms.

Maybe you can configure gluster to treat root as vdsm using

 option translate-uid 0=36

See 
http://www.gluster.org/community/documentation/index.php/Translators/features

But a better solution is to run qemu as qemu.

Adding Sahina to advise about gluster configuration.

Nir





On 5/20/16 11:47 AM, Nir Soffer wrote:

On Fri, May 20, 2016 at 9:25 PM, Bill James <bill.ja...@j2.com> wrote:

yes

[root@ovirt2 prod .shard]# sestatus
SELinux status: disabled

[root@ovirt3 prod ~]# sestatus
SELinux status: disabled


Can  you share output of:

ps -e -o euser,user,suser,fuser,egroup,rgroup,sgroup,fgroup,cmd | egrep 
'qemu|libvirt'
ps auxe | egrep 'qemu|libvirt'






On 5/20/16 11:13 AM, Nir Soffer wrote:

On Fri, May 20, 2016 at 9:02 PM, Bill James <bill.ja...@j2.com> wrote:

[root@ovirt1 prod ~]# sestatus
SELinux status: disabled


Same on ovirt2?






On 5/20/16 10:49 AM, Nir Soffer wrote:

This smells like selinux issues, did yoi try with permissive mode?

בתאריך 20 במאי 2016 7:59 אחה״צ,‏ "Bill James" <bill.ja...@j2.com> כתב:

Nobody has any ideas or thoughts on how to troubleshoot?

why does qemu group work but not kvm when qemu is part of kvm group?

[root@ovirt1 prod vdsm]# grep qemu /etc/group
cdrom:x:11:qemu
kvm:x:36:qemu,sanlock
qemu:x:107:vdsm,sanlock


On 5/18/16 3:47 PM, Bill James wrote:

another data point.
Changing just owner to qemu doesn't help.
Changing just group to qemu does. VM starts fine after that.



On 05/18/2016 11:49 AM, Bill James wrote:

Some added info. This issue seems to be just like this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1052114

I have verified that chown qemu:qemu of disk image also fixes the startup issue.
I'm using raw, not qcow images.


[root@ovirt2 prod a7af2477-4a19-4f01-9de1-c939c99e53ad]# qemu-img info 
253f9615-f111-45ca-bdce-cbc9e70406df
image: 253f9615-f111-45ca-bdce-cbc9e70406df
file format: raw
virtual size: 20G (21474836480 bytes)
disk size: 1.9G
[root@ovirt2 prod a7af2477-4a19-4f01-9de1-c939c99e53ad]# ls -l 
253f9615-f111-45ca-bdce-cbc9e70406df
-rw-rw 1 qemu qemu 21474836480 May 18 11:38 
253f9615-f111-45ca-bdce-cbc9e70406df

(default perms = vdsm:kvm)

qemu-img-ev-2.3.0-31.el7_2.4.1.x86_64
qemu-kvm-ev-2.3.0-31.el7_2.4.1.x86_64
libvirt-daemon-1.2.17-13.el7_2.4.x86_64


Ideas??


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


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. © 2015 j2 Global, Inc. All rights 
reserved. eFax ®, eVoice ®, Campaigner ®, FuseMail ®, KeepItSafe ® and Onebox ® 
are ! registere d trademarks of j2 Global, Inc. and its affiliates.



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. © 2015 j2 Globa

Re: [ovirt-users] gluster VM disk permissions

2016-05-20 Thread Bill James

attached output from one host. others look similar.



On 5/20/16 11:47 AM, Nir Soffer wrote:
On Fri, May 20, 2016 at 9:25 PM, Bill James <bill.ja...@j2.com 
<mailto:bill.ja...@j2.com>> wrote:


yes

[root@ovirt2 prod .shard]# sestatus
SELinux status: disabled

[root@ovirt3 prod ~]# sestatus
SELinux status: disabled


Can  you share output of:

ps -e -o euser,user,suser,fuser,egroup,rgroup,sgroup,fgroup,cmd | 
egrep 'qemu|libvirt'

ps auxe | egrep 'qemu|libvirt'





On 5/20/16 11:13 AM, Nir Soffer wrote:

On Fri, May 20, 2016 at 9:02 PM, Bill James <bill.ja...@j2.com
<mailto:bill.ja...@j2.com>> wrote:

[root@ovirt1 prod ~]# sestatus
SELinux status: disabled


Same on ovirt2?





On 5/20/16 10:49 AM, Nir Soffer wrote:


This smells like selinux issues, did yoi try with permissive
mode?

בתאריך 20 במאי 2016 7:59 אחה״צ,‏ "Bill James"
<bill.ja...@j2.com <mailto:bill.ja...@j2.com>> כתב:

Nobody has any ideas or thoughts on how to troubleshoot?

why does qemu group work but not kvm when qemu is part
of kvm group?

[root@ovirt1 prod vdsm]# grep qemu /etc/group
cdrom:x:11:qemu
kvm:x:36:qemu,sanlock
qemu:x:107:vdsm,sanlock


On 5/18/16 3:47 PM, Bill James wrote:

another data point.
Changing just owner to qemu doesn't help.
Changing just group to qemu does. VM starts fine
after that.



On 05/18/2016 11:49 AM, Bill James wrote:

Some added info. This issue seems to be just
like this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1052114

I have verified that chown qemu:qemu of disk
image also fixes the startup issue.
I'm using raw, not qcow images.


[root@ovirt2 prod
a7af2477-4a19-4f01-9de1-c939c99e53ad]# qemu-img
info 253f9615-f111-45ca-bdce-cbc9e70406df
image: 253f9615-f111-45ca-bdce-cbc9e70406df
file format: raw
virtual size: 20G (21474836480 bytes)
disk size: 1.9G
[root@ovirt2 prod
a7af2477-4a19-4f01-9de1-c939c99e53ad]# ls -l
253f9615-f111-45ca-bdce-cbc9e70406df
-rw-rw 1 qemu qemu 21474836480 May 18 11:38
253f9615-f111-45ca-bdce-cbc9e70406df

(default perms = vdsm:kvm)

qemu-img-ev-2.3.0-31.el7_2.4.1.x86_64
qemu-kvm-ev-2.3.0-31.el7_2.4.1.x86_64
libvirt-daemon-1.2.17-13.el7_2.4.x86_64


Ideas??



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



www.j2.com

<http://www.j2.com/?utm_source=j2global_medium=xsell-referral_campaign=employeeemail>

This email, its contents and attachments contain information
from j2 Global, Inc

<http://www.j2.com/?utm_source=j2global_medium=xsell-referral_campaign=employemail>.
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. © 2015 j2
Global, Inc <http://www.j2.com/>. All rights reserved. eFax ®
<http://www.efax.com/>, eVoice ® <http://www.evoice.com/>,
Campaigner ® <http://www.campaigner.com/>, FuseMail ®
<http://www.fusemail.com/>, KeepItSafe ®
<http://www.keepitsafe.com/> and Onebox ®
<http://www.onebox.com/> are ! registere d trademarks of j2
Global, Inc <http://www.j2.com/>. and its affiliates.




www.j2.com

<http://www.j2.com/?utm_source=j2global_medium=xsell-referral_campaign=employeeemail>

This email, its contents and attachments contain information from
j2 Global, Inc

<http://www.j2.com/?utm_source=j2global_medium=xsell-referral_campaign=employemail>.
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 th

Re: [ovirt-users] gluster VM disk permissions

2016-05-20 Thread Bill James

yes

[root@ovirt2 prod .shard]# sestatus
SELinux status: disabled

[root@ovirt3 prod ~]# sestatus
SELinux status: disabled



On 5/20/16 11:13 AM, Nir Soffer wrote:
On Fri, May 20, 2016 at 9:02 PM, Bill James <bill.ja...@j2.com 
<mailto:bill.ja...@j2.com>> wrote:


[root@ovirt1 prod ~]# sestatus
SELinux status: disabled


Same on ovirt2?





On 5/20/16 10:49 AM, Nir Soffer wrote:


This smells like selinux issues, did yoi try with permissive mode?

בתאריך 20 במאי 2016 7:59 אחה״צ,‏ "Bill James" <bill.ja...@j2.com
<mailto:bill.ja...@j2.com>> כתב:

Nobody has any ideas or thoughts on how to troubleshoot?

why does qemu group work but not kvm when qemu is part of kvm
group?

[root@ovirt1 prod vdsm]# grep qemu /etc/group
cdrom:x:11:qemu
kvm:x:36:qemu,sanlock
qemu:x:107:vdsm,sanlock


On 5/18/16 3:47 PM, Bill James wrote:

another data point.
Changing just owner to qemu doesn't help.
Changing just group to qemu does. VM starts fine after that.



    On 05/18/2016 11:49 AM, Bill James wrote:

Some added info. This issue seems to be just like
this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1052114

I have verified that chown qemu:qemu of disk image
also fixes the startup issue.
I'm using raw, not qcow images.


[root@ovirt2 prod
a7af2477-4a19-4f01-9de1-c939c99e53ad]# qemu-img info
253f9615-f111-45ca-bdce-cbc9e70406df
image: 253f9615-f111-45ca-bdce-cbc9e70406df
file format: raw
virtual size: 20G (21474836480 bytes)
disk size: 1.9G
[root@ovirt2 prod
a7af2477-4a19-4f01-9de1-c939c99e53ad]# ls -l
253f9615-f111-45ca-bdce-cbc9e70406df
-rw-rw 1 qemu qemu 21474836480 May 18 11:38
253f9615-f111-45ca-bdce-cbc9e70406df

(default perms = vdsm:kvm)

qemu-img-ev-2.3.0-31.el7_2.4.1.x86_64
qemu-kvm-ev-2.3.0-31.el7_2.4.1.x86_64
libvirt-daemon-1.2.17-13.el7_2.4.x86_64


Ideas??



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



www.j2.com

<http://www.j2.com/?utm_source=j2global_medium=xsell-referral_campaign=employeeemail>

This email, its contents and attachments contain information from
j2 Global, Inc

<http://www.j2.com/?utm_source=j2global_medium=xsell-referral_campaign=employemail>.
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. © 2015 j2 Global, Inc
<http://www.j2.com/>. All rights reserved. eFax ®
<http://www.efax.com/>, eVoice ® <http://www.evoice.com/>,
Campaigner ® <http://www.campaigner.com/>, FuseMail ®
<http://www.fusemail.com/>, KeepItSafe ®
<http://www.keepitsafe.com/> and Onebox ® <http://www.onebox.com/>
are ! registere d trademarks of j2 Global, Inc
<http://www.j2.com/>. and its affiliates.





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] gluster VM disk permissions

2016-05-20 Thread Bill James

[root@ovirt1 prod ~]# sestatus
SELinux status: disabled



On 5/20/16 10:49 AM, Nir Soffer wrote:


This smells like selinux issues, did yoi try with permissive mode?

בתאריך 20 במאי 2016 7:59 אחה״צ,‏ "Bill James" <bill.ja...@j2.com 
<mailto:bill.ja...@j2.com>> כתב:


Nobody has any ideas or thoughts on how to troubleshoot?

why does qemu group work but not kvm when qemu is part of kvm group?

[root@ovirt1 prod vdsm]# grep qemu /etc/group
cdrom:x:11:qemu
kvm:x:36:qemu,sanlock
qemu:x:107:vdsm,sanlock


On 5/18/16 3:47 PM, Bill James wrote:

another data point.
Changing just owner to qemu doesn't help.
Changing just group to qemu does. VM starts fine after that.



On 05/18/2016 11:49 AM, Bill James wrote:

Some added info. This issue seems to be just like this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1052114

I have verified that chown qemu:qemu of disk image also
fixes the startup issue.
I'm using raw, not qcow images.


[root@ovirt2 prod a7af2477-4a19-4f01-9de1-c939c99e53ad]#
qemu-img info 253f9615-f111-45ca-bdce-cbc9e70406df
image: 253f9615-f111-45ca-bdce-cbc9e70406df
file format: raw
virtual size: 20G (21474836480 bytes)
disk size: 1.9G
[root@ovirt2 prod a7af2477-4a19-4f01-9de1-c939c99e53ad]#
ls -l 253f9615-f111-45ca-bdce-cbc9e70406df
-rw-rw 1 qemu qemu 21474836480 May 18 11:38
253f9615-f111-45ca-bdce-cbc9e70406df

(default perms = vdsm:kvm)

qemu-img-ev-2.3.0-31.el7_2.4.1.x86_64
qemu-kvm-ev-2.3.0-31.el7_2.4.1.x86_64
libvirt-daemon-1.2.17-13.el7_2.4.x86_64


Ideas??



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




Cloud Services for Business www.j2.com
j2 | eFax | eVoice | FuseMail | Campaigner | KeepItSafe | Onebox


This email, its contents and attachments contain information from j2 Global, 
Inc. and/or its affiliates which may be privileged, confidential or otherwise 
protected from disclosure. The information is intended to be for the 
addressee(s) only. If you are not an addressee, any disclosure, copy, 
distribution, or use of the contents of this message is prohibited. If you have 
received this email in error please notify the sender by reply e-mail and 
delete the original message and any copies. (c) 2015 j2 Global, Inc. All rights 
reserved. eFax, eVoice, Campaigner, FuseMail, KeepItSafe, and Onebox are 
registered trademarks of j2 Global, Inc. and its affiliates.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] gluster VM disk permissions

2016-05-20 Thread Bill James

Nobody has any ideas or thoughts on how to troubleshoot?

why does qemu group work but not kvm when qemu is part of kvm group?

[root@ovirt1 prod vdsm]# grep qemu /etc/group
cdrom:x:11:qemu
kvm:x:36:qemu,sanlock
qemu:x:107:vdsm,sanlock


On 5/18/16 3:47 PM, Bill James wrote:

another data point.
Changing just owner to qemu doesn't help.
Changing just group to qemu does. VM starts fine after that.



On 05/18/2016 11:49 AM, Bill James wrote:

Some added info. This issue seems to be just like this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1052114

I have verified that chown qemu:qemu of disk image also fixes the 
startup issue.

I'm using raw, not qcow images.


[root@ovirt2 prod a7af2477-4a19-4f01-9de1-c939c99e53ad]# qemu-img 
info 253f9615-f111-45ca-bdce-cbc9e70406df

image: 253f9615-f111-45ca-bdce-cbc9e70406df
file format: raw
virtual size: 20G (21474836480 bytes)
disk size: 1.9G
[root@ovirt2 prod a7af2477-4a19-4f01-9de1-c939c99e53ad]# ls -l 
253f9615-f111-45ca-bdce-cbc9e70406df
-rw-rw 1 qemu qemu 21474836480 May 18 11:38 
253f9615-f111-45ca-bdce-cbc9e70406df


(default perms = vdsm:kvm)

qemu-img-ev-2.3.0-31.el7_2.4.1.x86_64
qemu-kvm-ev-2.3.0-31.el7_2.4.1.x86_64
libvirt-daemon-1.2.17-13.el7_2.4.x86_64


Ideas??





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


[ovirt-users] gluster VM disk permissions

2016-05-19 Thread Bill James
I tried posting this to ovirt-users list but got no response so I'll try 
here too.



I just setup a new ovirt cluster with gluster & nfs data domains.

VMs on the NFS domain startup with no issues.
VMs on the gluster domains complain of "Permission denied" on startup.

2016-05-17 14:14:51,959 ERROR [org.ovirt.engine.core.dal.dbbroker.audi
tloghandling.AuditLogDirector] (ForkJoinPool-1-worker-11) [] Correlation 
ID: null, Call Stack: null, Custom Event ID: -1, Message: VM 
billj7-2.j2noc.com is down with error. Exit message: internal error: 
process exited while connecting to monitor: 2016-05-17T21:14:51.162932Z 
qemu-kvm: -drive 
file=/rhev/data-center/0001-0001-0001-0001-02c5/22df0943-c131-4ed8-ba9c-05923afcf8e3/images/2ddf0d0e-6a7e-4eb9-b1d5-6d7792da0d25/a2b0a04d-041f-4342-9687-142cc641b35e,if=none,id=drive-virtio-disk0,format=raw,serial=2ddf0d0e-6a7e-4eb9-b1d5-6d7792da0d25,cache=none,werror=stop,rerror=stop,aio=threads: 
Could not open 
'/rhev/data-center/0001-0001-0001-0001-02c5/22df0943-c131-4ed8-ba9c-05923afcf8e3/images/2ddf0d0e-6a7e-4eb9-b1d5-6d7792da0d25/a2b0a04d-041f-4342-9687-142cc641b35e': 
Permission denied



I did setup gluster permissions:
gluster volume set gv1 storage.owner-uid 36
gluster volume set gv1 storage.owner-gid 36

files look fine:
[root@ovirt1 prod 2ddf0d0e-6a7e-4eb9-b1d5-6d7792da0d25]# ls -lah
total 2.0G
drwxr-xr-x  2 vdsm kvm 4.0K May 17 09:39 .
drwxr-xr-x 11 vdsm kvm 4.0K May 17 10:40 ..
-rw-rw  1 vdsm kvm  20G May 17 10:33 
a2b0a04d-041f-4342-9687-142cc641b35e
-rw-rw  1 vdsm kvm 1.0M May 17 09:38 
a2b0a04d-041f-4342-9687-142cc641b35e.lease
-rw-r--r--  1 vdsm kvm  259 May 17 09:39 
a2b0a04d-041f-4342-9687-142cc641b35e.meta


I did check and vdsm user can read the file just fine.
*If I change mod disk to 666 VM starts up fine.*
ALso if I chgrp to qemu VM starts up fine.

[root@ovirt2 prod a7af2477-4a19-4f01-9de1-c939c99e53ad]# ls -l 
253f9615-f111-45ca-bdce-cbc9e70406df
-rw-rw 1 vdsm qemu 21474836480 May 18 11:38 
253f9615-f111-45ca-bdce-cbc9e70406df



Seems similar to issue here but that suggests it was fixed:
https://bugzilla.redhat.com/show_bug.cgi?id=1052114



[root@ovirt1 prod 2ddf0d0e-6a7e-4eb9-b1d5-6d7792da0d25]# grep 36 
/etc/passwd /etc/group

/etc/passwd:vdsm:x:36:36:Node Virtualization Manager:/:/bin/bash
/etc/group:kvm:x:36:qemu,sanlock


ovirt-engine-3.6.4.1-1.el7.centos.noarch
glusterfs-3.7.11-1.el7.x86_64
qemu-img-ev-2.3.0-31.el7_2.4.1.x86_64
qemu-kvm-ev-2.3.0-31.el7_2.4.1.x86_64
libvirt-daemon-1.2.17-13.el7_2.4.x86_64


I also set libvirt qemu user to root, for import-to-ovirt.pl script.

[root@ovirt1 prod 2ddf0d0e-6a7e-4eb9-b1d5-6d7792da0d25]# grep ^user 
/etc/libvirt/qemu.conf

user = "root"


[root@ovirt1 prod 2ddf0d0e-6a7e-4eb9-b1d5-6d7792da0d25]# gluster volume 
info gv1


Volume Name: gv1
Type: Replicate
Volume ID: 062aa1a5-91e8-420d-800e-b8bc4aff20d8
Status: Started
Number of Bricks: 1 x 3 = 3
Transport-type: tcp
Bricks:
Brick1: ovirt1-gl.j2noc.com:/ovirt-store/brick1/gv1
Brick2: ovirt2-gl.j2noc.com:/ovirt-store/brick1/gv1
Brick3: ovirt3-gl.j2noc.com:/ovirt-store/brick1/gv1
Options Reconfigured:
performance.readdir-ahead: on
performance.quick-read: off
performance.read-ahead: off
performance.io-cache: off
performance.stat-prefetch: off
cluster.eager-lock: enable
network.remote-dio: enable
cluster.quorum-type: auto
cluster.server-quorum-type: server
features.shard: on
features.shard-block-size: 64MB
storage.owner-uid: 36
storage.owner-gid: 36

[root@ovirt1 prod 2ddf0d0e-6a7e-4eb9-b1d5-6d7792da0d25]# gluster volume 
status gv1

Status of volume: gv1
Gluster process TCP Port  RDMA Port Online  Pid
--
Brick ovirt1-gl.j2noc.com:/ovirt-store/bric
k1/gv1  49152 0 Y   2046
Brick ovirt2-gl.j2noc.com:/ovirt-store/bric
k1/gv1  49152 0 Y   22532
Brick ovirt3-gl.j2noc.com:/ovirt-store/bric
k1/gv1  49152 0 Y   59683
NFS Server on localhost 2049  0 Y   2200
Self-heal Daemon on localhost   N/A   N/A Y   2232
NFS Server on ovirt3-gl.j2noc.com   2049  0 Y   65363
Self-heal Daemon on ovirt3-gl.j2noc.com N/A   N/A Y   65371
NFS Server on ovirt2-gl.j2noc.com   2049  0 Y   17621
Self-heal Daemon on ovirt2-gl.j2noc.com N/A   N/A Y   17629

Task Status of Volume gv1
--
There are no active volume tasks



any ideas on why ovirt thinks it needs group of qemu??



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


Re: [ovirt-users] gluster VM disk permissions

2016-05-18 Thread Bill James

another data point.
Changing just owner to qemu doesn't help.
Changing just group to qemu does. VM starts fine after that.



On 05/18/2016 11:49 AM, Bill James wrote:

Some added info. This issue seems to be just like this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1052114

I have verified that chown qemu:qemu of disk image also fixes the 
startup issue.

I'm using raw, not qcow images.


[root@ovirt2 prod a7af2477-4a19-4f01-9de1-c939c99e53ad]# qemu-img info 
253f9615-f111-45ca-bdce-cbc9e70406df

image: 253f9615-f111-45ca-bdce-cbc9e70406df
file format: raw
virtual size: 20G (21474836480 bytes)
disk size: 1.9G
[root@ovirt2 prod a7af2477-4a19-4f01-9de1-c939c99e53ad]# ls -l 
253f9615-f111-45ca-bdce-cbc9e70406df
-rw-rw 1 qemu qemu 21474836480 May 18 11:38 
253f9615-f111-45ca-bdce-cbc9e70406df


(default perms = vdsm:kvm)

qemu-img-ev-2.3.0-31.el7_2.4.1.x86_64
qemu-kvm-ev-2.3.0-31.el7_2.4.1.x86_64
libvirt-daemon-1.2.17-13.el7_2.4.x86_64


Ideas??



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


[ovirt-users] gluster VM disk permissions

2016-05-18 Thread Bill James

Some added info. This issue seems to be just like this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1052114

I have verified that chown qemu:qemu of disk image also fixes the 
startup issue.

I'm using raw, not qcow images.


[root@ovirt2 prod a7af2477-4a19-4f01-9de1-c939c99e53ad]# qemu-img info 
253f9615-f111-45ca-bdce-cbc9e70406df

image: 253f9615-f111-45ca-bdce-cbc9e70406df
file format: raw
virtual size: 20G (21474836480 bytes)
disk size: 1.9G
[root@ovirt2 prod a7af2477-4a19-4f01-9de1-c939c99e53ad]# ls -l 
253f9615-f111-45ca-bdce-cbc9e70406df
-rw-rw 1 qemu qemu 21474836480 May 18 11:38 
253f9615-f111-45ca-bdce-cbc9e70406df


(default perms = vdsm:kvm)

qemu-img-ev-2.3.0-31.el7_2.4.1.x86_64
qemu-kvm-ev-2.3.0-31.el7_2.4.1.x86_64
libvirt-daemon-1.2.17-13.el7_2.4.x86_64


Ideas??

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


[ovirt-users] gluster VM disk permissions

2016-05-17 Thread Bill James

I'm sure I must have just missed something...
I just setup a new ovirt cluster with gluster & nfs data domains.

VMs on the NFS domain startup with no issues.
VMs on the gluster domains complain of "Permission denied" on startup.

2016-05-17 14:14:51,959 ERROR [org.ovirt.engine.core.dal.dbbroker.audi
tloghandling.AuditLogDirector] (ForkJoinPool-1-worker-11) [] Correlation 
ID: null, Call Stack: null, Custom Event ID: -1, Message: VM 
billj7-2.j2noc.com is down with error. Exit message: internal error: 
process exited while connecting to monitor: 2016-05-17T21:14:51.162932Z 
qemu-kvm: -drive 
file=/rhev/data-center/0001-0001-0001-0001-02c5/22df0943-c131-4ed8-ba9c-05923afcf8e3/images/2ddf0d0e-6a7e-4eb9-b1d5-6d7792da0d25/a2b0a04d-041f-4342-9687-142cc641b35e,if=none,id=drive-virtio-disk0,format=raw,serial=2ddf0d0e-6a7e-4eb9-b1d5-6d7792da0d25,cache=none,werror=stop,rerror=stop,aio=threads: 
Could not open 
'/rhev/data-center/0001-0001-0001-0001-02c5/22df0943-c131-4ed8-ba9c-05923afcf8e3/images/2ddf0d0e-6a7e-4eb9-b1d5-6d7792da0d25/a2b0a04d-041f-4342-9687-142cc641b35e': 
Permission denied



I did setup gluster permissions:
gluster volume set gv1 storage.owner-uid 36
gluster volume set gv1 storage.owner-gid 36

files look fine:
[root@ovirt1 prod 2ddf0d0e-6a7e-4eb9-b1d5-6d7792da0d25]# ls -lah
total 2.0G
drwxr-xr-x  2 vdsm kvm 4.0K May 17 09:39 .
drwxr-xr-x 11 vdsm kvm 4.0K May 17 10:40 ..
-rw-rw  1 vdsm kvm  20G May 17 10:33 
a2b0a04d-041f-4342-9687-142cc641b35e
-rw-rw  1 vdsm kvm 1.0M May 17 09:38 
a2b0a04d-041f-4342-9687-142cc641b35e.lease
-rw-r--r--  1 vdsm kvm  259 May 17 09:39 
a2b0a04d-041f-4342-9687-142cc641b35e.meta


I did check and vdsm user can read the file just fine.
*If I change mod disk to 666 VM starts up fine.*


[root@ovirt1 prod 2ddf0d0e-6a7e-4eb9-b1d5-6d7792da0d25]# grep 36 
/etc/passwd /etc/group

/etc/passwd:vdsm:x:36:36:Node Virtualization Manager:/:/bin/bash
/etc/group:kvm:x:36:qemu,sanlock


ovirt-engine-3.6.4.1-1.el7.centos.noarch
glusterfs-3.7.11-1.el7.x86_64


I also set libvirt qemu user to root, for import-to-ovirt.pl script.

[root@ovirt1 prod 2ddf0d0e-6a7e-4eb9-b1d5-6d7792da0d25]# grep ^user 
/etc/libvirt/qemu.conf

user = "root"


[root@ovirt1 prod 2ddf0d0e-6a7e-4eb9-b1d5-6d7792da0d25]# gluster volume 
info gv1


Volume Name: gv1
Type: Replicate
Volume ID: 062aa1a5-91e8-420d-800e-b8bc4aff20d8
Status: Started
Number of Bricks: 1 x 3 = 3
Transport-type: tcp
Bricks:
Brick1: ovirt1-gl.j2noc.com:/ovirt-store/brick1/gv1
Brick2: ovirt2-gl.j2noc.com:/ovirt-store/brick1/gv1
Brick3: ovirt3-gl.j2noc.com:/ovirt-store/brick1/gv1
Options Reconfigured:
performance.readdir-ahead: on
performance.quick-read: off
performance.read-ahead: off
performance.io-cache: off
performance.stat-prefetch: off
cluster.eager-lock: enable
network.remote-dio: enable
cluster.quorum-type: auto
cluster.server-quorum-type: server
features.shard: on
features.shard-block-size: 64MB
storage.owner-uid: 36
storage.owner-gid: 36

[root@ovirt1 prod 2ddf0d0e-6a7e-4eb9-b1d5-6d7792da0d25]# gluster volume 
status gv1

Status of volume: gv1
Gluster process TCP Port  RDMA Port Online  Pid
--
Brick ovirt1-gl.j2noc.com:/ovirt-store/bric
k1/gv1  49152 0 Y   2046
Brick ovirt2-gl.j2noc.com:/ovirt-store/bric
k1/gv1  49152 0 Y   22532
Brick ovirt3-gl.j2noc.com:/ovirt-store/bric
k1/gv1  49152 0 Y   59683
NFS Server on localhost 2049  0 Y   2200
Self-heal Daemon on localhost   N/A   N/A Y   2232
NFS Server on ovirt3-gl.j2noc.com   2049  0 Y   65363
Self-heal Daemon on ovirt3-gl.j2noc.com N/A   N/A Y   65371
NFS Server on ovirt2-gl.j2noc.com   2049  0 Y   17621
Self-heal Daemon on ovirt2-gl.j2noc.com N/A   N/A Y   17629

Task Status of Volume gv1
--
There are no active volume tasks



??


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


Re: [ovirt-users] vms in paused state

2016-05-02 Thread Bill James

.recovery setting before removing:
p298
sS'status'
p299
S'Paused'
p300



After removing .recovery file and shutdown and restart:
V0
sS'status'
p51
S'Up'
p52


So far looks good, GUI show's VM as Up.


another host was:
p318
sS'status'
p319
S'Paused'
p320

after moving .recovery file and restarting:
V0
sS'status'
p51
S'Up'


Thanks.

On 04/29/2016 02:36 PM, Nir Soffer wrote:

/run/vdsm/.recovery

On Fri, Apr 29, 2016 at 10:59 PM, Bill James <bill.ja...@j2.com 
<mailto:bill.ja...@j2.com>> wrote:


where do I find the recovery files?

[root@ovirt1 test vdsm]# pwd
/var/lib/vdsm
[root@ovirt1 test vdsm]# ls -la
total 16
drwxr-xr-x   6 vdsm kvm100 Mar 17 16:33 .
drwxr-xr-x. 45 root root  4096 Apr 29 12:01 ..
-rw-r--r--   1 vdsm kvm  10170 Jan 19 05:04 bonding-defaults.json
drwxr-xr-x   2 vdsm root 6 Apr 19 11:34 netconfback
drwxr-xr-x   3 vdsm kvm 54 Apr 19 11:35 persistence
drwxr-x---.  2 vdsm kvm  6 Mar 17 16:33 transient
drwxr-xr-x   2 vdsm kvm 40 Mar 17 16:33 upgrade



On 4/29/16 10:02 AM, Michal Skrivanek wrote:



On 29 Apr 2016, at 18:26, Bill James <bill.ja...@j2.com
<mailto:bill.ja...@j2.com>> wrote:


yes they are still saying "paused" state.
No, bouncing libvirt didn't help.


Then my suspicion of vm recovery gets closer to a certainty:)
Can you get one of the paused vm's .recovery file from
/var/lib/vdsm and check it says Paused there? It's worth a shot
to try to remove that file and restart vdsm, then check logs and
that vm status...it should recover "good enough" from libvirt only.
Try it with one first


I noticed the errors about the ISO domain. Didn't think that was
related.
I have been migrating a lot of VMs to ovirt lately, and recently
added another node.
Also had some problems with /etc/exports for a while, but I
think those issues are all resolved.


Last "unresponsive" message in vdsm.log was:

vdsm.log.49.xz:jsonrpc.Executor/0::WARNING::*2016-04-21*
11:00:54,703::vm::5067::virt.vm::(_setUnresponsiveIfTimeout)
vmId=`b6a13808-9552-401b-840b-4f7022e8293d`::monitor become
unresponsive (command timeout, age=310323.97)
vdsm.log.49.xz:jsonrpc.Executor/0::WARNING::2016-04-21
11:00:54,703::vm::5067::virt.vm::(_setUnresponsiveIfTimeout)
vmId=`5bfb140a-a971-4c9c-82c6-277929eb45d4`::monitor become
unresponsive (command timeout, age=310323.97)



Thanks.



On 4/29/16 1:40 AM, Michal Skrivanek wrote:



On 28 Apr 2016, at 19:40, Bill James <bill.ja...@j2.com
<mailto:bill.ja...@j2.com>> wrote:

thank you for response.
I bold-ed the ones that are listed as "paused".


[root@ovirt1 test vdsm]# virsh -r list --all
 Id  Â
Name                          State






Looks like problem started around 2016-04-17 20:19:34,822,
based on engine.log attached.


yes, that time looks correct. Any idea what might have been a
trigger? Anything interesting happened at that time (power
outage of some host, some maintenance action, anything)?Â
logs indicate a problem when vdsm talks to libvirt(all those
"monitor become unresponsive†)

It does seem that at that time you started to have some storage
connectivity issues - first one at 2016-04-17 20:06:53,929.
And it doesn’t look temporary because such errors are still
there couple hours later(in your most recent file you attached
I can see at 23:00:54)
When I/O gets blocked the VMs may experience issues (then VM
gets Paused), or their qemu process gets stuck(resulting in
libvirt either reporting error or getting stuck as well ->
resulting in what vdsm sees as “monitor unresponsive†)

Since you now bounced libvirtd - did it help? Do you still see
wrong status for those VMs and still those "monitor
unresponsive" errors in vdsm.log?
If not…then I would suspect the “vm recovery†code not
working correctly. Milan is looking at that.

Thanks,
michal



There's a lot of vdsm logs!

fyi, the storage domain for these Vms is a "local" nfs share,
7e566f55-e060-47b7-bfa4-ac3c48d70dda.

attached more logs.


On 04/28/2016 12:53 AM, Michal Skrivanek wrote:

On 27 Apr 2016, at 19:16, Bill James<bill.ja...@j2.com> 
<mailto:bill.ja...@j2.com>  wrote:

virsh # list --all
error: failed to connect to the hypervisor
error: no valid connection
error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such 
file or directory


you need to run virsh in read-only mode
virsh -r list —all


[root@ovirt1 test vdsm]# systemctl status libvirtd
â—  libvirtd.service - Virtualization daemon
   Loaded: loaded (/usr/lib/syst

Re: [ovirt-users] vms in paused state

2016-04-29 Thread Bill James

where do I find the recovery files?

[root@ovirt1 test vdsm]# pwd
/var/lib/vdsm
[root@ovirt1 test vdsm]# ls -la
total 16
drwxr-xr-x   6 vdsm kvm100 Mar 17 16:33 .
drwxr-xr-x. 45 root root  4096 Apr 29 12:01 ..
-rw-r--r--   1 vdsm kvm  10170 Jan 19 05:04 bonding-defaults.json
drwxr-xr-x   2 vdsm root 6 Apr 19 11:34 netconfback
drwxr-xr-x   3 vdsm kvm 54 Apr 19 11:35 persistence
drwxr-x---.  2 vdsm kvm  6 Mar 17 16:33 transient
drwxr-xr-x   2 vdsm kvm 40 Mar 17 16:33 upgrade
[root@ovirt1 test vdsm]# locate recovery
/opt/hp/hpdiags/en/tcstorage.ldinterimrecovery.htm
/opt/hp/hpdiags/en/tcstorage.ldrecoveryready.htm
/usr/share/doc/postgresql-9.2.15/html/archive-recovery-settings.html
/usr/share/doc/postgresql-9.2.15/html/recovery-config.html
/usr/share/doc/postgresql-9.2.15/html/recovery-target-settings.html
/usr/share/pgsql/recovery.conf.sample
/var/lib/nfs/v4recovery


[root@ovirt1 test vdsm]# locate 757a5  (disk id)
/ovirt-store/nfs1/7e566f55-e060-47b7-bfa4-ac3c48d70dda/images/757a5e69-a791-4391-9d7d-9516bf7f2118
/ovirt-store/nfs1/7e566f55-e060-47b7-bfa4-ac3c48d70dda/images/757a5e69-a791-4391-9d7d-9516bf7f2118/211581dc-fa98-41be-a0b9-ace236149bc2
/ovirt-store/nfs1/7e566f55-e060-47b7-bfa4-ac3c48d70dda/images/757a5e69-a791-4391-9d7d-9516bf7f2118/211581dc-fa98-41be-a0b9-ace236149bc2.lease
/ovirt-store/nfs1/7e566f55-e060-47b7-bfa4-ac3c48d70dda/images/757a5e69-a791-4391-9d7d-9516bf7f2118/211581dc-fa98-41be-a0b9-ace236149bc2.meta
[root@ovirt1 test vdsm]# locate 5bfb140 (vm id)
/var/lib/libvirt/qemu/channels/5bfb140a-a971-4c9c-82c6-277929eb45d4.com.redhat.rhevm.vdsm
/var/lib/libvirt/qemu/channels/5bfb140a-a971-4c9c-82c6-277929eb45d4.org.qemu.guest_agent.0



On 4/29/16 10:02 AM, Michal Skrivanek wrote:



On 29 Apr 2016, at 18:26, Bill James <bill.ja...@j2.com 
<mailto:bill.ja...@j2.com>> wrote:



yes they are still saying "paused" state.
No, bouncing libvirt didn't help.


Then my suspicion of vm recovery gets closer to a certainty:)
Can you get one of the paused vm's .recovery file from /var/lib/vdsm 
and check it says Paused there? It's worth a shot to try to remove 
that file and restart vdsm, then check logs and that vm status...it 
should recover "good enough" from libvirt only.

Try it with one first


I noticed the errors about the ISO domain. Didn't think that was related.
I have been migrating a lot of VMs to ovirt lately, and recently 
added another node.
Also had some problems with /etc/exports for a while, but I think 
those issues are all resolved.



Last "unresponsive" message in vdsm.log was:

vdsm.log.49.xz:jsonrpc.Executor/0::WARNING::*2016-04-21* 
11:00:54,703::vm::5067::virt.vm::(_setUnresponsiveIfTimeout) 
vmId=`b6a13808-9552-401b-840b-4f7022e8293d`::monitor become 
unresponsive (command timeout, age=310323.97)
vdsm.log.49.xz:jsonrpc.Executor/0::WARNING::2016-04-21 
11:00:54,703::vm::5067::virt.vm::(_setUnresponsiveIfTimeout) 
vmId=`5bfb140a-a971-4c9c-82c6-277929eb45d4`::monitor become 
unresponsive (command timeout, age=310323.97)




Thanks.



On 4/29/16 1:40 AM, Michal Skrivanek wrote:



On 28 Apr 2016, at 19:40, Bill James <bill.ja...@j2.com> wrote:

thank you for response.
I bold-ed the ones that are listed as "paused".


[root@ovirt1 test vdsm]# virsh -r list --all
 Id   Name                          State






Looks like problem started around 2016-04-17 20:19:34,822, based on 
engine.log attached.


yes, that time looks correct. Any idea what might have been a 
trigger? Anything interesting happened at that time (power outage of 
some host, some maintenance action, anything)?Â
logs indicate a problem when vdsm talks to libvirt(all those 
"monitor become unresponsive”)


It does seem that at that time you started to have some storage 
connectivity issues - first one at 2016-04-17 20:06:53,929. And it 
doesn’t look temporary because such errors are still there couple 
hours later(in your most recent file you attached I can see at 23:00:54)
When I/O gets blocked the VMs may experience issues (then VM gets 
Paused), or their qemu process gets stuck(resulting in libvirt 
either reporting error or getting stuck as well -> resulting in what 
vdsm sees as “monitor unresponsive”)


Since you now bounced libvirtd - did it help? Do you still see wrong 
status for those VMs and still those "monitor unresponsive" errors 
in vdsm.log?
If not…then I would suspect the “vm recovery” code not working 
correctly. Milan is looking at that.


Thanks,
michal



There's a lot of vdsm logs!

fyi, the storage domain for these Vms is a "local" nfs share, 
7e566f55-e060-47b7-bfa4-ac3c48d70dda.


attached more logs.


On 04/28/2016 12:53 AM, Michal Skrivanek wrote:

On 27 Apr 2016, at 19:16, Bill James<bill.ja...@j2.com>  wrote:

virsh # list --all
error: failed to connect to the hypervisor

  1   2   3   4   5   >