[ovirt-users] Help with Storage Domain Configuration in oVirt

2024-07-23 Thread Maria Jonas
Hi everyone,

I am setting up a new storage domain in oVirt and running into a bit of 
trouble. I’ve followed the setup guide but the storage domain isn’t showing up 
in the “Storage” section of the admin portal...

Here’s what I’ve done so far::-

-Created the storage domain in the setup wizard.
-Checked network connections and permissions.
-Verified that the storage is correctly formatted and accessible.

Is there something I might have missed, or any common issues with storage 
domain configurations: ?? Any advice or troubleshooting tips would be greatly 
appreciated.

Thanks in advance!

Maria

[flutter](https://www.igmguru.com/digital-marketing-programming/flutter-training/)
___
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/RAJIVNAGXGUNVJDYV6OKPOGYO64VSXHK/


[ovirt-users] help: Hosted-engine lost data and how to recover vm config to deploy new cluster

2023-12-27 Thread Pandey, Shreyas via Users
Hi ovirt team,


There are couple of questions I am struggling to get answers for.

We have ovirt cluster setup on two servers.

1)
The cluster went down and upon troubleshooting we noticed the hosted engine is 
not able to restart.


[root@j3sv7sr01ctr01 ~]# hosted-engine --vm-status
The hosted engine configuration has not been retrieved from shared storage yet,
please ensure that ovirt-ha-agent service is running.

[root@j3sv7sr01ctr01 ~]#

ovirt-ha-agent and ovirt-ha-broker both are failing because of storage related 
issue.

The glusterfs volume which is being used by hosted-engine doesnt have the 
hosted engine related configuration.

[root@j3sv7sr01ctr01 ~]# cd /rhev/data-center/mnt/glusterSD/
[root@j3sv7sr01ctr01 glusterSD]# ls
10.52.60.131:_j3sv7sr01datastore3
[root@j3sv7sr01ctr01 glusterSD]# cd 10.52.60.131\:_j3sv7sr01datastore3/
[root@j3sv7sr01ctr01 10.52.60.131:_j3sv7sr01datastore3]#
[root@j3sv7sr01ctr01 10.52.60.131:_j3sv7sr01datastore3]# ls -al
total 1
drwxr-xr-x 4 vdsm kvm 95 Dec 12 20:26 .
drwxr-xr-x 3 vdsm kvm 47 Dec 13 19:16 ..
[root@j3sv7sr01ctr01 10.52.60.131:_j3sv7sr01datastore3]#
[root@j3sv7sr01ctr01 10.52.60.131:_j3sv7sr01datastore3]#


Also we dont have the snapshots of the glusterfs and so it looks like we cant 
get the hosted-engine data now.

Is there anyway to recover the cluster from this state?


We still have the metadata of the vms as shown below -
[root@j3sv7sr01stg01 01a2b8d8-e360-41cc-beea-4080d48f436a]# pwd
/mnt/datastore1/vms/6f2c0622-fa3b-48f4-b412-9bd6f20892cb/images/01a2b8d8-e360-41cc-beea-4080d48f436a
[root@j3sv7sr01stg01 01a2b8d8-e360-41cc-beea-4080d48f436a]#
[root@j3sv7sr01stg01 01a2b8d8-e360-41cc-beea-4080d48f436a]#
[root@j3sv7sr01stg01 01a2b8d8-e360-41cc-beea-4080d48f436a]#
[root@j3sv7sr01stg01 01a2b8d8-e360-41cc-beea-4080d48f436a]#
[root@j3sv7sr01stg01 01a2b8d8-e360-41cc-beea-4080d48f436a]# cd ..
[root@j3sv7sr01stg01 images]# cd ..
[root@j3sv7sr01stg01 6f2c0622-fa3b-48f4-b412-9bd6f20892cb]# ls
dom_md  images
[root@j3sv7sr01stg01 6f2c0622-fa3b-48f4-b412-9bd6f20892cb]#
[root@j3sv7sr01stg01 6f2c0622-fa3b-48f4-b412-9bd6f20892cb]# ls images/
01a2b8d8-e360-41cc-beea-4080d48f436a  39edc9c3-0f6a-4dc4-b0c9-8279c0d2301f  
6841ade8-515b-438e-a464-87ee269b22aa  b76b6031-a2ba-482b-a367-620521be9b9b  
e61b82ae-dae5-4131-b5f1-68050247ac11
05fc7f51-f217-419f-8dcd-781f363c6ec3  3bcf4941-9352-489d-b1cd-e81f6bac08e5  
688f08fb-ec0b-4d4a-ba5f-aeb1ebea3c37  b8b48d39-6891-46a2-866c-dcfbd78d02a8  
e6b473f9-e18d-49bd-af60-269baa6801ad
085fbfd5-523f-483c-b65f-b50fcdec4883  3c2c19a8-2c01-4487-b8c8-bf0e700f3a52  
6ac1b668-6e17-48f9-b334-e271bfcb7788  b8e4bf92-1b68-4452-a2f5-244543a64467  
ec9e26ab-fdc4-434c-bbf3-2959f3c1776c
08e0efb2-82de-4727-8527-dcdd134a75ef  3ebd222a-7f5e-4e27-bcb3-8fcdd3a2cfca  
6f4ffa95-9855-46d1-b38f-c6fb90e9c92e  bc7d3fd2-83a5-4c64-a68e-b50750ea1bee  
ef1d7d7d-ca6a-43c1-9f7c-3e52e1153842
0cba2187-6d43-4aa4-af8d-1c917aece6bb  401c7293-4f7f-4c47-b6c8-ff0a6f94fb0e  
7a44c0a0-f202-423f-b390-13907fcf333e  bcc9bc93-e7e3-4f6c-ae4c-f1911cfbebaf  
efb1b965-5e04-4537-954f-b5a70b95275b
18d527e7-822c-4faf-91d4-0be5940d3663  455dbdc1-2990-4474-ab1f-17767770bcb1  
7d89ceb1-13b6-4646-8e1e-70e10a970b5f  c12542d9-f9a9-417e-942e-d2b06a44d8d4  
efc1d529-5fad-406d-baa5-100d187f8033
18ff181a-f620-49d8-a18d-92fb7c21e2d1  470e1c0e-f8f1-4477-9059-3220c68bad48  
846bc7f5-6380-46ce-b31d-470bf2d10054  c27aeb05-e44e-447f-9563-5a8398eb73fc  
efd940ae-511a-4068-8c6c-97aaafbddcf4
1a2384e4-b850-4dae-a191-bb165c2833d9  48b7f23b-9041-4bd7-a4d9-6894117636e2  
8cdf9897-5777-487c-967c-f2505f22755c  c4874372-08e0-4ff3-9c5d-0404bdc7d194  
f212e13e-3871-4c4a-8d15-450507202518
1a38eb80-6e21-4848-8518-943ac5625caf  4f709682-9159-40fa-b4c2-3080b26b72c3  
903f9c51-9788-4a7d-b336-52a6fe4cc3ac  c7ac51e0-4575-4d79-9cd9-247752df45a7  
f4110154-4926-4019-8412-d76021aeb841
1d753f80-6811-4671-a807-865b7a04e11f  52634d4a-88f7-48e8-99c1-18e574b3cd23  
9df26dbf-0370-40d4-badd-c0ad88cf96be  c88fa564-2284-46ba-9784-5b66eac420be  
f6f910a9-0812-4fb1-8b70-bed869dcf580
21a99266-1c78-4271-a2ba-c65ad10cf26a  55356333-996e-4f13-86b3-ed064ec58ff7  
a2b6ae87-71f9-41f7-97e8-90bb16e60517  cb354e40-5b5a-494f-a22d-b0a37fec09b3  
fa7d2900-812f-4f9d-8f05-09a9321880d2
2330dbe1-abeb-4a0b-a4bd-e7e5fae68be2  57b097ed-9896-4a2c-a7a7-8ff387388752  
a4b980d8-ff6a-4e10-a8ee-d4cfc9a4765a  cb94ec8c-b29f-41cd-8b74-77687a69e75b  
fc63ae3e-35fb-4360-9c83-2089ec5d81c5
280fe3d4-dd16-49c7-ae7f-db8f70143f07  5bc471ba-52c9-4bbd-a1da-d2375e42b6bb  
a8afa44f-cf4f-4cc4-9fbb-5ce1b6be4bd5  d26d5671-6f6c-4b9b-81bc-d5a7e28eab0e  
ff0447dc-e950-4419-800b-495af75a5c65
31e2b9a1-946e-400b-be62-3c78575b23bc  5bf990c6-8898-41a9-bcc8-61bc81c872f9  
a9fa7d64-70b3-46ce-9682-a976d86380fb  da0c9b8e-66de-4283-85b4-f639205dd76a
355d27a1-ecc7-4e5d-bfe5-16d0e83d7df6  5c02176c-7ac1-4067-8cef-2be322798519  
b171c219-0bb7-4619-aa45-886583f1dc5f  dafdfde9-aa69-46f6-9f6d-9bf4ca7d5c94
39061360-c4d7-4852-a946-dee6a279039b  61dc998c-3ad9-404f-8103-82e66612e31d  

[ovirt-users] Help moving hosted_storage data/domain

2022-11-27 Thread tannoiser
Hi there, first time here.

I successfully installed Oracle Linux Virtual Manager that's basically Ovirt 
4.6. I have a datacenter, 2 separate cluster, 3 host per cluster (self hosted 
engine configuration).
During the installation process I defined the nfs storage for the hosted engine 
VM, and now I'm in trouble. I can shut down any host but the one that serve the 
nfs.
I understand lately that I need a distributed storage to obtain HA, then I 
added the glusterfs support. I can see my gluster volume but I can't add it as 
storage domain. It's simply doesn't appear in dropdown menu when I try to add 
it as new storage domain.

A part for that: there's a way to move data from hosted_storage domain (the nfs 
one) to another one? I try to setup another one as main but no joy. If a try to 
move the disk from there it's say to me I can't.

I searched on the web but I found several answers, starting from: "no you 
can't" to "with engine-backup utility" and I'm quite confused.

Reinstall it isn't an option, i have approx 60 vm active.

Any help it's appreciated.

(forgive eventually mistakes, I'm not a native).

Maurizio
___
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/IMFGJPL3YLOJKZXOOXKLWB7RFRP4ZVFA/


[ovirt-users] Help - Unable to break bond interface from Ovrit Engine

2022-10-18 Thread Amrit Thakur
Hi,

Currently I am using ovirt 4.3 version with two clusters. Previously I used
a bond interface with two NICs for NFS storage. Now I want to use iscsi
with multipathing but I didn't find any option to break the bond interface
from the ovirt engine GUI.

So my question is, is there any way to break the bond interface or if I
remove bond interface from node os level, will it sync with the ovirt
engine after restart os or vdsm service ?

Thank You
___
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/27NRD3QHGOLOH2IKNKNLX4442XEW4MWE/


[ovirt-users] Help needed

2022-07-20 Thread less foobar via Users
I'm installing self hosted engine and there is an error that I can't understand 
can somebody help me? The logs are here: https://termbin.com/vht61
___
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/62X3KB7C6I4NUNIJFJQHGOI3AGMXPMVW/


[ovirt-users] HELP ME! Failed to validate the SSL certificate for localhost:443

2022-04-29 Thread natchawi28
Hi,
I'm having an issue with Failed to validate the SSL certificate for 
localhost:443 during Deploy "hosted-engine."

 check the log files, found this error:
"
[TASK] [ovirt.engine-setup: Check if Engine health page is up]
[ERROR] fatal:[localhost -> my_fqdn.domain]:FAILED!=>{"attempts":12, 
"changed":false,"msg":"Failed to validate the SSL certificate for localhost:443.
Make sure your managed systems have a valid CA certificate installed. 
You can use validate_certs=False if you do not need to confirm the servers 
identity but this is unsafe and not recommended.
Paths checked for this patform: /etc/ssl/certs, 
/etc/pki/ca-trust/extracted/pem, /etc/pki/tls/certs, 
/usr/share/ca-certificates/cacert.org, /etc/ansible.
The exception msg was: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify 
failed (_ssl.c:618).", "status": -1, "url": 
"http://localhost/ovirt-engine/services/health"}
"

NOTE: ovirt engine VERSION 
"ovirt-engine-appliance-4.3-20200603.1.0.2.el7.x86_64"

We tried googling to resolve this issue but, unfortunately, unsuccessfully.
Can someone help us to solve our critical issue?

Best regards,
Bunnatee
___
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/C7PBGLZL5JRR7UVGTMSQ4VVGTQFGA4RD/


[ovirt-users] help using nvme/tcp storage with cinderlib and Managed Block Storage

2022-02-23 Thread muli
Hi everyone,

We are trying to set up ovirt (4.3.10 at the moment, customer preference) to 
use Lightbits (https://www.lightbitslabs.com) storage via our openstack cinder 
driver with cinderlib. The cinderlib and cinder driver bits are working fine 
but when ovirt tries to attach the device to a VM we get the following error:

libvirt:  error : cannot create file 
'/var/run/libvirt/qemu/18-mulivm1.dev/mapper/': Is a directory

We get the same error regardless of whether I try to run the VM or try to 
attach the device while it is running. The error appears to come from vdsm 
which passes /dev/mapper as the prefered device? 

2022-02-22 09:50:11,848-0500 INFO  (vm/3ae7dcf4) [vdsm.api] FINISH 
appropriateDevice return={'path': '/dev/mapper/', 'truesize': '53687091200', 
'apparentsize': '53687091200'} from=internal, 
task_id=77f40c4e-733d-4d82-b418-aaeb6b912d39 (api:54)
2022-02-22 09:50:11,849-0500 INFO  (vm/3ae7dcf4) [vds] prepared volume path: 
/dev/mapper/ (clientIF:510)

Suggestions for how to debug this further? Is this a known issue? Did anyone 
get nvme/tcp storage working with ovirt and/or vdsm?

Thanks,
Muli

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


[ovirt-users] help install oVirt Engine on Centos 9 Stream

2022-02-02 Thread david
hi all

can't install oVirt engine on Centos Stream 9

# dnf repolist
repo id
 repo name
appstream
 CentOS Stream 9 - AppStream
baseos
  CentOS Stream 9 - BaseOS
extras-common
 CentOS Stream 9 - Extras packages
ovirt-4.4
 Latest oVirt 4.4 Release

# dnf install ovirt-engine
Last metadata expiration check: 0:15:25 ago on Thu 03 Feb 2022 10:41:41 AM
+04.
No match for argument: ovirt-engine
Error: Unable to find a match: ovirt-engine

# yum search ovirt
Last metadata expiration check: 0:07:44 ago on Thu 03 Feb 2022 10:41:41 AM
+04.
===
Name & Summary Matched: ovirt
ovirt-hosted-engine-setup.noarch : oVirt Hosted Engine setup tool
ovirt-imageio-client.x86_64 : oVirt imageio client library
ovirt-imageio-common.x86_64 : oVirt imageio common resources
ovirt-imageio-common-debuginfo.x86_64 : Debug information for package
ovirt-imageio-common
ovirt-imageio-daemon.x86_64 : oVirt imageio daemon
ovirt-imageio-debugsource.x86_64 : Debug sources for package ovirt-imageio
ovirt-release44.noarch : The oVirt repository configuration

Name Matched: ovirt

how to fix it ?
thanks
___
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/S4Z2VOL2GRFIPDTMAIVIERPJVISF4UR4/


[ovirt-users] help install oVirt Engine on CentOS 9 Stream

2022-02-02 Thread david
hi all

can't install oVirt engine on Centos Stream 9 

# dnf repolist
repo id 
 repo name
appstream   
 CentOS Stream 9 - AppStream
baseos  
 CentOS Stream 9 - BaseOS
extras-common   
 CentOS Stream 9 - Extras packages
ovirt-4.4   
 Latest oVirt 4.4 Release

# dnf install ovirt-engine
Last metadata expiration check: 0:15:25 ago on Thu 03 Feb 2022 10:41:41 AM +04.
No match for argument: ovirt-engine
Error: Unable to find a match: ovirt-engine

# yum search ovirt
Last metadata expiration check: 0:07:44 ago on Thu 03 Feb 2022 10:41:41 AM +04.
===
 Name & Summary Matched: ovirt
ovirt-hosted-engine-setup.noarch : oVirt Hosted Engine setup tool
ovirt-imageio-client.x86_64 : oVirt imageio client library
ovirt-imageio-common.x86_64 : oVirt imageio common resources
ovirt-imageio-common-debuginfo.x86_64 : Debug information for package 
ovirt-imageio-common
ovirt-imageio-daemon.x86_64 : oVirt imageio daemon
ovirt-imageio-debugsource.x86_64 : Debug sources for package ovirt-imageio
ovirt-release44.noarch : The oVirt repository configuration

 Name Matched: ovirt

how to fox it ?
thanks!
___
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/MRGML2SHGTFDFOZUQAMHP3YNUSJPUL2Z/


[ovirt-users] Help installing oVirt on single machine, without cockpit

2021-12-26 Thread Cameron Showalter
 The reply button is taking me to a "mailto" tab again, but hopefully
making the subject the same, will put this under the right thread? If not,
I'm not sure how to reply on the new system. The original thread is here:
https://lists.ovirt.org/archives/list/users@ovirt.org/thread/3L6EVRT4YBEJOIWLLXHF5QPVGJIXL7CR/,
and it continues here for a bit:
https://lists.ovirt.org/archives/list/users@ovirt.org/thread/C4Z65RXLFPOCS6OD3FREAJLNFM2GD2KQ/
.

@Strahil Nikolov
> Have you thought about deploying HostedEngine and when you need to update
the engine -> put the host in maintenance -> backup & restore

The way I understand the update process, you can't update with a hosted
engine unless you have two hosts. One needs to run the engine VM, so the
other can go into maintenance. Is this wrong? For my use case, I'm looking
for something that'll work/update on a single host.

I'm trying to get the engine running next to the hypervisor, so it can run
when the VM's come down. I can get the engine running on a CentOS Stream
install, but it says it has 0/0 hosts running, so I don't think it can
deploy VM's. I can't find a way to install the node's hypervisor
package-set either. Unless that package exists, the only other idea I have
for this route is doing a "hosted engine" install, but destroy the engine
VM and point it to the local engine. This seems extreme to me lol.

I tried setting up the engine on a node itself, but the error I can't get
past yet is in the second url, top of this message. It can't start the
ovirt-imageio service, because of a missing file.

Happy Holidays all!
Cameron
___
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/V2U4WCP3WOQDEKRVTYNIXBIUJEWDGEOU/


[ovirt-users] Help installing oVirt on single machine, without cockpit

2021-12-07 Thread Cameronsplaze222
I'm trying to install both the oVirt engine (so I have the API), and hypervisor 
on the same machine. I'm hoping I don't need cockpit, and I can write some 
custom scripts to manage oVirt through the API. I tried a couple ways, and both 
were blocked:

# on CentOS 9 stream, installing oVirt engine:
On a fresh CentOS install, tried following the directions 
[here](https://www.ovirt.org/documentation/installing_ovirt_as_a_standalone_manager_with_local_databases/#Installing_RHEL_for_RHVM_SM_localDB_deploy).
 They failed at step 3.2, when adding the modules (missing groups or modules). 
Tried skipping it, but step 3.3.2 failed when running `dnf install 
ovirt-engine`, package couldn't be found. The closest package I see is 
`ovirt-hosted-engine-setup-2.5.4-1.el9.noarch`. Is that what I want?

# On oVirt node, installing engine:
Couldn't get the networking working, even though I added it during the install 
process. Also tried wired connection, and no luck. Blocked early on, but read 
this was SUPER minimal anyway, so maybe this wasn't the right path.

I'm just trying to have a working API, along side the hypervisor to run vm's, 
both on the same machine. I'm down to go a third way too, if anyone has any 
ideas. Thanks!
___
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/3L6EVRT4YBEJOIWLLXHF5QPVGJIXL7CR/


[ovirt-users] Help ovirt 3.6

2021-09-30 Thread Ingeniero especialista Redhat / Suse
Hello, good evening, I want to consult the following case, we have two
ovirt 3.6 servers with hosted-engine, yesterday some multipath servers were
presented and two machines were blocked, which was not possible to start,
checking we found that the ssl of the nodes They are expired and we change
them only in the nodes. We could start the hosted-engine but the two nodes
are not responsive
comes out in vdsm daemon

vdsm [43067]: vdsm ProtocolDetector.SSLHandshakeDispatcher ERROR Error
during handshake: unexpected eof

I appreciate any ideas or suggestions to be able to recover normal
operation.

Thanks
___
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/V7KZDVA3HDBHEKI4TYFQAMGIO3HSK7NS/


[ovirt-users] [Help] The engine is not stable on HostedEngine with GlusterFS Herperverged deployment

2021-04-07 Thread mengz . you
Hi, 

I deployed a oVirt (4.3.10) cluster with HostedEngine and GlusterFS volumes 
(engine, vmstore, data), the glusterfs cluster on node1/node2/node3, and the 
engine vm can be running on those 3 nodes.  
Then I added a 4th nodes into cluster.  

But, when I operates on Eninge Web Portal, it's always reports 503 error, then 
I checked `hsoted-engine --vm-status`, see below:  

```
[root@vhost1 ~]# hosted-engine –vm-status

–== Host vhost1.yhmk.lan (id: 1) status ==–

conf_on_shared_storage : True
Status up-to-date : True
Hostname : vhost1.alatest.lan
Host ID : 1
Engine status : {“reason”: “bad vm status”, “health”: “bad”, “vm”: 
“down_unexpected”, “detail”: “Down”}
Score : 0
stopped : False
Local maintenance : False
crc32 : 1f25baff
local_conf_timestamp : 1253650
Host timestamp : 1253649
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=1253649 (Thu Apr 8 08:05:48 2021)
host-id=1
score=0
vm_conf_refresh_time=1253650 (Thu Apr 8 08:05:48 2021)
conf_on_shared_storage=True
maintenance=False
state=EngineUnexpectedlyDown
stopped=False
timeout=Thu Jan 15 20:23:29 1970

–== Host vhost2.yhmk.lan (id: 2) status ==–

conf_on_shared_storage : True
Status up-to-date : True
Hostname : vhost2.alatest.lan
Host ID : 2
Engine status : {“reason”: “vm not running on this host”, “health”: “bad”, 
“vm”: “down_unexpected”, “detail”: “unknown”}
Score : 3400
stopped : False
Local maintenance : False
crc32 : 539fc30c
local_conf_timestamp : 1253343
Host timestamp : 1253343
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=1253343 (Thu Apr 8 08:05:46 2021)
host-id=2
score=3400
vm_conf_refresh_time=1253343 (Thu Apr 8 08:05:46 2021)
conf_on_shared_storage=True
maintenance=False
state=EngineDown
stopped=False

–== Host vhost3.yhmk.lan (id: 3) status ==–

conf_on_shared_storage : True
Status up-to-date : True
Hostname : vhost3.alatest.lan
Host ID : 3
Engine status : {“reason”: “bad vm status”, “health”: “bad”, “vm”: “up”, 
“detail”: “Powering up”}
Score : 3400
stopped : False
Local maintenance : False
crc32 : 4072e0b8
local_conf_timestamp : 1252345
Host timestamp : 1252345
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=1252345 (Thu Apr 8 08:05:42 2021)
host-id=3
score=3400
vm_conf_refresh_time=1252345 (Thu Apr 8 08:05:42 2021)
conf_on_shared_storage=True
maintenance=False
state=EngineStarting
stopped=False
```

Then, wait a moment, can access web portal again, and check the hosts status, 
alway reports one or more hosts with label `unavaiable as HA score`, but it 
will dispear later.  
And I found, sometimes the engine vm will migrated to another nodes whill this 
problem occur.  

So, seems the HostedEngine is not stable, always occur this problem, could you 
please help me with this ?  Thanks!
___
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/XNSMH2MXLJ37XRAMCO7QGAGYYYG4TQSC/


[ovirt-users] Help remove snapshot

2020-08-17 Thread Magnus Isaksson
Hi!

I would need some help removing a snapshot that looks like this.
How do i remove it manually or fix snapshot definition?
-
Error while executing action:

TUN_SALDC01:

  *   The requested snapshot has an invalid parent, either fix the snapshot 
definition or remove it manually to complete the process.

-
And when i look at the disk on tha tnapshot it show as this:
[cid:98462a7f-dbb6-447e-925a-5b170883d7c7]

And general info:
[cid:9264e2e0-459f-4b54-aba7-08b3bf1f4068]
___
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/5QEBPZPUHDGS52266D4OLVX54CUEWEOB/


[ovirt-users] Help needed - Not able to find Windows Guest agent in 4.4.1.10-1.el8 Hosted Engine

2020-08-13 Thread dhanaraj.ramesh--- via Users
Hi Team,

unable to locate Windows guest agant iso in 4.4.1.10-1.el8 Hosted Engine 
version. please share us where can i get the iso? 

there is no /usr/share/oVirt-guest-tools-iso/oVirt-tools-setup.iso available in 
4.4.1 HE
___
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/BAHAWSDM5BRMJGUFIM337PP7NL5WPGX3/


[ovirt-users] help: renamed master volume

2020-06-16 Thread Philip Brown
Im pretty new to ovirt. Trying to upgrade an old install from 4.1 to 4.3

on the way, I browsed into the Storage area, in one of the nodes.

Noticed under the "Volume groups", area that the volumes were named after some 
loong ID string.

Saw there was a "rename" button.
figured it would be just like renaming a VM. thigns would just get auto 
adjusted.

but after I renamed to something in english, the cluster is freaking out, 

"cant find master domain: u'spUUID=xxx, msdUUID=xxx'  "

and under Storage: Storage DOmains, the  Data(Master)  is down.
How can I recover from this ASAP?  :-(
___
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/SV3UUFKOVVYABL7UFVIFSDIMH2442YQ6/


[ovirt-users] Help

2020-03-10 Thread pradeep pal
Hi,

I deploy i am facing this issue.

Deployment failed
[ 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 : Install oVirt Hosted Engine packages]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : System configuration validations]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Fail if he_network_test is not valid]
[ INFO ] skipping: [localhost]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Fail if he_tcp_t_address is not 
defined]
[ INFO ] skipping: [localhost]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Fail if he_tcp_t_port is not defined]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Fail if he_tcp_t_port is no integer]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Generate unicast MAC address]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Set he_vm_mac_addr]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Fail if MAC address structure is 
incorrect]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Get free memory]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Get cached memory]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Set Max memory]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : set he_mem_size_MB to max available 
if not defined]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Fail if available memory is less 
then the minimal requirement]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Fail if user chose less memory then 
the minimal requirement]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Fail if user chose more memory then 
the available memory]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Fail if he_disk_size_GB is smaller 
then the minimal requirement]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Get domain name]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Set he_cloud_init_domain_name]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Define he_cloud_init_host_name]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Get uuid]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Set he_vm_uuid]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Get uuid]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Set he_nic_uuid]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Get uuid]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Set he_cdrom_uuid]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : get timezone]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Set he_time_zone]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Fail if he_force_ip4 and 
he_force_ip6 are set at the same time]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Prepare getent key]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Get full hostname]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Set hostname variable if not defined]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Define host address variable if not 
defined]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Fail if he_force_ip4 and 
he_force_ip6 are set at the same time]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Prepare getent key]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Get host address resolution]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Check address resolution]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Parse host address resolution]
[ INFO ] ok: [localhost]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Fail if host's ip is empty]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Avoid localhost]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Ensure host address resolves locally]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Get target address from selected 
interface (IPv4)]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Get target address from selected 
interface (IPv6)]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Check the resolved address resolves 
on the selected interface]
[ INFO ] skipping: [localhost]
[ INFO ] 

[ovirt-users] Help recovering cluster

2020-03-08 Thread Joe Sherman
Hello all,

  New to the group, apologies for any poor information. I have a home lab
with a single host ovirt setup. I actually don't think I ever set it up
exactly right, the agent vm was never created, it was running on the host
server. But it ran and I had a handful of vm's running on it successfully.
I knew I had to rebuild it but was waiting for funds for extra hardware.
Then the other day I came home and could no longer access the web portal.
Could get to the login page but after entering my auth info it just hangs.
I'm honestly not even sure where to start. Does anyone know any good
troubleshooting docs? Or any idea what may be happening? I can see the VM
images and such in the proper folders so I don't think I have .lost
anything. But can't access any of the vm's now. Any help would be
appreciated.

Joe
___
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/HWOK53VBDZJBJPPUSGFDRIEYHO45OPMJ/


[ovirt-users] Help/guidelines/ideas on how to create new hosted-engine on final server with old config

2019-10-21 Thread Lars Bækmark


I'm looking for guidelines/ideas for moving/migrating/Hosted-engine from the 
initial install with local storage, to the "Final" server.
Initial it was a "Test" to see if this will work or not, but this has now 
become the production, where the initial host named "ovirt" that is hosting the 
hosted-engine on local storage is "just" doing that. My hosted-engine is called 
"ovirtmgr" and I created a new host to run Virtual machines called "Hermod" - 
getting better in the naming thing, right? This test was so successful that I 
converted the old Xen/Oracle based host to CentOS 7 - the same as host Ovirt 
and Hermod:
Linux hermod 3.10.0-1062.1.1.el7.x86_64 #1 SMP Fri Sep 13 22:55:44 UTC 2019 
x86_64 x86_64 x86_64 GNU/Linux 

Linux fernis 3.10.0-1062.el7.x86_64 #1 SMP Wed Aug 7 18:08:02 UTC 2019 x86_64 
x86_64 x86_64 GNU/Linux 
oVirt version is: 4.3.5.4-1.el7
I want to move the hosted-engine to Fenris and at the same time use a NFS share 
for that. I can shut the whole setup down, as long as it runs again in daytime.
I do know that I should have started with the hosted-engine in the correct 
place, but that's not the case anymore. There are eleven VM’s in total 
Can anyone suggest a plan on how to move/create a new hosted-engine on my 
server Fenris? The history of the old server is not important, I just want the 
hosted-engine on fenris using NFS share
I did find some sugesting on the web, but they all look quite complicated: 
https://www.ovirt.org/…/engine/migrate-to-hosted-engine.html 

I just love the product! I'm now running VM's 2-3 times faster by converting 
from Xen to KVM, but still use the same storage and server! :-D
Appreciate any help! 

/Lars


Lars Bækmark
l...@baekmark.dk 
+45 2241 0500

Mølleengen 6
3550 Slangerup
Danmark

-

Oversteer is when you hit the wall with the rear of the car.
Horsepower is how fast you hit the wall.
Torque is how far you take the wall with you___
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/JHYWQD6W62HV23X7M5ROJZSDXPNPNX7C/


[ovirt-users] Help!

2019-07-10 Thread Abdoul-Rahamane Issoufou Oumarou
Good evening

Today it's been almost a week since my efforts are in vain in the face of
this problem that pushes me to write to you again.

I installed ovirt 4.3 on a minimal centos installation.
Then I confided ovirt as well as the iso and data domains.

Now the problem, I try to create a VM by setting up the entries and
attaching a CD from the iso data center.

As soon as I run the machine by opening the console, the VM blocks on the
boot and the installation does not start. I'll give you two previews for my
config and the problem in question.

Thank you in advance to all those who would like to help me solve this
problem.
___
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/AGCWRYG3YPZH3KSBAZ5RQZ4CRAIWTGCN/


[ovirt-users] Help with 4.3.3 re-setup

2019-04-21 Thread michael
I updated my ovirt from 4.3.2 to 4.3.3 and everything went bad, my gluster 
volumes were constantly dropping out and getting unsynced and everything was 
just running slower than molasses.  So I thought I would reload the hosts from 
ovirt node to Centos and re-do the storage, thinking that may help.  I tried 
using centos, but I was never able to add centos hosts back to the ovirt engine 
due to a gluster error in the logs, so I went and downloaded ovirt node 4.3.3, 
and now after spending an hour reloading all the servers with ovirt node, One 
of the nodes I can't access the cockpit on, and the other two have broken VDO 
modules, the modules are installed but don't exist in the kernel, and when I 
removed the module, I lost all network configuration, and when I re-installed 
it, I get a scriptlet error on compilation and there is still a missing VDO 
module.  This is now the 3rd time i've hit this VDO issue and i'm really 
frustrated right now, should I just go back to 4.3.2?  I just redownloa
 ded the latest 4.3.3 ISO today.
___
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/QA2SMYRZCXQYRT2BNYW2RSFPKZS7VQBC/


[ovirt-users] help with non-standard LDAP authentication

2019-01-01 Thread alan . edwards
I am using an LDAP configuration that either does not expose or contain a 
nsUniqueId value for Groups.  Many of the standard schema fieldnames have been 
changed to contain a company prefix.  I managed to update the profiles enough 
to have the user authentication work properly & search for the LDAP groups now. 
 But I am unable to add the LDAP group due to the following error: 

Caused by: org.postgresql.util.PSQLException: ERROR: null value in column 
"external_id" violates not-null constraint
  Detail: Failing row contains (dad4b561-6aaa-4e7c-9887-997ba8142d3f, ADMGROUP, 
REALM-authz, null, null, o=BASE)

I've checked the profiles to see if I could possibly remap the nsUniqueID value 
for Groups (thinking of using either the gid or dn value), but I do not see how 
I can have a different value for groups from users.  I have seen a similar 
thread from 3 years ago, but it appeared to have been a different cause.

Any advice or suggestions?  The main goal I am attempting to achieve is to use 
an existing LDAP user group to control who has access to the system such that 
we do not have to add users manually.  

Thanks,
Alan
___
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/BZJLVXXKZF6DDJGOHVUVFQWA6AP6HIAO/


[ovirt-users] Help - "No Default Route show in Ovirt Engine"

2018-12-05 Thread aru_barani
After create data center,cluster try install the host in ovirt engine it show 
the error "Hosts has no Default Route" but both the Engine and Ovirt node ping. 
At same time try Register Ovirt Node to Ovirt engine It shows "Please provide 
valid oVirt engine fully qualified domain name (FQDN) and port (443 by 
default)" but i am use hpervisor.eipl.com with port 443  
___
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/XZO7YLJVFDUUOKPLFL2ESQ2RQTMLBKWF/


[ovirt-users] Help - Ovirt Node Installation

2018-11-21 Thread barani tharan
Dear Team
1. I install the ovirt node 4.2 in KVM on centos 7. when i try to install 
package or yum update it shows the message" Cannot retrieve metalink for 
repository:   ovirt-4.2-epel/x86_64. Please verify its path and try again 
Uploading Enabled Repositories Report Loaded plugins: fastestmirror, product-id 
Cannot upload enabled repos report, is this client registered?" this system 
have full internet access please give me the solution for this issue 

2. We need to test ovirt node and ovirt engine for load balance in vm so please 
help me or have any unregister ovirt node
3. In Web GUI of Ovirt node console the "Domain Join option is disable" is 
possible to enable

RegardsBarani___
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/VQHPHXMMN6VV6XFRWNVD64E3M5UKN5LE/


[ovirt-users] help me thanks

2018-08-14 Thread liug74
I restart the win10  after  I suspend the win10, then follow error message:

VM win10_admin2 was started by admin@internal-authz (Host: h4).

VM win10_admin2 is down with error. Exit message: Wake up from hibernation 
failed:(, 'source').

Failed to run VM win10_admin2 on Host h4.

Why?
___
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/2IIVBPXQR2SMV2552HNVYMV6R2QXIZLK/


Re: [ovirt-users] Help debugging VM import error

2018-04-26 Thread Maor Lipchuk
It seems like a regression from 55a71302ef91c91e8d9d418794ea3be990dcfe71
Since memory disk was not considered a disk entity in the engine, the VM
regisatration worked well.
Now, that the memory disk became an entity and the validation was added, it
should also be addressed in the VM's OVF.
Now it isn't part of the VM's OVF and the disk does not get created in the
DB and that is probably why the operation fails.
Thanks Arik for pointing this out.

Regards,
Maor

On Thu, Apr 26, 2018 at 11:06 AM, Arik Hadas  wrote:

>
> On Mon, Apr 23, 2018 at 10:02 PM, Roy Golan  wrote:
>
>> I suspect
>>
>> List guids = Guid.createGuidListFromString(
>> snap.getMemoryVolume());
>>
>> where guids is empty because there is not memory volume. which fails this
>>
>> StorageDomain sd = 
>> getStorageDomainDao().getForStoragePool(guids.get(0),
>> params.getStoragePoolId());
>>
>
> Note that this analysis is based on an incorrect version of the code since
> it happened with version 4.2.2.6. So it may still happen with the
> up-to-date code on the master branch as well. (Also note that had 'guids'
> be empty the exception would have been IndexOutOfBoundsException rather
> than NPE).
>
>
>>
>>
>> On Mon, 23 Apr 2018 at 22:01 Benny Zlotnik  wrote:
>>
>>> Looks like a bug. Can you please file a report:
>>> https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine
>>>
>>> On Mon, Apr 23, 2018 at 9:38 PM, ~Stack~  wrote:
>>>
 Greetings,

 After my rebuild, I have imported my VM's. Everything went smooth and
 all of them came back, except one. One VM gives me the error "General
 command validation failure." which isn't helping me when I search for
 the problem.

 The oVirt engine logs aren't much better at pointing to what the failure
 is (posted below).

 Can someone help me figure out why this VM isn't importing, please?

 Thanks!
 ~Stack~


 2018-04-23 13:31:44,313-05 INFO
 [org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigur
 ationCommand]
 (default task-72) [6793fe73-7cda-4cb5-a806-7104a05c3c1b] Lock Acquired
 to object 'EngineLock:{exclusiveLocks='[infra01=VM_NAME,
 0b64ced5-7e4b-48cd-9d0d-24e8b905758c=VM]',
 sharedLocks='[0b64ced5-7e4b-48cd-9d0d-24e8b905758c=REMOTE_VM]'}'
 2018-04-23 13:31:44,349-05 ERROR
 [org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigur
 ationCommand]
 (default task-72) [6793fe73-7cda-4cb5-a806-7104a05c3c1b] Error during
 ValidateFailure.: java.lang.NullPointerException
 at
 org.ovirt.engine.core.bll.validator.ImportValidator.validate
 StorageExistsForMemoryDisks(ImportValidator.java:140)
 [bll.jar:]
 at
 org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigura
 tionCommand.isValidDisks(ImportVmFromConfigurationCommand.java:151)
 [bll.jar:]
 at
 org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigura
 tionCommand.validate(ImportVmFromConfigurationCommand.java:103)
 [bll.jar:]
 at
 org.ovirt.engine.core.bll.CommandBase.internalValidate(Comma
 ndBase.java:779)
 [bll.jar:]
 at
 org.ovirt.engine.core.bll.CommandBase.validateOnly(CommandBa
 se.java:368)
 [bll.jar:]
 at
 org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner
 .canRunActions(PrevalidatingMultipleActionsRunner.java:113)
 [bll.jar:]
 at
 org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner
 .invokeCommands(PrevalidatingMultipleActionsRunner.java:99)
 [bll.jar:]
 at
 org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner
 .execute(PrevalidatingMultipleActionsRunner.java:76)
 [bll.jar:]
 at
 org.ovirt.engine.core.bll.Backend.runMultipleActionsImpl(Bac
 kend.java:596)
 [bll.jar:]
 at
 org.ovirt.engine.core.bll.Backend.runMultipleActions(Backend.java:566)
 [bll.jar:]
 at sun.reflect.GeneratedMethodAccessor914.invoke(Unknown
 Source)
 [:1.8.0_161]
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
 thodAccessorImpl.java:43)
 [rt.jar:1.8.0_161]
 at java.lang.reflect.Method.invoke(Method.java:498)
 [rt.jar:1.8.0_161]
 at
 org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.
 processInvocation(ManagedReferenceMethodInterceptor.java:52)
 at
 org.jboss.invocation.InterceptorContext.proceed(InterceptorC
 ontext.java:422)
 at
 org.jboss.invocation.InterceptorContext$Invocation.proceed(
 InterceptorContext.java:509)
 at
 org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.del
 egateInterception(Jsr299BindingsInterceptor.java:78)
 at
 

Re: [ovirt-users] Help debugging VM import error

2018-04-26 Thread Arik Hadas
On Mon, Apr 23, 2018 at 10:02 PM, Roy Golan  wrote:

> I suspect
>
> List guids = Guid.createGuidListFromString(
> snap.getMemoryVolume());
>
> where guids is empty because there is not memory volume. which fails this
>
> StorageDomain sd = getStorageDomainDao().
> getForStoragePool(guids.get(0), params.getStoragePoolId());
>

Note that this analysis is based on an incorrect version of the code since
it happened with version 4.2.2.6. So it may still happen with the
up-to-date code on the master branch as well. (Also note that had 'guids'
be empty the exception would have been IndexOutOfBoundsException rather
than NPE).


>
>
> On Mon, 23 Apr 2018 at 22:01 Benny Zlotnik  wrote:
>
>> Looks like a bug. Can you please file a report:
>> https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine
>>
>> On Mon, Apr 23, 2018 at 9:38 PM, ~Stack~  wrote:
>>
>>> Greetings,
>>>
>>> After my rebuild, I have imported my VM's. Everything went smooth and
>>> all of them came back, except one. One VM gives me the error "General
>>> command validation failure." which isn't helping me when I search for
>>> the problem.
>>>
>>> The oVirt engine logs aren't much better at pointing to what the failure
>>> is (posted below).
>>>
>>> Can someone help me figure out why this VM isn't importing, please?
>>>
>>> Thanks!
>>> ~Stack~
>>>
>>>
>>> 2018-04-23 13:31:44,313-05 INFO
>>> [org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigurationComma
>>> nd]
>>> (default task-72) [6793fe73-7cda-4cb5-a806-7104a05c3c1b] Lock Acquired
>>> to object 'EngineLock:{exclusiveLocks='[infra01=VM_NAME,
>>> 0b64ced5-7e4b-48cd-9d0d-24e8b905758c=VM]',
>>> sharedLocks='[0b64ced5-7e4b-48cd-9d0d-24e8b905758c=REMOTE_VM]'}'
>>> 2018-04-23 13:31:44,349-05 ERROR
>>> [org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigurationComma
>>> nd]
>>> (default task-72) [6793fe73-7cda-4cb5-a806-7104a05c3c1b] Error during
>>> ValidateFailure.: java.lang.NullPointerException
>>> at
>>> org.ovirt.engine.core.bll.validator.ImportValidator.
>>> validateStorageExistsForMemoryDisks(ImportValidator.java:140)
>>> [bll.jar:]
>>> at
>>> org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigurationComma
>>> nd.isValidDisks(ImportVmFromConfigurationCommand.java:151)
>>> [bll.jar:]
>>> at
>>> org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigurationComma
>>> nd.validate(ImportVmFromConfigurationCommand.java:103)
>>> [bll.jar:]
>>> at
>>> org.ovirt.engine.core.bll.CommandBase.internalValidate(
>>> CommandBase.java:779)
>>> [bll.jar:]
>>> at
>>> org.ovirt.engine.core.bll.CommandBase.validateOnly(CommandBase.java:368)
>>> [bll.jar:]
>>> at
>>> org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRu
>>> nner.canRunActions(PrevalidatingMultipleActionsRunner.java:113)
>>> [bll.jar:]
>>> at
>>> org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRu
>>> nner.invokeCommands(PrevalidatingMultipleActionsRunner.java:99)
>>> [bll.jar:]
>>> at
>>> org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner.execute(
>>> PrevalidatingMultipleActionsRunner.java:76)
>>> [bll.jar:]
>>> at
>>> org.ovirt.engine.core.bll.Backend.runMultipleActionsImpl(
>>> Backend.java:596)
>>> [bll.jar:]
>>> at
>>> org.ovirt.engine.core.bll.Backend.runMultipleActions(Backend.java:566)
>>> [bll.jar:]
>>> at sun.reflect.GeneratedMethodAccessor914.invoke(Unknown Source)
>>> [:1.8.0_161]
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(
>>> DelegatingMethodAccessorImpl.java:43)
>>> [rt.jar:1.8.0_161]
>>> at java.lang.reflect.Method.invoke(Method.java:498)
>>> [rt.jar:1.8.0_161]
>>> at
>>> org.jboss.as.ee.component.ManagedReferenceMethodIntercep
>>> tor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
>>> at
>>> org.jboss.invocation.InterceptorContext.proceed(
>>> InterceptorContext.java:422)
>>> at
>>> org.jboss.invocation.InterceptorContext$Invocation.
>>> proceed(InterceptorContext.java:509)
>>> at
>>> org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.
>>> delegateInterception(Jsr299BindingsInterceptor.java:78)
>>> at
>>> org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.
>>> doMethodInterception(Jsr299BindingsInterceptor.java:88)
>>> at
>>> org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.
>>> processInvocation(Jsr299BindingsInterceptor.java:101)
>>> at
>>> org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.
>>> processInvocation(UserInterceptorFactory.java:63)
>>> at
>>> org.jboss.invocation.InterceptorContext.proceed(
>>> InterceptorContext.java:422)
>>> at
>>> org.jboss.invocation.InterceptorContext$Invocation.
>>> proceed(InterceptorContext.java:509)
>>> at
>>> org.ovirt.engine.core.bll.interceptors.CorrelationIdTrackerIntercepto
>>> 

Re: [ovirt-users] Help debugging VM import error

2018-04-23 Thread ~Stack~
Thank you Roy and Benny for your assistance. I have opened the following
bug ticket:
https://bugzilla.redhat.com/show_bug.cgi?id=1571039

Please let me know if there is something else I can provide.

And thank you for your work on oVirt! :-)

~Stack~



signature.asc
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Help debugging VM import error

2018-04-23 Thread ~Stack~
On 04/23/2018 01:57 PM, Roy Golan wrote:
> Please open a bug including the logs.
> https://www.ovirt.org/community/get-involved/report-a-bug/

Sorry, got pulled onto another project that a coworker needed help on. I
will gladly file a bug report in the morning (or later tonight if I get
the chance).

> Also what is the exact version you are using?
4.2.2

Thanks!
~Stack~



signature.asc
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Help debugging VM import error

2018-04-23 Thread Roy Golan
I suspect

List guids =
Guid.createGuidListFromString(snap.getMemoryVolume());

where guids is empty because there is not memory volume. which fails this

StorageDomain sd =
getStorageDomainDao().getForStoragePool(guids.get(0),
params.getStoragePoolId());



On Mon, 23 Apr 2018 at 22:01 Benny Zlotnik  wrote:

> Looks like a bug. Can you please file a report:
> https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine
>
> On Mon, Apr 23, 2018 at 9:38 PM, ~Stack~  wrote:
>
>> Greetings,
>>
>> After my rebuild, I have imported my VM's. Everything went smooth and
>> all of them came back, except one. One VM gives me the error "General
>> command validation failure." which isn't helping me when I search for
>> the problem.
>>
>> The oVirt engine logs aren't much better at pointing to what the failure
>> is (posted below).
>>
>> Can someone help me figure out why this VM isn't importing, please?
>>
>> Thanks!
>> ~Stack~
>>
>>
>> 2018-04-23 13:31:44,313-05 INFO
>> [org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigurationCommand]
>> (default task-72) [6793fe73-7cda-4cb5-a806-7104a05c3c1b] Lock Acquired
>> to object 'EngineLock:{exclusiveLocks='[infra01=VM_NAME,
>> 0b64ced5-7e4b-48cd-9d0d-24e8b905758c=VM]',
>> sharedLocks='[0b64ced5-7e4b-48cd-9d0d-24e8b905758c=REMOTE_VM]'}'
>> 2018-04-23 13:31:44,349-05 ERROR
>> [org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigurationCommand]
>> (default task-72) [6793fe73-7cda-4cb5-a806-7104a05c3c1b] Error during
>> ValidateFailure.: java.lang.NullPointerException
>> at
>>
>> org.ovirt.engine.core.bll.validator.ImportValidator.validateStorageExistsForMemoryDisks(ImportValidator.java:140)
>> [bll.jar:]
>> at
>>
>> org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigurationCommand.isValidDisks(ImportVmFromConfigurationCommand.java:151)
>> [bll.jar:]
>> at
>>
>> org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigurationCommand.validate(ImportVmFromConfigurationCommand.java:103)
>> [bll.jar:]
>> at
>>
>> org.ovirt.engine.core.bll.CommandBase.internalValidate(CommandBase.java:779)
>> [bll.jar:]
>> at
>> org.ovirt.engine.core.bll.CommandBase.validateOnly(CommandBase.java:368)
>> [bll.jar:]
>> at
>>
>> org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner.canRunActions(PrevalidatingMultipleActionsRunner.java:113)
>> [bll.jar:]
>> at
>>
>> org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner.invokeCommands(PrevalidatingMultipleActionsRunner.java:99)
>> [bll.jar:]
>> at
>>
>> org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner.execute(PrevalidatingMultipleActionsRunner.java:76)
>> [bll.jar:]
>> at
>> org.ovirt.engine.core.bll.Backend.runMultipleActionsImpl(Backend.java:596)
>> [bll.jar:]
>> at
>> org.ovirt.engine.core.bll.Backend.runMultipleActions(Backend.java:566)
>> [bll.jar:]
>> at sun.reflect.GeneratedMethodAccessor914.invoke(Unknown Source)
>> [:1.8.0_161]
>> at
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> [rt.jar:1.8.0_161]
>> at java.lang.reflect.Method.invoke(Method.java:498)
>> [rt.jar:1.8.0_161]
>> at
>>
>> org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
>> at
>>
>> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
>> at
>>
>> org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
>> at
>>
>> org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.delegateInterception(Jsr299BindingsInterceptor.java:78)
>> at
>>
>> org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:88)
>> at
>>
>> org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:101)
>> at
>>
>> org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
>> at
>>
>> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
>> at
>>
>> org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
>> at
>>
>> org.ovirt.engine.core.bll.interceptors.CorrelationIdTrackerInterceptor.aroundInvoke(CorrelationIdTrackerInterceptor.java:13)
>> [bll.jar:]
>> at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
>> [:1.8.0_161]
>> at
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> [rt.jar:1.8.0_161]
>> at java.lang.reflect.Method.invoke(Method.java:498)
>> [rt.jar:1.8.0_161]
>> at
>>
>> org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptor.java:89)
>> at
>>
>> 

Re: [ovirt-users] Help debugging VM import error

2018-04-23 Thread Benny Zlotnik
Looks like a bug. Can you please file a report:
https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine

On Mon, Apr 23, 2018 at 9:38 PM, ~Stack~  wrote:

> Greetings,
>
> After my rebuild, I have imported my VM's. Everything went smooth and
> all of them came back, except one. One VM gives me the error "General
> command validation failure." which isn't helping me when I search for
> the problem.
>
> The oVirt engine logs aren't much better at pointing to what the failure
> is (posted below).
>
> Can someone help me figure out why this VM isn't importing, please?
>
> Thanks!
> ~Stack~
>
>
> 2018-04-23 13:31:44,313-05 INFO
> [org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigurationCommand]
> (default task-72) [6793fe73-7cda-4cb5-a806-7104a05c3c1b] Lock Acquired
> to object 'EngineLock:{exclusiveLocks='[infra01=VM_NAME,
> 0b64ced5-7e4b-48cd-9d0d-24e8b905758c=VM]',
> sharedLocks='[0b64ced5-7e4b-48cd-9d0d-24e8b905758c=REMOTE_VM]'}'
> 2018-04-23 13:31:44,349-05 ERROR
> [org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigurationCommand]
> (default task-72) [6793fe73-7cda-4cb5-a806-7104a05c3c1b] Error during
> ValidateFailure.: java.lang.NullPointerException
> at
> org.ovirt.engine.core.bll.validator.ImportValidator.
> validateStorageExistsForMemoryDisks(ImportValidator.java:140)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigurationComma
> nd.isValidDisks(ImportVmFromConfigurationCommand.java:151)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigurationComma
> nd.validate(ImportVmFromConfigurationCommand.java:103)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.CommandBase.internalValidate(
> CommandBase.java:779)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.CommandBase.validateOnly(CommandBase.java:368)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRu
> nner.canRunActions(PrevalidatingMultipleActionsRunner.java:113)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRu
> nner.invokeCommands(PrevalidatingMultipleActionsRunner.java:99)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner.execute(
> PrevalidatingMultipleActionsRunner.java:76)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.Backend.runMultipleActionsImpl(Backend.java:596)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.Backend.runMultipleActions(Backend.java:566)
> [bll.jar:]
> at sun.reflect.GeneratedMethodAccessor914.invoke(Unknown Source)
> [:1.8.0_161]
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
> [rt.jar:1.8.0_161]
> at java.lang.reflect.Method.invoke(Method.java:498)
> [rt.jar:1.8.0_161]
> at
> org.jboss.as.ee.component.ManagedReferenceMethodIntercep
> tor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
> at
> org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:422)
> at
> org.jboss.invocation.InterceptorContext$Invocation.
> proceed(InterceptorContext.java:509)
> at
> org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.
> delegateInterception(Jsr299BindingsInterceptor.java:78)
> at
> org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.
> doMethodInterception(Jsr299BindingsInterceptor.java:88)
> at
> org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.
> processInvocation(Jsr299BindingsInterceptor.java:101)
> at
> org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.
> processInvocation(UserInterceptorFactory.java:63)
> at
> org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:422)
> at
> org.jboss.invocation.InterceptorContext$Invocation.
> proceed(InterceptorContext.java:509)
> at
> org.ovirt.engine.core.bll.interceptors.CorrelationIdTrackerIntercepto
> r.aroundInvoke(CorrelationIdTrackerInterceptor.java:13)
> [bll.jar:]
> at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
> [:1.8.0_161]
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
> [rt.jar:1.8.0_161]
> at java.lang.reflect.Method.invoke(Method.java:498)
> [rt.jar:1.8.0_161]
> at
> org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptor.
> processInvocation(ManagedReferenceLifecycleMethodInterceptor.java:89)
> at
> org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:422)
> at
> org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.
> processInvocation(ExecutionTimeInterceptor.java:43)
> [wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]
> at
> org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:422)
> at
> org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(
> 

Re: [ovirt-users] Help debugging VM import error

2018-04-23 Thread Roy Golan
Please open a bug including the logs.
https://www.ovirt.org/community/get-involved/report-a-bug/

Also what is the exact version you are using?



On Mon, 23 Apr 2018 at 21:48 ~Stack~  wrote:

> Greetings,
>
> After my rebuild, I have imported my VM's. Everything went smooth and
> all of them came back, except one. One VM gives me the error "General
> command validation failure." which isn't helping me when I search for
> the problem.
>
> The oVirt engine logs aren't much better at pointing to what the failure
> is (posted below).
>
> Can someone help me figure out why this VM isn't importing, please?
>
> Thanks!
> ~Stack~
>
>
> 2018-04-23 13:31:44,313-05 INFO
> [org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigurationCommand]
> (default task-72) [6793fe73-7cda-4cb5-a806-7104a05c3c1b] Lock Acquired
> to object 'EngineLock:{exclusiveLocks='[infra01=VM_NAME,
> 0b64ced5-7e4b-48cd-9d0d-24e8b905758c=VM]',
> sharedLocks='[0b64ced5-7e4b-48cd-9d0d-24e8b905758c=REMOTE_VM]'}'
> 2018-04-23 13:31:44,349-05 ERROR
> [org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigurationCommand]
> (default task-72) [6793fe73-7cda-4cb5-a806-7104a05c3c1b] Error during
> ValidateFailure.: java.lang.NullPointerException
> at
>
> org.ovirt.engine.core.bll.validator.ImportValidator.validateStorageExistsForMemoryDisks(ImportValidator.java:140)
> [bll.jar:]
> at
>
> org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigurationCommand.isValidDisks(ImportVmFromConfigurationCommand.java:151)
> [bll.jar:]
> at
>
> org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigurationCommand.validate(ImportVmFromConfigurationCommand.java:103)
> [bll.jar:]
> at
>
> org.ovirt.engine.core.bll.CommandBase.internalValidate(CommandBase.java:779)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.CommandBase.validateOnly(CommandBase.java:368)
> [bll.jar:]
> at
>
> org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner.canRunActions(PrevalidatingMultipleActionsRunner.java:113)
> [bll.jar:]
> at
>
> org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner.invokeCommands(PrevalidatingMultipleActionsRunner.java:99)
> [bll.jar:]
> at
>
> org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner.execute(PrevalidatingMultipleActionsRunner.java:76)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.Backend.runMultipleActionsImpl(Backend.java:596)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.Backend.runMultipleActions(Backend.java:566)
> [bll.jar:]
> at sun.reflect.GeneratedMethodAccessor914.invoke(Unknown Source)
> [:1.8.0_161]
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [rt.jar:1.8.0_161]
> at java.lang.reflect.Method.invoke(Method.java:498)
> [rt.jar:1.8.0_161]
> at
>
> org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
> at
>
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
> at
>
> org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
> at
>
> org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.delegateInterception(Jsr299BindingsInterceptor.java:78)
> at
>
> org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:88)
> at
>
> org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:101)
> at
>
> org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
> at
>
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
> at
>
> org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
> at
>
> org.ovirt.engine.core.bll.interceptors.CorrelationIdTrackerInterceptor.aroundInvoke(CorrelationIdTrackerInterceptor.java:13)
> [bll.jar:]
> at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
> [:1.8.0_161]
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [rt.jar:1.8.0_161]
> at java.lang.reflect.Method.invoke(Method.java:498)
> [rt.jar:1.8.0_161]
> at
>
> org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptor.java:89)
> at
>
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
> at
>
> org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
> [wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]
> at
>
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
> at
>
> 

[ovirt-users] Help debugging VM import error

2018-04-23 Thread ~Stack~
Greetings,

After my rebuild, I have imported my VM's. Everything went smooth and
all of them came back, except one. One VM gives me the error "General
command validation failure." which isn't helping me when I search for
the problem.

The oVirt engine logs aren't much better at pointing to what the failure
is (posted below).

Can someone help me figure out why this VM isn't importing, please?

Thanks!
~Stack~


2018-04-23 13:31:44,313-05 INFO
[org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigurationCommand]
(default task-72) [6793fe73-7cda-4cb5-a806-7104a05c3c1b] Lock Acquired
to object 'EngineLock:{exclusiveLocks='[infra01=VM_NAME,
0b64ced5-7e4b-48cd-9d0d-24e8b905758c=VM]',
sharedLocks='[0b64ced5-7e4b-48cd-9d0d-24e8b905758c=REMOTE_VM]'}'
2018-04-23 13:31:44,349-05 ERROR
[org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigurationCommand]
(default task-72) [6793fe73-7cda-4cb5-a806-7104a05c3c1b] Error during
ValidateFailure.: java.lang.NullPointerException
at
org.ovirt.engine.core.bll.validator.ImportValidator.validateStorageExistsForMemoryDisks(ImportValidator.java:140)
[bll.jar:]
at
org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigurationCommand.isValidDisks(ImportVmFromConfigurationCommand.java:151)
[bll.jar:]
at
org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigurationCommand.validate(ImportVmFromConfigurationCommand.java:103)
[bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.internalValidate(CommandBase.java:779)
[bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.validateOnly(CommandBase.java:368)
[bll.jar:]
at
org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner.canRunActions(PrevalidatingMultipleActionsRunner.java:113)
[bll.jar:]
at
org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner.invokeCommands(PrevalidatingMultipleActionsRunner.java:99)
[bll.jar:]
at
org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner.execute(PrevalidatingMultipleActionsRunner.java:76)
[bll.jar:]
at
org.ovirt.engine.core.bll.Backend.runMultipleActionsImpl(Backend.java:596)
[bll.jar:]
at
org.ovirt.engine.core.bll.Backend.runMultipleActions(Backend.java:566)
[bll.jar:]
at sun.reflect.GeneratedMethodAccessor914.invoke(Unknown Source)
[:1.8.0_161]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.8.0_161]
at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_161]
at
org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at
org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
at
org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.delegateInterception(Jsr299BindingsInterceptor.java:78)
at
org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:88)
at
org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:101)
at
org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at
org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
at
org.ovirt.engine.core.bll.interceptors.CorrelationIdTrackerInterceptor.aroundInvoke(CorrelationIdTrackerInterceptor.java:13)
[bll.jar:]
at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
[:1.8.0_161]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.8.0_161]
at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_161]
at
org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptor.java:89)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at
org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
[wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at
org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
[wildfly-ee-11.0.0.Final.jar:11.0.0.Final]
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at
org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:40)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at
org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53)
at

Re: [ovirt-users] 【help】Build a local development environment

2018-04-04 Thread Phillip Bailey
Hi,

You should be able to find all of the necessary details for setting up your
development environment in the ovirt-engine README [1], except for one
additional step [2] that requires you to do a little extra work on the
database.

I hope this helps!

-Phillip Bailey

[1] https://github.com/oVirt/ovirt-engine/blob/master/README.adoc
[2] http://lists.ovirt.org/pipermail/devel/2018-January/032452.html

On Tue, Apr 3, 2018 at 7:22 AM, TT-mao <1523688...@qq.com> wrote:

> Hi, guys:
> I am currently trying to build an ovirt development environment
> (including engine and vdsm) locally using official documentation, but it
> will never build successfully.
> First, I successfully built the rpm package through (
> https://www.ovirt.org/develop/developer-guide/vdsm/developers/)
> But the vdsm rpm package that I built can't be applied to the engine
> environment. Add hosts on the ovirt gui interface. The engine backend will
> reinstall vdsm.
>
> How do you create a local development environment?
>
> ___
> 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] ??help??Build a local development environment

2018-04-03 Thread TT-mao
Hi, guys:
I am currently trying to build an ovirt development environment (including 
engine and vdsm) locally using official documentation, but it will never build 
successfully.
First, I successfully built the rpm package through 
(https://www.ovirt.org/develop/developer-guide/vdsm/developers/)
But the vdsm rpm package that I built can't be applied to the engine 
environment. Add hosts on the ovirt gui interface. The engine backend will 
reinstall vdsm.


How do you create a local development environment?___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] help, ovirt 4.2

2018-03-20 Thread Yedidyah Bar David
On Tue, Mar 20, 2018 at 3:50 PM, Marcos Michel Martinez Perez
 wrote:
> Name: ovirt-engine-setup-plugin-ovirt-engine
> Version : 4.2.0.2
> Release : 1.el7.centos
> Architecture: noarch
> Install Date: lun 19 mar 2018 12:21:46 CDT
> Group   : Virtualization/Management
> Size: 828601
> License : ASL 2.0
> Signature   : RSA/SHA1, lun 11 dic 2017 12:50:01 CST, Key ID
> ab8c4f9dfe590cb7
> Source RPM  : ovirt-engine-4.2.0.2-1.el7.centos.src.rpm
> Build Date  : lun 11 dic 2017 12:42:36 CST
> Build Host  : vm0043.workers-phx.ovirt.org
> Relocations : (not relocatable)
> URL : http://www.ovirt.org
> Summary : Setup and upgrade specific plugins for oVirt Engine
> Description :
> Setup and upgrade specific plugins for oVirt Engine

OK, so you have old ovirt-engine setup packages with newer otopi.
Please try to update the setup packages and try again:

yum update ovirt\*setup\*
engine-setup

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


Re: [ovirt-users] help, ovirt 4.2

2018-03-20 Thread Yedidyah Bar David
On Tue, Mar 20, 2018 at 3:21 PM, Marcos Michel Martinez Perez <
mmartin...@uci.cu> wrote:

> I recently installed oVirt 4.2 on centos 7 and it turns out that it gave
> me the following error when trying to execute the command engine-setup
>

Which version? What's the output of: rpm -qi
ovirt-engine-setup-plugin-ovirt-engine


>
> [root@localhost ~]# engine-setup
> [ INFO  ] Stage: Initializing
> [ INFO  ] Stage: Environment setup
>   Configuration files: ['/etc/ovirt-engine-setup.
> conf.d/10-packaging-jboss.conf', '/etc/ovirt-engine-setup.conf.
> d/10-packaging.conf']
>   Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-
> 20180320051815-eon9vg.log
>   Version: otopi-1.7.7 (otopi-1.7.7-1.el7)
> [ ERROR ] "before" parameter of method otopi.plugins.ovirt_engine_
> setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_configure_ovn_pki
> is a string, should probably be a tuple. Perhaps a missing comma?
>

This error was fixed in 4.2.1, by this patch:

https://gerrit.ovirt.org/#/q/Id4e0e621624efff0ff0e8a9fd6f23f53f2aa54d2,n,z

The bug existed for some time, but was only exposed by this patch:

https://gerrit.ovirt.org/#/c/86679/

which was included in otopi-1.7.7, which was released as part of 4.2.1.

So it seems like you somehow have 4.2 repos, updated otopi, but didn't
update engine setup packages.


>   methodinfo: {'priority': 5000, 'name': None, 'before':
> 'osetup.ovn.provider.service.restart', 'after':
> ('osetup.pki.ca.available', 'osetup.ovn.services.restart'), 'method':
>  setup.ovirt_engine.network.ovirtproviderovn.Plugin object at 0x1592790>>,
> 'condition':  of  setup.ovirt_engine.network.ovirtproviderovn.Plugin object at 0x1592790>>,
> 'stage': 11}
> [ ERROR ] "before" parameter of method otopi.plugins.ovirt_engine_
> setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_configure_provider
> is a string, should probably be a tuple. Perhaps a missing comma?
>   methodinfo: {'priority': 5000, 'name': None, 'before':
> 'osetup.ovn.provider.service.restart', 'after':
> ('osetup.pki.ca.available', 'osetup.ovn.services.restart'), 'method':
>  setup.ovirt_engine.network.ovirtproviderovn.Plugin object at 0x1592790>>,
> 'condition':  of  setup.ovirt_engine.network.ovirtproviderovn.Plugin object at 0x1592790>>,
> 'stage': 11}
> [ ERROR ] Failed to execute stage 'Environment setup': Found bad "before"
> or "after" parameters
> [ INFO  ] Stage: Clean up
>   Log file is located at /var/log/ovirt-engine/setup/
> ovirt-engine-setup-20180320051815-eon9vg.log
> [ ERROR ] Failed to execute stage 'Clean up': 'NoneType' object has no
> attribute 'cleanup'
> [ INFO  ] Generating answer file '/var/lib/ovirt-engine/setup/
> answers/20180320051817-setup.conf'
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
> [ ERROR ] Execution of setup failed
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


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


[ovirt-users] help, ovirt 4.2

2018-03-20 Thread Marcos Michel Martinez Perez
I recently installed oVirt 4.2 on centos 7 and it turns out that it gave 
me the following error when trying to execute the command engine-setup



[root@localhost ~]# engine-setup
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
  Configuration files: 
['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', 
'/etc/ovirt-engine-setup.conf.d/10-packaging.conf']
  Log file: 
/var/log/ovirt-engine/setup/ovirt-engine-setup-20180320051815-eon9vg.log

  Version: otopi-1.7.7 (otopi-1.7.7-1.el7)
[ ERROR ] "before" parameter of method 
otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_configure_ovn_pki 
is a string, should probably be a tuple. Perhaps a missing comma?
  methodinfo: {'priority': 5000, 'name': None, 'before': 
'osetup.ovn.provider.service.restart', 'after': 
('osetup.pki.ca.available', 'osetup.ovn.services.restart'), 'method': 
object at 0x1592790>>, 'condition':  of 
object at 0x1592790>>, 'stage': 11}
[ ERROR ] "before" parameter of method 
otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_configure_provider 
is a string, should probably be a tuple. Perhaps a missing comma?
  methodinfo: {'priority': 5000, 'name': None, 'before': 
'osetup.ovn.provider.service.restart', 'after': 
('osetup.pki.ca.available', 'osetup.ovn.services.restart'), 'method': 
object at 0x1592790>>, 'condition':  of 
object at 0x1592790>>, 'stage': 11}
[ ERROR ] Failed to execute stage 'Environment setup': Found bad 
"before" or "after" parameters

[ INFO  ] Stage: Clean up
  Log file is located at 
/var/log/ovirt-engine/setup/ovirt-engine-setup-20180320051815-eon9vg.log
[ ERROR ] Failed to execute stage 'Clean up': 'NoneType' object has no 
attribute 'cleanup'
[ INFO  ] Generating answer file 
'/var/lib/ovirt-engine/setup/answers/20180320051817-setup.conf'

[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed


UCIENCIA 2018: III Conferencia Científica Internacional de la Universidad de las Ciencias Informáticas. 
Del 24-26 de septiembre, 2018 http://uciencia.uci.cu http://eventos.uci.cu


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


Re: [ovirt-users] Help with SSL

2017-10-11 Thread ~Stack~
On 10/11/2017 05:51 AM, Martin Perina wrote:
> 
> [snip]
> On Tue, Oct 10, 2017 at 11:48 PM, ~Stack~  are you able to login to oVirt webadmin successfully? If so then oVirt
> side should be fine.
> 
I am able to log into oVirt webmin successfully. Is there a reason to
keep the old cert, or was it OK for me to replace
/etc/pki/ovirt-engine/ca.pem with mine?

> About Foreman, is it installed on the same machine as oVirt?

It is on a separate machine.

> If not
> could you please check, that your custom CA is included either in host
> wide truststore or in specific trustore for Foreman (no idea what
> Foreman is using, better to ask in specific Foreman​
> ​mailing list).

I will check. Thanks Martin!
~Stack~




signature.asc
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Help with SSL

2017-10-11 Thread Martin Perina
On Tue, Oct 10, 2017 at 11:48 PM, ~Stack~  wrote:

> Greetings,
>
> OS: Scientific Linux 7.3
> Ovirt: 4.1.6.2-1.el7.centos
> Foreman: 1.16.0-RC1
>
> I updated my OVirt SSL cert from a self-signed to a purchased one using
> the directions here:
> https://www.ovirt.org/documentation/admin-guide/appe-oVirt_and_SSL/
>
> Everything seems to work from the web interface.
>
> Then I tried to add in Foreman. Thats where I get the error:
>
> Unable to save
> ERF56-1309 [Foreman::FingerprintException]: The remote system presented
> a public key signed by an unidentified certificate authority. If you are
> sure the remote system is authentic, go to the compute resource edit
> page, press the 'Test Connection' or 'Load Datacenters' button and submit.
>
> Everything I can find says that it *should* be resolved - From Red Hat,
> to Foreman, to even the Ovirt list! Yet there it is!
>
> Well after poking at it for a while, I realized that the cert Foreman
> was auto-resolving was still the /OLD/ cert!
>
> Step #2 in those ovirt directions says to break the symbolic link to
> /etc/pki/ovirt-engine/ca.pem. But it doesn't say what to do with that
> file. So I replaced it with my cert. Restarted ovirt and now Foreman
> resolves the correct X509 cert! (I have no idea if that broke something
> else.)
>
> But I still get the error in foreman. :-(
>
> I feel like I'm still missing something in the ovirt configs. Something
> needs to be updated/replaced in ovirt that isn't in those docs.
>
> Can anyone help me out please? I've been trying for hours and not making
>

​Hi,

are you able to login to oVirt webadmin successfully? If so then oVirt side
should be fine.

About Foreman, is it installed on the same machine as oVirt? If not could
you please check, that your custom CA is included either in host wide
truststore or in specific trustore for Foreman (no idea what Foreman is
using, better to ask in specific Foreman​

​mailing list).

Regards

Martin
​

> progress.
> Thanks!
>
> ~Stack~
>
>
>
> ___
> 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] Help with SSL

2017-10-10 Thread ~Stack~
Greetings,

OS: Scientific Linux 7.3
Ovirt: 4.1.6.2-1.el7.centos
Foreman: 1.16.0-RC1

I updated my OVirt SSL cert from a self-signed to a purchased one using
the directions here:
https://www.ovirt.org/documentation/admin-guide/appe-oVirt_and_SSL/

Everything seems to work from the web interface.

Then I tried to add in Foreman. Thats where I get the error:

Unable to save
ERF56-1309 [Foreman::FingerprintException]: The remote system presented
a public key signed by an unidentified certificate authority. If you are
sure the remote system is authentic, go to the compute resource edit
page, press the 'Test Connection' or 'Load Datacenters' button and submit.

Everything I can find says that it *should* be resolved - From Red Hat,
to Foreman, to even the Ovirt list! Yet there it is!

Well after poking at it for a while, I realized that the cert Foreman
was auto-resolving was still the /OLD/ cert!

Step #2 in those ovirt directions says to break the symbolic link to
/etc/pki/ovirt-engine/ca.pem. But it doesn't say what to do with that
file. So I replaced it with my cert. Restarted ovirt and now Foreman
resolves the correct X509 cert! (I have no idea if that broke something
else.)

But I still get the error in foreman. :-(

I feel like I'm still missing something in the ovirt configs. Something
needs to be updated/replaced in ovirt that isn't in those docs.

Can anyone help me out please? I've been trying for hours and not making
progress.
Thanks!

~Stack~




signature.asc
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Help - Host unresponsive!

2017-10-08 Thread Wesley Stewart
Since I was having issues with updating I decided to just blow away my
ovirt-engine install.

This possessed some challenges, but I basically just ran the script here:
https://www.ovirt.org/documentation/how-to/hosted-engine/

to remove everything.  I also made sure my postgres database was removed.
I also had to run the "ip link del" commands on the ovirtmgmt interface to
make sure it was removed.

After detaching, and re-importing my data domain everything seems to be
working so far.  Keyboard is at least working with no crashes!

On Sat, Oct 7, 2017 at 11:01 PM, Wesley Stewart  wrote:

> So it appears that things being passed through VIA USB passthrough are
> broken.
>
> My mouse does not seem to register in my Windows 10 VM, and the two
> keyboards I have tried have caused the VM and the host to crash.
>
> I am not trying to update my host to 4.1.5 by running "sudo engine-setup"
> on my host.  It seems to detect the updates, but then fails saying "[ ERROR
> ] Failed to execute stage 'Setup validation': Cannot upgrade the Engine
> database schema due to wrong ownership of some database entities."
>
> Any ideas?  I am tempted just to blow everything away and start over, but
> I dont know how difficult it is to use an old data domain in a new
> install.  Would it be as simple as copying the files over into the new
> domain?
>
> On Sat, Oct 7, 2017 at 8:35 PM, Wesley Stewart 
> wrote:
>
>> I checked under:
>> /var/log/hosted-engine-ha/
>>
>> I do not have this directory in my /var/log file.
>>
>> Also I did some more experiments.  I removed the graphics card and left
>> only a keyboard and mouse (USB inputs) added to the VM.  Same as before,
>> everything works fine, but once I try to use the keyboard or mouse
>>
>> BOOM everything crashes (including the host, which reboots after).   Next
>> step, I suppose it to try a different keyboard and mouse, but my guess is
>> that any USB added device will cause the VM and host to crash upon
>> interaction.  Everything loads fine, and the VM even continues to continue
>> working normally, until one of these device is activated or used.
>>
>> Any ideas?
>>
>> On Sat, Oct 7, 2017 at 8:09 PM, Wesley Stewart 
>> wrote:
>>
>>> Thanks for the quick response Charles!  Only had a second so I have not
>>> taken a look at the logs yet...
>>>
>>> But after reinstalling the host, it looks like everything came back up
>>> at first.  I have discovered what is causing the entire host to fail, crash
>>> and reboot is when I mess with my windows 10 vm through the graphics card.
>>>
>>> I have an old Radeon HD 6870 that I have been using in my windows 10 vm
>>> without issue (I even did some light gaming with no issues).  It seems that
>>> the last update I did has caused not only my windows VM to crash, but also
>>> my entire OVIRT host.
>>>
>>> Really not sure why Ovirt has an issue with my graphics card on my
>>> windows host all of a sudden.  Will check the logs soon.
>>>
>>> The main login page shows:
>>> Version 4.1.4.2-1.el7.centos
>>>
>>> Isn't 4.1.5 out?  My centos7 box wont seem to find the 4.1.4
>>>
>>> On Oct 7, 2017 5:20 PM, "Charles Kozler"  wrote:
>>>
 Most answers reside in the agent.log under /var/log/hosted-engine-ha/.
 Tail that for a bit and see what pops up. You can also review vdsm log
 under /var/log

 I've found that looking at these two logs and just trying a few things
 yields results

 On Sat, Oct 7, 2017 at 5:18 PM, Wesley Stewart 
 wrote:

> I have a single server that is running ovirt as a host and a storage
> domain.  I ran an update when the GUI told me that there was one.
>
> I shutdown all of the VM's, placed the host in maintenance mode and
> did the update.  Upon rebooting the server, I was able to pull my VM's
> online without any issue, but then, all of a sudden, vm's stopped
> responding as well as the host.
>
> The host is showing as "Down" and I cannot "Activate" it.  Also
> "Maintenance Mode" is greyed out.
>
> Storage pools are "down" but eventually come back online, but the host
> still will not come online.
>
> Every few minutes, the host goes to "UP" right before failing and
> going back "Down".  To make it more confusing, like I mentioned before,
> this is all in one box, so it isn't like their is a network issue between
> the storage and the host boxes or anything.
>
> Currently trying to reinstall the host and see if that helps, but I
> would very much appreciate any sort of guidance, support or ideas!
>
>
> Fencing failed on Storage Pool Manager OVIRT-Host for Data Center
> OVIRT-Datacenter. Setting status to Non-Operational.
> Host OVIRT-Host failed to recover.
>
>
> ___
> Users mailing list
> Users@ovirt.org
> 

Re: [ovirt-users] Help - Host unresponsive!

2017-10-07 Thread Wesley Stewart
So it appears that things being passed through VIA USB passthrough are
broken.

My mouse does not seem to register in my Windows 10 VM, and the two
keyboards I have tried have caused the VM and the host to crash.

I am not trying to update my host to 4.1.5 by running "sudo engine-setup"
on my host.  It seems to detect the updates, but then fails saying "[ ERROR
] Failed to execute stage 'Setup validation': Cannot upgrade the Engine
database schema due to wrong ownership of some database entities."

Any ideas?  I am tempted just to blow everything away and start over, but I
dont know how difficult it is to use an old data domain in a new install.
Would it be as simple as copying the files over into the new domain?

On Sat, Oct 7, 2017 at 8:35 PM, Wesley Stewart  wrote:

> I checked under:
> /var/log/hosted-engine-ha/
>
> I do not have this directory in my /var/log file.
>
> Also I did some more experiments.  I removed the graphics card and left
> only a keyboard and mouse (USB inputs) added to the VM.  Same as before,
> everything works fine, but once I try to use the keyboard or mouse
>
> BOOM everything crashes (including the host, which reboots after).   Next
> step, I suppose it to try a different keyboard and mouse, but my guess is
> that any USB added device will cause the VM and host to crash upon
> interaction.  Everything loads fine, and the VM even continues to continue
> working normally, until one of these device is activated or used.
>
> Any ideas?
>
> On Sat, Oct 7, 2017 at 8:09 PM, Wesley Stewart 
> wrote:
>
>> Thanks for the quick response Charles!  Only had a second so I have not
>> taken a look at the logs yet...
>>
>> But after reinstalling the host, it looks like everything came back up at
>> first.  I have discovered what is causing the entire host to fail, crash
>> and reboot is when I mess with my windows 10 vm through the graphics card.
>>
>> I have an old Radeon HD 6870 that I have been using in my windows 10 vm
>> without issue (I even did some light gaming with no issues).  It seems that
>> the last update I did has caused not only my windows VM to crash, but also
>> my entire OVIRT host.
>>
>> Really not sure why Ovirt has an issue with my graphics card on my
>> windows host all of a sudden.  Will check the logs soon.
>>
>> The main login page shows:
>> Version 4.1.4.2-1.el7.centos
>>
>> Isn't 4.1.5 out?  My centos7 box wont seem to find the 4.1.4
>>
>> On Oct 7, 2017 5:20 PM, "Charles Kozler"  wrote:
>>
>>> Most answers reside in the agent.log under /var/log/hosted-engine-ha/.
>>> Tail that for a bit and see what pops up. You can also review vdsm log
>>> under /var/log
>>>
>>> I've found that looking at these two logs and just trying a few things
>>> yields results
>>>
>>> On Sat, Oct 7, 2017 at 5:18 PM, Wesley Stewart 
>>> wrote:
>>>
 I have a single server that is running ovirt as a host and a storage
 domain.  I ran an update when the GUI told me that there was one.

 I shutdown all of the VM's, placed the host in maintenance mode and did
 the update.  Upon rebooting the server, I was able to pull my VM's online
 without any issue, but then, all of a sudden, vm's stopped responding as
 well as the host.

 The host is showing as "Down" and I cannot "Activate" it.  Also
 "Maintenance Mode" is greyed out.

 Storage pools are "down" but eventually come back online, but the host
 still will not come online.

 Every few minutes, the host goes to "UP" right before failing and going
 back "Down".  To make it more confusing, like I mentioned before, this is
 all in one box, so it isn't like their is a network issue between the
 storage and the host boxes or anything.

 Currently trying to reinstall the host and see if that helps, but I
 would very much appreciate any sort of guidance, support or ideas!


 Fencing failed on Storage Pool Manager OVIRT-Host for Data Center
 OVIRT-Datacenter. Setting status to Non-Operational.
 Host OVIRT-Host failed to recover.


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


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


Re: [ovirt-users] Help - Host unresponsive!

2017-10-07 Thread Wesley Stewart
I checked under:
/var/log/hosted-engine-ha/

I do not have this directory in my /var/log file.

Also I did some more experiments.  I removed the graphics card and left
only a keyboard and mouse (USB inputs) added to the VM.  Same as before,
everything works fine, but once I try to use the keyboard or mouse

BOOM everything crashes (including the host, which reboots after).   Next
step, I suppose it to try a different keyboard and mouse, but my guess is
that any USB added device will cause the VM and host to crash upon
interaction.  Everything loads fine, and the VM even continues to continue
working normally, until one of these device is activated or used.

Any ideas?

On Sat, Oct 7, 2017 at 8:09 PM, Wesley Stewart  wrote:

> Thanks for the quick response Charles!  Only had a second so I have not
> taken a look at the logs yet...
>
> But after reinstalling the host, it looks like everything came back up at
> first.  I have discovered what is causing the entire host to fail, crash
> and reboot is when I mess with my windows 10 vm through the graphics card.
>
> I have an old Radeon HD 6870 that I have been using in my windows 10 vm
> without issue (I even did some light gaming with no issues).  It seems that
> the last update I did has caused not only my windows VM to crash, but also
> my entire OVIRT host.
>
> Really not sure why Ovirt has an issue with my graphics card on my windows
> host all of a sudden.  Will check the logs soon.
>
> The main login page shows:
> Version 4.1.4.2-1.el7.centos
>
> Isn't 4.1.5 out?  My centos7 box wont seem to find the 4.1.4
>
> On Oct 7, 2017 5:20 PM, "Charles Kozler"  wrote:
>
>> Most answers reside in the agent.log under /var/log/hosted-engine-ha/.
>> Tail that for a bit and see what pops up. You can also review vdsm log
>> under /var/log
>>
>> I've found that looking at these two logs and just trying a few things
>> yields results
>>
>> On Sat, Oct 7, 2017 at 5:18 PM, Wesley Stewart 
>> wrote:
>>
>>> I have a single server that is running ovirt as a host and a storage
>>> domain.  I ran an update when the GUI told me that there was one.
>>>
>>> I shutdown all of the VM's, placed the host in maintenance mode and did
>>> the update.  Upon rebooting the server, I was able to pull my VM's online
>>> without any issue, but then, all of a sudden, vm's stopped responding as
>>> well as the host.
>>>
>>> The host is showing as "Down" and I cannot "Activate" it.  Also
>>> "Maintenance Mode" is greyed out.
>>>
>>> Storage pools are "down" but eventually come back online, but the host
>>> still will not come online.
>>>
>>> Every few minutes, the host goes to "UP" right before failing and going
>>> back "Down".  To make it more confusing, like I mentioned before, this is
>>> all in one box, so it isn't like their is a network issue between the
>>> storage and the host boxes or anything.
>>>
>>> Currently trying to reinstall the host and see if that helps, but I
>>> would very much appreciate any sort of guidance, support or ideas!
>>>
>>>
>>> Fencing failed on Storage Pool Manager OVIRT-Host for Data Center
>>> OVIRT-Datacenter. Setting status to Non-Operational.
>>> Host OVIRT-Host failed to recover.
>>>
>>>
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Help - Host unresponsive!

2017-10-07 Thread Wesley Stewart
Thanks for the quick response Charles!  Only had a second so I have not
taken a look at the logs yet...

But after reinstalling the host, it looks like everything came back up at
first.  I have discovered what is causing the entire host to fail, crash
and reboot is when I mess with my windows 10 vm through the graphics card.

I have an old Radeon HD 6870 that I have been using in my windows 10 vm
without issue (I even did some light gaming with no issues).  It seems that
the last update I did has caused not only my windows VM to crash, but also
my entire OVIRT host.

Really not sure why Ovirt has an issue with my graphics card on my windows
host all of a sudden.  Will check the logs soon.

The main login page shows:
Version 4.1.4.2-1.el7.centos

Isn't 4.1.5 out?  My centos7 box wont seem to find the 4.1.4

On Oct 7, 2017 5:20 PM, "Charles Kozler"  wrote:

> Most answers reside in the agent.log under /var/log/hosted-engine-ha/.
> Tail that for a bit and see what pops up. You can also review vdsm log
> under /var/log
>
> I've found that looking at these two logs and just trying a few things
> yields results
>
> On Sat, Oct 7, 2017 at 5:18 PM, Wesley Stewart 
> wrote:
>
>> I have a single server that is running ovirt as a host and a storage
>> domain.  I ran an update when the GUI told me that there was one.
>>
>> I shutdown all of the VM's, placed the host in maintenance mode and did
>> the update.  Upon rebooting the server, I was able to pull my VM's online
>> without any issue, but then, all of a sudden, vm's stopped responding as
>> well as the host.
>>
>> The host is showing as "Down" and I cannot "Activate" it.  Also
>> "Maintenance Mode" is greyed out.
>>
>> Storage pools are "down" but eventually come back online, but the host
>> still will not come online.
>>
>> Every few minutes, the host goes to "UP" right before failing and going
>> back "Down".  To make it more confusing, like I mentioned before, this is
>> all in one box, so it isn't like their is a network issue between the
>> storage and the host boxes or anything.
>>
>> Currently trying to reinstall the host and see if that helps, but I would
>> very much appreciate any sort of guidance, support or ideas!
>>
>>
>> Fencing failed on Storage Pool Manager OVIRT-Host for Data Center
>> OVIRT-Datacenter. Setting status to Non-Operational.
>> Host OVIRT-Host failed to recover.
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Help - Host unresponsive!

2017-10-07 Thread Charles Kozler
Most answers reside in the agent.log under /var/log/hosted-engine-ha/. Tail
that for a bit and see what pops up. You can also review vdsm log under
/var/log

I've found that looking at these two logs and just trying a few things
yields results

On Sat, Oct 7, 2017 at 5:18 PM, Wesley Stewart  wrote:

> I have a single server that is running ovirt as a host and a storage
> domain.  I ran an update when the GUI told me that there was one.
>
> I shutdown all of the VM's, placed the host in maintenance mode and did
> the update.  Upon rebooting the server, I was able to pull my VM's online
> without any issue, but then, all of a sudden, vm's stopped responding as
> well as the host.
>
> The host is showing as "Down" and I cannot "Activate" it.  Also
> "Maintenance Mode" is greyed out.
>
> Storage pools are "down" but eventually come back online, but the host
> still will not come online.
>
> Every few minutes, the host goes to "UP" right before failing and going
> back "Down".  To make it more confusing, like I mentioned before, this is
> all in one box, so it isn't like their is a network issue between the
> storage and the host boxes or anything.
>
> Currently trying to reinstall the host and see if that helps, but I would
> very much appreciate any sort of guidance, support or ideas!
>
>
> Fencing failed on Storage Pool Manager OVIRT-Host for Data Center
> OVIRT-Datacenter. Setting status to Non-Operational.
> Host OVIRT-Host failed to recover.
>
>
> ___
> 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] Help - Host unresponsive!

2017-10-07 Thread Wesley Stewart
I have a single server that is running ovirt as a host and a storage
domain.  I ran an update when the GUI told me that there was one.

I shutdown all of the VM's, placed the host in maintenance mode and did the
update.  Upon rebooting the server, I was able to pull my VM's online
without any issue, but then, all of a sudden, vm's stopped responding as
well as the host.

The host is showing as "Down" and I cannot "Activate" it.  Also
"Maintenance Mode" is greyed out.

Storage pools are "down" but eventually come back online, but the host
still will not come online.

Every few minutes, the host goes to "UP" right before failing and going
back "Down".  To make it more confusing, like I mentioned before, this is
all in one box, so it isn't like their is a network issue between the
storage and the host boxes or anything.

Currently trying to reinstall the host and see if that helps, but I would
very much appreciate any sort of guidance, support or ideas!


Fencing failed on Storage Pool Manager OVIRT-Host for Data Center
OVIRT-Datacenter. Setting status to Non-Operational.
Host OVIRT-Host failed to recover.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Help with Power Management network

2017-10-02 Thread ~Stack~
On 09/29/2017 05:31 PM, Dan Yasny wrote:
> You need more than one host for power management

Thanks for the help on this. Added a second host and had IMPI working in
minutes.

~Stack~



signature.asc
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Help with Power Management network

2017-10-01 Thread Eli Mesika
On Sat, Sep 30, 2017 at 2:51 PM, Dan Yasny  wrote:

> The power management command is sent by the engine via a proxy host. That
> means you need at least one more host to act as proxy. The engine itself
> doesn't need to access the bmc network directly. Just like the engine needs
> no access to the atorage network to perform storage manipulations.
>
> I think in some recent versions fencing by the engine was introduced, but
> I don't have a setup in front of me to verify.
>

​No, this is an open RFE which we didn't apply yet and as far as I know
there is no plan for that in the near future.
So, currently there is a need for an additional host that will serve as a
proxy to the fencing operation.​
The main reason for the existence of the proxy host  is when a host that
has power management configure becomes non-responsive
In that case we might restart the host via its power management card
But, since this host may have some HA VMs that will be migrated to another
host before the problematic host is rebooted, we have to implement a
shutdown->wait for OFF status from PM card->migrate HA VMs->start->wait for
ON status from PM card
This is done in order to prevent running a VM on two hosts which will cause
corruption (brain split)




>
> On Sep 29, 2017 11:13 PM, "~Stack~"  wrote:
>
>> On 09/29/2017 05:31 PM, Dan Yasny wrote:
>> > You need more than one host for power management
>> >
>>
>> Seriously?? I didn't see anything like that in the docs...Maybe I just
>> missed it.
>>
>> Also, why wouldn't it still validate? It should still be able to talk to
>> the interface over the BMC/IPMI network. The fact that I can run the
>> equivalent test on the command line makes it seem like it should at
>> least be able to check via the test. Obviously, it would be silly for it
>> to try to manage itself, but it could at least verify that the
>> configuration is valid, right?
>>
>> I have more hosts that I'm going to add, I was just hoping to do those
>> via the Foreman integration instead of manually building them. Since I'm
>> not quite ready for that, I will just build a second host on Monday and
>> report back.
>>
>> Thanks for the feedback. I would have never guess that as a possibility.
>> :-)
>>
>> ~Stack~
>>
>>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Help with Power Management network

2017-09-30 Thread ~Stack~
On 09/30/2017 06:51 AM, Dan Yasny wrote:
> The power management command is sent by the engine via a proxy host.
> That means you need at least one more host to act as proxy. The engine
> itself doesn't need to access the bmc network directly. Just like the
> engine needs no access to the atorage network to perform storage
> manipulations. 
> 
> I think in some recent versions fencing by the engine was introduced,
> but I don't have a setup in front of me to verify.

Ah, good to know. Thank you for clarifying!
~Stack~




signature.asc
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Help with Power Management network

2017-09-30 Thread Dan Yasny
The power management command is sent by the engine via a proxy host. That
means you need at least one more host to act as proxy. The engine itself
doesn't need to access the bmc network directly. Just like the engine needs
no access to the atorage network to perform storage manipulations.

I think in some recent versions fencing by the engine was introduced, but I
don't have a setup in front of me to verify.

On Sep 29, 2017 11:13 PM, "~Stack~"  wrote:

> On 09/29/2017 05:31 PM, Dan Yasny wrote:
> > You need more than one host for power management
> >
>
> Seriously?? I didn't see anything like that in the docs...Maybe I just
> missed it.
>
> Also, why wouldn't it still validate? It should still be able to talk to
> the interface over the BMC/IPMI network. The fact that I can run the
> equivalent test on the command line makes it seem like it should at
> least be able to check via the test. Obviously, it would be silly for it
> to try to manage itself, but it could at least verify that the
> configuration is valid, right?
>
> I have more hosts that I'm going to add, I was just hoping to do those
> via the Foreman integration instead of manually building them. Since I'm
> not quite ready for that, I will just build a second host on Monday and
> report back.
>
> Thanks for the feedback. I would have never guess that as a possibility.
> :-)
>
> ~Stack~
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Help with Power Management network

2017-09-29 Thread ~Stack~
On 09/29/2017 05:31 PM, Dan Yasny wrote:
> You need more than one host for power management
> 

Seriously?? I didn't see anything like that in the docs...Maybe I just
missed it.

Also, why wouldn't it still validate? It should still be able to talk to
the interface over the BMC/IPMI network. The fact that I can run the
equivalent test on the command line makes it seem like it should at
least be able to check via the test. Obviously, it would be silly for it
to try to manage itself, but it could at least verify that the
configuration is valid, right?

I have more hosts that I'm going to add, I was just hoping to do those
via the Foreman integration instead of manually building them. Since I'm
not quite ready for that, I will just build a second host on Monday and
report back.

Thanks for the feedback. I would have never guess that as a possibility. :-)

~Stack~



signature.asc
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Help with Power Management network

2017-09-29 Thread Dan Yasny
You need more than one host for power management

On Sep 29, 2017 4:25 PM, "~Stack~"  wrote:

> Greetings,
>
> I hit up the IRC earlier, but only crickets. Guess no one wants to stick
> around late on a Friday night. :-D
>
> I'm an ovirt newb here. I've been going through the docs setting up 4.1
> on Scientific Linux 7.4. For the most part everything is going well once
> I learn how to do it. I'm, however, stuck on power management.
>
> I have multiple networks:
> 192.168.1.x is my BMC/ilo network. The security team wants as few entry
> points into this as possible and wants as much segregation as possible.
>
> 192.168.2.x is my "management" access network. For my other machines on
> this network this means admin-SSH/rsyslog/SaltStack configuration
> management/ect.
>
> 192.168.3.x is my high speed network where my NFS storage sits and
> applications that need the bandwidth do their thing.
>
> 10.10.86.x is my "public" access
>
> All networks are configured on the Host network settings. Mostly
> confident I got it right...at least each network/IP matches the right
> interface. ;-)
>
> Right now I only have the engine server and one hyper-visor. On either
> host I can ssh into the command line and run fence_ipmilan -a
> 192.168.1.x -l USER -p PASS -o status -v -P" it works, all is good.
> However, when I try to add it in the ovirt interface I get an error. :-/
>
> Edit Host -> Power Management:
> Address: 192.168.1.14
> User Name: root
> Password: SorryCantTellYou
> Type: ipmilan
> Options: 
>
> Test
>
> Test failed: Failed to run fence status-check on host '192.168.2.14'. No
> other host was available to serve as proxy for the operation.
>
> Yes, same host because I only have one right now. :-)
>
> Any help or guidance would be much appreciated. In the meantime I'm
> going back to the docs to poke at a few other things I need to figure
> out. :-)
>
> Thanks!
> ~Stack~
>
>
> ___
> 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] Help with Power Management network

2017-09-29 Thread ~Stack~
Greetings,

I hit up the IRC earlier, but only crickets. Guess no one wants to stick
around late on a Friday night. :-D

I'm an ovirt newb here. I've been going through the docs setting up 4.1
on Scientific Linux 7.4. For the most part everything is going well once
I learn how to do it. I'm, however, stuck on power management.

I have multiple networks:
192.168.1.x is my BMC/ilo network. The security team wants as few entry
points into this as possible and wants as much segregation as possible.

192.168.2.x is my "management" access network. For my other machines on
this network this means admin-SSH/rsyslog/SaltStack configuration
management/ect.

192.168.3.x is my high speed network where my NFS storage sits and
applications that need the bandwidth do their thing.

10.10.86.x is my "public" access

All networks are configured on the Host network settings. Mostly
confident I got it right...at least each network/IP matches the right
interface. ;-)

Right now I only have the engine server and one hyper-visor. On either
host I can ssh into the command line and run fence_ipmilan -a
192.168.1.x -l USER -p PASS -o status -v -P" it works, all is good.
However, when I try to add it in the ovirt interface I get an error. :-/

Edit Host -> Power Management:
Address: 192.168.1.14
User Name: root
Password: SorryCantTellYou
Type: ipmilan
Options: 

Test

Test failed: Failed to run fence status-check on host '192.168.2.14'. No
other host was available to serve as proxy for the operation.

Yes, same host because I only have one right now. :-)

Any help or guidance would be much appreciated. In the meantime I'm
going back to the docs to poke at a few other things I need to figure
out. :-)

Thanks!
~Stack~



signature.asc
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

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

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

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



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


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

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

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

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

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


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

2017-07-03 Thread Allon Mureinik
As Nicolas stated below, and as evident by [1], ladies and gentlemen - we
are live.

First person to share an actual screenshot of Stack Overflow displaying
this add gets a +2 on his next engine patch :-)


And thanks again to Eldan for designing the add and to all the upvoters.

[1] https://meta.stackoverflow.com/ads/display/349017

On Fri, Jun 30, 2017 at 4:30 AM, Jeff Burns  wrote:

> This is an excellent thing.  Thanks Eldan.  I've cast my vote.
>
> On Thu, Jun 29, 2017 at 12:38 PM  wrote:
>
>> El 2017-06-29 17:27, Allon Mureinik escribió:
>> > Hi lists,
>> >
>> > Thanks to Eldan, we have a community ad for oVirt proposed on Stack
>> > Overflow [1].
>> > Now, we need some upvotes (current threshold is 6) before SO starts
>> > serving it.
>> >
>>
>> Unless some hater downvotes, it has just reached the 6 votes threshold
>> ;-)
>>
>> > Have a SO account?
>> > Want to help?
>> > Just drop by and upvote.
>> >
>> > Have a great weekend,
>> > Allon
>> >
>> > [1] https://meta.stackoverflow.com/a/351453/2422776 [1]
>> >
>> > Links:
>> > --
>> > [1] https://meta.stackoverflow.com/a/351453/2422776
>> >
>> > ___
>> > Users mailing list
>> > Users@ovirt.org
>> > http://lists.ovirt.org/mailman/listinfo/users
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Help! No VMs start after reboot of cluster

2017-06-30 Thread cmc
The broker was reported as down - I recall there was something about
'Failed to getVmStats' in the systemctl output. I wasn't sure how to
check the storage from the oVirt point of view (the GUI was
unavailable). When I put the bare metal engine back, it did take a
short while for the storage to become available (it is FC storage).
The agent did not report any errors in systemctl.

On Fri, Jun 30, 2017 at 4:39 PM, David Gossage
 wrote:
>
>
> On Fri, Jun 30, 2017 at 10:34 AM, cmc  wrote:
>>
>> Hi Denis,
>>
>> Yes, I did check that and it said it was out of global maintenance
>> ('False' I think it said).
>>
>
> Did you check that the storage the hostedengine VM attaches to mounted and
> is in a healthy state, and that the broker and agent services are running?
> Both have logs that may give some indication if it detects an issue as well.
>
>
>> Thanks,
>>
>> Cam
>>
>> On Fri, Jun 30, 2017 at 4:31 PM, Denis Chaplygin 
>> wrote:
>> > Hello!
>> >
>> > On Fri, Jun 30, 2017 at 4:35 PM, cmc  wrote:
>> >>
>> >> I restarted my 3 host cluster after setting it into global maintenance
>> >> mode and then shutting down all of the nodes and then bringing them up
>> >> again. I moved it out of global maintenance mode and no VM is running,
>> >> including the hosted engine.
>> >>
>> >> Any help greatly appreciated!
>> >
>> >
>> > Are you sure you are really out of global maintenance? Could you please
>> > post
>> > hosted-engine --vm-status output?
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Help! No VMs start after reboot of cluster

2017-06-30 Thread David Gossage
On Fri, Jun 30, 2017 at 10:34 AM, cmc  wrote:

> Hi Denis,
>
> Yes, I did check that and it said it was out of global maintenance
> ('False' I think it said).
>
>
Did you check that the storage the hostedengine VM attaches to mounted and
is in a healthy state, and that the broker and agent services are running?
Both have logs that may give some indication if it detects an issue as well.


Thanks,
>
> Cam
>
> On Fri, Jun 30, 2017 at 4:31 PM, Denis Chaplygin 
> wrote:
> > Hello!
> >
> > On Fri, Jun 30, 2017 at 4:35 PM, cmc  wrote:
> >>
> >> I restarted my 3 host cluster after setting it into global maintenance
> >> mode and then shutting down all of the nodes and then bringing them up
> >> again. I moved it out of global maintenance mode and no VM is running,
> >> including the hosted engine.
> >>
> >> Any help greatly appreciated!
> >
> >
> > Are you sure you are really out of global maintenance? Could you please
> post
> > hosted-engine --vm-status output?
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Help! No VMs start after reboot of cluster

2017-06-30 Thread Denis Chaplygin
Hello!

On Fri, Jun 30, 2017 at 5:34 PM, cmc  wrote:

>
> Yes, I did check that and it said it was out of global maintenance
> ('False' I think it said).
>
>
Well, then it should start VM :-) Could you please share hosted-engine
--vm-status  output? It may contain some interesting information
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Help! No VMs start after reboot of cluster

2017-06-30 Thread cmc
Hi Denis,

Yes, I did check that and it said it was out of global maintenance
('False' I think it said).

Thanks,

Cam

On Fri, Jun 30, 2017 at 4:31 PM, Denis Chaplygin  wrote:
> Hello!
>
> On Fri, Jun 30, 2017 at 4:35 PM, cmc  wrote:
>>
>> I restarted my 3 host cluster after setting it into global maintenance
>> mode and then shutting down all of the nodes and then bringing them up
>> again. I moved it out of global maintenance mode and no VM is running,
>> including the hosted engine.
>>
>> Any help greatly appreciated!
>
>
> Are you sure you are really out of global maintenance? Could you please post
> hosted-engine --vm-status output?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Help! No VMs start after reboot of cluster

2017-06-30 Thread Denis Chaplygin
Hello!

On Fri, Jun 30, 2017 at 4:35 PM, cmc  wrote:

> I restarted my 3 host cluster after setting it into global maintenance
> mode and then shutting down all of the nodes and then bringing them up
> again. I moved it out of global maintenance mode and no VM is running,
> including the hosted engine.
>
> Any help greatly appreciated!
>

Are you sure you are really out of global maintenance? Could you please
post hosted-engine --vm-status output?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Help! No VMs start after reboot of cluster

2017-06-30 Thread cmc
Hi,

I restarted my 3 host cluster after setting it into global maintenance
mode and then shutting down all of the nodes and then bringing them up
again. I moved it out of global maintenance mode and no VM is running,
including the hosted engine.

Any help greatly appreciated!

Thanks,

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


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

2017-06-29 Thread Jeff Burns
This is an excellent thing.  Thanks Eldan.  I've cast my vote.

On Thu, Jun 29, 2017 at 12:38 PM  wrote:

> El 2017-06-29 17:27, Allon Mureinik escribió:
> > Hi lists,
> >
> > Thanks to Eldan, we have a community ad for oVirt proposed on Stack
> > Overflow [1].
> > Now, we need some upvotes (current threshold is 6) before SO starts
> > serving it.
> >
>
> Unless some hater downvotes, it has just reached the 6 votes threshold
> ;-)
>
> > Have a SO account?
> > Want to help?
> > Just drop by and upvote.
> >
> > Have a great weekend,
> > Allon
> >
> > [1] https://meta.stackoverflow.com/a/351453/2422776 [1]
> >
> > Links:
> > --
> > [1] https://meta.stackoverflow.com/a/351453/2422776
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2017-06-29 Thread nicolas

El 2017-06-29 17:27, Allon Mureinik escribió:

Hi lists,

Thanks to Eldan, we have a community ad for oVirt proposed on Stack
Overflow [1].
Now, we need some upvotes (current threshold is 6) before SO starts
serving it.



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



Have a SO account?
Want to help?
Just drop by and upvote.

Have a great weekend,
Allon

[1] https://meta.stackoverflow.com/a/351453/2422776 [1]

Links:
--
[1] https://meta.stackoverflow.com/a/351453/2422776

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

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


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

2017-06-29 Thread Allon Mureinik
Hi lists,

Thanks to Eldan, we have a community ad for oVirt proposed on Stack
Overflow [1].
Now, we need some upvotes (current threshold is 6) before SO starts serving
it.

Have a SO account?
Want to help?
Just drop by and upvote.


Have a great weekend,
Allon


[1] https://meta.stackoverflow.com/a/351453/2422776
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Help

2017-03-28 Thread David Pinkerton
Had a power outage last night and my UPS died..


All screens flick (Cluster, Hosts, Storage, Virtual Machine) and then go
blank hen I click on the tabs in the manager

Error message: Invalid status on Data Center XXX. Setting status to non
responsive.


Storage is ISCSI - all hosts are logged in and I can see LUNS via blkid






-- 

David Pinkerton
Consultant
Red Hat Asia Pacific Pty. Ltd.
Level 11, Canberra House
40 Marcus Clarke Street
Canberra 2600 ACT

Mobile: +61-488-904-232
Email: david.pinker...@redhat.com
Web: http://apac.redhat.com/ 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Help to setup ovirt release 40

2016-12-13 Thread TranceWorldLogic .
Hi Martin,

I am sorry, I am trying installing ovirt on my VM OS (cntos).
And here I had 2 VMs Centos 7 and 6. And I had played around some
configuration in both VM and hence it was failing.
I forgot what I had executed in that VM.

Anyway, after fresh installation. I am able to setup ovirt-engine.

Thanks for your help and sorry for wrong trial.
~Rohit


On Tue, Dec 13, 2016 at 7:44 PM, Yedidyah Bar David  wrote:

> On Tue, Dec 13, 2016 at 4:10 PM, TranceWorldLogic .
>  wrote:
> > Hi Martin,
> >
> > I tried on centos 7.
> > And got same error as mention in last mail steps:
> > --- output ---
> > # engine-setup
> > [ INFO  ] Stage: Initializing
> > [ INFO  ] Stage: Environment setup
> >   Configuration files:
> > ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf',
> > '/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
> > '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
> >   Log file:
> > /var/log/ovirt-engine/setup/ovirt-engine-setup-20161213090943-kexz5t.log
> >   Version: otopi-1.5.2 (otopi-1.5.2-1.el7.centos)
> > [ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to
> > Engine database using existing credentials: engine@localhost:5432
>
> Is this on a clean machine? Not having conf from previous setups/attempts?
>
> > [ INFO  ] Stage: Clean up
> >   Log file is located at
> > /var/log/ovirt-engine/setup/ovirt-engine-setup-20161213090943-kexz5t.log
>
> Please share above setup log. Thanks.
>
> > [ INFO  ] Generating answer file
> > '/var/lib/ovirt-engine/setup/answers/20161213090944-setup.conf'
> > [ INFO  ] Stage: Pre-termination
> > [ INFO  ] Stage: Termination
> > [ ERROR ] Execution of setup failed
> >
> > --
> >
> > Thanks,
> > ~Rohit
> >
> > On Tue, Dec 13, 2016 at 7:25 PM, Martin Perina 
> wrote:
> >>
> >>
> >>
> >> On Tue, Dec 13, 2016 at 2:51 PM, TranceWorldLogic .
> >>  wrote:
> >>>
> >>> Hi,
> >>>
> >>> I want to confirm one doubt. I face issue with engine datatbase hence I
> >>> had executed step 1 and 2.
> >>> On centos 7 I need not to execute those right ?
> >>
> >>
> >> You need to perform exactly those steps I wrote below to install oVirt
> 4,
> >> all dependencies including PostgreSQL are automatically resolved either
> by
> >> 'yum install ovirt-engine' or by 'engine-setup'. If you still have some
> >> issues, please provide exact errors from 'yum install' steps or setup
> logs
> >> from 'engine-setup' step.
> >>
> >>
> >> Thanks
> >>
> >> Martin Perina
> >>
> >>>
> >>> Thanks,
> >>> ~Rohit
> >>>
> >>> On Tue, Dec 13, 2016 at 7:12 PM, Martin Perina 
> >>> wrote:
> 
>  Hi,
> 
>  for basic default installation of oVirt 4 you need to perform
> following
>  steps on Centos/RHEL 7 host:
> 
>    # yum install
>  http://resources.ovirt.org/pub/yum-repo/ovirt-release40.rpm
>    # yum install ovirt-engine
>    # engine-setup
> 
> 
>  Martin Perina
> 
> 
>  On Tue, Dec 13, 2016 at 2:38 PM, TranceWorldLogic .
>   wrote:
> >
> > Thanks for information.
> >
> > Would I get to know setup procedure ?
> >
> > On Tue, Dec 13, 2016 at 7:05 PM, Martin Perina 
> > wrote:
> >>
> >> Hi,
> >>
> >> only Centos/RHEL 7 is supported for oVirt 4. Please take a look at
> [1]
> >> for correct installation steps on EL7.
> >>
> >> Thanks
> >>
> >> Martin Perina
> >>
> >> [1] http://www.ovirt.org/release/4.0.5/
> >>
> >>
> >> On Tue, Dec 13, 2016 at 2:30 PM, Juan Pablo
> >>  wrote:
> >>>
> >>> why are you still using centos 6? IIRC centos 6 is not supported
> >>> anymore as vdsm related problems.
> >>>
> >>> you have manual here :
> >>> http://www.ovirt.org/documentation/quickstart/quickstart-guide/
> >>> you can use guidance from
> >>> http://www.ovirt.org/blog/2016/08/up-and-running-with-
> ovirt-4-0-and-gluster-storage/
> >>> to have an idea as well..
> >>>
> >>> JP
> >>>
> >>> 2016-12-13 10:13 GMT-03:00 TranceWorldLogic .
> >>> :
> 
>  Hi,
> 
>  I have tried below steps to setup ovirt-engine on centos 6 os.
>  Please help me to install ovirt engine on my machine.
> 
>  Steps:
>  1> Install "ovirt relase 40 rpm"
>  Download from
>  http://plain.resources.ovirt.org/pub/yum-repo/ovirt-release40.rpm
> 
>  2> executed command "postgresql-setup initdb"
>  --- output ---
>  Initializing database ... OK
>  --
> 
>  3> executed command "systemctl restart postgresql.service"
> 
>  4> executed command " engine-setup --log=/tmp/engine-setup.log"
>  

Re: [ovirt-users] Help to setup ovirt release 40

2016-12-13 Thread TranceWorldLogic .
Hi Martin,

I tried on centos 7.
And got same error as mention in last mail steps:
--- output ---
# engine-setup
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
  Configuration files:
['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf',
'/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
'/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
  Log file:
/var/log/ovirt-engine/setup/ovirt-engine-setup-20161213090943-kexz5t.log
  Version: otopi-1.5.2 (otopi-1.5.2-1.el7.centos)
[ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to
Engine database using existing credentials: engine@localhost:5432
[ INFO  ] Stage: Clean up
  Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-setup-20161213090943-kexz5t.log
[ INFO  ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20161213090944-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed

--

Thanks,
~Rohit

On Tue, Dec 13, 2016 at 7:25 PM, Martin Perina  wrote:

>
>
> On Tue, Dec 13, 2016 at 2:51 PM, TranceWorldLogic . <
> tranceworldlo...@gmail.com> wrote:
>
>> Hi,
>>
>> I want to confirm one doubt. I face issue with engine datatbase hence I
>> had executed step 1 and 2.
>> On centos 7 I need not to execute those right ?
>>
>
> ​You need to perform exactly those steps I wrote below to install oVirt 4,
> all dependencies including PostgreSQL are automatically resolved either by
> 'yum install ovirt-engine' or by 'engine-setup'. If you still have some
> issues, please provide exact errors from 'yum install' steps or setup logs
> from 'engine-setup' step.​
>
>
> ​Thanks
>
> Martin Perina
> ​
>
>
>> Thanks,
>> ~Rohit
>>
>> On Tue, Dec 13, 2016 at 7:12 PM, Martin Perina 
>> wrote:
>>
>>> Hi,
>>>
>>> for basic default installation of oVirt 4 you need to perform following
>>> steps on Centos/RHEL 7 host:
>>>
>>>   # yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release40.rpm
>>>   # yum install ovirt-engine
>>>   # engine-setup
>>>
>>>
>>> Martin Perina
>>>
>>>
>>> On Tue, Dec 13, 2016 at 2:38 PM, TranceWorldLogic . <
>>> tranceworldlo...@gmail.com> wrote:
>>>
 Thanks for information.

 Would I get to know setup procedure ?

 On Tue, Dec 13, 2016 at 7:05 PM, Martin Perina 
 wrote:

> Hi,
>
> only Centos/RHEL 7 is supported for oVirt 4. Please take a look at [1]
> for correct installation steps on EL7.
>
> Thanks
>
> Martin Perina
>
> [1] http://www.ovirt.org/release/4.0.5/
>
>
> On Tue, Dec 13, 2016 at 2:30 PM, Juan Pablo  > wrote:
>
>> why are you still using centos 6? IIRC centos 6 is not supported
>> anymore as vdsm related problems.
>>
>> you have manual here : http://www.ovirt.org/documenta
>> tion/quickstart/quickstart-guide/
>> you can use guidance from http://www.ovirt.org/blog/2016
>> /08/up-and-running-with-ovirt-4-0-and-gluster-storage/ to have an
>> idea as well..
>>
>> JP
>>
>> 2016-12-13 10:13 GMT-03:00 TranceWorldLogic . <
>> tranceworldlo...@gmail.com>:
>>
>>> Hi,
>>>
>>> I have tried below steps to setup ovirt-engine on centos 6 os.
>>> Please help me to install ovirt engine on my machine.
>>>
>>> Steps:
>>> 1> Install "ovirt relase 40 rpm"
>>> Download from http://plain.resources.ovirt.o
>>> rg/pub/yum-repo/ovirt-release40.rpm
>>>
>>> 2> executed command "postgresql-setup initdb"
>>> --- output ---
>>> Initializing database ... OK
>>> --
>>>
>>> 3> executed command "systemctl restart postgresql.service"
>>>
>>> 4> executed command " engine-setup --log=/tmp/engine-setup.log"
>>> --- output ---
>>> # engine-setup --log=/tmp/engine-setup.log
>>> [ INFO  ] Stage: Initializing
>>> [ INFO  ] Stage: Environment setup
>>>   Configuration files: 
>>> ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf',
>>> '/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
>>> '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
>>>   Log file: /tmp/engine-setup.log
>>>   Version: otopi-1.5.2 (otopi-1.5.2-1.el7.centos)
>>> [ ERROR ] Failed to execute stage 'Environment setup': Cannot
>>> connect to Engine database using existing credentials: engine@localhost
>>> :5432
>>> [ INFO  ] Stage: Clean up
>>>   Log file is located at /tmp/engine-setup.log
>>> [ INFO  ] Generating answer file '/var/lib/ovirt-engine/setup/a
>>> nswers/20161213080658-setup.conf'
>>> [ INFO  ] Stage: Pre-termination
>>> [ INFO  ] Stage: Termination
>>> [ ERROR ] Execution of setup failed
>>> --
>>>
>>> I have attached log file to this mail.
>>>
>>> 

Re: [ovirt-users] Help to setup ovirt release 40

2016-12-13 Thread Yedidyah Bar David
On Tue, Dec 13, 2016 at 3:51 PM, TranceWorldLogic .
 wrote:
> Hi,
>
> I want to confirm one doubt. I face issue with engine datatbase hence I had
> executed step 1 and 2.
> On centos 7 I need not to execute those right ?

Right. engine-setup can do everything for you.

To start from scratch you can do something like this:

service postgresql stop
rm -rf /var/lib/pgsql/data

Best,

>
> Thanks,
> ~Rohit
>
> On Tue, Dec 13, 2016 at 7:12 PM, Martin Perina  wrote:
>>
>> Hi,
>>
>> for basic default installation of oVirt 4 you need to perform following
>> steps on Centos/RHEL 7 host:
>>
>>   # yum install
>> http://resources.ovirt.org/pub/yum-repo/ovirt-release40.rpm
>>   # yum install ovirt-engine
>>   # engine-setup
>>
>>
>> Martin Perina
>>
>>
>> On Tue, Dec 13, 2016 at 2:38 PM, TranceWorldLogic .
>>  wrote:
>>>
>>> Thanks for information.
>>>
>>> Would I get to know setup procedure ?
>>>
>>> On Tue, Dec 13, 2016 at 7:05 PM, Martin Perina 
>>> wrote:

 Hi,

 only Centos/RHEL 7 is supported for oVirt 4. Please take a look at [1]
 for correct installation steps on EL7.

 Thanks

 Martin Perina

 [1] http://www.ovirt.org/release/4.0.5/


 On Tue, Dec 13, 2016 at 2:30 PM, Juan Pablo 
 wrote:
>
> why are you still using centos 6? IIRC centos 6 is not supported
> anymore as vdsm related problems.
>
> you have manual here :
> http://www.ovirt.org/documentation/quickstart/quickstart-guide/
> you can use guidance from
> http://www.ovirt.org/blog/2016/08/up-and-running-with-ovirt-4-0-and-gluster-storage/
> to have an idea as well..
>
> JP
>
> 2016-12-13 10:13 GMT-03:00 TranceWorldLogic .
> :
>>
>> Hi,
>>
>> I have tried below steps to setup ovirt-engine on centos 6 os.
>> Please help me to install ovirt engine on my machine.
>>
>> Steps:
>> 1> Install "ovirt relase 40 rpm"
>> Download from
>> http://plain.resources.ovirt.org/pub/yum-repo/ovirt-release40.rpm
>>
>> 2> executed command "postgresql-setup initdb"
>> --- output ---
>> Initializing database ... OK
>> --
>>
>> 3> executed command "systemctl restart postgresql.service"
>>
>> 4> executed command " engine-setup --log=/tmp/engine-setup.log"
>> --- output ---
>> # engine-setup --log=/tmp/engine-setup.log
>> [ INFO  ] Stage: Initializing
>> [ INFO  ] Stage: Environment setup
>>   Configuration files:
>> ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf',
>> '/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
>> '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
>>   Log file: /tmp/engine-setup.log
>>   Version: otopi-1.5.2 (otopi-1.5.2-1.el7.centos)
>> [ ERROR ] Failed to execute stage 'Environment setup': Cannot connect
>> to Engine database using existing credentials: engine@localhost:5432
>> [ INFO  ] Stage: Clean up
>>   Log file is located at /tmp/engine-setup.log
>> [ INFO  ] Generating answer file
>> '/var/lib/ovirt-engine/setup/answers/20161213080658-setup.conf'
>> [ INFO  ] Stage: Pre-termination
>> [ INFO  ] Stage: Termination
>> [ ERROR ] Execution of setup failed
>> --
>>
>> I have attached log file to this mail.
>>
>> Thanks,
>> ~Rohit
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.phx.ovirt.org/mailman/listinfo/users
>>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.phx.ovirt.org/mailman/listinfo/users
>

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



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


Re: [ovirt-users] Help to setup ovirt release 40

2016-12-13 Thread TranceWorldLogic .
Hi,

I want to confirm one doubt. I face issue with engine datatbase hence I had
executed step 1 and 2.
On centos 7 I need not to execute those right ?

Thanks,
~Rohit

On Tue, Dec 13, 2016 at 7:12 PM, Martin Perina  wrote:

> Hi,
>
> for basic default installation of oVirt 4 you need to perform following
> steps on Centos/RHEL 7 host:
>
>   # yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release40.rpm
>   # yum install ovirt-engine
>   # engine-setup
>
>
> Martin Perina
>
>
> On Tue, Dec 13, 2016 at 2:38 PM, TranceWorldLogic . <
> tranceworldlo...@gmail.com> wrote:
>
>> Thanks for information.
>>
>> Would I get to know setup procedure ?
>>
>> On Tue, Dec 13, 2016 at 7:05 PM, Martin Perina 
>> wrote:
>>
>>> Hi,
>>>
>>> only Centos/RHEL 7 is supported for oVirt 4. Please take a look at [1]
>>> for correct installation steps on EL7.
>>>
>>> Thanks
>>>
>>> Martin Perina
>>>
>>> [1] http://www.ovirt.org/release/4.0.5/
>>>
>>>
>>> On Tue, Dec 13, 2016 at 2:30 PM, Juan Pablo 
>>> wrote:
>>>
 why are you still using centos 6? IIRC centos 6 is not supported
 anymore as vdsm related problems.

 you have manual here : http://www.ovirt.org/documenta
 tion/quickstart/quickstart-guide/
 you can use guidance from http://www.ovirt.org/blog/2016
 /08/up-and-running-with-ovirt-4-0-and-gluster-storage/ to have an idea
 as well..

 JP

 2016-12-13 10:13 GMT-03:00 TranceWorldLogic . <
 tranceworldlo...@gmail.com>:

> Hi,
>
> I have tried below steps to setup ovirt-engine on centos 6 os.
> Please help me to install ovirt engine on my machine.
>
> Steps:
> 1> Install "ovirt relase 40 rpm"
> Download from http://plain.resources.ovirt.o
> rg/pub/yum-repo/ovirt-release40.rpm
>
> 2> executed command "postgresql-setup initdb"
> --- output ---
> Initializing database ... OK
> --
>
> 3> executed command "systemctl restart postgresql.service"
>
> 4> executed command " engine-setup --log=/tmp/engine-setup.log"
> --- output ---
> # engine-setup --log=/tmp/engine-setup.log
> [ INFO  ] Stage: Initializing
> [ INFO  ] Stage: Environment setup
>   Configuration files: 
> ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf',
> '/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
> '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
>   Log file: /tmp/engine-setup.log
>   Version: otopi-1.5.2 (otopi-1.5.2-1.el7.centos)
> [ ERROR ] Failed to execute stage 'Environment setup': Cannot connect
> to Engine database using existing credentials: engine@localhost:5432
> [ INFO  ] Stage: Clean up
>   Log file is located at /tmp/engine-setup.log
> [ INFO  ] Generating answer file '/var/lib/ovirt-engine/setup/answers/
> 20161213080658-setup.conf'
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
> [ ERROR ] Execution of setup failed
> --
>
> I have attached log file to this mail.
>
> Thanks,
> ~Rohit
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.phx.ovirt.org/mailman/listinfo/users
>
>

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


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


Re: [ovirt-users] Help to setup ovirt release 40

2016-12-13 Thread TranceWorldLogic .
Thanks for information.

Would I get to know setup procedure ?

On Tue, Dec 13, 2016 at 7:05 PM, Martin Perina  wrote:

> Hi,
>
> only Centos/RHEL 7 is supported for oVirt 4. Please take a look at [1] for
> correct installation steps on EL7.
>
> Thanks
>
> Martin Perina
>
> [1] http://www.ovirt.org/release/4.0.5/
>
>
> On Tue, Dec 13, 2016 at 2:30 PM, Juan Pablo 
> wrote:
>
>> why are you still using centos 6? IIRC centos 6 is not supported anymore
>> as vdsm related problems.
>>
>> you have manual here : http://www.ovirt.org/documenta
>> tion/quickstart/quickstart-guide/
>> you can use guidance from http://www.ovirt.org/blog/2016
>> /08/up-and-running-with-ovirt-4-0-and-gluster-storage/ to have an idea
>> as well..
>>
>> JP
>>
>> 2016-12-13 10:13 GMT-03:00 TranceWorldLogic . > >:
>>
>>> Hi,
>>>
>>> I have tried below steps to setup ovirt-engine on centos 6 os.
>>> Please help me to install ovirt engine on my machine.
>>>
>>> Steps:
>>> 1> Install "ovirt relase 40 rpm"
>>> Download from http://plain.resources.ovirt.o
>>> rg/pub/yum-repo/ovirt-release40.rpm
>>>
>>> 2> executed command "postgresql-setup initdb"
>>> --- output ---
>>> Initializing database ... OK
>>> --
>>>
>>> 3> executed command "systemctl restart postgresql.service"
>>>
>>> 4> executed command " engine-setup --log=/tmp/engine-setup.log"
>>> --- output ---
>>> # engine-setup --log=/tmp/engine-setup.log
>>> [ INFO  ] Stage: Initializing
>>> [ INFO  ] Stage: Environment setup
>>>   Configuration files: 
>>> ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf',
>>> '/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
>>> '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
>>>   Log file: /tmp/engine-setup.log
>>>   Version: otopi-1.5.2 (otopi-1.5.2-1.el7.centos)
>>> [ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to
>>> Engine database using existing credentials: engine@localhost:5432
>>> [ INFO  ] Stage: Clean up
>>>   Log file is located at /tmp/engine-setup.log
>>> [ INFO  ] Generating answer file '/var/lib/ovirt-engine/setup/answers/
>>> 20161213080658-setup.conf'
>>> [ INFO  ] Stage: Pre-termination
>>> [ INFO  ] Stage: Termination
>>> [ ERROR ] Execution of setup failed
>>> --
>>>
>>> I have attached log file to this mail.
>>>
>>> Thanks,
>>> ~Rohit
>>>
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.phx.ovirt.org/mailman/listinfo/users
>>>
>>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.phx.ovirt.org/mailman/listinfo/users
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.phx.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Help to setup ovirt release 40

2016-12-13 Thread Martin Perina
Hi,

only Centos/RHEL 7 is supported for oVirt 4. Please take a look at [1] for
correct installation steps on EL7.

Thanks

Martin Perina

[1] http://www.ovirt.org/release/4.0.5/


On Tue, Dec 13, 2016 at 2:30 PM, Juan Pablo 
wrote:

> why are you still using centos 6? IIRC centos 6 is not supported anymore
> as vdsm related problems.
>
> you have manual here : http://www.ovirt.org/documentation/quickstart/
> quickstart-guide/
> you can use guidance from http://www.ovirt.org/blog/
> 2016/08/up-and-running-with-ovirt-4-0-and-gluster-storage/ to have an
> idea as well..
>
> JP
>
> 2016-12-13 10:13 GMT-03:00 TranceWorldLogic . 
> :
>
>> Hi,
>>
>> I have tried below steps to setup ovirt-engine on centos 6 os.
>> Please help me to install ovirt engine on my machine.
>>
>> Steps:
>> 1> Install "ovirt relase 40 rpm"
>> Download from http://plain.resources.ovirt.o
>> rg/pub/yum-repo/ovirt-release40.rpm
>>
>> 2> executed command "postgresql-setup initdb"
>> --- output ---
>> Initializing database ... OK
>> --
>>
>> 3> executed command "systemctl restart postgresql.service"
>>
>> 4> executed command " engine-setup --log=/tmp/engine-setup.log"
>> --- output ---
>> # engine-setup --log=/tmp/engine-setup.log
>> [ INFO  ] Stage: Initializing
>> [ INFO  ] Stage: Environment setup
>>   Configuration files: 
>> ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf',
>> '/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
>> '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
>>   Log file: /tmp/engine-setup.log
>>   Version: otopi-1.5.2 (otopi-1.5.2-1.el7.centos)
>> [ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to
>> Engine database using existing credentials: engine@localhost:5432
>> [ INFO  ] Stage: Clean up
>>   Log file is located at /tmp/engine-setup.log
>> [ INFO  ] Generating answer file '/var/lib/ovirt-engine/setup/answers/
>> 20161213080658-setup.conf'
>> [ INFO  ] Stage: Pre-termination
>> [ INFO  ] Stage: Termination
>> [ ERROR ] Execution of setup failed
>> --
>>
>> I have attached log file to this mail.
>>
>> Thanks,
>> ~Rohit
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.phx.ovirt.org/mailman/listinfo/users
>>
>>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.phx.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.phx.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Help to setup ovirt release 40

2016-12-13 Thread Juan Pablo
why are you still using centos 6? IIRC centos 6 is not supported anymore as
vdsm related problems.

you have manual here :
http://www.ovirt.org/documentation/quickstart/quickstart-guide/
you can use guidance from
http://www.ovirt.org/blog/2016/08/up-and-running-with-ovirt-4-0-and-gluster-storage/
to have an idea as well..

JP

2016-12-13 10:13 GMT-03:00 TranceWorldLogic . :

> Hi,
>
> I have tried below steps to setup ovirt-engine on centos 6 os.
> Please help me to install ovirt engine on my machine.
>
> Steps:
> 1> Install "ovirt relase 40 rpm"
> Download from http://plain.resources.ovirt.org/pub/yum-repo/ovirt-
> release40.rpm
>
> 2> executed command "postgresql-setup initdb"
> --- output ---
> Initializing database ... OK
> --
>
> 3> executed command "systemctl restart postgresql.service"
>
> 4> executed command " engine-setup --log=/tmp/engine-setup.log"
> --- output ---
> # engine-setup --log=/tmp/engine-setup.log
> [ INFO  ] Stage: Initializing
> [ INFO  ] Stage: Environment setup
>   Configuration files: ['/etc/ovirt-engine-setup.
> conf.d/10-packaging-jboss.conf', 
> '/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
> '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
>   Log file: /tmp/engine-setup.log
>   Version: otopi-1.5.2 (otopi-1.5.2-1.el7.centos)
> [ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to
> Engine database using existing credentials: engine@localhost:5432
> [ INFO  ] Stage: Clean up
>   Log file is located at /tmp/engine-setup.log
> [ INFO  ] Generating answer file '/var/lib/ovirt-engine/setup/
> answers/20161213080658-setup.conf'
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
> [ ERROR ] Execution of setup failed
> --
>
> I have attached log file to this mail.
>
> Thanks,
> ~Rohit
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.phx.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.phx.ovirt.org/mailman/listinfo/users


[ovirt-users] Help! My hosted engine lost his nic!

2016-12-02 Thread Cristian Mammoli
Sorry for the repost, I don't know if the previous message got to the 
list...


Hi, I upgraded an oVirt installation a month ago to the latest 3.6.7. 
Before it was 3.6.0 if I remember correctly.

Everything went fine so far for a month or so.

A couple of days ago the the default gateway got rebooted and the 
physical server hosting the HE decided to shut down the vm because it 
could not ping the gateway.

The other host restarted the hevm but it now has *no nic*.
As a workaround I attached a virtio nic via virsh but every time the vm 
gets restarted the nic get lost


After a bit of troubleshooting and digging this is what I found:

This is the /var/run/ovirt-hosted-engine-ha/vm.conf which, as far as I 
understand, gets extracted from the HE storage domain


emulatedMachine=pc
vmId=497f5e4a-0c76-441a-b72e-724d7092d07e
smp=2
memSize=6144
spiceSecureChannels=smain,sdisplay,sinputs,scursor,splayback,srecord,ssmartcard,susbredir 


vmName=HostedEngine
display=vnc
devices={index:0,iface:virtio,format:raw,bootOrder:1,address:{slot:0x06,bus:0x00,domain:0x,type:pci,function:0x0},volumeID:bb3218ba-cbe9-4cd0-b50b-931deae992f7,imageID:d65b82e2-2ad1- 

4f4f-bfad-0277c37f2808,readonly:false,domainID:2c3585cc-b7bc-4881-85b3-aa6514991a26,deviceId:d65b82e2-2ad1-4f4f-bfad-0277c37f2808,poolID:----,device:disk, 


shared:exclusive,propagateErrors:off,type:disk}
devices={index:2,iface:ide,shared:false,readonly:true,deviceId:8c3179ac-b322-4f5c-9449-c52e3665e0ae,address:{controller:0,target:0,unit:0,bus:1,type:drive},device:cdrom,path:,type:disk} 

devices={device:cirrus,alias:video0,type:video,deviceId:a99468b6-02d4-4a77-8f94-e5df806030f6,address:{slot:0x02,bus:0x00,domain:0x,type:pci,function:0x0}} 

devices={device:virtio-serial,type:controller,deviceId:b7580676-19fb-462f-a61e-677b65ad920a,address:{slot:0x03,bus:0x00,domain:0x,type:pci,function:0x0}} 

devices={device:usb,type:controller,deviceId:c63092b3-7bd8-4b54-bcd3-51f34dce478a,address:{slot:0x01,bus:0x00,domain:0x,type:pci,function:0x2}} 

devices={device:ide,type:controller,deviceId:c77c2c01-6ccc-404b-b8d6-5a7f0631a52f,address:{slot:0x01,bus:0x00,domain:0x,type:pci,function:0x1}} 



As you can see there is no nic, and there is no nic in the qemu-kvm 
command-line:
qemu 23290 1 14 00:23 ?01:44:26 /usr/libexec/qemu-kvm 
-name HostedEngine -S -machine pc-i440fx-rhel7.2.0,accel=kvm,usb=off 
-cpu qemu64,-svm -m 6144 -realtime mlock=off -s
mp 2,sockets=2,cores=1,threads=1 -uuid 
497f5e4a-0c76-441a-b72e-724d7092d07e -smbios 
type=1,manufacturer=oVirt,product=oVirt 
Node,version=7-2.1511.el7.centos.2.10,serial=4C4C4544-004B-571
0-8044-B9C04F5A3732,uuid=497f5e4a-0c76-441a-b72e-724d7092d07e 
-no-user-config -nodefaults -chardev 
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-HostedEngine/monitor.sock,serve
r,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc 
base=2016-11-30T23:23:26,driftfix=slew -global 
kvm-pit.lost_tick_policy=discard -no-hpet -no-reboot -boot strict=on 
-device
 piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device 
virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x3 
-drive file=/var/run/vdsm/storage/2c3585cc-b7bc-4881-85b3-aa6514
991a26/d65b82e2-2ad1-4f4f-bfad-0277c37f2808/bb3218ba-cbe9-4cd0-b50b-931deae992f7,if=none,id=drive-virtio-disk0,format=raw,serial=d65b82e2-2ad1-4f4f-bfad-0277c37f2808,cache=none,werror=st 

op,rerror=stop,aio=native -device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 
-drive if=none,id=drive-ide0-1-0,readonly=on,format=raw
-device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 
-chardev 
socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/497f5e4a-0c76-441a-b72e-724d7092d07e.com.redhat.rhevm
.vdsm,server,nowait -device 
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm 
-chardev socket,id=charchannel1,path=/var/lib/libvirt/qem
u/channels/497f5e4a-0c76-441a-b72e-724d7092d07e.org.qemu.guest_agent.0,server,nowait 
-device 
virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest
_agent.0 -chardev 
socket,id=charchannel2,path=/var/lib/libvirt/qemu/channels/497f5e4a-0c76-441a-b72e-724d7092d07e.org.ovirt.hosted-engine-setup.0,server,nowait 
-device virtserialport,bus
=virtio-serial0.0,nr=3,chardev=charchannel2,id=channel2,name=org.ovirt.hosted-engine-setup.0 
-vnc 0:0,password -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -msg 
timestamp=on


I extracted the vm.conf from the storage domain and the nic is there:
mId=497f5e4a-0c76-441a-b72e-724d7092d07e
memSize=6144
display=vnc
devices={index:2,iface:ide,address:{ controller:0, target:0,unit:0, 
bus:1, 
type:drive},specParams:{},readonly:true,deviceId:857b98b3-cf43-4c2d-8061-e7f105234a65,path:,device:cdrom,shared 


:false,type:disk}

Re: [ovirt-users] Help! My hosted engine lost his nic!

2016-12-02 Thread Simone Tiraboschi
On Fri, Dec 2, 2016 at 5:03 PM, Cristian Mammoli  wrote:

> Out of desperation i added the missing section int the OVF I extracted and
> "tarred" it back to the storage domain. The nic now is back...
>

Unfortunately I've to tell you that the engine will periodically rewrite
the OVF_STORE based on the configuration of the VM in its DB so in
principle also this one is just a temporary solution.


>
> I don't know if the query you suggested still make sense now... :/
> Anyway I don't have any nic in the gui even now
>
> [root@ovengine ~]#  sudo -u postgres psql engine -c "select * from
> vm_device where type='interface' and vm_id='497f5e4a-0c76-441a-b72e
> -724d7092d07e'"
> could not change directory to "/root"
>   device_id   | vm_id |   type
> | device |   address|
> boot_order | spec_params | is_managed | is_plugged | is_readonly |
>  _create_date  | _update_date | alias | custom_properties | snaps
> hot_id | logical_name | is_using_scsi_reservation
> --+-
> -+---++-
> -++-
> +++-+---
> +--+---+---+--
> ---+--+---
>  6207e0d7-4dc9-406d-ab99-3facf45788f4 | 497f5e4a-0c76-441a-b72e-724d7092d07e
> | interface | bridge | {slot=0x04, bus=0x00, domain=0x, type=pci,
> function=0x0} |  0 | { } | f  | t  | f
>  | 2016-12-02 01:46:42.999885+01 |  | net0 |
>|
>|  | f
> (1 row)
>


But this seams fine now.
Adding Roy on this.


>
> [root@ovengine ~]# sudo -u postgres psql engine -c "select * from vms
> where vm_guid='497f5e4a-0c76-441a-b72e-724d7092d07e'"
> could not change directory to "/root"
>vm_name| mem_size_mb | num_of_io_threads | nice_level | cpu_shares
> |   vmt_guid   | os | description |
> free_text_comment | vds_group_id | creation_date
> | auto_startup | is_stateless | is_smartcard_enabled |
> is_delete_protected | sso_method  |
>  dedicated_vm_for_vds | fail_back | default_boot_sequence | vm_type |
> vm_pool_spice_proxy | vds_group_name | transparent_hugepages |
> trusted_service |   storage_pool_id| storage_pool_name
> |   vds_group_description| vds_group_spice_proxy | vmt_name |
> vmt_mem_size_mb | vmt_os |
>  vmt_creation_date| vmt_child_count | vmt_num_of_sockets |
> vmt_cpu_per_socket | vmt_threads_per_cpu | vmt_num_of_cpus |
> vmt_description | status | vm_ip | vm_ip_inet_array | vm_host
> | vm_pid | last_start_time | guest_cur_user_name | console_cur_user_name |
> guest_os  | co
> nsole_user_id | guest_agent_nics_hash | run_on_vds  |
> migrating_to_vds | app_list | vm_pool_name | vm_pool_id |
>   vm_guid| num_of_monitors | single_qxl_pci |
> allow_console_reconnect | is_initialized | num_of_sockets | cpu_per_socket
> | threads_per_cpu | usb_policy | acpi_enable | session | num_of_cpus |
> quota_id | quota_name | quota_enforcement_type | kvm_enable | boot_sequence
> | utc_diff | last_
> vds_run_on | client_ip | guest_requested_memory | time_zone | cpu_user |
> cpu_sys | memory_usage_history |
> cpu_usage_history
> | network_usage_history  | elapsed_time |
> usage_network_percent | disks_usage  |
> usage_mem_percent | migration_progress_percent | usage_cpu_percent |
> run_on_vds_name |vds_group_cpu_name| de
> fault_display_type | priority | iso_path | origin |
> vds_group_compatibility_version | initrd_url | kernel_url | kernel_params
> | pause_status | exit_message | exit_status | migration_support |
> predefined_properties | userdefined_properties | min_allocated_mem |
>  hash | cpu_pinning | db_generatio
> n | host_cpu_flags | tunnel_migration | vnc_keyboard_layout |
> is_run_and_pause | created_by_user_id | last_watchdog_event |
> last_watchdog_action | is_run_once |  vm_fqdn  | cpu_name |
> emulated_machine | current_cd | reason | exit_reason | instance_type_id |
> image_type_id | architecture | original_temp
> late_id | original_template_name |   last_stop_time   |
> migration_downtime | template_version_number | serial_number_policy |
> custom_serial_number | is_boot_menu_enabled | guest_cpu_count |
> next_run_config_exists | numatune_mode | is_spice_file_transfer_enabled |
> is_spice_copy_paste_enabled |
>cpu_profile_id| is_auto_converge | is_migrate_compressed |
> custom_emulated_machine | custom_cpu_name | spice_port | spice_tls_port |
> spice_ip | vnc_port | vnc_ip | guest_agent_status |
> guest_mem_buffered | guest_mem_cached 

Re: [ovirt-users] Help! My hosted engine lost his nic!

2016-12-02 Thread Cristian Mammoli
Out of desperation i added the missing section int the OVF I extracted 
and "tarred" it back to the storage domain. The nic now is back...


I don't know if the query you suggested still make sense now... :/
Anyway I don't have any nic in the gui even now

[root@ovengine ~]#  sudo -u postgres psql engine -c "select * from 
vm_device where type='interface' and 
vm_id='497f5e4a-0c76-441a-b72e-724d7092d07e'"

could not change directory to "/root"
  device_id   | vm_id |   
type| device |   
address| boot_order | spec_params | 
is_managed | is_plugged | is_readonly | _create_date  | 
_update_date | alias | custom_properties | snaps

hot_id | logical_name | is_using_scsi_reservation
--+--+---++--++-+++-+---+--+---+---+--
---+--+---
 6207e0d7-4dc9-406d-ab99-3facf45788f4 | 
497f5e4a-0c76-441a-b72e-724d7092d07e | interface | bridge | {slot=0x04, 
bus=0x00, domain=0x, type=pci, function=0x0} |  0 | { 
} | f  | t  | f   | 2016-12-02 
01:46:42.999885+01 |  | net0 |   |

   |  | f
(1 row)

[root@ovengine ~]# sudo -u postgres psql engine -c "select * from 
vms where vm_guid='497f5e4a-0c76-441a-b72e-724d7092d07e'"

could not change directory to "/root"
   vm_name| mem_size_mb | num_of_io_threads | nice_level | 
cpu_shares |   vmt_guid   | os | description | 
free_text_comment | vds_group_id | 
creation_date| auto_startup | is_stateless | 
is_smartcard_enabled | is_delete_protected | sso_method  |
 dedicated_vm_for_vds | fail_back | default_boot_sequence | vm_type | 
vm_pool_spice_proxy | vds_group_name | transparent_hugepages | 
trusted_service |   storage_pool_id| 
storage_pool_name |   vds_group_description| 
vds_group_spice_proxy | vmt_name | vmt_mem_size_mb | vmt_os |
 vmt_creation_date| vmt_child_count | vmt_num_of_sockets | 
vmt_cpu_per_socket | vmt_threads_per_cpu | vmt_num_of_cpus | 
vmt_description | status | vm_ip | vm_ip_inet_array | 
vm_host  | vm_pid | last_start_time | guest_cur_user_name | 
console_cur_user_name |  guest_os  | co
nsole_user_id | guest_agent_nics_hash | run_on_vds  | 
migrating_to_vds | app_list | vm_pool_name | vm_pool_id |
  vm_guid| num_of_monitors | single_qxl_pci | 
allow_console_reconnect | is_initialized | num_of_sockets | 
cpu_per_socket | threads_per_cpu | usb_policy | acpi_enable | session | 
num_of_cpus | quota_id | quota_name | quota_enforcement_type | 
kvm_enable | boot_sequence | utc_diff | last_
vds_run_on | client_ip | guest_requested_memory | time_zone | cpu_user | 
cpu_sys | memory_usage_history 
|cpu_usage_history
| network_usage_history  | elapsed_time | 
usage_network_percent | disks_usage  | 
usage_mem_percent | migration_progress_percent | usage_cpu_percent | 
run_on_vds_name |vds_group_cpu_name| de
fault_display_type | priority | iso_path | origin | 
vds_group_compatibility_version | initrd_url | kernel_url | 
kernel_params | pause_status | exit_message | exit_status | 
migration_support | predefined_properties | userdefined_properties | 
min_allocated_mem | hash | cpu_pinning | db_generatio
n | host_cpu_flags | tunnel_migration | vnc_keyboard_layout | 
is_run_and_pause | created_by_user_id | last_watchdog_event | 
last_watchdog_action | is_run_once |  vm_fqdn  | cpu_name | 
emulated_machine | current_cd | reason | exit_reason | instance_type_id 
| image_type_id | architecture | original_temp
late_id | original_template_name |   last_stop_time   | 
migration_downtime | template_version_number | serial_number_policy | 
custom_serial_number | is_boot_menu_enabled | guest_cpu_count | 
next_run_config_exists | numatune_mode | is_spice_file_transfer_enabled 
| is_spice_copy_paste_enabled |
   cpu_profile_id| is_auto_converge | is_migrate_compressed 
| custom_emulated_machine | custom_cpu_name | spice_port | 
spice_tls_port | spice_ip | vnc_port | vnc_ip | 
guest_agent_status | guest_mem_buffered | guest_mem_cached | 
guest_mem_free |small_icon_id |
 large_icon_id | provider_id | 
console_disconnect_action | guest_timezone_offset | guest_timezone_name 
| guestos_arch | guestos_codename | guestos_distribution |   
guestos_kernel_version   | guestos_type | guestos_version


Re: [ovirt-users] Help! My hosted engine lost his nic!

2016-12-01 Thread Simone Tiraboschi
On Thu, Dec 1, 2016 at 5:16 PM, Cristian Mammoli  wrote:

> Here it is: http://cloud.apra.it/index.php/s/4cdcde8cafdb7a1c2c2374b02dc
> e118e
>
> I tarred all the agent.log on both servers.
>
> The engine was running on kvm01 and got shutdown on kvm01 around 10:35 AM
> on 29 November. But I think that's not the problem, it is supposed to shut
> down if the host can't reach the gateway. Probably the nic problem was
> already there but got triggered on reboot
>
> Btw I kept digging: I extracted the ovf from which vm.conf is generated:
>
> ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(getEngineVMOVF)
> OVF_STORE volume path: /rhev/data-center/mnt/blockSD/
> 2c3585cc-b7bc-4881-85b3-aa6514991a26/images/9c5e2121-f1a3-
> 4886-964c-c74fdfbbb3c1/ff765055-09c5-4b05-9cc7-5277b15c5d08
>
> # tar xvf /rhev/data-center/mnt/blockSD/2c3585cc-b7bc-4881-85b3-aa6514
> 991a26/images/9c5e2121-f1a3-4886-964c-c74fdfbbb3c1/ff76505
> 5-09c5-4b05-9cc7-5277b15c5d08
> 497f5e4a-0c76-441a-b72e-724d7092d07e.ovf
> info.json
>
> In the ovf file there is no Nic section...
>
>
Ciao Cristian,
do you see any interface for the engine VM in the engine admin portal?

Could you please execute this on the engine VM and share its output?
sudo -u postgres psql engine -c "select * from vm_device where
type='interface' and vm_id='497f5e4a-0c76-441a-b72e-724d7092d07e'"
sudo -u postgres psql engine -c "select * from vms where vm_guid='
497f5e4a-0c76-441a-b72e-724d7092d07e'"

thanks



> I uploaded the ovf on the same share as the logs
>
> Ty
>
>
> Il 01/12/2016 15:26, Yedidyah Bar David ha scritto:
>
>> On Thu, Dec 1, 2016 at 1:08 PM, Cristian Mammoli 
>> wrote:
>>
>>> Hi, I upgraded an oVirt installation a month ago to the latest 3.6.7.
>>> Before
>>> it was 3.6.0 if I remember correctly.
>>> Everything went fine so far for a month or so.
>>>
>>> A couple of days ago the the default gateway got rebooted and the
>>> physical
>>> server hosting the HE decided to shut down the vm because it could not
>>> ping
>>> the gateway.
>>> The other host restarted the hevm but it now has *no nic*.
>>> As a workaround I attached a virtio nic via virsh but every time the vm
>>> gets
>>> restarted the nic get lost
>>>
>>> After a bit of troubleshooting and digging this is what I found:
>>>
>>> This is the /var/run/ovirt-hosted-engine-ha/vm.conf which, as far as I
>>> understand, gets extracted from the HE storage domain
>>>
>>> emulatedMachine=pc
>>> vmId=497f5e4a-0c76-441a-b72e-724d7092d07e
>>> smp=2
>>> memSize=6144
>>> spiceSecureChannels=smain,sdisplay,sinputs,scursor,splayback
>>> ,srecord,ssmartcard,susbredir
>>> vmName=HostedEngine
>>> display=vnc
>>> devices={index:0,iface:virtio,format:raw,bootOrder:1,address
>>> :{slot:0x06,bus:0x00,domain:0x,type:pci,function:0x0},
>>> volumeID:bb3218ba-cbe9-4cd0-b50b-931deae992f7,imageID:d65b82e2-2ad1-
>>> 4f4f-bfad-0277c37f2808,readonly:false,domainID:2c3585cc-
>>> b7bc-4881-85b3-aa6514991a26,deviceId:d65b82e2-2ad1-4f4f-
>>> bfad-0277c37f2808,poolID:----
>>> ,device:disk,
>>> shared:exclusive,propagateErrors:off,type:disk}
>>> devices={index:2,iface:ide,shared:false,readonly:true,device
>>> Id:8c3179ac-b322-4f5c-9449-c52e3665e0ae,address:{controll
>>> er:0,target:0,unit:0,bus:1,type:drive},device:cdrom,path:,type:disk}
>>> devices={device:cirrus,alias:video0,type:video,deviceId:a994
>>> 68b6-02d4-4a77-8f94-e5df806030f6,address:{slot:0x02,bus:
>>> 0x00,domain:0x,type:pci,function:0x0}}
>>> devices={device:virtio-serial,type:controller,deviceId:b7580
>>> 676-19fb-462f-a61e-677b65ad920a,address:{slot:0x03,bus:0x00,
>>> domain:0x,type:pci,function:0x0}}
>>> devices={device:usb,type:controller,deviceId:c63092b3-7bd8-
>>> 4b54-bcd3-51f34dce478a,address:{slot:0x01,bus:0x00,domain:
>>> 0x,type:pci,function:0x2}}
>>> devices={device:ide,type:controller,deviceId:c77c2c01-6ccc-
>>> 404b-b8d6-5a7f0631a52f,address:{slot:0x01,bus:0x00,domain:
>>> 0x,type:pci,function:0x1}}
>>>
>>> As you can see there is no nic, and there is no nic in the qemu-kvm
>>> command-line:
>>> qemu 23290 1 14 00:23 ?01:44:26 /usr/libexec/qemu-kvm
>>> -name
>>> HostedEngine -S -machine pc-i440fx-rhel7.2.0,accel=kvm,usb=off -cpu
>>> qemu64,-svm -m 6144 -realtime mlock=off -s
>>> mp 2,sockets=2,cores=1,threads=1 -uuid 497f5e4a-0c76-441a-b72e-724d70
>>> 92d07e
>>> -smbios type=1,manufacturer=oVirt,product=oVirt
>>> Node,version=7-2.1511.el7.centos.2.10,serial=4C4C4544-004B-571
>>> 0-8044-B9C04F5A3732,uuid=497f5e4a-0c76-441a-b72e-724d7092d07e
>>> -no-user-config -nodefaults -chardev
>>> socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-Host
>>> edEngine/monitor.sock,serve
>>> r,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc
>>> base=2016-11-30T23:23:26,driftfix=slew -global
>>> kvm-pit.lost_tick_policy=discard -no-hpet -no-reboot -boot strict=on
>>> -device
>>>   piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device
>>> 

Re: [ovirt-users] Help! My hosted engine lost his nic!

2016-12-01 Thread Cristian Mammoli
Here it is: 
http://cloud.apra.it/index.php/s/4cdcde8cafdb7a1c2c2374b02dce118e


I tarred all the agent.log on both servers.

The engine was running on kvm01 and got shutdown on kvm01 around 10:35 
AM on 29 November. But I think that's not the problem, it is supposed to 
shut down if the host can't reach the gateway. Probably the nic problem 
was already there but got triggered on reboot


Btw I kept digging: I extracted the ovf from which vm.conf is generated:

ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(getEngineVMOVF) 
OVF_STORE volume path: 
/rhev/data-center/mnt/blockSD/2c3585cc-b7bc-4881-85b3-aa6514991a26/images/9c5e2121-f1a3-4886-964c-c74fdfbbb3c1/ff765055-09c5-4b05-9cc7-5277b15c5d08


# tar xvf 
/rhev/data-center/mnt/blockSD/2c3585cc-b7bc-4881-85b3-aa6514991a26/images/9c5e2121-f1a3-4886-964c-c74fdfbbb3c1/ff765055-09c5-4b05-9cc7-5277b15c5d08

497f5e4a-0c76-441a-b72e-724d7092d07e.ovf
info.json

In the ovf file there is no Nic section...

I uploaded the ovf on the same share as the logs

Ty

Il 01/12/2016 15:26, Yedidyah Bar David ha scritto:

On Thu, Dec 1, 2016 at 1:08 PM, Cristian Mammoli  wrote:

Hi, I upgraded an oVirt installation a month ago to the latest 3.6.7. Before
it was 3.6.0 if I remember correctly.
Everything went fine so far for a month or so.

A couple of days ago the the default gateway got rebooted and the physical
server hosting the HE decided to shut down the vm because it could not ping
the gateway.
The other host restarted the hevm but it now has *no nic*.
As a workaround I attached a virtio nic via virsh but every time the vm gets
restarted the nic get lost

After a bit of troubleshooting and digging this is what I found:

This is the /var/run/ovirt-hosted-engine-ha/vm.conf which, as far as I
understand, gets extracted from the HE storage domain

emulatedMachine=pc
vmId=497f5e4a-0c76-441a-b72e-724d7092d07e
smp=2
memSize=6144
spiceSecureChannels=smain,sdisplay,sinputs,scursor,splayback,srecord,ssmartcard,susbredir
vmName=HostedEngine
display=vnc
devices={index:0,iface:virtio,format:raw,bootOrder:1,address:{slot:0x06,bus:0x00,domain:0x,type:pci,function:0x0},volumeID:bb3218ba-cbe9-4cd0-b50b-931deae992f7,imageID:d65b82e2-2ad1-
4f4f-bfad-0277c37f2808,readonly:false,domainID:2c3585cc-b7bc-4881-85b3-aa6514991a26,deviceId:d65b82e2-2ad1-4f4f-bfad-0277c37f2808,poolID:----,device:disk,
shared:exclusive,propagateErrors:off,type:disk}
devices={index:2,iface:ide,shared:false,readonly:true,deviceId:8c3179ac-b322-4f5c-9449-c52e3665e0ae,address:{controller:0,target:0,unit:0,bus:1,type:drive},device:cdrom,path:,type:disk}
devices={device:cirrus,alias:video0,type:video,deviceId:a99468b6-02d4-4a77-8f94-e5df806030f6,address:{slot:0x02,bus:0x00,domain:0x,type:pci,function:0x0}}
devices={device:virtio-serial,type:controller,deviceId:b7580676-19fb-462f-a61e-677b65ad920a,address:{slot:0x03,bus:0x00,domain:0x,type:pci,function:0x0}}
devices={device:usb,type:controller,deviceId:c63092b3-7bd8-4b54-bcd3-51f34dce478a,address:{slot:0x01,bus:0x00,domain:0x,type:pci,function:0x2}}
devices={device:ide,type:controller,deviceId:c77c2c01-6ccc-404b-b8d6-5a7f0631a52f,address:{slot:0x01,bus:0x00,domain:0x,type:pci,function:0x1}}

As you can see there is no nic, and there is no nic in the qemu-kvm
command-line:
qemu 23290 1 14 00:23 ?01:44:26 /usr/libexec/qemu-kvm -name
HostedEngine -S -machine pc-i440fx-rhel7.2.0,accel=kvm,usb=off -cpu
qemu64,-svm -m 6144 -realtime mlock=off -s
mp 2,sockets=2,cores=1,threads=1 -uuid 497f5e4a-0c76-441a-b72e-724d7092d07e
-smbios type=1,manufacturer=oVirt,product=oVirt
Node,version=7-2.1511.el7.centos.2.10,serial=4C4C4544-004B-571
0-8044-B9C04F5A3732,uuid=497f5e4a-0c76-441a-b72e-724d7092d07e
-no-user-config -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-HostedEngine/monitor.sock,serve
r,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc
base=2016-11-30T23:23:26,driftfix=slew -global
kvm-pit.lost_tick_policy=discard -no-hpet -no-reboot -boot strict=on -device
  piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device
virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x3 -drive
file=/var/run/vdsm/storage/2c3585cc-b7bc-4881-85b3-aa6514
991a26/d65b82e2-2ad1-4f4f-bfad-0277c37f2808/bb3218ba-cbe9-4cd0-b50b-931deae992f7,if=none,id=drive-virtio-disk0,format=raw,serial=d65b82e2-2ad1-4f4f-bfad-0277c37f2808,cache=none,werror=st
op,rerror=stop,aio=native -device
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
-drive if=none,id=drive-ide0-1-0,readonly=on,format=raw
-device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -chardev
socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/497f5e4a-0c76-441a-b72e-724d7092d07e.com.redhat.rhevm
.vdsm,server,nowait -device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm
-chardev 

Re: [ovirt-users] Help! My hosted engine lost his nic!

2016-12-01 Thread Yedidyah Bar David
On Thu, Dec 1, 2016 at 1:08 PM, Cristian Mammoli  wrote:
> Hi, I upgraded an oVirt installation a month ago to the latest 3.6.7. Before
> it was 3.6.0 if I remember correctly.
> Everything went fine so far for a month or so.
>
> A couple of days ago the the default gateway got rebooted and the physical
> server hosting the HE decided to shut down the vm because it could not ping
> the gateway.
> The other host restarted the hevm but it now has *no nic*.
> As a workaround I attached a virtio nic via virsh but every time the vm gets
> restarted the nic get lost
>
> After a bit of troubleshooting and digging this is what I found:
>
> This is the /var/run/ovirt-hosted-engine-ha/vm.conf which, as far as I
> understand, gets extracted from the HE storage domain
>
> emulatedMachine=pc
> vmId=497f5e4a-0c76-441a-b72e-724d7092d07e
> smp=2
> memSize=6144
> spiceSecureChannels=smain,sdisplay,sinputs,scursor,splayback,srecord,ssmartcard,susbredir
> vmName=HostedEngine
> display=vnc
> devices={index:0,iface:virtio,format:raw,bootOrder:1,address:{slot:0x06,bus:0x00,domain:0x,type:pci,function:0x0},volumeID:bb3218ba-cbe9-4cd0-b50b-931deae992f7,imageID:d65b82e2-2ad1-
> 4f4f-bfad-0277c37f2808,readonly:false,domainID:2c3585cc-b7bc-4881-85b3-aa6514991a26,deviceId:d65b82e2-2ad1-4f4f-bfad-0277c37f2808,poolID:----,device:disk,
> shared:exclusive,propagateErrors:off,type:disk}
> devices={index:2,iface:ide,shared:false,readonly:true,deviceId:8c3179ac-b322-4f5c-9449-c52e3665e0ae,address:{controller:0,target:0,unit:0,bus:1,type:drive},device:cdrom,path:,type:disk}
> devices={device:cirrus,alias:video0,type:video,deviceId:a99468b6-02d4-4a77-8f94-e5df806030f6,address:{slot:0x02,bus:0x00,domain:0x,type:pci,function:0x0}}
> devices={device:virtio-serial,type:controller,deviceId:b7580676-19fb-462f-a61e-677b65ad920a,address:{slot:0x03,bus:0x00,domain:0x,type:pci,function:0x0}}
> devices={device:usb,type:controller,deviceId:c63092b3-7bd8-4b54-bcd3-51f34dce478a,address:{slot:0x01,bus:0x00,domain:0x,type:pci,function:0x2}}
> devices={device:ide,type:controller,deviceId:c77c2c01-6ccc-404b-b8d6-5a7f0631a52f,address:{slot:0x01,bus:0x00,domain:0x,type:pci,function:0x1}}
>
> As you can see there is no nic, and there is no nic in the qemu-kvm
> command-line:
> qemu 23290 1 14 00:23 ?01:44:26 /usr/libexec/qemu-kvm -name
> HostedEngine -S -machine pc-i440fx-rhel7.2.0,accel=kvm,usb=off -cpu
> qemu64,-svm -m 6144 -realtime mlock=off -s
> mp 2,sockets=2,cores=1,threads=1 -uuid 497f5e4a-0c76-441a-b72e-724d7092d07e
> -smbios type=1,manufacturer=oVirt,product=oVirt
> Node,version=7-2.1511.el7.centos.2.10,serial=4C4C4544-004B-571
> 0-8044-B9C04F5A3732,uuid=497f5e4a-0c76-441a-b72e-724d7092d07e
> -no-user-config -nodefaults -chardev
> socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-HostedEngine/monitor.sock,serve
> r,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc
> base=2016-11-30T23:23:26,driftfix=slew -global
> kvm-pit.lost_tick_policy=discard -no-hpet -no-reboot -boot strict=on -device
>  piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device
> virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x3 -drive
> file=/var/run/vdsm/storage/2c3585cc-b7bc-4881-85b3-aa6514
> 991a26/d65b82e2-2ad1-4f4f-bfad-0277c37f2808/bb3218ba-cbe9-4cd0-b50b-931deae992f7,if=none,id=drive-virtio-disk0,format=raw,serial=d65b82e2-2ad1-4f4f-bfad-0277c37f2808,cache=none,werror=st
> op,rerror=stop,aio=native -device
> virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
> -drive if=none,id=drive-ide0-1-0,readonly=on,format=raw
> -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -chardev
> socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/497f5e4a-0c76-441a-b72e-724d7092d07e.com.redhat.rhevm
> .vdsm,server,nowait -device
> virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm
> -chardev socket,id=charchannel1,path=/var/lib/libvirt/qem
> u/channels/497f5e4a-0c76-441a-b72e-724d7092d07e.org.qemu.guest_agent.0,server,nowait
> -device
> virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest
> _agent.0 -chardev
> socket,id=charchannel2,path=/var/lib/libvirt/qemu/channels/497f5e4a-0c76-441a-b72e-724d7092d07e.org.ovirt.hosted-engine-setup.0,server,nowait
> -device virtserialport,bus
> =virtio-serial0.0,nr=3,chardev=charchannel2,id=channel2,name=org.ovirt.hosted-engine-setup.0
> -vnc 0:0,password -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -msg
> timestamp=on
>
> I extracted the vm.conf from the storage domain and the nic is there:
> mId=497f5e4a-0c76-441a-b72e-724d7092d07e
> memSize=6144
> display=vnc
> devices={index:2,iface:ide,address:{ controller:0, target:0,unit:0, bus:1,
> type:drive},specParams:{},readonly:true,deviceId:857b98b3-cf43-4c2d-8061-e7f105234a65,path:,device:cdrom,shared
> :false,type:disk}
> 

[ovirt-users] Help! My hosted engine lost his nic!

2016-12-01 Thread Cristian Mammoli
Hi, I upgraded an oVirt installation a month ago to the latest 3.6.7. 
Before it was 3.6.0 if I remember correctly.

Everything went fine so far for a month or so.

A couple of days ago the the default gateway got rebooted and the 
physical server hosting the HE decided to shut down the vm because it 
could not ping the gateway.

The other host restarted the hevm but it now has *no nic*.
As a workaround I attached a virtio nic via virsh but every time the vm 
gets restarted the nic get lost


After a bit of troubleshooting and digging this is what I found:

This is the /var/run/ovirt-hosted-engine-ha/vm.conf which, as far as I 
understand, gets extracted from the HE storage domain


emulatedMachine=pc
vmId=497f5e4a-0c76-441a-b72e-724d7092d07e
smp=2
memSize=6144
spiceSecureChannels=smain,sdisplay,sinputs,scursor,splayback,srecord,ssmartcard,susbredir
vmName=HostedEngine
display=vnc
devices={index:0,iface:virtio,format:raw,bootOrder:1,address:{slot:0x06,bus:0x00,domain:0x,type:pci,function:0x0},volumeID:bb3218ba-cbe9-4cd0-b50b-931deae992f7,imageID:d65b82e2-2ad1-
4f4f-bfad-0277c37f2808,readonly:false,domainID:2c3585cc-b7bc-4881-85b3-aa6514991a26,deviceId:d65b82e2-2ad1-4f4f-bfad-0277c37f2808,poolID:----,device:disk,
shared:exclusive,propagateErrors:off,type:disk}
devices={index:2,iface:ide,shared:false,readonly:true,deviceId:8c3179ac-b322-4f5c-9449-c52e3665e0ae,address:{controller:0,target:0,unit:0,bus:1,type:drive},device:cdrom,path:,type:disk}
devices={device:cirrus,alias:video0,type:video,deviceId:a99468b6-02d4-4a77-8f94-e5df806030f6,address:{slot:0x02,bus:0x00,domain:0x,type:pci,function:0x0}}
devices={device:virtio-serial,type:controller,deviceId:b7580676-19fb-462f-a61e-677b65ad920a,address:{slot:0x03,bus:0x00,domain:0x,type:pci,function:0x0}}
devices={device:usb,type:controller,deviceId:c63092b3-7bd8-4b54-bcd3-51f34dce478a,address:{slot:0x01,bus:0x00,domain:0x,type:pci,function:0x2}}
devices={device:ide,type:controller,deviceId:c77c2c01-6ccc-404b-b8d6-5a7f0631a52f,address:{slot:0x01,bus:0x00,domain:0x,type:pci,function:0x1}}

As you can see there is no nic, and there is no nic in the qemu-kvm 
command-line:
qemu 23290 1 14 00:23 ?01:44:26 /usr/libexec/qemu-kvm 
-name HostedEngine -S -machine pc-i440fx-rhel7.2.0,accel=kvm,usb=off 
-cpu qemu64,-svm -m 6144 -realtime mlock=off -s
mp 2,sockets=2,cores=1,threads=1 -uuid 
497f5e4a-0c76-441a-b72e-724d7092d07e -smbios 
type=1,manufacturer=oVirt,product=oVirt 
Node,version=7-2.1511.el7.centos.2.10,serial=4C4C4544-004B-571
0-8044-B9C04F5A3732,uuid=497f5e4a-0c76-441a-b72e-724d7092d07e 
-no-user-config -nodefaults -chardev 
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-HostedEngine/monitor.sock,serve
r,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc 
base=2016-11-30T23:23:26,driftfix=slew -global 
kvm-pit.lost_tick_policy=discard -no-hpet -no-reboot -boot strict=on -device
 piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device 
virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x3 
-drive file=/var/run/vdsm/storage/2c3585cc-b7bc-4881-85b3-aa6514

991a26/d65b82e2-2ad1-4f4f-bfad-0277c37f2808/bb3218ba-cbe9-4cd0-b50b-931deae992f7,if=none,id=drive-virtio-disk0,format=raw,serial=d65b82e2-2ad1-4f4f-bfad-0277c37f2808,cache=none,werror=st
op,rerror=stop,aio=native -device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 
-drive if=none,id=drive-ide0-1-0,readonly=on,format=raw
-device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 
-chardev 
socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/497f5e4a-0c76-441a-b72e-724d7092d07e.com.redhat.rhevm
.vdsm,server,nowait -device 
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm 
-chardev socket,id=charchannel1,path=/var/lib/libvirt/qem
u/channels/497f5e4a-0c76-441a-b72e-724d7092d07e.org.qemu.guest_agent.0,server,nowait 
-device 
virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest
_agent.0 -chardev 
socket,id=charchannel2,path=/var/lib/libvirt/qemu/channels/497f5e4a-0c76-441a-b72e-724d7092d07e.org.ovirt.hosted-engine-setup.0,server,nowait 
-device virtserialport,bus
=virtio-serial0.0,nr=3,chardev=charchannel2,id=channel2,name=org.ovirt.hosted-engine-setup.0 
-vnc 0:0,password -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -msg 
timestamp=on


I extracted the vm.conf from the storage domain and the nic is there:
mId=497f5e4a-0c76-441a-b72e-724d7092d07e
memSize=6144
display=vnc
devices={index:2,iface:ide,address:{ controller:0, target:0,unit:0, 
bus:1, 
type:drive},specParams:{},readonly:true,deviceId:857b98b3-cf43-4c2d-8061-e7f105234a65,path:,device:cdrom,shared

:false,type:disk}
devices={index:0,iface:virtio,format:raw,poolID:----,volumeID:bb3218ba-cbe9-4cd0-b50b-931deae992f7,imageID:d65b82e2-2ad1-4f4f-bfad-0277c37f2808,specParams

Re: [ovirt-users] HELP ESXI SERVER UNDER OVIRT-ENGINE

2016-11-22 Thread Luca 'remix_tj' Lorenzetto
On Tue, Nov 22, 2016 at 9:24 AM, Ali Mumcu  wrote:
> I wanna to use esxi hosts as a ovirt nodes. Becouse esxi is free but vcentre
> is expensive.
> I wanna to learn can I create cluster with esxi ovirt-nodes on open
> virtulaztion manager console.

You can't.

-- 
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare
calcoli che potrebbero essere affidati a chiunque se si usassero delle
macchine"
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)

"Internet è la più grande biblioteca del mondo.
Ma il problema è che i libri sono tutti sparsi sul pavimento"
John Allen Paulos, Matematico (1945-vivente)

Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] HELP ESXI SERVER UNDER OVIRT-ENGINE

2016-11-22 Thread Ali Mumcu
I wanna to use esxi hosts as a ovirt nodes. Becouse esxi is free but
vcentre is expensive.
I wanna to learn can I create cluster with esxi ovirt-nodes on open
virtulaztion manager console.


2016-11-22 11:16 GMT+03:00 Luca 'remix_tj' Lorenzetto <
lorenzetto.l...@gmail.com>:

> On Tue, Nov 22, 2016 at 9:11 AM, Ali Mumcu  wrote:
> > Hello,
> >
> > https://xrsa.net/2014/08/25/running-vmware-esxi-under-ovirt/
> > I found this guide it shows how to run esxi under ovirt .
> > ıs it possible for you?
> > I only wanna to use open source system to manage high avability (like
> > vcenter  but open source).
>
> The link you provided is for running ESXi as a guest on ovirt. Not for
> managing a vmware cluster through ovirt.
>
> If i can give you a suggestion, use vcenter if you want to use esxi as
> hypervisor or use ovirt completely.
>
> Ovirt, from my tests (i'm migrating from vmware) can provide all the
> performances you need.
>
>
> >
> >
> > Also does manageiq manage high avability for esxi servers vms?
>
> Don't know in detail but i suppose no, since is a management dashboard.
>
> Luca
>
> --
> "E' assurdo impiegare gli uomini di intelligenza eccellente per fare
> calcoli che potrebbero essere affidati a chiunque se si usassero delle
> macchine"
> Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)
>
> "Internet è la più grande biblioteca del mondo.
> Ma il problema è che i libri sono tutti sparsi sul pavimento"
> John Allen Paulos, Matematico (1945-vivente)
>
> Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <
> lorenzetto.l...@gmail.com>
>



-- 
ALİ MUMCU
İSTANBUL ÜNİVERSİTESİ
BİLGİ İŞLEM DAİRE BAŞKANLIĞI
Dahili:11210
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] HELP ESXI SERVER UNDER OVIRT-ENGINE

2016-11-22 Thread Luca 'remix_tj' Lorenzetto
On Tue, Nov 22, 2016 at 9:11 AM, Ali Mumcu  wrote:
> Hello,
>
> https://xrsa.net/2014/08/25/running-vmware-esxi-under-ovirt/
> I found this guide it shows how to run esxi under ovirt .
> ıs it possible for you?
> I only wanna to use open source system to manage high avability (like
> vcenter  but open source).

The link you provided is for running ESXi as a guest on ovirt. Not for
managing a vmware cluster through ovirt.

If i can give you a suggestion, use vcenter if you want to use esxi as
hypervisor or use ovirt completely.

Ovirt, from my tests (i'm migrating from vmware) can provide all the
performances you need.


>
>
> Also does manageiq manage high avability for esxi servers vms?

Don't know in detail but i suppose no, since is a management dashboard.

Luca

-- 
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare
calcoli che potrebbero essere affidati a chiunque se si usassero delle
macchine"
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)

"Internet è la più grande biblioteca del mondo.
Ma il problema è che i libri sono tutti sparsi sul pavimento"
John Allen Paulos, Matematico (1945-vivente)

Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] HELP ESXI SERVER UNDER OVIRT-ENGINE

2016-11-22 Thread Ali Mumcu
Hello,

https://xrsa.net/2014/08/25/running-vmware-esxi-under-ovirt/
I found this guide it shows how to run esxi under ovirt .
ıs it possible for you?
I only wanna to use open source system to manage high avability (like
vcenter  but open source).


Also does manageiq manage high avability for esxi servers vms?

Thanks.



2016-11-22 10:59 GMT+03:00 Barak Korren :

> On 22 November 2016 at 09:05, Ali Mumcu  wrote:
> > Hello Friends;
> > I wanna to learn something about  if it is possible or not.
> > Can we run esxı servers under the ovirt-engine ?
> > Thanks.
>
> No.
> For ESXi-like minimal hypervisor image you can try ovirt-node.
> If you want to manage multiple virtualization systems from the same UI
> you can try ManageIQ [1].
>
> [1]: http://manageiq.org/
>
> --
> Barak Korren
> bkor...@redhat.com
> RHEV-CI Team
>



-- 
ALİ MUMCU
İSTANBUL ÜNİVERSİTESİ
BİLGİ İŞLEM DAİRE BAŞKANLIĞI
Dahili:11210
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] HELP ESXI SERVER UNDER OVIRT-ENGINE

2016-11-21 Thread Barak Korren
On 22 November 2016 at 09:05, Ali Mumcu  wrote:
> Hello Friends;
> I wanna to learn something about  if it is possible or not.
> Can we run esxı servers under the ovirt-engine ?
> Thanks.

No.
For ESXi-like minimal hypervisor image you can try ovirt-node.
If you want to manage multiple virtualization systems from the same UI
you can try ManageIQ [1].

[1]: http://manageiq.org/

-- 
Barak Korren
bkor...@redhat.com
RHEV-CI Team
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] HELP ESXI SERVER UNDER OVIRT-ENGINE

2016-11-21 Thread Ali Mumcu
Hello Friends;
I wanna to learn something about  if it is possible or not.
Can we run esxı servers under the ovirt-engine ?
Thanks.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [HELP] unmapping a deleted storage domain triggers crash ovirt

2016-11-21 Thread Andrea Ghelardi
Hello Nir,

Actually Ovirt3.5 host crashes even if the storage domain has been destroyed / 
removed from ovirt (hence ovirt has no knowledge of this storage and its mpath 
device and don’t bother about it). But I guess this is what you refer to when 
you write about “handling of unmapped luns”.

However, now that I caught you online, could you confirm that deleting an 
entity ( storage domain) from Ovirt should release the sanlock?
In other words: what is the supported way to delete an iscsi SAN volume?
My current approach is:

1)  Maintenance storage domain from ovirt4

2)  Detach+remove or just destroy storage domain from ovirt4

3)  Wait ~10 minutes

4)  Access SAN control panel and unmap+delete  associated volume.

5)  Eventually, access every host server and remove mpath device manually 
(multipath -f )

SAN is a DELL Compellent SC040
Cheers
AG

From: Nir Soffer [mailto:nsof...@redhat.com]
Sent: Thursday, November 17, 2016 18:59
To: Andrea Ghelardi <a.ghela...@iontrading.com>
Cc: users@ovirt.org
Subject: Re: [ovirt-users] [HELP] unmapping a deleted storage domain triggers 
crash ovirt

On Thu, Nov 17, 2016 at 5:48 PM, Andrea Ghelardi 
<a.ghela...@iontrading.com<mailto:a.ghela...@iontrading.com>> wrote:
Hello again,

Just to provide an update for future reference, I’ve been unable to sort this 
problem out.
However, Ovirt4 does not show this failure.

Handling of unmapped luns was fixed in 3.6.

The best way is to upgrade to 3.6, and then upgrade to 4, and I think this is 
also
the only supported upgrade path.


My current approach to move VMs from one installation to another is:
1)Shutdown VM in ovirt3.
2)Maintenance VM storage - do you mean the storage server?
3)Clone VM storage at LUN level
4)Import cloned storage in ovirt4
5)Import VM in ovirt4
If everything is ok:

You must put the storage domain to maintenance here.

Since we don't support yet removal of pv from a storage domain, you cannot
remove a lun from a storage, you must remove the entire storage domain.

6a)  detach + remove original VM storage in ovirt3
7a)  remove mappings for original VM storage LUN in ovirt3; this imply 
cluster instability (sanlock crash on hosts);
8a)  recover cluster; this implies shutting down host (and its VM) one 
by one
9a)  delete unmapped original LUN from storage manager

When Sanlock freeze on host, the only solution found so far is to reboot it. 
This has to be done on all host experiencing this problem (which basically 
means: all hosts in the cluster)

If sanlock freezed it means that you unmapped a lun that was used by sanlock.
This is not supported.


Cheers
AG


From: Andrea Ghelardi
Sent: Tuesday, November 08, 2016 16:40
To: users@ovirt.org<mailto:users@ovirt.org>
Subject: [HELP] unmapping a deleted storage domain triggers crash ovirt

Hello people,

something’s not right in my ovirt infrastructure.
I currently have two different ovirt installation:
Ovirt3: 7 hosts linked to Compellent iscsi storage running ovirt 3.5.6
Ovirt4: 4 hosts linked to (same) Compellent iscsi storage running ovirt 4.0.4

I’m currently moving my guests from ovirt3 to ovirt4.
Since iscsi storage is linked to both installations, my high level approach is:

1)  Shutdown VM in ovirt3.

2)  Maintenance + detach + remove VM storage in ovirt3

3)  Change LUN mapping via iscsi storage manager from ovirt3 to ovirt4

4)  Import storage in ovirt4

5)  Import VM in ovirt4

6)  Run and cheers with high grade liquor. GOTO step 1 for different VM.

Now, as soon as I perform step 3 (remove mappings from LUN), ovirt3 goes crazy 
and eventually forces me to reboot all hosts one by one.
I tried different low level approaches to unmap LUN mpath’ed from hosts with 
inconsistent results.
A notable error log extract is:
Nov  8 15:30:52 sovana vdsm root ERROR Process failed with rc=1 out='\nudevadm 
settle - timeout of 5 seconds reached, the event queue contains:\n  
/sys/devices/virtual/block/dm-39 (8603)\n  /sys/devices/virtual/block/dm-39 
(8604)\n  /sys
/devices/virtual/block/dm-39 (8605)\n  /sys/devices/virtual/block/dm-39 
(8606)\n  /sys/devices/virtual/block/dm-39 (8607)\n  
/sys/devices/virtual/block/dm-39 (8608)\n  /sys/devices/virtual/block/dm-39 
(8609)\n  /sys/devices/virtual/block
/dm-39 (8610)\n  /sys/devices/virtual/block/dm-39 (8611)\n  
/sys/devices/virtual/block/dm-39 (8612)\n  /sys/devices/virtual/block/dm-39 
(8613)\n  /sys/devices/virtual/block/dm-39 (8614)\n  
/sys/devices/virtual/block/dm-39 (8615)\n  /sys/
devices/virtual/block/dm-39 (8616)\n  /sys/devices/virtual/block/dm-39 (8617)\n 
 /sys/devices/virtual/block/dm-39 (8618)\n  /sys/devices/virtual/block/dm-39 
(8619)\n  /sys/devices/virtual/block/dm-39 (8620)\n  /sys/devices/virtual/block/
dm-39 (8621)\n  /sys/devices/virtual/block/dm-39 (8622)\n  
/sys/devices/virtual/block/dm-39 (8623)\n  /sys/devices/virtual/blo

Re: [ovirt-users] [HELP] unmapping a deleted storage domain triggers crash ovirt

2016-11-17 Thread Nir Soffer
On Thu, Nov 17, 2016 at 5:48 PM, Andrea Ghelardi 
wrote:

> Hello again,
>
>
>
> Just to provide an update for future reference, I’ve been unable to sort
> this problem out.
>
> However, Ovirt4 does not show this failure.
>

Handling of unmapped luns was fixed in 3.6.

The best way is to upgrade to 3.6, and then upgrade to 4, and I think this
is also
the only supported upgrade path.


>
>
> My current approach to move VMs from one installation to another is:
>
> 1)Shutdown VM in ovirt3.
>
> 2)Maintenance VM storage - do you mean the storage server?
>
> 3)Clone VM storage at LUN level
>
> 4)Import cloned storage in ovirt4
>
> 5)Import VM in ovirt4
>
> If everything is ok:
>

You must put the storage domain to maintenance here.

Since we don't support yet removal of pv from a storage domain, you cannot
remove a lun from a storage, you must remove the entire storage domain.


> 6a)  detach + remove original VM storage in ovirt3
>
> 7a)  remove mappings for original VM storage LUN in ovirt3; this
> imply cluster instability (sanlock crash on hosts);
>
> 8a)  recover cluster; this implies shutting down host (and its VM)
> one by one
>
> 9a)  delete unmapped original LUN from storage manager
>

>
> When Sanlock freeze on host, the only solution found so far is to reboot
> it. This has to be done on all host experiencing this problem (which
> basically means: all hosts in the cluster)
>

If sanlock freezed it means that you unmapped a lun that was used by
sanlock.
This is not supported.


>
>
> Cheers
>
> AG
>
>
>
>
>
> *From:* Andrea Ghelardi
> *Sent:* Tuesday, November 08, 2016 16:40
> *To:* users@ovirt.org
> *Subject:* [HELP] unmapping a deleted storage domain triggers crash ovirt
>
>
>
> Hello people,
>
>
>
> something’s not right in my ovirt infrastructure.
>
> I currently have two different ovirt installation:
>
> Ovirt3: 7 hosts linked to Compellent iscsi storage running ovirt 3.5.6
>
> Ovirt4: 4 hosts linked to (same) Compellent iscsi storage running ovirt
> 4.0.4
>
>
>
> I’m currently moving my guests from ovirt3 to ovirt4.
>
> Since iscsi storage is linked to both installations, my high level
> approach is:
>
> 1)  Shutdown VM in ovirt3.
>
> 2)  Maintenance + detach + remove VM storage in ovirt3
>
> 3)  Change LUN mapping via iscsi storage manager from ovirt3 to ovirt4
>
> 4)  Import storage in ovirt4
>
> 5)  Import VM in ovirt4
>
> 6)  Run and cheers with high grade liquor. GOTO step 1 for different
> VM.
>
>
>
> Now, as soon as I perform step 3 (remove mappings from LUN), ovirt3 goes
> crazy and eventually forces me to reboot all hosts one by one.
>
> I tried different low level approaches to unmap LUN mpath’ed from hosts
> with inconsistent results.
>
> A notable error log extract is:
>
> Nov  8 15:30:52 sovana vdsm root ERROR Process failed with rc=1
> out='\nudevadm settle - timeout of 5 seconds reached, the event queue
> contains:\n  /sys/devices/virtual/block/dm-39 (8603)\n
> /sys/devices/virtual/block/dm-39 (8604)\n  /sys
>
> /devices/virtual/block/dm-39 (8605)\n  /sys/devices/virtual/block/dm-39
> (8606)\n  /sys/devices/virtual/block/dm-39 (8607)\n
> /sys/devices/virtual/block/dm-39 (8608)\n  /sys/devices/virtual/block/dm-39
> (8609)\n  /sys/devices/virtual/block
>
> /dm-39 (8610)\n  /sys/devices/virtual/block/dm-39 (8611)\n
> /sys/devices/virtual/block/dm-39 (8612)\n  /sys/devices/virtual/block/dm-39
> (8613)\n  /sys/devices/virtual/block/dm-39 (8614)\n
> /sys/devices/virtual/block/dm-39 (8615)\n  /sys/
>
> devices/virtual/block/dm-39 (8616)\n  /sys/devices/virtual/block/dm-39
> (8617)\n  /sys/devices/virtual/block/dm-39 (8618)\n
> /sys/devices/virtual/block/dm-39 (8619)\n  /sys/devices/virtual/block/dm-39
> (8620)\n  /sys/devices/virtual/block/
>
> dm-39 (8621)\n  /sys/devices/virtual/block/dm-39 (8622)\n
> /sys/devices/virtual/block/dm-39 (8623)\n  /sys/devices/virtual/block/dm-39
> (8624)\n  /sys/devices/virtual/block/dm-39 (8625)\n
> /sys/devices/virtual/block/dm-39 (8626)\n  /sys/d
>
> evices/virtual/block/dm-39 (8627)\n  /sys/devices/virtual/block/dm-39
> (8628)\n  /sys/devices/virtual/block/dm-39 (8629)\n
> /sys/devices/virtual/block/dm-39 (8630)\n  /sys/devices/virtual/block/dm-39
> (8631)\n  /sys/devices/virtual/block/d
>
> m-39 (8632)\n  /sys/devices/virtual/block/dm-39 (8633)\n
> /sys/devices/virtual/block/dm-39 (8634)\n  /sys/devices/virtual/block/dm-39
> (8635)\n  /sys/devices/virtual/block/dm-39 (8636)\n
> /sys/devices/virtual/block/dm-39 (8637)\n  /sys/de
>
> vices/virtual/block/dm-39 (8638)\n  /sys/devices/virtual/block/dm-39
> (8639)\n  /sys/devices/virtual/block/dm-39 (8640)\n
> /sys/devices/virtual/block/dm-39 (8641)\n  /sys/devices/virtual/block/dm-39
> (8642)\n  /sys/devices/virtual/block/dm
>
> -39 (8643)\n  /sys/devices/virtual/block/dm-39 (8644)\n
> /sys/devices/virtual/block/dm-39 (8645)\n  /sys/devices/virtual/block/dm-39
> 

Re: [ovirt-users] [HELP] unmapping a deleted storage domain triggers crash ovirt

2016-11-17 Thread Andrea Ghelardi
Hello again,

Just to provide an update for future reference, I've been unable to sort this 
problem out.
However, Ovirt4 does not show this failure.

My current approach to move VMs from one installation to another is:
1)Shutdown VM in ovirt3.
2)Maintenance VM storage
3)Clone VM storage at LUN level
4)Import cloned storage in ovirt4
5)Import VM in ovirt4
If everything is ok:
6a)  detach + remove original VM storage in ovirt3
7a)  remove mappings for original VM storage LUN in ovirt3; this imply 
cluster instability (sanlock crash on hosts);
8a)  recover cluster; this implies shutting down host (and its VM) one 
by one
9a)  delete unmapped original LUN from storage manager

When Sanlock freeze on host, the only solution found so far is to reboot it. 
This has to be done on all host experiencing this problem (which basically 
means: all hosts in the cluster)

Cheers
AG


From: Andrea Ghelardi
Sent: Tuesday, November 08, 2016 16:40
To: users@ovirt.org
Subject: [HELP] unmapping a deleted storage domain triggers crash ovirt

Hello people,

something's not right in my ovirt infrastructure.
I currently have two different ovirt installation:
Ovirt3: 7 hosts linked to Compellent iscsi storage running ovirt 3.5.6
Ovirt4: 4 hosts linked to (same) Compellent iscsi storage running ovirt 4.0.4

I'm currently moving my guests from ovirt3 to ovirt4.
Since iscsi storage is linked to both installations, my high level approach is:

1)  Shutdown VM in ovirt3.

2)  Maintenance + detach + remove VM storage in ovirt3

3)  Change LUN mapping via iscsi storage manager from ovirt3 to ovirt4

4)  Import storage in ovirt4

5)  Import VM in ovirt4

6)  Run and cheers with high grade liquor. GOTO step 1 for different VM.

Now, as soon as I perform step 3 (remove mappings from LUN), ovirt3 goes crazy 
and eventually forces me to reboot all hosts one by one.
I tried different low level approaches to unmap LUN mpath'ed from hosts with 
inconsistent results.
A notable error log extract is:
Nov  8 15:30:52 sovana vdsm root ERROR Process failed with rc=1 out='\nudevadm 
settle - timeout of 5 seconds reached, the event queue contains:\n  
/sys/devices/virtual/block/dm-39 (8603)\n  /sys/devices/virtual/block/dm-39 
(8604)\n  /sys
/devices/virtual/block/dm-39 (8605)\n  /sys/devices/virtual/block/dm-39 
(8606)\n  /sys/devices/virtual/block/dm-39 (8607)\n  
/sys/devices/virtual/block/dm-39 (8608)\n  /sys/devices/virtual/block/dm-39 
(8609)\n  /sys/devices/virtual/block
/dm-39 (8610)\n  /sys/devices/virtual/block/dm-39 (8611)\n  
/sys/devices/virtual/block/dm-39 (8612)\n  /sys/devices/virtual/block/dm-39 
(8613)\n  /sys/devices/virtual/block/dm-39 (8614)\n  
/sys/devices/virtual/block/dm-39 (8615)\n  /sys/
devices/virtual/block/dm-39 (8616)\n  /sys/devices/virtual/block/dm-39 (8617)\n 
 /sys/devices/virtual/block/dm-39 (8618)\n  /sys/devices/virtual/block/dm-39 
(8619)\n  /sys/devices/virtual/block/dm-39 (8620)\n  /sys/devices/virtual/block/
dm-39 (8621)\n  /sys/devices/virtual/block/dm-39 (8622)\n  
/sys/devices/virtual/block/dm-39 (8623)\n  /sys/devices/virtual/block/dm-39 
(8624)\n  /sys/devices/virtual/block/dm-39 (8625)\n  
/sys/devices/virtual/block/dm-39 (8626)\n  /sys/d
evices/virtual/block/dm-39 (8627)\n  /sys/devices/virtual/block/dm-39 (8628)\n  
/sys/devices/virtual/block/dm-39 (8629)\n  /sys/devices/virtual/block/dm-39 
(8630)\n  /sys/devices/virtual/block/dm-39 (8631)\n  
/sys/devices/virtual/block/d
m-39 (8632)\n  /sys/devices/virtual/block/dm-39 (8633)\n  
/sys/devices/virtual/block/dm-39 (8634)\n  /sys/devices/virtual/block/dm-39 
(8635)\n  /sys/devices/virtual/block/dm-39 (8636)\n  
/sys/devices/virtual/block/dm-39 (8637)\n  /sys/de
vices/virtual/block/dm-39 (8638)\n  /sys/devices/virtual/block/dm-39 (8639)\n  
/sys/devices/virtual/block/dm-39 (8640)\n  /sys/devices/virtual/block/dm-39 
(8641)\n  /sys/devices/virtual/block/dm-39 (8642)\n  
/sys/devices/virtual/block/dm
-39 (8643)\n  /sys/devices/virtual/block/dm-39 (8644)\n  
/sys/devices/virtual/block/dm-39 (8645)\n  /sys/devices/virtual/block/dm-39 
(8646)\n  /sys/devices/virtual/block/d

I really need your help to sort this out as I'm actually blocked in my task.

Why mapping changes triggers ovirt crash on a storage which ovirt should not 
care about?
Thanks


Andrea Ghelardi

+39 050 2203 71 | www.iongroup.com | 
a.ghela...@iontrading.com
Via San Martino, 52 - 56125 Pisa - ITALY

This email and any attachments may contain information which is confidential 
and/or privileged. The information is intended exclusively for the addressee 
and the views expressed may not be official policy, but the personal views of 
the originator. If you are not the intended recipient, be aware that any 
disclosure, copying, distribution or use of the contents is prohibited. If you 
have received this email and any file 

[ovirt-users] [HELP] unmapping a deleted storage domain triggers crash ovirt

2016-11-08 Thread Andrea Ghelardi
Hello people,

something's not right in my ovirt infrastructure.
I currently have two different ovirt installation:
Ovirt3: 7 hosts linked to Compellent iscsi storage running ovirt 3.5.6
Ovirt4: 4 hosts linked to (same) Compellent iscsi storage running ovirt 4.0.4

I'm currently moving my guests from ovirt3 to ovirt4.
Since iscsi storage is linked to both installations, my high level approach is:

1)  Shutdown VM in ovirt3.

2)  Maintenance + detach + remove VM storage in ovirt3

3)  Change LUN mapping via iscsi storage manager from ovirt3 to ovirt4

4)  Import storage in ovirt4

5)  Import VM in ovirt4

6)  Run and cheers with high grade liquor. GOTO step 1 for different VM.

Now, as soon as I perform step 3 (remove mappings from LUN), ovirt3 goes crazy 
and eventually forces me to reboot all hosts one by one.
I tried different low level approaches to unmap LUN mpath'ed from hosts with 
inconsistent results.
A notable error log extract is:
Nov  8 15:30:52 sovana vdsm root ERROR Process failed with rc=1 out='\nudevadm 
settle - timeout of 5 seconds reached, the event queue contains:\n  
/sys/devices/virtual/block/dm-39 (8603)\n  /sys/devices/virtual/block/dm-39 
(8604)\n  /sys
/devices/virtual/block/dm-39 (8605)\n  /sys/devices/virtual/block/dm-39 
(8606)\n  /sys/devices/virtual/block/dm-39 (8607)\n  
/sys/devices/virtual/block/dm-39 (8608)\n  /sys/devices/virtual/block/dm-39 
(8609)\n  /sys/devices/virtual/block
/dm-39 (8610)\n  /sys/devices/virtual/block/dm-39 (8611)\n  
/sys/devices/virtual/block/dm-39 (8612)\n  /sys/devices/virtual/block/dm-39 
(8613)\n  /sys/devices/virtual/block/dm-39 (8614)\n  
/sys/devices/virtual/block/dm-39 (8615)\n  /sys/
devices/virtual/block/dm-39 (8616)\n  /sys/devices/virtual/block/dm-39 (8617)\n 
 /sys/devices/virtual/block/dm-39 (8618)\n  /sys/devices/virtual/block/dm-39 
(8619)\n  /sys/devices/virtual/block/dm-39 (8620)\n  /sys/devices/virtual/block/
dm-39 (8621)\n  /sys/devices/virtual/block/dm-39 (8622)\n  
/sys/devices/virtual/block/dm-39 (8623)\n  /sys/devices/virtual/block/dm-39 
(8624)\n  /sys/devices/virtual/block/dm-39 (8625)\n  
/sys/devices/virtual/block/dm-39 (8626)\n  /sys/d
evices/virtual/block/dm-39 (8627)\n  /sys/devices/virtual/block/dm-39 (8628)\n  
/sys/devices/virtual/block/dm-39 (8629)\n  /sys/devices/virtual/block/dm-39 
(8630)\n  /sys/devices/virtual/block/dm-39 (8631)\n  
/sys/devices/virtual/block/d
m-39 (8632)\n  /sys/devices/virtual/block/dm-39 (8633)\n  
/sys/devices/virtual/block/dm-39 (8634)\n  /sys/devices/virtual/block/dm-39 
(8635)\n  /sys/devices/virtual/block/dm-39 (8636)\n  
/sys/devices/virtual/block/dm-39 (8637)\n  /sys/de
vices/virtual/block/dm-39 (8638)\n  /sys/devices/virtual/block/dm-39 (8639)\n  
/sys/devices/virtual/block/dm-39 (8640)\n  /sys/devices/virtual/block/dm-39 
(8641)\n  /sys/devices/virtual/block/dm-39 (8642)\n  
/sys/devices/virtual/block/dm
-39 (8643)\n  /sys/devices/virtual/block/dm-39 (8644)\n  
/sys/devices/virtual/block/dm-39 (8645)\n  /sys/devices/virtual/block/dm-39 
(8646)\n  /sys/devices/virtual/block/d

I really need your help to sort this out as I'm actually blocked in my task.

Why mapping changes triggers ovirt crash on a storage which ovirt should not 
care about?
Thanks


Andrea Ghelardi

+39 050 2203 71 | www.iongroup.com | 
a.ghela...@iontrading.com
Via San Martino, 52 - 56125 Pisa - ITALY

This email and any attachments may contain information which is confidential 
and/or privileged. The information is intended exclusively for the addressee 
and the views expressed may not be official policy, but the personal views of 
the originator. If you are not the intended recipient, be aware that any 
disclosure, copying, distribution or use of the contents is prohibited. If you 
have received this email and any file transmitted with it in error, please 
notify the sender by telephone or return email immediately and delete the 
material from your computer. Internet communications are not secure and ION 
Trading is not responsible for their abuse by third parties, nor for any 
alteration or corruption in transmission, nor for any damage or loss caused by 
any virus or other defect. ION Trading accepts no liability or responsibility 
arising out of or in any way connected to this email.

[iON_HBlu_small]
Automation through innovation

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


Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7

2016-09-06 Thread Nir Soffer
On Tue, Sep 6, 2016 at 7:33 PM, VONDRA Alain <avon...@unicef.fr> wrote:

> Great, I found it !
>
> It was an initiator issue due to the reinstalling of the host. After a
> re-configuration of the SAN, evrything works fine and I could Up the brand
> new host with CentOS 7.2. I will reproduce the same plan on the other host.
>
> Thank so much for your help
>

I think the root cause is that ovirt do not manage the iscsi initiator on
the hosts.

If we had an option to set the initiator when adding a host, like the way
you
set the host password, it would be hard to have such bugs.

Can you file a bug about this?

Nir


>
>
>
>
>
>
> --
>
> *Alain VONDRA   *
> *Chargé d'exploitation des Systèmes d'Information   *
> *Direction Administrative et Financière*
> * +33 1 44 39 77 76 <%2B33%201%2044%2039%2077%2076> *
>
> *UNICEF France 3 rue Duguay Trouin  75006 PARIS*
> * www.unicef.fr <http://www.unicef.fr/> *
> <http://www.unicef.fr>
>
> <http://www.unicef.fr/>
>
> <http://www.unicef.fr/> <http://www.unicef.fr/> <https://www.unicef.fr/>
>
>
>
> --
> <http://www.unicef.fr>
>
> *De :* Simone Tiraboschi [mailto:stira...@redhat.com]
> *Envoyé :* mardi 6 septembre 2016 16:48
>
> *À :* VONDRA Alain <avon...@unicef.fr>
> *Cc :* Yedidyah Bar David <d...@redhat.com>; users <users@ovirt.org>
> *Objet :* Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to
> CentOS 7
>
>
>
>
>
>
>
> On Tue, Sep 6, 2016 at 4:25 PM, VONDRA Alain <avon...@unicef.fr> wrote:
>
> I’ve just reinstall the host and have the same issue, here is the ERROR
> messages from the vdsm logs :
>
>
>
> Thread-43::ERROR::2016-09-06 
> 16:02:54,399::hsm::2551::Storage.HSM::(disconnectStorageServer)
> Could not disconnect from storageServer
>
> Thread-43::ERROR::2016-09-06 
> 16:02:54,453::hsm::2551::Storage.HSM::(disconnectStorageServer)
> Could not disconnect from storageServer
>
> Thread-43::ERROR::2016-09-06 
> 16:02:54,475::hsm::2551::Storage.HSM::(disconnectStorageServer)
> Could not disconnect from storageServer
>
> Thread-51::ERROR::2016-09-06 
> 16:05:38,319::hsm::2453::Storage.HSM::(connectStorageServer)
> Could not connect to storageServer
>
> Thread-52::ERROR::2016-09-06 16:05:38,636::sdc::137::
> Storage.StorageDomainCache::(_findDomain) looking for unfetched domain
> cc9ab4b2-9880-427b-8f3b-61f03e520cbc
>
> Thread-52::ERROR::2016-09-06 16:05:38,637::sdc::154::
> Storage.StorageDomainCache::(_findUnfetchedDomain) looking for domain
> cc9ab4b2-9880-427b-8f3b-61f03e520cbc
>
> Thread-52::ERROR::2016-09-06 16:05:38,756::sdc::143::
> Storage.StorageDomainCache::(_findDomain) domain 
> cc9ab4b2-9880-427b-8f3b-61f03e520cbc
> not found
>
> Thread-52::ERROR::2016-09-06 16:05:38,769::task::866::
> Storage.TaskManager.Task::(_setError) 
> Task=`1cfc5c30-fc82-44d6-a296-223fa9426417`::Unexpected
> error
>
> Thread-52::ERROR::2016-09-06 
> 16:05:38,788::dispatcher::76::Storage.Dispatcher::(wrapper)
> {'status': {'message': "Cannot find master domain:
> u'spUUID=0002-0002-0002-0002-0193, 
> msdUUID=cc9ab4b2-9880-427b-8f3b-61f03e520cbc'",
> 'code': 304}}
>
>
>
> This SD is present on the host1 (CentOS 6.8) :
>
> [root@unc-srv-hyp1  ~]$ ll /rhev/data-center/
>
> 0002-0002-0002-0002-0193/ mnt/
>
>
>
> Not in the host2 (CentOS 7.2) :
>
> [root@unc-srv-hyp2 ~]# ll /rhev/data-center/
>
> total 4
>
> drwxr-xr-x. 5 vdsm kvm 4096  6 sept. 16:03 mnt
>
>
>
> The vdsm.log more complete :
>
> Thread-88::DEBUG::2016-09-06 16:22:03,057::iscsi::424::Storage.ISCSI::(rescan)
> Performing SCSI scan, this will take up to 30 seconds
>
> Thread-88::DEBUG::2016-09-06 
> 16:22:03,057::iscsiadm::97::Storage.Misc.excCmd::(_runCmd)
> /usr/bin/sudo -n /sbin/iscsiadm -m session -R (cwd None)
>
> Thread-88::DEBUG::2016-09-06 16:22:03,078::misc::751::
> Storage.SamplingMethod::(__call__) Returning last result
>
> Thread-88::DEBUG::2016-09-06 16:22:03,079::misc::741::
> Storage.SamplingMethod::(__call__) Trying to enter sampling method
> (storage.hba.rescan)
>
> Thread-88::DEBUG::2016-09-06 16:22:03,079::misc::743::
> Storage.SamplingMethod::(__call__) Got in to sampling method
>
> Thread-88::DEBUG::2016-09-06 16:22:03,080::hba::53::Storage.HBA::(rescan)
> Starting scan
>
> Thread-88::DEBUG::2016-09-06 16:22:03,080::utils::755::Storage.HBA::(execCmd)
> /usr/bin/sudo -n /usr/libexec/vdsm/fc-scan (cwd None)
>
> Thread-88::DEBUG::2016-09-06 16:22:03,134::hba::66::Storage.HBA::(rescan)
> Scan finis

Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7

2016-09-06 Thread Simone Tiraboschi
on = 7), log id: 321780b7
>
> 2016-09-06 16:22:04,346 INFO  
> [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand]
> (org.ovirt.thread.pool-8-thread-20) Command org.ovirt.engine.core.
> vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand return value
>
> StatusOnlyReturnForXmlRpc [mStatus=StatusForXmlRpc [mCode=304,
> mMessage=Cannot find master domain: 
> u'spUUID=0002-0002-0002-0002-0193,
> msdUUID=cc9ab4b2-9880-427b-8f3b-61f03e520cbc']]
>
> 2016-09-06 16:22:04,347 INFO  
> [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand]
> (org.ovirt.thread.pool-8-thread-20) HostName = unc-srv-hyp2
>
> 2016-09-06 16:22:04,348 ERROR 
> [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand]
> (org.ovirt.thread.pool-8-thread-20) Command 
> ConnectStoragePoolVDSCommand(HostName
> = unc-srv-hyp2, HostId = 5bf45c09-41d4-4125-a4bd-81af2a100db8, vdsId =
> 5bf45c09-41d4-4125-a4bd-81af2a100db8, storagePoolId =
> 0002-0002-0002-0002-0193, masterVersion = 7) execution
> failed. Exception: IRSNoMasterDomainException: IRSGenericException:
> IRSErrorException: IRSNoMasterDomainException: Cannot find master domain:
> u'spUUID=0002-0002-0002-0002-0193, msdUUID=cc9ab4b2-9880-427b-
> 8f3b-61f03e520cbc'
>
> 2016-09-06 16:22:04,350 INFO  
> [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand]
> (org.ovirt.thread.pool-8-thread-20) FINISH, ConnectStoragePoolVDSCommand,
> log id: 321780b7
>
> 2016-09-06 16:22:04,351 ERROR [org.ovirt.engine.core.bll.InitVdsOnUpCommand]
> (org.ovirt.thread.pool-8-thread-20) Could not connect host unc-srv-hyp2
> to pool UNICEF with the message: null
>
> 2016-09-06 16:22:04,399 INFO  
> [org.ovirt.engine.core.bll.SetNonOperationalVdsCommand]
> (DefaultQuartzScheduler_Worker-26) [60403257] Running command:
> SetNonOperationalVdsCommand internal: true. Entities affected :  ID:
> 5bf45c09-41d4-4125-a4bd-81af2a100db8 Type: VDS
>
> 2016-09-06 16:22:04,426 INFO  
> [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand]
> (DefaultQuartzScheduler_Worker-26) [60403257] START,
> SetVdsStatusVDSCommand(HostName = unc-srv-hyp2, HostId =
> 5bf45c09-41d4-4125-a4bd-81af2a100db8, status=NonOperational,
> nonOperationalReason=STORAGE_DOMAIN_UNREACHABLE,
> stopSpmFailureLogged=false), log id: 7f47d8b
>
> 2016-09-06 16:22:04,435 INFO  
> [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand]
> (DefaultQuartzScheduler_Worker-26) [60403257] FINISH,
> SetVdsStatusVDSCommand, log id: 7f47d8b
>
> 2016-09-06 16:22:04,448 WARN  [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler_Worker-26)
> [60403257] Correlation ID: 60403257, Job ID: 
> 4203a573-20f2-45e5-b251-e4e09f1ed951,
> Call Stack: null, Custom Event ID: -1, Message: Host unc-srv-hyp2 cannot
> access the Storage Domain(s)  attached to the Data Center UNICEF.
> Setting Host state to Non-Operational.
>
> 2016-09-06 16:22:04,484 WARN  [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler_Worker-26)
> [60403257] Correlation ID: null, Call Stack: null, Custom Event ID: -1,
> Message: Power Management test failed for Host unc-srv-hyp2.There is no
> other host in the data center that can be used to test the power management
> settings.
>
> 2016-09-06 16:22:04,488 WARN  [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler_Worker-26)
> [60403257] Correlation ID: 6f596728, Call Stack: null, Custom Event ID: -1,
> Message: Failed to connect Host unc-srv-hyp2 to Storage Pool UNICEF
>
> 2016-09-06 16:22:04,528 INFO  
> [org.ovirt.engine.core.bll.HandleVdsVersionCommand]
> (DefaultQuartzScheduler_Worker-26) [709cb459] Running command:
> HandleVdsVersionCommand internal: true. Entities affected :  ID:
> 5bf45c09-41d4-4125-a4bd-81af2a100db8 Type: VDS
>
> 2016-09-06 16:22:04,530 INFO  
> [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
> (DefaultQuartzScheduler_Worker-26) [709cb459] Host
> 5bf45c09-41d4-4125-a4bd-81af2a100db8 : unc-srv-hyp2 is already in
> NonOperational status for reason STORAGE_DOMAIN_UNREACHABLE.
> SetNonOperationalVds command is skipped.
>
>
>
>
>
> --
>
> *Alain VONDRA   *
> *Chargé d'exploitation des Systèmes d'Information   *
> *Direction Administrative et Financière*
> * +33 1 44 39 77 76 <%2B33%201%2044%2039%2077%2076> *
>
> *UNICEF France 3 rue Duguay Trouin  75006 PARIS*
> * www.unicef.fr <http://www.unicef.fr/> *
> <http://www.unicef.fr>
>
> <http://www.unicef.fr/>
>
> <http://www.unicef.fr/> <http://www.unicef.fr/> <https:

Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7

2016-09-05 Thread Simone Tiraboschi
On Mon, Sep 5, 2016 at 5:09 PM, VONDRA Alain <avon...@unicef.fr> wrote:

> To resume the situation and be the most clear I can.
>
> I have :
>
> -  2 hypervisors (physical) with CentOS 6.8 : HYP1 and HYP2
>
> -  1 oVirt manager 3.5  (physical and not hosted-engine) with
> CentOS 7.2
>
> And to be able to upgrade to oVirt 3.6 or more I need to upgrade the 2
> hypervisors to CentOS 7.2.
>
> So I began with HYP2, I’ve removed it from the Cluster, and installed it
> with CentOS 7.2, but when I wanted to join it to a new cluster as shown in
> the doc, HYP2 stayed always unresponsive.
>

We need vdsm logs to understand the issue here.
Could you please reproduce it?


> So I’ve restored the HYP2 to Centos 6.8, reinstalled it on the previous
> cluster and everything works well, but I really want to upgrade to CentOS
> 7.2 to be up-to-date, because I will have soonly more than two versions
> late.
>
>
>
>
>
> --
>
> *Alain VONDRA   *
> *Chargé d'exploitation des Systèmes d'Information   *
> *Direction Administrative et Financière*
> * +33 1 44 39 77 76 <%2B33%201%2044%2039%2077%2076> *
>
> *UNICEF France 3 rue Duguay Trouin  75006 PARIS*
> * www.unicef.fr <http://www.unicef.fr/> *
> <http://www.unicef.fr>
>
> <http://www.unicef.fr/>
>
> <http://www.unicef.fr/> <http://www.unicef.fr/> <https://www.unicef.fr/>
>
>
>
> --
> <http://www.unicef.fr>
>
> *De :* Yedidyah Bar David [mailto:d...@redhat.com]
> *Envoyé :* lundi 5 septembre 2016 15:53
>
> *À :* VONDRA Alain <avon...@unicef.fr>
> *Cc :* Simone Tiraboschi <stira...@redhat.com>; users <users@ovirt.org>
> *Objet :* Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to
> CentOS 7
>
>
>
> On Mon, Sep 5, 2016 at 4:34 PM, VONDRA Alain <avon...@unicef.fr> wrote:
>
> As you say, “This should”, but is there anybody there who tried this
> operation ?
>
>
>
> When I wrote [1], it worked for me.
>
> If something does not work for you, I think it's best to open a bug
>
> and attach all relevant logs, including hosted-engine-setup and vdsm
>
> logs from the host and all engine logs from the engine vm.
>
> I can't tell from your log snippet why your new host failed to attach
>
> to the storage domain. If it's reproducible, please check/post vdsm logs.
>
> [1] https://www.ovirt.org/documentation/how-to/hosted-
> engine-host-OS-upgrade/
>
>
>
> Is there any other option to upgrade the hypervisors ?
>
>
>
> Even if there is another option, the fact that you can't add a host
>
> is probably problematic in itself, no? What if you actually need to
>
> add a host?
>
> Did you try adding a el6 host and it did work?
>
> Best,
>
>
>
>
>
>
> --
>
> *Alain VONDRA   *
> *Chargé d'exploitation des Systèmes d'Information   *
> *Direction Administrative et Financière*
> *+33 1 44 39 77 76 <%2B33%201%2044%2039%2077%2076> *
> *UNICEF France*
> *3 rue Duguay Trouin  75006 PARIS*
> *www.unicef.fr <http://www.unicef.fr/>*
>
> <https://www.unicef.fr/>
>
>
> --
>
> *De :* Yedidyah Bar David [mailto:d...@redhat.com]
> *Envoyé :* lundi 5 septembre 2016 12:22
>
>
> *À :* VONDRA Alain <avon...@unicef.fr>
> *Cc :* Simone Tiraboschi <stira...@redhat.com>; users <users@ovirt.org>
> *Objet :* Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to
> CentOS 7
>
>
>
> On Mon, Sep 5, 2016 at 1:11 PM, VONDRA Alain <avon...@unicef.fr> wrote:
>
> Unlikely, I didn’t save them, I had to rollback the host quickly before
> the Week-end.
>
> All that I can tell, that is all seemed to work well during the
> installation of the host, all the networks were connected to the SAN, but
> the host didn’t want to go UP, still staying unresponsive with the message
> below from the oVirt engine.
>
> Can you assure me that the installation of a physical hypervisor with
> CentOS 7, is possible if I put it on a different cluster than the other
> host using CentOS 6.8 ?
>
>
>
> Yes, this should work.
>
>
>
> Thanks
>
>
> --
>
> *Alain VONDRA   *
> *Chargé d'exploitation des Systèmes d'Information   *
> *Direction Administrative et Financière*
> *+33 1 44 39 77 76 <%2B33%201%2044%2039%2077%2076> *
> *UNICEF France*
> *3 rue Duguay Trouin  75006 PARIS*
> *www.unicef.fr <http://www.unicef.fr/>*
>
> <https://www.unicef.fr/>
>
>

Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7

2016-09-05 Thread VONDRA Alain
To resume the situation and be the most clear I can.
I have :

-  2 hypervisors (physical) with CentOS 6.8 : HYP1 and HYP2

-  1 oVirt manager 3.5  (physical and not hosted-engine) with CentOS 7.2
And to be able to upgrade to oVirt 3.6 or more I need to upgrade the 2 
hypervisors to CentOS 7.2.
So I began with HYP2, I’ve removed it from the Cluster, and installed it with 
CentOS 7.2, but when I wanted to join it to a new cluster as shown in the doc, 
HYP2 stayed always unresponsive.
So I’ve restored the HYP2 to Centos 6.8, reinstalled it on the previous cluster 
and everything works well, but I really want to upgrade to CentOS 7.2 to be 
up-to-date, because I will have soonly more than two versions late.






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr<http://www.unicef.fr/>

<http://www.unicef.fr>

<http://www.unicef.fr/>

<http://www.unicef.fr/><http://www.unicef.fr/>[cid:signature_Unicef-France_a0c5ef98-a0b5-4b96-9e15-f37a03a75cb1.gif]<https://www.unicef.fr/>







<http://www.unicef.fr>


De : Yedidyah Bar David [mailto:d...@redhat.com]
Envoyé : lundi 5 septembre 2016 15:53
À : VONDRA Alain <avon...@unicef.fr>
Cc : Simone Tiraboschi <stira...@redhat.com>; users <users@ovirt.org>
Objet : Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7

On Mon, Sep 5, 2016 at 4:34 PM, VONDRA Alain 
<avon...@unicef.fr<mailto:avon...@unicef.fr>> wrote:
As you say, “This should”, but is there anybody there who tried this operation ?

When I wrote [1], it worked for me.
If something does not work for you, I think it's best to open a bug
and attach all relevant logs, including hosted-engine-setup and vdsm
logs from the host and all engine logs from the engine vm.
I can't tell from your log snippet why your new host failed to attach
to the storage domain. If it's reproducible, please check/post vdsm logs.

[1] https://www.ovirt.org/documentation/how-to/hosted-engine-host-OS-upgrade/

Is there any other option to upgrade the hypervisors ?

Even if there is another option, the fact that you can't add a host
is probably problematic in itself, no? What if you actually need to
add a host?
Did you try adding a el6 host and it did work?
Best,






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76<tel:%2B33%201%2044%2039%2077%2076>
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr<http://www.unicef.fr/>


[cid:image001.gif@01D20797.0E78A750]<https://www.unicef.fr/>








De : Yedidyah Bar David [mailto:d...@redhat.com<mailto:d...@redhat.com>]
Envoyé : lundi 5 septembre 2016 12:22

À : VONDRA Alain <avon...@unicef.fr<mailto:avon...@unicef.fr>>
Cc : Simone Tiraboschi <stira...@redhat.com<mailto:stira...@redhat.com>>; users 
<users@ovirt.org<mailto:users@ovirt.org>>
Objet : Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7

On Mon, Sep 5, 2016 at 1:11 PM, VONDRA Alain 
<avon...@unicef.fr<mailto:avon...@unicef.fr>> wrote:
Unlikely, I didn’t save them, I had to rollback the host quickly before the 
Week-end.
All that I can tell, that is all seemed to work well during the installation of 
the host, all the networks were connected to the SAN, but the host didn’t want 
to go UP, still staying unresponsive with the message below from the oVirt 
engine.
Can you assure me that the installation of a physical hypervisor with CentOS 7, 
is possible if I put it on a different cluster than the other host using CentOS 
6.8 ?

Yes, this should work.

Thanks




Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76<tel:%2B33%201%2044%2039%2077%2076>
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr<http://www.unicef.fr/>


[cid:image001.gif@01D20797.0E78A750]<https://www.unicef.fr/>








De : Yedidyah Bar David [mailto:d...@redhat.com<mailto:d...@redhat.com>]
Envoyé : dimanche 4 septembre 2016 08:50
À : VONDRA Alain <avon...@unicef.fr<mailto:avon...@unicef.fr>>
Cc : Simone Tiraboschi <stira...@redhat.com<mailto:stira...@redhat.com>>; users 
<users@ovirt.org<mailto:users@ovirt.org>>

Objet : Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7

On Fri, Sep 2, 2016 at 7:31 PM, VONDRA Alain 
<avon...@unicef.fr<mailto:avon...@unicef.fr>> wrote:
Hi,
I’ve followed this doc, and hoped to find a solution with it, so I did’nt use 
the hosted-engine –deploy command, I’ve added a new ho

Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7

2016-09-05 Thread Yedidyah Bar David
On Mon, Sep 5, 2016 at 4:34 PM, VONDRA Alain <avon...@unicef.fr> wrote:

> As you say, “This should”, but is there anybody there who tried this
> operation ?
>

When I wrote [1], it worked for me.

If something does not work for you, I think it's best to open a bug
and attach all relevant logs, including hosted-engine-setup and vdsm
logs from the host and all engine logs from the engine vm.

I can't tell from your log snippet why your new host failed to attach
to the storage domain. If it's reproducible, please check/post vdsm logs.

[1]
https://www.ovirt.org/documentation/how-to/hosted-engine-host-OS-upgrade/


> Is there any other option to upgrade the hypervisors ?
>

Even if there is another option, the fact that you can't add a host
is probably problematic in itself, no? What if you actually need to
add a host?

Did you try adding a el6 host and it did work?

Best,


>
>
>
>
> --
>
> *Alain VONDRA   *
> *Chargé d'exploitation des Systèmes d'Information   *
> *Direction Administrative et Financière*
> * +33 1 44 39 77 76 <%2B33%201%2044%2039%2077%2076> *
>
> *UNICEF France 3 rue Duguay Trouin  75006 PARIS*
> * www.unicef.fr <http://www.unicef.fr/> *
> <http://www.unicef.fr>
>
> <http://www.unicef.fr/>
>
> <http://www.unicef.fr/> <http://www.unicef.fr/> <https://www.unicef.fr/>
>
>
>
> --
> <http://www.unicef.fr>
>
> *De :* Yedidyah Bar David [mailto:d...@redhat.com]
> *Envoyé :* lundi 5 septembre 2016 12:22
>
> *À :* VONDRA Alain <avon...@unicef.fr>
> *Cc :* Simone Tiraboschi <stira...@redhat.com>; users <users@ovirt.org>
> *Objet :* Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to
> CentOS 7
>
>
>
> On Mon, Sep 5, 2016 at 1:11 PM, VONDRA Alain <avon...@unicef.fr> wrote:
>
> Unlikely, I didn’t save them, I had to rollback the host quickly before
> the Week-end.
>
> All that I can tell, that is all seemed to work well during the
> installation of the host, all the networks were connected to the SAN, but
> the host didn’t want to go UP, still staying unresponsive with the message
> below from the oVirt engine.
>
> Can you assure me that the installation of a physical hypervisor with
> CentOS 7, is possible if I put it on a different cluster than the other
> host using CentOS 6.8 ?
>
>
>
> Yes, this should work.
>
>
>
> Thanks
>
>
> --
>
> *Alain VONDRA   *
> *Chargé d'exploitation des Systèmes d'Information   *
> *Direction Administrative et Financière*
> *+33 1 44 39 77 76 <%2B33%201%2044%2039%2077%2076> *
> *UNICEF France*
> *3 rue Duguay Trouin  75006 PARIS*
> *www.unicef.fr <http://www.unicef.fr/>*
>
> <https://www.unicef.fr/>
>
>
> --
>
> *De :* Yedidyah Bar David [mailto:d...@redhat.com]
> *Envoyé :* dimanche 4 septembre 2016 08:50
> *À :* VONDRA Alain <avon...@unicef.fr>
> *Cc :* Simone Tiraboschi <stira...@redhat.com>; users <users@ovirt.org>
>
>
> *Objet :* Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to
> CentOS 7
>
>
>
> On Fri, Sep 2, 2016 at 7:31 PM, VONDRA Alain <avon...@unicef.fr> wrote:
>
> Hi,
>
> I’ve followed this doc, and hoped to find a solution with it, so I did’nt
> use the hosted-engine –deploy command, I’ve added a new host and at the end
> of the installation, the host stays unresponsive because unable to be
> attached to the same Storage volume .
>
> Engine log :
>
> 2016-09-02 16:57:01,780 ERROR [org.ovirt.engine.core.bll.InitVdsOnUpCommand]
> (org.ovirt.thread.pool-8-thread-28) Could not connect host unc-srv-hyp2
> to pool UNICEF with the message: null
>
> 2016-09-02 17:00:01,634 ERROR 
> [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand]
> (org.ovirt.thread.pool-8-thread-3) Command 
> ConnectStoragePoolVDSCommand(HostName
> = unc-srv-hyp2, HostId = ee1c57ce-1c77-47b1-b466-7bf99382dd77, vdsId =
> ee1c57ce-1c77-47b1-b466-7bf99382dd77, storagePoolId =
> 0002-0002-0002-0002-0193, masterVersion = 7) execution
> failed. Exception: IRSNoMasterDomainException: IRSGenericException:
> IRSErrorException: IRSNoMasterDomainException: Cannot find master domain:
> u'spUUID=0002-0002-0002-0002-0193, msdUUID=cc9ab4b2-9880-427b-
> 8f3b-61f03e520cbc'
>
>
>
> Please check/post vdsm logs from the host. Thanks.
>
>
>
>
>
>
>
>
> --
>
> *Alain VONDRA   *
> *Chargé d'exploitation des Systèmes d'Information       *
> *Direction Administrative et Financière*
>

Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7

2016-09-05 Thread VONDRA Alain
As you say, “This should”, but is there anybody there who tried this operation ?
Is there any other option to upgrade the hypervisors ?






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr<http://www.unicef.fr/>

<http://www.unicef.fr>

<http://www.unicef.fr/>

<http://www.unicef.fr/><http://www.unicef.fr/>[cid:signature_Unicef-France_a0c5ef98-a0b5-4b96-9e15-f37a03a75cb1.gif]<https://www.unicef.fr/>







<http://www.unicef.fr>


De : Yedidyah Bar David [mailto:d...@redhat.com]
Envoyé : lundi 5 septembre 2016 12:22
À : VONDRA Alain <avon...@unicef.fr>
Cc : Simone Tiraboschi <stira...@redhat.com>; users <users@ovirt.org>
Objet : Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7

On Mon, Sep 5, 2016 at 1:11 PM, VONDRA Alain 
<avon...@unicef.fr<mailto:avon...@unicef.fr>> wrote:
Unlikely, I didn’t save them, I had to rollback the host quickly before the 
Week-end.
All that I can tell, that is all seemed to work well during the installation of 
the host, all the networks were connected to the SAN, but the host didn’t want 
to go UP, still staying unresponsive with the message below from the oVirt 
engine.
Can you assure me that the installation of a physical hypervisor with CentOS 7, 
is possible if I put it on a different cluster than the other host using CentOS 
6.8 ?

Yes, this should work.

Thanks




Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76<tel:%2B33%201%2044%2039%2077%2076>
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr<http://www.unicef.fr/>


[cid:image001.gif@01D2078B.0AA94640]<https://www.unicef.fr/>








De : Yedidyah Bar David [mailto:d...@redhat.com<mailto:d...@redhat.com>]
Envoyé : dimanche 4 septembre 2016 08:50
À : VONDRA Alain <avon...@unicef.fr<mailto:avon...@unicef.fr>>
Cc : Simone Tiraboschi <stira...@redhat.com<mailto:stira...@redhat.com>>; users 
<users@ovirt.org<mailto:users@ovirt.org>>

Objet : Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7

On Fri, Sep 2, 2016 at 7:31 PM, VONDRA Alain 
<avon...@unicef.fr<mailto:avon...@unicef.fr>> wrote:
Hi,
I’ve followed this doc, and hoped to find a solution with it, so I did’nt use 
the hosted-engine –deploy command, I’ve added a new host and at the end of the 
installation, the host stays unresponsive because unable to be attached to the 
same Storage volume .
Engine log :
2016-09-02 16:57:01,780 ERROR [org.ovirt.engine.core.bll.InitVdsOnUpCommand] 
(org.ovirt.thread.pool-8-thread-28) Could not connect host unc-srv-hyp2 to pool 
UNICEF with the message: null
2016-09-02 17:00:01,634 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] 
(org.ovirt.thread.pool-8-thread-3) Command 
ConnectStoragePoolVDSCommand(HostName = unc-srv-hyp2, HostId = 
ee1c57ce-1c77-47b1-b466-7bf99382dd77, vdsId = 
ee1c57ce-1c77-47b1-b466-7bf99382dd77, storagePoolId = 
0002-0002-0002-0002-0193, masterVersion = 7) execution failed. 
Exception: IRSNoMasterDomainException: IRSGenericException: IRSErrorException: 
IRSNoMasterDomainException: Cannot find master domain: 
u'spUUID=0002-0002-0002-0002-0193, 
msdUUID=cc9ab4b2-9880-427b-8f3b-61f03e520cbc'

Please check/post vdsm logs from the host. Thanks.







Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76<tel:%2B33%201%2044%2039%2077%2076>
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr<http://www.unicef.fr/>


[cid:image001.gif@01D2078B.0AA94640]<https://www.unicef.fr/>








De : Simone Tiraboschi [mailto:stira...@redhat.com<mailto:stira...@redhat.com>]
Envoyé : vendredi 2 septembre 2016 18:20
À : VONDRA Alain <avon...@unicef.fr<mailto:avon...@unicef.fr>>
Cc : Nir Soffer <nsof...@redhat.com<mailto:nsof...@redhat.com>>; users 
<users@ovirt.org<mailto:users@ovirt.org>>
Objet : Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7



On Fri, Sep 2, 2016 at 5:21 PM, VONDRA Alain 
<avon...@unicef.fr<mailto:avon...@unicef.fr>> wrote:
Hi,
I'd like to upgrade my oVirt environment from 3.5 to 3.6 and maybe 4, actually 
the manager oVirt is un 3.5 version, installed on a CentOS 7.2 and the two 
hypervisors are installed on CentOS 6.8.
I need anyway to upgrade the hosts to be able to move to 3.6.
I've tried to upgrade the first host, but I had of course issues telling that 
it can't be possible to mix diffe

Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7

2016-09-05 Thread Yedidyah Bar David
On Mon, Sep 5, 2016 at 1:11 PM, VONDRA Alain <avon...@unicef.fr> wrote:

> Unlikely, I didn’t save them, I had to rollback the host quickly before
> the Week-end.
>
> All that I can tell, that is all seemed to work well during the
> installation of the host, all the networks were connected to the SAN, but
> the host didn’t want to go UP, still staying unresponsive with the message
> below from the oVirt engine.
>
> Can you assure me that the installation of a physical hypervisor with
> CentOS 7, is possible if I put it on a different cluster than the other
> host using CentOS 6.8 ?
>

Yes, this should work.


> Thanks
>
>
>
> --
>
> *Alain VONDRA   *
> *Chargé d'exploitation des Systèmes d'Information   *
> *Direction Administrative et Financière*
> * +33 1 44 39 77 76 <%2B33%201%2044%2039%2077%2076> *
>
> *UNICEF France 3 rue Duguay Trouin  75006 PARIS*
> * www.unicef.fr <http://www.unicef.fr/> *
> <http://www.unicef.fr>
>
> <http://www.unicef.fr/>
>
> <http://www.unicef.fr/> <http://www.unicef.fr/> <https://www.unicef.fr/>
>
>
>
> --
> <http://www.unicef.fr>
>
> *De :* Yedidyah Bar David [mailto:d...@redhat.com]
> *Envoyé :* dimanche 4 septembre 2016 08:50
> *À :* VONDRA Alain <avon...@unicef.fr>
> *Cc :* Simone Tiraboschi <stira...@redhat.com>; users <users@ovirt.org>
>
> *Objet :* Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to
> CentOS 7
>
>
>
> On Fri, Sep 2, 2016 at 7:31 PM, VONDRA Alain <avon...@unicef.fr> wrote:
>
> Hi,
>
> I’ve followed this doc, and hoped to find a solution with it, so I did’nt
> use the hosted-engine –deploy command, I’ve added a new host and at the end
> of the installation, the host stays unresponsive because unable to be
> attached to the same Storage volume .
>
> Engine log :
>
> 2016-09-02 16:57:01,780 ERROR [org.ovirt.engine.core.bll.InitVdsOnUpCommand]
> (org.ovirt.thread.pool-8-thread-28) Could not connect host unc-srv-hyp2
> to pool UNICEF with the message: null
>
> 2016-09-02 17:00:01,634 ERROR 
> [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand]
> (org.ovirt.thread.pool-8-thread-3) Command 
> ConnectStoragePoolVDSCommand(HostName
> = unc-srv-hyp2, HostId = ee1c57ce-1c77-47b1-b466-7bf99382dd77, vdsId =
> ee1c57ce-1c77-47b1-b466-7bf99382dd77, storagePoolId =
> 0002-0002-0002-0002-0193, masterVersion = 7) execution
> failed. Exception: IRSNoMasterDomainException: IRSGenericException:
> IRSErrorException: IRSNoMasterDomainException: Cannot find master domain:
> u'spUUID=0002-0002-0002-0002-0193, msdUUID=cc9ab4b2-9880-427b-
> 8f3b-61f03e520cbc'
>
>
>
> Please check/post vdsm logs from the host. Thanks.
>
>
>
>
>
>
>
>
> --
>
> *Alain VONDRA   *
> *Chargé d'exploitation des Systèmes d'Information   *
> *Direction Administrative et Financière*
> *+33 1 44 39 77 76 <%2B33%201%2044%2039%2077%2076> *
> *UNICEF France*
> *3 rue Duguay Trouin  75006 PARIS*
> *www.unicef.fr <http://www.unicef.fr/>*
>
> <https://www.unicef.fr/>
>
>
> --
>
> *De :* Simone Tiraboschi [mailto:stira...@redhat.com]
> *Envoyé :* vendredi 2 septembre 2016 18:20
> *À :* VONDRA Alain <avon...@unicef.fr>
> *Cc :* Nir Soffer <nsof...@redhat.com>; users <users@ovirt.org>
> *Objet :* Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to
> CentOS 7
>
>
>
>
>
>
>
> On Fri, Sep 2, 2016 at 5:21 PM, VONDRA Alain <avon...@unicef.fr> wrote:
>
> Hi,
> I'd like to upgrade my oVirt environment from 3.5 to 3.6 and maybe 4,
> actually the manager oVirt is un 3.5 version, installed on a CentOS 7.2 and
> the two hypervisors are installed on CentOS 6.8.
> I need anyway to upgrade the hosts to be able to move to 3.6.
> I've tried to upgrade the first host, but I had of course issues telling
> that it can't be possible to mix different OS in the same cluster, I've
> also tried to create another cluster to put this host without success.
> What is the best way to upgrade cleanly and safely ?
> Thank you in advance for your advices
>
>
>
> Follow this:
>
> https://www.ovirt.org/documentation/how-to/hosted-engine-host-OS-upgrade/
>
>
>
> Simply ignore the steps that refers to the engine VM if you are with the
> engine on a physical system.
>
>
>
>
> Alain VONDRA
>
> Chargé d'exploitation des Systèmes d'Information
> Direction Administrative et Financière
> +33 1 44 39 77 76
>
> UNICEF France
> 3 rue Duguay Trouin  75006
> PARIS
> www.unicef.fr
>
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
>
> --
>
> Didi
>



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


Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7

2016-09-05 Thread VONDRA Alain
Unlikely, I didn’t save them, I had to rollback the host quickly before the 
Week-end.
All that I can tell, that is all seemed to work well during the installation of 
the host, all the networks were connected to the SAN, but the host didn’t want 
to go UP, still staying unresponsive with the message below from the oVirt 
engine.
Can you assure me that the installation of a physical hypervisor with CentOS 7, 
is possible if I put it on a different cluster than the other host using CentOS 
6.8 ?
Thanks





Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr<http://www.unicef.fr/>

<http://www.unicef.fr>

<http://www.unicef.fr/>

<http://www.unicef.fr/><http://www.unicef.fr/>[cid:signature_Unicef-France_a0c5ef98-a0b5-4b96-9e15-f37a03a75cb1.gif]<https://www.unicef.fr/>







<http://www.unicef.fr>


De : Yedidyah Bar David [mailto:d...@redhat.com]
Envoyé : dimanche 4 septembre 2016 08:50
À : VONDRA Alain <avon...@unicef.fr>
Cc : Simone Tiraboschi <stira...@redhat.com>; users <users@ovirt.org>
Objet : Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7

On Fri, Sep 2, 2016 at 7:31 PM, VONDRA Alain 
<avon...@unicef.fr<mailto:avon...@unicef.fr>> wrote:
Hi,
I’ve followed this doc, and hoped to find a solution with it, so I did’nt use 
the hosted-engine –deploy command, I’ve added a new host and at the end of the 
installation, the host stays unresponsive because unable to be attached to the 
same Storage volume .
Engine log :
2016-09-02 16:57:01,780 ERROR [org.ovirt.engine.core.bll.InitVdsOnUpCommand] 
(org.ovirt.thread.pool-8-thread-28) Could not connect host unc-srv-hyp2 to pool 
UNICEF with the message: null
2016-09-02 17:00:01,634 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] 
(org.ovirt.thread.pool-8-thread-3) Command 
ConnectStoragePoolVDSCommand(HostName = unc-srv-hyp2, HostId = 
ee1c57ce-1c77-47b1-b466-7bf99382dd77, vdsId = 
ee1c57ce-1c77-47b1-b466-7bf99382dd77, storagePoolId = 
0002-0002-0002-0002-0193, masterVersion = 7) execution failed. 
Exception: IRSNoMasterDomainException: IRSGenericException: IRSErrorException: 
IRSNoMasterDomainException: Cannot find master domain: 
u'spUUID=0002-0002-0002-0002-0193, 
msdUUID=cc9ab4b2-9880-427b-8f3b-61f03e520cbc'

Please check/post vdsm logs from the host. Thanks.







Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76<tel:%2B33%201%2044%2039%2077%2076>
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr<http://www.unicef.fr/>


[cid:image001.gif@01D2076E.98ACBCA0]<https://www.unicef.fr/>








De : Simone Tiraboschi [mailto:stira...@redhat.com<mailto:stira...@redhat.com>]
Envoyé : vendredi 2 septembre 2016 18:20
À : VONDRA Alain <avon...@unicef.fr<mailto:avon...@unicef.fr>>
Cc : Nir Soffer <nsof...@redhat.com<mailto:nsof...@redhat.com>>; users 
<users@ovirt.org<mailto:users@ovirt.org>>
Objet : Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7



On Fri, Sep 2, 2016 at 5:21 PM, VONDRA Alain 
<avon...@unicef.fr<mailto:avon...@unicef.fr>> wrote:
Hi,
I'd like to upgrade my oVirt environment from 3.5 to 3.6 and maybe 4, actually 
the manager oVirt is un 3.5 version, installed on a CentOS 7.2 and the two 
hypervisors are installed on CentOS 6.8.
I need anyway to upgrade the hosts to be able to move to 3.6.
I've tried to upgrade the first host, but I had of course issues telling that 
it can't be possible to mix different OS in the same cluster, I've also tried 
to create another cluster to put this host without success.
What is the best way to upgrade cleanly and safely ?
Thank you in advance for your advices

Follow this:
https://www.ovirt.org/documentation/how-to/hosted-engine-host-OS-upgrade/

Simply ignore the steps that refers to the engine VM if you are with the engine 
on a physical system.


Alain VONDRA

Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76<tel:%2B33%201%2044%2039%2077%2076>

UNICEF France
3 rue Duguay Trouin  75006
PARIS
www.unicef.fr<http://www.unicef.fr>


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



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


Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7

2016-09-04 Thread Yedidyah Bar David
On Fri, Sep 2, 2016 at 7:31 PM, VONDRA Alain <avon...@unicef.fr> wrote:

> Hi,
>
> I’ve followed this doc, and hoped to find a solution with it, so I did’nt
> use the hosted-engine –deploy command, I’ve added a new host and at the end
> of the installation, the host stays unresponsive because unable to be
> attached to the same Storage volume .
>
> Engine log :
>
> 2016-09-02 16:57:01,780 ERROR [org.ovirt.engine.core.bll.InitVdsOnUpCommand]
> (org.ovirt.thread.pool-8-thread-28) Could not connect host unc-srv-hyp2
> to pool UNICEF with the message: null
>
> 2016-09-02 17:00:01,634 ERROR 
> [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand]
> (org.ovirt.thread.pool-8-thread-3) Command 
> ConnectStoragePoolVDSCommand(HostName
> = unc-srv-hyp2, HostId = ee1c57ce-1c77-47b1-b466-7bf99382dd77, vdsId =
> ee1c57ce-1c77-47b1-b466-7bf99382dd77, storagePoolId =
> 0002-0002-0002-0002-0193, masterVersion = 7) execution
> failed. Exception: IRSNoMasterDomainException: IRSGenericException:
> IRSErrorException: IRSNoMasterDomainException: Cannot find master domain:
> u'spUUID=0002-0002-0002-0002-0193, msdUUID=cc9ab4b2-9880-427b-
> 8f3b-61f03e520cbc'
>

Please check/post vdsm logs from the host. Thanks.


>
>
>
>
>
>
> --
>
> *Alain VONDRA   *
> *Chargé d'exploitation des Systèmes d'Information   *
> *Direction Administrative et Financière*
> * +33 1 44 39 77 76 <%2B33%201%2044%2039%2077%2076> *
>
> *UNICEF France 3 rue Duguay Trouin  75006 PARIS*
> * www.unicef.fr <http://www.unicef.fr/> *
> <http://www.unicef.fr>
>
> <http://www.unicef.fr/>
>
> <http://www.unicef.fr/> <http://www.unicef.fr/> <https://www.unicef.fr/>
>
>
>
> --
> <http://www.unicef.fr>
>
> *De :* Simone Tiraboschi [mailto:stira...@redhat.com]
> *Envoyé :* vendredi 2 septembre 2016 18:20
> *À :* VONDRA Alain <avon...@unicef.fr>
> *Cc :* Nir Soffer <nsof...@redhat.com>; users <users@ovirt.org>
> *Objet :* Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to
> CentOS 7
>
>
>
>
>
>
>
> On Fri, Sep 2, 2016 at 5:21 PM, VONDRA Alain <avon...@unicef.fr> wrote:
>
> Hi,
> I'd like to upgrade my oVirt environment from 3.5 to 3.6 and maybe 4,
> actually the manager oVirt is un 3.5 version, installed on a CentOS 7.2 and
> the two hypervisors are installed on CentOS 6.8.
> I need anyway to upgrade the hosts to be able to move to 3.6.
> I've tried to upgrade the first host, but I had of course issues telling
> that it can't be possible to mix different OS in the same cluster, I've
> also tried to create another cluster to put this host without success.
> What is the best way to upgrade cleanly and safely ?
> Thank you in advance for your advices
>
>
>
> Follow this:
>
> https://www.ovirt.org/documentation/how-to/hosted-engine-host-OS-upgrade/
>
>
>
> Simply ignore the steps that refers to the engine VM if you are with the
> engine on a physical system.
>
>
>
>
> Alain VONDRA
>
> Chargé d'exploitation des Systèmes d'Information
> Direction Administrative et Financière
> +33 1 44 39 77 76
>
> UNICEF France
> 3 rue Duguay Trouin  75006
> PARIS
> www.unicef.fr
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


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


  1   2   >