[ovirt-users] Two or more mount process running for engine volume

2016-05-03 Thread knarra

Hi All,

I have hosted engine setup with glusterfs as my storage domain. 
when i move a storage domain to maintenance and activate it again i see 
that there are two glusterfs process running for every storage domain. 
Is this expected behaviour or a bug ?


root 27143  0.0  0.0 451308 40556 ?S/usr/sbin/glusterfs --volfile-server= 
--volfile-server= --volfile-server= 
--volfile-id=/vmstore /rhev/data-center/mnt/glusterSD/:_vmstore
root 28125 27.7  0.0 584512 49824 ?S/usr/sbin/glusterfs --volfile-server= 
--volfile-server= --volfile-server= 
--volfile-id=/vmstore /rhev/data-center/mnt/glusterSD/:_vmstore


Can some please help me in understanding this?

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


Re: [ovirt-users] hosted-engine setup Gluster fails to execute

2016-05-03 Thread Langley, Robert
Outstanding! Thank you Sahina! Your assistance is much appreciated.
When I saw your email it reminded me that the versions were different and I was 
having an issue with reaching the internet from the engine storage servers. A 
DNS issue between my private DNS server and my organization's DNS server. I 
figured out a workaround and found that I had to install the ovirt release36 
rpm repository also. Since my host server had 3.7 (since it had the oVirt 
release36 rpm repository) and my engine storage would only upgrade to the 
latest 3.6 GlusterFS version. All are now at Glusterfs 3.7.11 and working. I 
got past the storage configuration.

From: Sahina Bose [mailto:sab...@redhat.com]
Sent: Monday, May 2, 2016 11:24 PM
To: Langley, Robert ; users@ovirt.org
Subject: Re: [ovirt-users] hosted-engine setup Gluster fails to execute

Command that failed to execute from your hosted-engine node - "gluster volume 
info engine-vol --remote-host gsave0.engine.local"

Can you check the glusterfs versions on the hosted-engine node and 
gsave0.engine.local node - are they the same?
On 05/02/2016 11:08 PM, Langley, Robert wrote:
Hi Sahina,

Thank you for your response. Let me know if you'll need any of the log before 
the Storage Configuration section. I looked at this earlier and I was wondering 
why, after choosing to use GlusterFS, there is still reference to NFS (nfs.py)? 
I do believe NFS is disabled in my Gluster config for the engine cluster. 
-Robert

2016-05-02 09:16:53 DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:219 DIALOG:SEND --== STORAGE CONFIGURATION 
==--
2016-05-02 09:16:53 DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:219 DIALOG:SEND
2016-05-02 09:16:53 DEBUG otopi.context context._executeMethod:142 Stage 
customization METHOD 
otopi.plugins.ovirt_hosted_engine_setup.storage.storage.Plugin._early_customization
2016-05-02 09:16:53 DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:219 DIALOG:SEND During customization use 
CTRL-D to abort.
2016-05-02 09:16:53 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.storage 
storage._check_existing_pools:1100 _check_existing_pools
2016-05-02 09:16:53 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.storage 
storage._check_existing_pools:1101 getConnectedStoragePoolsList
2016-05-02 09:16:53 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.storage 
storage._check_existing_pools:1103 {'status': {'message': 'OK', 'code': 0}, 
'poollist': []}
2016-05-02 09:16:53 DEBUG otopi.plugins.otopi.dialog.human 
human.queryString:156 query OVEHOSTED_STORAGE_DOMAIN_TYPE
2016-05-02 09:16:53 DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:219 DIALOG:SEND Please specify the storage 
you would like to use (glusterfs, iscsi, fc, nfs3, nfs4)[nfs3]:
2016-05-02 09:16:59 DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:219 DIALOG:RECEIVEglusterfs
2016-05-02 09:16:59 DEBUG otopi.context context.dumpEnvironment:500 ENVIRONMENT 
DUMP - BEGIN
2016-05-02 09:16:59 DEBUG otopi.context context.dumpEnvironment:510 ENV 
OVEHOSTED_STORAGE/domainType=str:'glusterfs'
2016-05-02 09:16:59 DEBUG otopi.context context.dumpEnvironment:514 ENVIRONMENT 
DUMP - END
2016-05-02 09:16:59 DEBUG otopi.context context._executeMethod:142 Stage 
customization METHOD 
otopi.plugins.ovirt_hosted_engine_setup.storage.glusterfs.Plugin._customization
2016-05-02 09:16:59 DEBUG otopi.context context._executeMethod:142 Stage 
customization METHOD 
otopi.plugins.ovirt_hosted_engine_setup.storage.glusterfs.Plugin._brick_customization
2016-05-02 09:16:59 DEBUG otopi.context context._executeMethod:148 condition 
False
2016-05-02 09:16:59 DEBUG otopi.context context._executeMethod:142 Stage 
customization METHOD 
otopi.plugins.ovirt_hosted_engine_setup.storage.nfs.Plugin._customization
2016-05-02 09:16:59 INFO otopi.plugins.ovirt_hosted_engine_setup.storage.nfs 
nfs._customization:360 Please note that Replica 3 support is required for the 
shared storage.
2016-05-02 09:16:59 DEBUG otopi.plugins.otopi.dialog.human 
human.queryString:156 query OVEHOSTED_STORAGE_DOMAIN_CONNECTION
2016-05-02 09:16:59 DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:219 DIALOG:SEND Please specify the full 
shared storage connection path to use (example: host:/path):
2016-05-02 09:17:22 DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:219 DIALOG:RECEIVEgsave0.engine.local:/engine-vol
2016-05-02 09:17:22 DEBUG otopi.plugins.ovirt_hosted_engine_setup.storage.nfs 
plugin.executeRaw:828 execute: ('/sbin/gluster', '--mode=script', '--xml', 
'volume', 'info', 'engine-vol', '--remote-host=gsave0.engine.local'), 
executable='None', cwd='None', env=None
2016-05-02 09:17:22 DEBUG otopi.plugins.ovirt_hosted_engine_setup.storage.nfs 
plugin.executeRaw:878 execute-result: ('/sbin/gluster', '--mode=script', 
'--xml', 'volume', 'info', 'engine-vol', 

Re: [ovirt-users] hosted-engine setup Gluster fails to execute

2016-05-03 Thread Langley, Robert
Thank you Simone!

-Original Message-
From: Simone Tiraboschi [mailto:stira...@redhat.com] 
Sent: Tuesday, May 3, 2016 12:34 AM
To: Langley, Robert 
Cc: users@ovirt.org
Subject: Re: [ovirt-users] hosted-engine setup Gluster fails to execute

On Mon, May 2, 2016 at 7:38 PM, Langley, Robert  
wrote:
> Hi Sahina,
>
>
>
> Thank you for your response. Let me know if you’ll need any of the log 
> before the Storage Configuration section. I looked at this earlier and 
> I was wondering why, after choosing to use GlusterFS, there is still 
> reference to NFS (nfs.py)?

It's just an implementation detail of hosted-engine-setup:
iSCSI an FC commands are define in blockd.py while commands for file based 
storage domains (NFS and gluster) are defined in nfs.py.

> I do believe NFS is disabled in my Gluster config for the engine 
> cluster. -Robert
>
>
>
> 2016-05-02 09:16:53 DEBUG otopi.plugins.otopi.dialog.human
> dialog.__logString:219 DIALOG:SEND --== STORAGE
> CONFIGURATION ==--
>
> 2016-05-02 09:16:53 DEBUG otopi.plugins.otopi.dialog.human
> dialog.__logString:219 DIALOG:SEND
>
> 2016-05-02 09:16:53 DEBUG otopi.context context._executeMethod:142 
> Stage customization METHOD 
> otopi.plugins.ovirt_hosted_engine_setup.storage.storage.Plugin._early_
> customization
>
> 2016-05-02 09:16:53 DEBUG otopi.plugins.otopi.dialog.human
> dialog.__logString:219 DIALOG:SEND During customization use
> CTRL-D to abort.
>
> 2016-05-02 09:16:53 DEBUG
> otopi.plugins.ovirt_hosted_engine_setup.storage.storage
> storage._check_existing_pools:1100 _check_existing_pools
>
> 2016-05-02 09:16:53 DEBUG
> otopi.plugins.ovirt_hosted_engine_setup.storage.storage
> storage._check_existing_pools:1101 getConnectedStoragePoolsList
>
> 2016-05-02 09:16:53 DEBUG
> otopi.plugins.ovirt_hosted_engine_setup.storage.storage
> storage._check_existing_pools:1103 {'status': {'message': 'OK', 
> 'code': 0},
> 'poollist': []}
>
> 2016-05-02 09:16:53 DEBUG otopi.plugins.otopi.dialog.human
> human.queryString:156 query OVEHOSTED_STORAGE_DOMAIN_TYPE
>
> 2016-05-02 09:16:53 DEBUG otopi.plugins.otopi.dialog.human
> dialog.__logString:219 DIALOG:SEND Please specify the
> storage you would like to use (glusterfs, iscsi, fc, nfs3, nfs4)[nfs3]:
>
> 2016-05-02 09:16:59 DEBUG otopi.plugins.otopi.dialog.human
> dialog.__logString:219 DIALOG:RECEIVEglusterfs
>
> 2016-05-02 09:16:59 DEBUG otopi.context context.dumpEnvironment:500 
> ENVIRONMENT DUMP - BEGIN
>
> 2016-05-02 09:16:59 DEBUG otopi.context context.dumpEnvironment:510 
> ENV OVEHOSTED_STORAGE/domainType=str:'glusterfs'
>
> 2016-05-02 09:16:59 DEBUG otopi.context context.dumpEnvironment:514 
> ENVIRONMENT DUMP - END
>
> 2016-05-02 09:16:59 DEBUG otopi.context context._executeMethod:142 
> Stage customization METHOD 
> otopi.plugins.ovirt_hosted_engine_setup.storage.glusterfs.Plugin._cust
> omization
>
> 2016-05-02 09:16:59 DEBUG otopi.context context._executeMethod:142 
> Stage customization METHOD 
> otopi.plugins.ovirt_hosted_engine_setup.storage.glusterfs.Plugin._bric
> k_customization
>
> 2016-05-02 09:16:59 DEBUG otopi.context context._executeMethod:148 
> condition False
>
> 2016-05-02 09:16:59 DEBUG otopi.context context._executeMethod:142 
> Stage customization METHOD 
> otopi.plugins.ovirt_hosted_engine_setup.storage.nfs.Plugin._customizat
> ion
>
> 2016-05-02 09:16:59 INFO 
> otopi.plugins.ovirt_hosted_engine_setup.storage.nfs
> nfs._customization:360 Please note that Replica 3 support is required 
> for the shared storage.
>
> 2016-05-02 09:16:59 DEBUG otopi.plugins.otopi.dialog.human
> human.queryString:156 query OVEHOSTED_STORAGE_DOMAIN_CONNECTION
>
> 2016-05-02 09:16:59 DEBUG otopi.plugins.otopi.dialog.human
> dialog.__logString:219 DIALOG:SEND Please specify the full
> shared storage connection path to use (example: host:/path):
>
> 2016-05-02 09:17:22 DEBUG otopi.plugins.otopi.dialog.human
> dialog.__logString:219 DIALOG:RECEIVEgsave0.engine.local:/engine-vol
>
> 2016-05-02 09:17:22 DEBUG
> otopi.plugins.ovirt_hosted_engine_setup.storage.nfs 
> plugin.executeRaw:828
> execute: ('/sbin/gluster', '--mode=script', '--xml', 'volume', 'info', 
> 'engine-vol', '--remote-host=gsave0.engine.local'), executable='None', 
> cwd='None', env=None
>
> 2016-05-02 09:17:22 DEBUG
> otopi.plugins.ovirt_hosted_engine_setup.storage.nfs 
> plugin.executeRaw:878
> execute-result: ('/sbin/gluster', '--mode=script', '--xml', 'volume', 
> 'info', 'engine-vol', '--remote-host=gsave0.engine.local'), rc=2
>
> 2016-05-02 09:17:22 DEBUG
> otopi.plugins.ovirt_hosted_engine_setup.storage.nfs plugin.execute:936
> execute-output: ('/sbin/gluster', '--mode=script', '--xml', 'volume', 
> 'info', 'engine-vol', '--remote-host=gsave0.engine.local') stdout:
>
>
>
>
>
> 2016-05-02 09:17:22 DEBUG
> otopi.plugins.ovirt_hosted_engine_setup.storage.nfs plugin.execute:941
> execute-output: 

Re: [ovirt-users] Snapshot is "Locked" - Can't do anything with the VM

2016-05-03 Thread Ivo Rütsche


I just do a full clone of the whole VM and the clone is running fine and 
have the last data on all disks.


gruss ivo


On 03.05.2016 20:12, Markus Stockhausen wrote:

Hi,

we've seen a lot of trouble when deleting snapshots of multidisk VMs.
Especially endless running snapshot deletions is one of our culprits.
More here: https://bugzilla.redhat.com/show_bug.cgi?id=1319400

Markus

Von: users-boun...@ovirt.org [users-boun...@ovirt.org] im Auftrag von 
Ivo Rütsche [lists.ovirt@direct.ruetsche.com]
Gesendet: Dienstag, 3. Mai 2016 19:23
An: users@ovirt.org
Betreff: [ovirt-users] Snapshot is "Locked" - Can't do anything with the VM

Hi oVirt List

We have the problem, that two of our VM's have "Locked" snapshots and we
can't go forward. From 10 VM's which we move from one store to another,
we have problems with 5 of them to delete the snapshots. But with a lot
of luck, the snapshot was always on the dedicated Swap-Disk, so we just
have to remove the whole disk and create it again as new.

Because we replace all the filers, we have to move the VM's arround. The
move itself runns fine, but deleting the snapshots doesn't work sometimes.

I found a lot about our problem, but I can't find any solution, which
works an our environment.

Our setup:
- 3 Solaris filer with NFS exports for the hosts for the vm-images
- 8 hosts (oVirt 3.6 / Centos 7.2.1511)
- The engine host is located outside of the DC, connected via VPN

At the moment, one of the "problem-VM" is productive, the other should
become productive in the next days, so we focus us to the 2nd VM,
because we can play arround with them. The other one is startet up, but
i have no idea, what happens, when i shut them down...

This is the status today of VM, which is not productive at the moment:
- VM Status: Down
- Snapshots OK: 2
- Snapshots Locked: 1
- In the snapshot tab, everything is grayed out (Create, Preview,
Commit, Undo etc.)
- No active tasks are displayed

Error message when i try to start the VM:
"Cannot run VM. The VM is performing an operation on a Snapshot. Please
wait for the operation to finish, and try again."

Something about the history of this VM:
1. We start the disk move from filer1 to filer3, totaly 4 drives,
everything was fine
2. Deleting snapshots, i think one or two runns fine
3. Deleting the 2nd or 3rd snapshot runs two days without an end
4. Rebooting the Engine
5. No task anymore in the Tasks list
6. The status of the snapshot is "Locked", die Disk of this snapshot
becoms "Illegal" and red
7. Shutdown the VM -  no luck, i can't start it again --> "Cannot run
VM. The VM is performing an operation on a Snapshot. Please wait for the
operation to finish, and try again."
8. We move the disk back from filer3 to the filer1
9. The status of the snapshot is "Locked", die Disk of this snapshot
becoms "OK" and green
...but i can't delete the snapshot or starting the VM :(

Today, i copy the image files to a dedicated KVM host, which is not
involved in the oVirt environment and i merge the image manualy together:
qemu-img convert -p -f qcow2 804ffcc3-446f-4c56-ba99-ab90c7951a6f -O raw
Merged1

I mount the image and everything fine, all the changes from the last two
days are now in a base image. I try to remove the whole disk in oVirt,
but i still got the error message, that i have to wait. So for me, the
next step is to create a new VM and migrate everything manualy, this
will work, but can't be the solution for the other VM, which is
productive and it have the same problem.



Some information about:

*
[root@lin-ovirt7 images]# vdsm-tool dump-volume-chains
d6e6656d-7aaf-4c5b-bb93-cd6134ed9654

Images volume chains (base volume first)

 image:f3cfefd2-d467-41d5-a054-5b01f81a21b4

   - a018521a-bd3a-4322-ac79-52d15e95639e
 status: OK, voltype: INTERNAL, format: RAW, legality:
LEGAL, type: SPARSE

   - 2e2f0b4a-b015-4b50-8d10-51726de460a9
 status: OK, voltype: INTERNAL, format: COW, legality:
LEGAL, type: SPARSE

   - 804ffcc3-446f-4c56-ba99-ab90c7951a6f
 status: OK, voltype: LEAF, format: COW, legality: LEGAL,
type: SPARSE
*
[root@lin-ovirt7 images]# ls -altrh f3cfefd2-d467-41d5-a054-5b01f81a21b4/
total 34G
-rw-rw+  1 vdsm kvm 1.0M  2. Mai 21:03
a018521a-bd3a-4322-ac79-52d15e95639e.lease
-rw-rw+  1 vdsm kvm 1.0M  2. Mai 21:03
2e2f0b4a-b015-4b50-8d10-51726de460a9.lease
-rw-r--r--+  1 vdsm kvm  260  2. Mai 21:03
804ffcc3-446f-4c56-ba99-ab90c7951a6f.meta
-rw-rw+  1 vdsm kvm 1.0M  2. Mai 21:03
804ffcc3-446f-4c56-ba99-ab90c7951a6f.lease
-rw-rw+  1 vdsm kvm 300G  2. Mai 22:26
a018521a-bd3a-4322-ac79-52d15e95639e
-rw-rw+  1 vdsm kvm  77M  2. Mai 22:27
2e2f0b4a-b015-4b50-8d10-51726de460a9
-rw-rw+  1 vdsm kvm 3.5G  2. Mai 22:34
804ffcc3-446f-4c56-ba99-ab90c7951a6f
-rw-r--r--+  1 vdsm kvm  364  2. Mai 22:34
a018521a-bd3a-4322-ac79-52d15e95639e.meta
-rw-r--r--+  1 

Re: [ovirt-users] Snapshot is "Locked" - Can't do anything with the VM

2016-05-03 Thread Ivo Rütsche


Salü Markus

Yes, i saw also some postings arround, but no solution and all of them 
was a bit different than our situation.


The VM is always responsible, as long as we don't shut it down.

I need to have a focus on it, but I think when I do it like this:

delete all snapshots
moving 1st Disk -> delete snapshot
moving 2nd Disk -> delete snapshot
moving 3rd Disk -> delete snapshot

I don't get in troubles, than I move all the disk and then I remove all 
the snapshots.


Maybe I can deliver more logs to help to solve the problem?

gruss ivo



On 03.05.2016 20:12, Markus Stockhausen wrote:

Hi,

we've seen a lot of trouble when deleting snapshots of multidisk VMs.
Especially endless running snapshot deletions is one of our culprits.
More here: https://bugzilla.redhat.com/show_bug.cgi?id=1319400

Markus

Von: users-boun...@ovirt.org [users-boun...@ovirt.org] im Auftrag von 
Ivo Rütsche [lists.ovirt@direct.ruetsche.com]
Gesendet: Dienstag, 3. Mai 2016 19:23
An: users@ovirt.org
Betreff: [ovirt-users] Snapshot is "Locked" - Can't do anything with the VM

Hi oVirt List

We have the problem, that two of our VM's have "Locked" snapshots and we
can't go forward. From 10 VM's which we move from one store to another,
we have problems with 5 of them to delete the snapshots. But with a lot
of luck, the snapshot was always on the dedicated Swap-Disk, so we just
have to remove the whole disk and create it again as new.

Because we replace all the filers, we have to move the VM's arround. The
move itself runns fine, but deleting the snapshots doesn't work sometimes.

I found a lot about our problem, but I can't find any solution, which
works an our environment.

Our setup:
- 3 Solaris filer with NFS exports for the hosts for the vm-images
- 8 hosts (oVirt 3.6 / Centos 7.2.1511)
- The engine host is located outside of the DC, connected via VPN

At the moment, one of the "problem-VM" is productive, the other should
become productive in the next days, so we focus us to the 2nd VM,
because we can play arround with them. The other one is startet up, but
i have no idea, what happens, when i shut them down...

This is the status today of VM, which is not productive at the moment:
- VM Status: Down
- Snapshots OK: 2
- Snapshots Locked: 1
- In the snapshot tab, everything is grayed out (Create, Preview,
Commit, Undo etc.)
- No active tasks are displayed

Error message when i try to start the VM:
"Cannot run VM. The VM is performing an operation on a Snapshot. Please
wait for the operation to finish, and try again."

Something about the history of this VM:
1. We start the disk move from filer1 to filer3, totaly 4 drives,
everything was fine
2. Deleting snapshots, i think one or two runns fine
3. Deleting the 2nd or 3rd snapshot runs two days without an end
4. Rebooting the Engine
5. No task anymore in the Tasks list
6. The status of the snapshot is "Locked", die Disk of this snapshot
becoms "Illegal" and red
7. Shutdown the VM -  no luck, i can't start it again --> "Cannot run
VM. The VM is performing an operation on a Snapshot. Please wait for the
operation to finish, and try again."
8. We move the disk back from filer3 to the filer1
9. The status of the snapshot is "Locked", die Disk of this snapshot
becoms "OK" and green
...but i can't delete the snapshot or starting the VM :(

Today, i copy the image files to a dedicated KVM host, which is not
involved in the oVirt environment and i merge the image manualy together:
qemu-img convert -p -f qcow2 804ffcc3-446f-4c56-ba99-ab90c7951a6f -O raw
Merged1

I mount the image and everything fine, all the changes from the last two
days are now in a base image. I try to remove the whole disk in oVirt,
but i still got the error message, that i have to wait. So for me, the
next step is to create a new VM and migrate everything manualy, this
will work, but can't be the solution for the other VM, which is
productive and it have the same problem.



Some information about:

*
[root@lin-ovirt7 images]# vdsm-tool dump-volume-chains
d6e6656d-7aaf-4c5b-bb93-cd6134ed9654

Images volume chains (base volume first)

 image:f3cfefd2-d467-41d5-a054-5b01f81a21b4

   - a018521a-bd3a-4322-ac79-52d15e95639e
 status: OK, voltype: INTERNAL, format: RAW, legality:
LEGAL, type: SPARSE

   - 2e2f0b4a-b015-4b50-8d10-51726de460a9
 status: OK, voltype: INTERNAL, format: COW, legality:
LEGAL, type: SPARSE

   - 804ffcc3-446f-4c56-ba99-ab90c7951a6f
 status: OK, voltype: LEAF, format: COW, legality: LEGAL,
type: SPARSE
*
[root@lin-ovirt7 images]# ls -altrh f3cfefd2-d467-41d5-a054-5b01f81a21b4/
total 34G
-rw-rw+  1 vdsm kvm 1.0M  2. Mai 21:03
a018521a-bd3a-4322-ac79-52d15e95639e.lease
-rw-rw+  1 vdsm kvm 1.0M  2. Mai 21:03
2e2f0b4a-b015-4b50-8d10-51726de460a9.lease
-rw-r--r--+  1 vdsm kvm  260  2. Mai 21:03

Re: [ovirt-users] Snapshot is "Locked" - Can't do anything with the VM

2016-05-03 Thread Markus Stockhausen
Hi,

we've seen a lot of trouble when deleting snapshots of multidisk VMs.
Especially endless running snapshot deletions is one of our culprits.
More here: https://bugzilla.redhat.com/show_bug.cgi?id=1319400

Markus

Von: users-boun...@ovirt.org [users-boun...@ovirt.org] im Auftrag von 
Ivo Rütsche [lists.ovirt@direct.ruetsche.com]
Gesendet: Dienstag, 3. Mai 2016 19:23
An: users@ovirt.org
Betreff: [ovirt-users] Snapshot is "Locked" - Can't do anything with the VM

Hi oVirt List

We have the problem, that two of our VM's have "Locked" snapshots and we
can't go forward. From 10 VM's which we move from one store to another,
we have problems with 5 of them to delete the snapshots. But with a lot
of luck, the snapshot was always on the dedicated Swap-Disk, so we just
have to remove the whole disk and create it again as new.

Because we replace all the filers, we have to move the VM's arround. The
move itself runns fine, but deleting the snapshots doesn't work sometimes.

I found a lot about our problem, but I can't find any solution, which
works an our environment.

Our setup:
- 3 Solaris filer with NFS exports for the hosts for the vm-images
- 8 hosts (oVirt 3.6 / Centos 7.2.1511)
- The engine host is located outside of the DC, connected via VPN

At the moment, one of the "problem-VM" is productive, the other should
become productive in the next days, so we focus us to the 2nd VM,
because we can play arround with them. The other one is startet up, but
i have no idea, what happens, when i shut them down...

This is the status today of VM, which is not productive at the moment:
- VM Status: Down
- Snapshots OK: 2
- Snapshots Locked: 1
- In the snapshot tab, everything is grayed out (Create, Preview,
Commit, Undo etc.)
- No active tasks are displayed

Error message when i try to start the VM:
"Cannot run VM. The VM is performing an operation on a Snapshot. Please
wait for the operation to finish, and try again."

Something about the history of this VM:
1. We start the disk move from filer1 to filer3, totaly 4 drives,
everything was fine
2. Deleting snapshots, i think one or two runns fine
3. Deleting the 2nd or 3rd snapshot runs two days without an end
4. Rebooting the Engine
5. No task anymore in the Tasks list
6. The status of the snapshot is "Locked", die Disk of this snapshot
becoms "Illegal" and red
7. Shutdown the VM -  no luck, i can't start it again --> "Cannot run
VM. The VM is performing an operation on a Snapshot. Please wait for the
operation to finish, and try again."
8. We move the disk back from filer3 to the filer1
9. The status of the snapshot is "Locked", die Disk of this snapshot
becoms "OK" and green
...but i can't delete the snapshot or starting the VM :(

Today, i copy the image files to a dedicated KVM host, which is not
involved in the oVirt environment and i merge the image manualy together:
qemu-img convert -p -f qcow2 804ffcc3-446f-4c56-ba99-ab90c7951a6f -O raw
Merged1

I mount the image and everything fine, all the changes from the last two
days are now in a base image. I try to remove the whole disk in oVirt,
but i still got the error message, that i have to wait. So for me, the
next step is to create a new VM and migrate everything manualy, this
will work, but can't be the solution for the other VM, which is
productive and it have the same problem.



Some information about:

*
[root@lin-ovirt7 images]# vdsm-tool dump-volume-chains
d6e6656d-7aaf-4c5b-bb93-cd6134ed9654

Images volume chains (base volume first)

image:f3cfefd2-d467-41d5-a054-5b01f81a21b4

  - a018521a-bd3a-4322-ac79-52d15e95639e
status: OK, voltype: INTERNAL, format: RAW, legality:
LEGAL, type: SPARSE

  - 2e2f0b4a-b015-4b50-8d10-51726de460a9
status: OK, voltype: INTERNAL, format: COW, legality:
LEGAL, type: SPARSE

  - 804ffcc3-446f-4c56-ba99-ab90c7951a6f
status: OK, voltype: LEAF, format: COW, legality: LEGAL,
type: SPARSE
*
[root@lin-ovirt7 images]# ls -altrh f3cfefd2-d467-41d5-a054-5b01f81a21b4/
total 34G
-rw-rw+  1 vdsm kvm 1.0M  2. Mai 21:03
a018521a-bd3a-4322-ac79-52d15e95639e.lease
-rw-rw+  1 vdsm kvm 1.0M  2. Mai 21:03
2e2f0b4a-b015-4b50-8d10-51726de460a9.lease
-rw-r--r--+  1 vdsm kvm  260  2. Mai 21:03
804ffcc3-446f-4c56-ba99-ab90c7951a6f.meta
-rw-rw+  1 vdsm kvm 1.0M  2. Mai 21:03
804ffcc3-446f-4c56-ba99-ab90c7951a6f.lease
-rw-rw+  1 vdsm kvm 300G  2. Mai 22:26
a018521a-bd3a-4322-ac79-52d15e95639e
-rw-rw+  1 vdsm kvm  77M  2. Mai 22:27
2e2f0b4a-b015-4b50-8d10-51726de460a9
-rw-rw+  1 vdsm kvm 3.5G  2. Mai 22:34
804ffcc3-446f-4c56-ba99-ab90c7951a6f
-rw-r--r--+  1 vdsm kvm  364  2. Mai 22:34
a018521a-bd3a-4322-ac79-52d15e95639e.meta
-rw-r--r--+  1 vdsm kvm  264  2. Mai 22:34
2e2f0b4a-b015-4b50-8d10-51726de460a9.meta
drwxr-xr-x+  2 vdsm kvm   11  2. Mai 22:34 .
drwxr-xr-x+ 50 vdsm kvm   50  3. Mai 14:30 ..
[root@lin-ovirt7 

[ovirt-users] Snapshot is "Locked" - Can't do anything with the VM

2016-05-03 Thread Ivo Rütsche


Hi oVirt List

We have the problem, that two of our VM's have "Locked" snapshots and we 
can't go forward. From 10 VM's which we move from one store to another, 
we have problems with 5 of them to delete the snapshots. But with a lot 
of luck, the snapshot was always on the dedicated Swap-Disk, so we just 
have to remove the whole disk and create it again as new.


Because we replace all the filers, we have to move the VM's arround. The 
move itself runns fine, but deleting the snapshots doesn't work sometimes.


I found a lot about our problem, but I can't find any solution, which 
works an our environment.


Our setup:
- 3 Solaris filer with NFS exports for the hosts for the vm-images
- 8 hosts (oVirt 3.6 / Centos 7.2.1511)
- The engine host is located outside of the DC, connected via VPN

At the moment, one of the "problem-VM" is productive, the other should 
become productive in the next days, so we focus us to the 2nd VM, 
because we can play arround with them. The other one is startet up, but 
i have no idea, what happens, when i shut them down...


This is the status today of VM, which is not productive at the moment:
- VM Status: Down
- Snapshots OK: 2
- Snapshots Locked: 1
- In the snapshot tab, everything is grayed out (Create, Preview, 
Commit, Undo etc.)

- No active tasks are displayed

Error message when i try to start the VM:
"Cannot run VM. The VM is performing an operation on a Snapshot. Please 
wait for the operation to finish, and try again."


Something about the history of this VM:
1. We start the disk move from filer1 to filer3, totaly 4 drives, 
everything was fine

2. Deleting snapshots, i think one or two runns fine
3. Deleting the 2nd or 3rd snapshot runs two days without an end
4. Rebooting the Engine
5. No task anymore in the Tasks list
6. The status of the snapshot is "Locked", die Disk of this snapshot 
becoms "Illegal" and red
7. Shutdown the VM -  no luck, i can't start it again --> "Cannot run 
VM. The VM is performing an operation on a Snapshot. Please wait for the 
operation to finish, and try again."

8. We move the disk back from filer3 to the filer1
9. The status of the snapshot is "Locked", die Disk of this snapshot 
becoms "OK" and green

...but i can't delete the snapshot or starting the VM :(

Today, i copy the image files to a dedicated KVM host, which is not 
involved in the oVirt environment and i merge the image manualy together:
qemu-img convert -p -f qcow2 804ffcc3-446f-4c56-ba99-ab90c7951a6f -O raw 
Merged1


I mount the image and everything fine, all the changes from the last two 
days are now in a base image. I try to remove the whole disk in oVirt, 
but i still got the error message, that i have to wait. So for me, the 
next step is to create a new VM and migrate everything manualy, this 
will work, but can't be the solution for the other VM, which is 
productive and it have the same problem.




Some information about:

*
[root@lin-ovirt7 images]# vdsm-tool dump-volume-chains 
d6e6656d-7aaf-4c5b-bb93-cd6134ed9654


Images volume chains (base volume first)

   image:f3cfefd2-d467-41d5-a054-5b01f81a21b4

 - a018521a-bd3a-4322-ac79-52d15e95639e
   status: OK, voltype: INTERNAL, format: RAW, legality: 
LEGAL, type: SPARSE


 - 2e2f0b4a-b015-4b50-8d10-51726de460a9
   status: OK, voltype: INTERNAL, format: COW, legality: 
LEGAL, type: SPARSE


 - 804ffcc3-446f-4c56-ba99-ab90c7951a6f
   status: OK, voltype: LEAF, format: COW, legality: LEGAL, 
type: SPARSE

*
[root@lin-ovirt7 images]# ls -altrh f3cfefd2-d467-41d5-a054-5b01f81a21b4/
total 34G
-rw-rw+  1 vdsm kvm 1.0M  2. Mai 21:03 
a018521a-bd3a-4322-ac79-52d15e95639e.lease
-rw-rw+  1 vdsm kvm 1.0M  2. Mai 21:03 
2e2f0b4a-b015-4b50-8d10-51726de460a9.lease
-rw-r--r--+  1 vdsm kvm  260  2. Mai 21:03 
804ffcc3-446f-4c56-ba99-ab90c7951a6f.meta
-rw-rw+  1 vdsm kvm 1.0M  2. Mai 21:03 
804ffcc3-446f-4c56-ba99-ab90c7951a6f.lease
-rw-rw+  1 vdsm kvm 300G  2. Mai 22:26 
a018521a-bd3a-4322-ac79-52d15e95639e
-rw-rw+  1 vdsm kvm  77M  2. Mai 22:27 
2e2f0b4a-b015-4b50-8d10-51726de460a9
-rw-rw+  1 vdsm kvm 3.5G  2. Mai 22:34 
804ffcc3-446f-4c56-ba99-ab90c7951a6f
-rw-r--r--+  1 vdsm kvm  364  2. Mai 22:34 
a018521a-bd3a-4322-ac79-52d15e95639e.meta
-rw-r--r--+  1 vdsm kvm  264  2. Mai 22:34 
2e2f0b4a-b015-4b50-8d10-51726de460a9.meta

drwxr-xr-x+  2 vdsm kvm   11  2. Mai 22:34 .
drwxr-xr-x+ 50 vdsm kvm   50  3. Mai 14:30 ..
[root@lin-ovirt7 images]#
*

I attach some line from the engine.log, maybe someone can help, if you 
need more information everything is here.


gruss ivo



[root@lin-ovirt-engine1 t]# grep 6a2bf31c *;grep 4aaf815f *;grep 4ba6893f *;grep 742b4cf *
engine.log-20160502:2016-04-30 14:56:05,116 INFO  [org.ovirt.engine.core.bll.CreateSnapshotCommand] (org.ovirt.thread.pool-8-thread-21) [6a2bf31c] Running command: CreateSnapshotCommand internal: true. Entities 

Re: [ovirt-users] Errors while trying to join an external LDPA provider

2016-05-03 Thread Alexis HAUSER


> > 
> > Is it possible now to search for groups instead of users / manipulate
> > groups in the web interface ?
> Sure, if you type some search term into UI users/permissions dialog it
> will also search for groups.

Thank you for all your answers, we can say my problem is now solved

>Note in 4.0 we have split groups and users, and you have to select which type 
>you want to search for. This is to reduce the number of queries to the LDAP 
>server.

Interesting, I'll have a look at all the features.

> > In that case, the dn would be different, is it possible to specify
> > multiple dn namespaces ?
> Unfortunatelly, it's not currently possible, but feel free to open an
> RFE in bugzilla for this feature, we can implement it in future version
> if needed.

I already spend my days on the bugzilla for both ovirt and RHEV, but I'll add 
this to my list :)
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Web administration page gone

2016-05-03 Thread Francis Yap
Hi Yedidyah,

The conf.d folder is all name with foreman config file, all related with
Ovirt is gone.

I try to run the given command and it try to setup a new https webadmin
portal? I afraid the previous before install foreman the webadmin portal
running with all the VM and configuration will it impact? where is this
data store? How do I ensure it's not overwritten.

Thanks


Thanks & Regards
Francis Yap

On Tue, May 3, 2016 at 1:59 PM, Yedidyah Bar David  wrote:

> On Tue, May 3, 2016 at 5:10 AM, Francis Yap  wrote:
> > Hi All, my ovirt web admin page overwrite by the foreman installation, I
> > have remove the foreman but ovirt admin page still not found, the
> running VM
> > and engine are not affect.
> >
> > How do I recovery the admin page?
>
> What exactly is gone? Only httpd conf?
>
> You can try something like this:
>
> engine-setup --otopi-environment='OVESETUP_APACHE/configured=bool:False'
>
> Or, try to setup another engine on a different machine and compare
> /etc/httpd/conf.d between them.
>
> Best,
> --
> Didi
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Errors while trying to join an external LDPA provider

2016-05-03 Thread Alexander Wels
On Tuesday, May 03, 2016 03:58:27 PM Ondra Machacek wrote:
> On 05/03/2016 03:13 PM, Alexis HAUSER wrote:
> >> Or do you use  rfc2307? You can find out running this command:
> >>  LDAPTLS_REQCERT=never ldapsearch -x -H ldaps://myldap -b
> >> 
> >> 'ou=people,o=unix,dc=somewhere,dc=any' -D
> >> 'cn=mysearchuser,ou=admin,o=unix,dc=somewhere,dc=any' -W
> >> '(&(objectClass=posixAccount)(uid=*)(uid=myuser))'
> >> 
> >> If ^this command will find your user then just change in
> >> /etc/ovirt-engine/aaa/your_profile.properties:
> >> 
> >> include = 
> >> 
> >>   to
> >> 
> >> include = 
> > 
> > Actually you pointed exactly on the problem : this LDAP was using rfc2307
> > but I ignored it ! Thanks a lot, now I can login with users, that's
> > almost perfect !
> > 
> > Is it possible now to search for groups instead of users / manipulate
> > groups in the web interface ?
> Sure, if you type some search term into UI users/permissions dialog it
> will also search for groups.
> 

Note in 4.0 we have split groups and users, and you have to select which type 
you want to search for. This is to reduce the number of queries to the LDAP 
server.

> > In that case, the dn would be different, is it possible to specify
> > multiple dn namespaces ?
> Unfortunatelly, it's not currently possible, but feel free to open an
> RFE in bugzilla for this feature, we can implement it in future version
> if needed.
> 
> > One quick question unrelated to this topic (as I can see an @redhat in
> > your mail) : I'm trying to set up in parallel a RHEV server with only the
> > free 60 days evaluation, do you have any idea where I should ask for help
> > (as support only applies if you pay, if I understand), a similar mailing
> > list or something ?
> I am sorry, but I am really not sure about this, maybe there is some
> limited support even with
> the trial, but best to ask the support directly.
> 
> >> Thanks,
> >> for some reason it can't find the user 'myuser'.
> > 
> > Yes, I changed all informations about users, domain name etc for
> > confidentiality.> 
> >> The search command that is executed is:
> >>  LDAPTLS_REQCERT=never ldapsearch -x -H ldaps://myldap -b
> >> 
> >> 'ou=people,o=unix,dc=somewhere,dc=any' -D
> >> 'cn=mysearchuser,ou=admin,o=unix,dc=somewhere,dc=any' -W
> >> '(&(objectClass=uidObject)(uid=*)(uid=myuser))'
> >> 
> >> Is that searchbase(-b param) ok?
> > 
> > Yes
> > 
> >> Does 'cn=mysearchuser' user have appropriate permissions to see users?
> > 
> > Yes
> 
> ___
> 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] Errors while trying to join an external LDPA provider

2016-05-03 Thread Ondra Machacek

On 05/03/2016 03:13 PM, Alexis HAUSER wrote:



Or do you use  rfc2307? You can find out running this command:
 LDAPTLS_REQCERT=never ldapsearch -x -H ldaps://myldap -b
'ou=people,o=unix,dc=somewhere,dc=any' -D
'cn=mysearchuser,ou=admin,o=unix,dc=somewhere,dc=any' -W
'(&(objectClass=posixAccount)(uid=*)(uid=myuser))'



If ^this command will find your user then just change in
/etc/ovirt-engine/aaa/your_profile.properties:



include = 
  to
include = 


Actually you pointed exactly on the problem : this LDAP was using rfc2307 but I 
ignored it !
Thanks a lot, now I can login with users, that's almost perfect !

Is it possible now to search for groups instead of users / manipulate groups in 
the web interface ?


Sure, if you type some search term into UI users/permissions dialog it 
will also search for groups.



In that case, the dn would be different, is it possible to specify multiple dn 
namespaces ?


Unfortunatelly, it's not currently possible, but feel free to open an 
RFE in bugzilla for this feature, we can implement it in future version 
if needed.





One quick question unrelated to this topic (as I can see an @redhat in your 
mail) : I'm trying to set up in parallel a RHEV server with only the free 60 
days evaluation, do you have any idea where I should ask for help (as support 
only applies if you pay, if I understand), a similar mailing list or something ?



I am sorry, but I am really not sure about this, maybe there is some 
limited support even with

the trial, but best to ask the support directly.




Thanks,
for some reason it can't find the user 'myuser'.


Yes, I changed all informations about users, domain name etc for 
confidentiality.


The search command that is executed is:
 LDAPTLS_REQCERT=never ldapsearch -x -H ldaps://myldap -b
'ou=people,o=unix,dc=somewhere,dc=any' -D
'cn=mysearchuser,ou=admin,o=unix,dc=somewhere,dc=any' -W
'(&(objectClass=uidObject)(uid=*)(uid=myuser))'



Is that searchbase(-b param) ok?


Yes


Does 'cn=mysearchuser' user have appropriate permissions to see users?


Yes


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


Re: [ovirt-users] Errors while trying to join an external LDPA provider

2016-05-03 Thread Alexis HAUSER

>Or do you use  rfc2307? You can find out running this command:
>  LDAPTLS_REQCERT=never ldapsearch -x -H ldaps://myldap -b 
>'ou=people,o=unix,dc=somewhere,dc=any' -D 
>'cn=mysearchuser,ou=admin,o=unix,dc=somewhere,dc=any' -W 
>'(&(objectClass=posixAccount)(uid=*)(uid=myuser))'

>If ^this command will find your user then just change in 
>/etc/ovirt-engine/aaa/your_profile.properties:

>include = 
>   to
>include = 

Actually you pointed exactly on the problem : this LDAP was using rfc2307 but I 
ignored it !
Thanks a lot, now I can login with users, that's almost perfect !

Is it possible now to search for groups instead of users / manipulate groups in 
the web interface ?
In that case, the dn would be different, is it possible to specify multiple dn 
namespaces ?


One quick question unrelated to this topic (as I can see an @redhat in your 
mail) : I'm trying to set up in parallel a RHEV server with only the free 60 
days evaluation, do you have any idea where I should ask for help (as support 
only applies if you pay, if I understand), a similar mailing list or something ?


>Thanks,
>for some reason it can't find the user 'myuser'.

Yes, I changed all informations about users, domain name etc for 
confidentiality.

>The search command that is executed is:
>  LDAPTLS_REQCERT=never ldapsearch -x -H ldaps://myldap -b 
>'ou=people,o=unix,dc=somewhere,dc=any' -D 
>'cn=mysearchuser,ou=admin,o=unix,dc=somewhere,dc=any' -W 
>'(&(objectClass=uidObject)(uid=*)(uid=myuser))'

>Is that searchbase(-b param) ok?

Yes

>Does 'cn=mysearchuser' user have appropriate permissions to see users?

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


Re: [ovirt-users] Errors while trying to join an external LDPA provider

2016-05-03 Thread Ondra Machacek

On 05/03/2016 11:58 AM, Alexis HAUSER wrote:



Thank you, now I see the correct namespace shown, but still no way to login 
with any user...Any idea ?




Hard to say without logs, can you please share log output of
ovirt-engine-extensions-tool?
Please run it with:
 ovirt-engine-extensions-tool --log-level=FINEST --log-file=output.log
aaa login-user  --profile=xxx --user-name=xxx



I attached the log file



Thanks,
for some reason it can't find the user 'myuser'.
The search command that is executed is:
 LDAPTLS_REQCERT=never ldapsearch -x -H ldaps://myldap -b 
'ou=people,o=unix,dc=somewhere,dc=any' -D 
'cn=mysearchuser,ou=admin,o=unix,dc=somewhere,dc=any' -W 
'(&(objectClass=uidObject)(uid=*)(uid=myuser))'


Is that searchbase(-b param) ok?
Does 'cn=mysearchuser' user have appropriate permissions to see users?

Or do you use  rfc2307? You can find out running this command:
 LDAPTLS_REQCERT=never ldapsearch -x -H ldaps://myldap -b 
'ou=people,o=unix,dc=somewhere,dc=any' -D 
'cn=mysearchuser,ou=admin,o=unix,dc=somewhere,dc=any' -W 
'(&(objectClass=posixAccount)(uid=*)(uid=myuser))'


If ^this command will find your user then just change in 
/etc/ovirt-engine/aaa/your_profile.properties:


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


Re: [ovirt-users] ovirt-vmconsole serial

2016-05-03 Thread Gianluca Cecchi
Hello,
I attach to this thread to detail how I was able to have serial console
working both on CentOS 6.7 and CentOS 7.2 VMs on 3.6.5

- CentOS 6.7
Basically what described in general here (but using ttyS0 instead ttyS1):
http://www.cyberciti.biz/faq/centos-rhel-6-install-serial-console/

So in /boot/grub/grub.conf

a) right before the "hiddenmenu" line:

serial --unit=*0 *--speed=19200 --word=8 --parity=no --stop=1
terminal --timeout=5 serial console

b) At the end of kernel line added:
console=tty0 console=ttyS*0*,19200n8

Added at the end of /etc/securetty the line
ttyS0

Only difference is that as I used ttyS0, the upstart configuration was not
needed: the system after reboot was already listening on ttyS0
Creating upstart config file generated 2 processes listening on ttyS0


- CentOS 7.2
created VM with virtio console enabled in options and basically following
what described here
https://www.youtube.com/watch?v=Sx2HRwFqG7o

from default configuration I got after install:

Add in /etc/default/grub "console=ttyS0" in GRUB_CMDLINE_LINUX so that it
is now:
GRUB_CMDLINE_LINUX="rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet
console=ttyS0"

grub2-mkconfig -o /boot/grub2/grub.cfg

reboot the VM

>From a client:
$ ssh -t -p  ovirt-vmcons...@ovirt.lutwyn.org connect
Available Serial Consoles:
00 c6desktop[68a82ada-a1d2-44d0-85b0-f3a08cc2f579]
01 c7desktop[787f46f6-de4a-4b42-ba39-9609908c2905]
SELECT> 01

CentOS Linux 7 (Core)
Kernel 3.10.0-327.13.1.el7.x86_64 on an x86_64

Host-006 login: root
Password:
Last login: Tue May  3 01:34:57 on pts/0
[root@Host-006 ~]#
[root@Host-006 ~]#
[root@Host-006 ~]# cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)
[root@Host-006 ~]# exit

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


Re: [ovirt-users] Errors while trying to join an external LDPA provider

2016-05-03 Thread Ondra Machacek

On 05/03/2016 11:03 AM, Alexis HAUSER wrote:



However, I can't login with any user...But with ldapsearch I can find those 
users with uid=user

I used ovirt-engine-extensions-tool aaa login-user  --profile=xxx 
--user-name=xxx
and I realize now what is the problem : the available namespaces shows the wrong 
dn. It should be instead one level >above (or it will not possible to find the 
users)

Any idea how I can change that in the configuration ?




You can specify custom base DN, which overrides the one which is
automatically resolved if
you add following lines into /etc/ovirt-engine/aaa/your_profile.properties:

 sequence-init.init.100-my-basedn-init-vars = my-basedn-init
 sequence.my-basedn-init.010.description = set custom baseDN
 sequence.my-basedn-init.010.type = var-set
 sequence.my-basedn-init.010.var-set.variable = simple_baseDN
 sequence.my-basedn-init.010.var-set.value = dc=your,dc=different,dc=dn


Thank you, now I see the correct namespace shown, but still no way to login 
with any user...Any idea ?



Hard to say without logs, can you please share log output of 
ovirt-engine-extensions-tool?

Please run it with:
 ovirt-engine-extensions-tool --log-level=FINEST --log-file=output.log 
aaa login-user  --profile=xxx --user-name=xxx

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


Re: [ovirt-users] Errors while trying to join an external LDPA provider

2016-05-03 Thread Alexis HAUSER

>> However, I can't login with any user...But with ldapsearch I can find those 
>> users with uid=user
>>
>> I used ovirt-engine-extensions-tool aaa login-user  --profile=xxx 
>> --user-name=xxx
>> and I realize now what is the problem : the available namespaces shows the 
>> wrong dn. It should be instead one level >above (or it will not possible to 
>> find the users)
>>
>> Any idea how I can change that in the configuration ?
>>

>You can specify custom base DN, which overrides the one which is 
>automatically resolved if
>you add following lines into /etc/ovirt-engine/aaa/your_profile.properties:
>
>  sequence-init.init.100-my-basedn-init-vars = my-basedn-init
>  sequence.my-basedn-init.010.description = set custom baseDN
>  sequence.my-basedn-init.010.type = var-set
>  sequence.my-basedn-init.010.var-set.variable = simple_baseDN
>  sequence.my-basedn-init.010.var-set.value = dc=your,dc=different,dc=dn

Thank you, now I see the correct namespace shown, but still no way to login 
with any user...Any idea ?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Errors while trying to join an external LDPA provider

2016-05-03 Thread Ondra Machacek

On 05/03/2016 10:28 AM, Alexis HAUSER wrote:



Are you sure you've specified correct CA?

Can you try running this command:
 LDAPTLS_CACERT=your_ldap_ca_cert.crt ldapsearch -H ldaps://@HOST@ -x
-D '@USERDN@' -w '@USERPW@' -b '@BASEDN@'

If it fail then most probably you have incorrect CA certificate.
If it succeed, please open bug in bugzilla with logs of setup tool if
possible.


Oh I'm sorry, that was actually a certificate problem...

With the right certificate, I can now join the LDAP provider.

However, I can't login with any user...But with ldapsearch I can find those 
users with uid=user

I used ovirt-engine-extensions-tool aaa login-user  --profile=xxx 
--user-name=xxx
and I realize now what is the problem : the available namespaces shows the 
wrong dn. It should be instead one level above (or it will not possible to find 
the users)

Any idea how I can change that in the configuration ?



You can specify custom base DN, which overrides the one which is 
automatically resolved if

you add following lines into /etc/ovirt-engine/aaa/your_profile.properties:

 sequence-init.init.100-my-basedn-init-vars = my-basedn-init
 sequence.my-basedn-init.010.description = set custom baseDN
 sequence.my-basedn-init.010.type = var-set
 sequence.my-basedn-init.010.var-set.variable = simple_baseDN
 sequence.my-basedn-init.010.var-set.value = dc=your,dc=different,dc=dn
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Errors while trying to join an external LDPA provider

2016-05-03 Thread Alexis HAUSER

>Are you sure you've specified correct CA?
>
>Can you try running this command:
>  LDAPTLS_CACERT=your_ldap_ca_cert.crt ldapsearch -H ldaps://@HOST@ -x 
>-D '@USERDN@' -w '@USERPW@' -b '@BASEDN@'
>
>If it fail then most probably you have incorrect CA certificate.
>If it succeed, please open bug in bugzilla with logs of setup tool if 
>possible.

Oh I'm sorry, that was actually a certificate problem...

With the right certificate, I can now join the LDAP provider.

However, I can't login with any user...But with ldapsearch I can find those 
users with uid=user

I used ovirt-engine-extensions-tool aaa login-user  --profile=xxx 
--user-name=xxx
and I realize now what is the problem : the available namespaces shows the 
wrong dn. It should be instead one level above (or it will not possible to find 
the users)

Any idea how I can change that in the configuration ?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Additional hosted-engine host deployment failed due to message timeout

2016-05-03 Thread Wee Sritippho

On 3/5/2559 13:25, knarra wrote:

On 05/03/2016 08:35 AM, Wee Sritippho wrote:

Hi,

I'm making a fresh hosted-engine installation on 3 hosts. First 2 
hosts succeeded, but the 3rd one stuck at termination state 
"Installing Host hosted_engine_3. Stage: Termination.", then, 3 
minutes later, "VDSM hosted_engine_3 command failed: Message timeout 
which can be caused by communication issues". Currently, the 3rd host 
status in web UI is stuck at "Installing".


How can I proceed? Could I just run this script 
 
in the 3rd host, and run "hosted-engine --deploy" again?
You could do service ovirt-engine restart and remove the host from the 
UI. Redeploying the second time should work fine.

Thank you. This is what I've done and succeeded:
1. Set host03 to maintenance.
2. Remove host03.
3. redeploy host03 with "hosted-engine --deploy" but failed with "[ 
ERROR ] Failed to execute stage 'Programs detection': Hosted Engine HA 
services are already running on this system. Hosted Engine cannot be 
deployed on a host already running those services."
4. Run the script from 
https://www.ovirt.org/documentation/how-to/hosted-engine/#recoving-from-failed-install

5. Install ovirt-hosted-engine-setup again.
6. Redeploy again.


log files: https://app.box.com/s/a5typfe6cbozs9uo9osg68gtmq8793t6

[me@host03 ~]$ rpm -qa | grep ovirt
ovirt-release36-007-1.noarch
ovirt-hosted-engine-setup-1.3.5.0-1.1.el7.noarch
libgovirt-0.3.3-1.el7_2.1.x86_64
ovirt-engine-sdk-python-3.6.5.0-1.el7.centos.noarch
ovirt-setup-lib-1.0.1-1.el7.centos.noarch
ovirt-vmconsole-1.0.0-1.el7.centos.noarch
ovirt-vmconsole-host-1.0.0-1.el7.centos.noarch
ovirt-host-deploy-1.4.1-1.el7.centos.noarch
ovirt-hosted-engine-ha-1.3.5.3-1.1.el7.noarch

[me@host03 ~]$ rpm -qa | grep vdsm
vdsm-hook-vmfex-dev-4.17.26-1.el7.noarch
vdsm-xmlrpc-4.17.26-1.el7.noarch
vdsm-infra-4.17.26-1.el7.noarch
vdsm-yajsonrpc-4.17.26-1.el7.noarch
vdsm-python-4.17.26-1.el7.noarch
vdsm-4.17.26-1.el7.noarch
vdsm-cli-4.17.26-1.el7.noarch
vdsm-jsonrpc-4.17.26-1.el7.noarch

[root@engine ~]# rpm -qa | grep ovirt
ovirt-engine-wildfly-8.2.1-1.el7.x86_64
ovirt-engine-setup-plugin-ovirt-engine-common-3.6.5.3-1.el7.centos.noarch
ovirt-vmconsole-1.0.0-1.el7.centos.noarch
ovirt-engine-cli-3.6.2.0-1.el7.centos.noarch
ovirt-engine-setup-plugin-ovirt-engine-3.6.5.3-1.el7.centos.noarch
ovirt-engine-backend-3.6.5.3-1.el7.centos.noarch
ovirt-iso-uploader-3.6.0-1.el7.centos.noarch
ovirt-engine-extensions-api-impl-3.6.5.3-1.el7.centos.noarch
ovirt-host-deploy-1.4.1-1.el7.centos.noarch
ovirt-release36-007-1.noarch
ovirt-engine-sdk-python-3.6.5.0-1.el7.centos.noarch
ovirt-image-uploader-3.6.0-1.el7.centos.noarch
ovirt-engine-extension-aaa-jdbc-1.0.6-1.el7.noarch
ovirt-setup-lib-1.0.1-1.el7.centos.noarch
ovirt-host-deploy-java-1.4.1-1.el7.centos.noarch
ovirt-engine-setup-base-3.6.5.3-1.el7.centos.noarch
ovirt-engine-setup-plugin-websocket-proxy-3.6.5.3-1.el7.centos.noarch
ovirt-engine-tools-backup-3.6.5.3-1.el7.centos.noarch
ovirt-vmconsole-proxy-1.0.0-1.el7.centos.noarch
ovirt-engine-vmconsole-proxy-helper-3.6.5.3-1.el7.centos.noarch
ovirt-engine-setup-3.6.5.3-1.el7.centos.noarch
ovirt-engine-webadmin-portal-3.6.5.3-1.el7.centos.noarch
ovirt-engine-tools-3.6.5.3-1.el7.centos.noarch
ovirt-engine-restapi-3.6.5.3-1.el7.centos.noarch
ovirt-engine-3.6.5.3-1.el7.centos.noarch
ovirt-engine-wildfly-overlay-8.0.5-1.el7.noarch
ovirt-engine-lib-3.6.5.3-1.el7.centos.noarch
ovirt-engine-websocket-proxy-3.6.5.3-1.el7.centos.noarch
ovirt-engine-setup-plugin-vmconsole-proxy-helper-3.6.5.3-1.el7.centos.noarch
ovirt-engine-userportal-3.6.5.3-1.el7.centos.noarch
ovirt-engine-dbscripts-3.6.5.3-1.el7.centos.noarch

Thanks,
--
Wee


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




--
Wee

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


Re: [ovirt-users] hosted engine setup failed for 10 minutes delay.. engine seems alive

2016-05-03 Thread Simone Tiraboschi
On Mon, May 2, 2016 at 9:15 PM, Gianluca Cecchi
 wrote:
>
>
> On Mon, May 2, 2016 at 8:39 PM, Gianluca Cecchi 
> wrote:
>>
>> On Mon, May 2, 2016 at 11:14 AM, Simone Tiraboschi 
>> wrote:
>>>
>>>
>>> >>>
>>> >>> Can you please check the entropy value on your host?
>>> >>>  cat /proc/sys/kernel/random/entropy_avail
>>> >>>
>>> >>
>>> >> I have not at hand now the server. I'll check soon and report
>>> >> Do you mean entropy of the physical server that will operate as
>>> >> hypervisor?
>>>
>>> On the hypervisor
>>>
>>> > That's a good question. Simone - do you know if we start the guest with
>>> > virtio-rng?
>>>
>>> AFAIK we are not.
>>>
>>
>> On the only existing hypervisor, just after booting and exiting global
>> maintenance, causing hosted engine to start, I have
>>
>> [root@ovirt01 ~]# uptime
>>  20:34:17 up 6 min,  1 user,  load average: 0.23, 0.20, 0.11
>>
>> [root@ovirt01 ~]# cat /proc/sys/kernel/random/entropy_avail
>> 3084
>>
>> BTW on the self hosted engine VM:
>> [root@ovirt ~]# uptime
>>  18:35:33 up 4 min,  1 user,  load average: 0.06, 0.25, 0.13
>>
>> [root@ovirt ~]# cat /proc/sys/kernel/random/entropy_avail
>> 14
>>
>> On the hypervisor:
>> [root@ovirt01 ~]# ps -ef | grep [q]emu | grep virtio-rng
>> [root@ovirt01 ~]#
>>
>> On engine VM:
>> [root@ovirt ~]# ll /dev/hwrng
>> ls: cannot access /dev/hwrng: No such file or directory
>> [root@ovirt ~]#
>>
>> [root@ovirt ~]# lsmod | grep virtio_rng
>> [root@ovirt ~]#
>>
>> May I change anything so that engine VM has virtio-rng enabled?
>>
>> Gianluca
>>
>>
>
> I verified very slow login time in webadmin after welcome page, with my
> configuration that is for now based on /etc/hosts.
> After reading a previous post, and having after about 30 minutes only 114 as
> entropy in hosted engine vm, I made this in engine VM:

Thanks for your report Gianluca,
adding virtio-rng or adding haveged daemon to the appliance is indeed
a good idea: could you please fill an RFE on bugzilla for that?

> yum install haveged
> systemctl enable haveged
>
> put host in global maintenance
> shutdown engine VM
> exit from maintenance
>
> engine VM starts and immediately I have:
>
> [root@ovirt ~]# uptime
>  19:05:10 up 0 min,  1 user,  load average: 0.68, 0.20, 0.07
>
> [root@ovirt ~]# cat /proc/sys/kernel/random/entropy_avail
> 1369
>
> And login in web admin page now almost immediate
>
> Inside the thread I read:
> http://lists.ovirt.org/pipermail/users/2016-April/038805.html
>
> it wasn't clear if I can edit the engine VM in webadmin (or other mean) and
> enable the random generator option or if the haveged way is the one to go
> with in case of self hosted engine
> Is there a list of what I can change (if any) and what not for the engine
> VM?
> For example I would like to change the time zone that is GMT now (I think
> inherited from the OVF of the appliance?)
>
> Thanks,
> Gianluca
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] hosted-engine setup Gluster fails to execute

2016-05-03 Thread Simone Tiraboschi
On Mon, May 2, 2016 at 7:38 PM, Langley, Robert
 wrote:
> Hi Sahina,
>
>
>
> Thank you for your response. Let me know if you’ll need any of the log
> before the Storage Configuration section. I looked at this earlier and I was
> wondering why, after choosing to use GlusterFS, there is still reference to
> NFS (nfs.py)?

It's just an implementation detail of hosted-engine-setup:
iSCSI an FC commands are define in blockd.py while commands for file
based storage domains (NFS and gluster) are defined in nfs.py.

> I do believe NFS is disabled in my Gluster config for the
> engine cluster. -Robert
>
>
>
> 2016-05-02 09:16:53 DEBUG otopi.plugins.otopi.dialog.human
> dialog.__logString:219 DIALOG:SEND --== STORAGE
> CONFIGURATION ==--
>
> 2016-05-02 09:16:53 DEBUG otopi.plugins.otopi.dialog.human
> dialog.__logString:219 DIALOG:SEND
>
> 2016-05-02 09:16:53 DEBUG otopi.context context._executeMethod:142 Stage
> customization METHOD
> otopi.plugins.ovirt_hosted_engine_setup.storage.storage.Plugin._early_customization
>
> 2016-05-02 09:16:53 DEBUG otopi.plugins.otopi.dialog.human
> dialog.__logString:219 DIALOG:SEND During customization use
> CTRL-D to abort.
>
> 2016-05-02 09:16:53 DEBUG
> otopi.plugins.ovirt_hosted_engine_setup.storage.storage
> storage._check_existing_pools:1100 _check_existing_pools
>
> 2016-05-02 09:16:53 DEBUG
> otopi.plugins.ovirt_hosted_engine_setup.storage.storage
> storage._check_existing_pools:1101 getConnectedStoragePoolsList
>
> 2016-05-02 09:16:53 DEBUG
> otopi.plugins.ovirt_hosted_engine_setup.storage.storage
> storage._check_existing_pools:1103 {'status': {'message': 'OK', 'code': 0},
> 'poollist': []}
>
> 2016-05-02 09:16:53 DEBUG otopi.plugins.otopi.dialog.human
> human.queryString:156 query OVEHOSTED_STORAGE_DOMAIN_TYPE
>
> 2016-05-02 09:16:53 DEBUG otopi.plugins.otopi.dialog.human
> dialog.__logString:219 DIALOG:SEND Please specify the
> storage you would like to use (glusterfs, iscsi, fc, nfs3, nfs4)[nfs3]:
>
> 2016-05-02 09:16:59 DEBUG otopi.plugins.otopi.dialog.human
> dialog.__logString:219 DIALOG:RECEIVEglusterfs
>
> 2016-05-02 09:16:59 DEBUG otopi.context context.dumpEnvironment:500
> ENVIRONMENT DUMP - BEGIN
>
> 2016-05-02 09:16:59 DEBUG otopi.context context.dumpEnvironment:510 ENV
> OVEHOSTED_STORAGE/domainType=str:'glusterfs'
>
> 2016-05-02 09:16:59 DEBUG otopi.context context.dumpEnvironment:514
> ENVIRONMENT DUMP - END
>
> 2016-05-02 09:16:59 DEBUG otopi.context context._executeMethod:142 Stage
> customization METHOD
> otopi.plugins.ovirt_hosted_engine_setup.storage.glusterfs.Plugin._customization
>
> 2016-05-02 09:16:59 DEBUG otopi.context context._executeMethod:142 Stage
> customization METHOD
> otopi.plugins.ovirt_hosted_engine_setup.storage.glusterfs.Plugin._brick_customization
>
> 2016-05-02 09:16:59 DEBUG otopi.context context._executeMethod:148 condition
> False
>
> 2016-05-02 09:16:59 DEBUG otopi.context context._executeMethod:142 Stage
> customization METHOD
> otopi.plugins.ovirt_hosted_engine_setup.storage.nfs.Plugin._customization
>
> 2016-05-02 09:16:59 INFO otopi.plugins.ovirt_hosted_engine_setup.storage.nfs
> nfs._customization:360 Please note that Replica 3 support is required for
> the shared storage.
>
> 2016-05-02 09:16:59 DEBUG otopi.plugins.otopi.dialog.human
> human.queryString:156 query OVEHOSTED_STORAGE_DOMAIN_CONNECTION
>
> 2016-05-02 09:16:59 DEBUG otopi.plugins.otopi.dialog.human
> dialog.__logString:219 DIALOG:SEND Please specify the full
> shared storage connection path to use (example: host:/path):
>
> 2016-05-02 09:17:22 DEBUG otopi.plugins.otopi.dialog.human
> dialog.__logString:219 DIALOG:RECEIVEgsave0.engine.local:/engine-vol
>
> 2016-05-02 09:17:22 DEBUG
> otopi.plugins.ovirt_hosted_engine_setup.storage.nfs plugin.executeRaw:828
> execute: ('/sbin/gluster', '--mode=script', '--xml', 'volume', 'info',
> 'engine-vol', '--remote-host=gsave0.engine.local'), executable='None',
> cwd='None', env=None
>
> 2016-05-02 09:17:22 DEBUG
> otopi.plugins.ovirt_hosted_engine_setup.storage.nfs plugin.executeRaw:878
> execute-result: ('/sbin/gluster', '--mode=script', '--xml', 'volume',
> 'info', 'engine-vol', '--remote-host=gsave0.engine.local'), rc=2
>
> 2016-05-02 09:17:22 DEBUG
> otopi.plugins.ovirt_hosted_engine_setup.storage.nfs plugin.execute:936
> execute-output: ('/sbin/gluster', '--mode=script', '--xml', 'volume',
> 'info', 'engine-vol', '--remote-host=gsave0.engine.local') stdout:
>
>
>
>
>
> 2016-05-02 09:17:22 DEBUG
> otopi.plugins.ovirt_hosted_engine_setup.storage.nfs plugin.execute:941
> execute-output: ('/sbin/gluster', '--mode=script', '--xml', 'volume',
> 'info', 'engine-vol', '--remote-host=gsave0.engine.local') stderr:
>
>
>
>
>
> 2016-05-02 09:17:22 DEBUG
> otopi.plugins.ovirt_hosted_engine_setup.storage.nfs nfs._customization:395
> exception
>
> Traceback (most recent call last):
>
>   File
> 

Re: [ovirt-users] Additional hosted-engine host deployment failed due to message timeout

2016-05-03 Thread Simone Tiraboschi
On Tue, May 3, 2016 at 5:05 AM, Wee Sritippho  wrote:
> Hi,
>
> I'm making a fresh hosted-engine installation on 3 hosts. First 2 hosts
> succeeded, but the 3rd one stuck at termination state "Installing Host
> hosted_engine_3. Stage: Termination.", then, 3 minutes later, "VDSM
> hosted_engine_3 command failed: Message timeout which can be caused by
> communication issues". Currently, the 3rd host status in web UI is stuck at
> "Installing".
>
> How can I proceed? Could I just run this script in the 3rd host, and run
> "hosted-engine --deploy" again?
>
> log files: https://app.box.com/s/a5typfe6cbozs9uo9osg68gtmq8793t6

The error is here:
2016-05-03 08:43:49,760 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(org.ovirt.thread.pool-8-thread-9) [454e2dc8] Correlation ID: null,
Call Stack: null, Custom Event ID: -1, Message: VDSM hosted_engine_3
command failed: Message timeout which can be caused by communication
issues
2016-05-03 08:43:49,760 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.PollVDSCommand]
(org.ovirt.thread.pool-8-thread-9) [454e2dc8] Command
'PollVDSCommand(HostName = hosted_engine_3,
VdsIdVDSCommandParametersBase:{runAsync='true',
hostId='ed3526a1-6a03-44a7-a9a5-e3b346384ac4'})' execution failed:
VDSGenericException: VDSNetworkException: Message timeout which can be
caused by communication issues
2016-05-03 08:43:49,760 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.PollVDSCommand]
(org.ovirt.thread.pool-8-thread-9) [454e2dc8] Error:
VDSGenericException: VDSNetworkException: Message timeout which can be
caused by communication issues
2016-05-03 08:43:49,760 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.PollVDSCommand]
(org.ovirt.thread.pool-8-thread-9) [454e2dc8] Exception:
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException:
VDSGenericException: VDSNetworkException: Message timeout which can be
caused by communication issues
at 
org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase.proceedProxyReturnValue(BrokerCommandBase.java:188)
[vdsbroker.jar:]
at 
org.ovirt.engine.core.vdsbroker.vdsbroker.FutureVDSCommand.get(FutureVDSCommand.java:73)
[vdsbroker.jar:]
at 
org.ovirt.engine.core.bll.network.host.HostSetupNetworkPoller.poll(HostSetupNetworkPoller.java:30)
[bll.jar:]
at 
org.ovirt.engine.core.bll.network.host.HostSetupNetworksCommand.invokeSetupNetworksCommand(HostSetupNetworksCommand.java:423)
[bll.jar:]
at 
org.ovirt.engine.core.bll.network.host.HostSetupNetworksCommand.executeCommand(HostSetupNetworksCommand.java:256)
[bll.jar:]

This is something that happens after the engine called setupNetworks
and, due to some side effects, it loose the communication with the
host.

The issue is tracked here:
https://bugzilla.redhat.com/1323465
we are going to solve for 3.6.6

As Knarra said, you can simply try redeploying it and it could work:
this issue is not fully systematic.
In order to retry you need to remove your host from the engine and in
order to do that you probably need to move it to maintenance mode.

> [me@host03 ~]$ rpm -qa | grep ovirt
> ovirt-release36-007-1.noarch
> ovirt-hosted-engine-setup-1.3.5.0-1.1.el7.noarch
> libgovirt-0.3.3-1.el7_2.1.x86_64
> ovirt-engine-sdk-python-3.6.5.0-1.el7.centos.noarch
> ovirt-setup-lib-1.0.1-1.el7.centos.noarch
> ovirt-vmconsole-1.0.0-1.el7.centos.noarch
> ovirt-vmconsole-host-1.0.0-1.el7.centos.noarch
> ovirt-host-deploy-1.4.1-1.el7.centos.noarch
> ovirt-hosted-engine-ha-1.3.5.3-1.1.el7.noarch
>
> [me@host03 ~]$ rpm -qa | grep vdsm
> vdsm-hook-vmfex-dev-4.17.26-1.el7.noarch
> vdsm-xmlrpc-4.17.26-1.el7.noarch
> vdsm-infra-4.17.26-1.el7.noarch
> vdsm-yajsonrpc-4.17.26-1.el7.noarch
> vdsm-python-4.17.26-1.el7.noarch
> vdsm-4.17.26-1.el7.noarch
> vdsm-cli-4.17.26-1.el7.noarch
> vdsm-jsonrpc-4.17.26-1.el7.noarch
>
> [root@engine ~]# rpm -qa | grep ovirt
> ovirt-engine-wildfly-8.2.1-1.el7.x86_64
> ovirt-engine-setup-plugin-ovirt-engine-common-3.6.5.3-1.el7.centos.noarch
> ovirt-vmconsole-1.0.0-1.el7.centos.noarch
> ovirt-engine-cli-3.6.2.0-1.el7.centos.noarch
> ovirt-engine-setup-plugin-ovirt-engine-3.6.5.3-1.el7.centos.noarch
> ovirt-engine-backend-3.6.5.3-1.el7.centos.noarch
> ovirt-iso-uploader-3.6.0-1.el7.centos.noarch
> ovirt-engine-extensions-api-impl-3.6.5.3-1.el7.centos.noarch
> ovirt-host-deploy-1.4.1-1.el7.centos.noarch
> ovirt-release36-007-1.noarch
> ovirt-engine-sdk-python-3.6.5.0-1.el7.centos.noarch
> ovirt-image-uploader-3.6.0-1.el7.centos.noarch
> ovirt-engine-extension-aaa-jdbc-1.0.6-1.el7.noarch
> ovirt-setup-lib-1.0.1-1.el7.centos.noarch
> ovirt-host-deploy-java-1.4.1-1.el7.centos.noarch
> ovirt-engine-setup-base-3.6.5.3-1.el7.centos.noarch
> ovirt-engine-setup-plugin-websocket-proxy-3.6.5.3-1.el7.centos.noarch
> ovirt-engine-tools-backup-3.6.5.3-1.el7.centos.noarch
> ovirt-vmconsole-proxy-1.0.0-1.el7.centos.noarch
> ovirt-engine-vmconsole-proxy-helper-3.6.5.3-1.el7.centos.noarch
> ovirt-engine-setup-3.6.5.3-1.el7.centos.noarch
> 

Re: [ovirt-users] Additional hosted-engine host deployment failed due to message timeout

2016-05-03 Thread knarra

On 05/03/2016 08:35 AM, Wee Sritippho wrote:

Hi,

I'm making a fresh hosted-engine installation on 3 hosts. First 2 
hosts succeeded, but the 3rd one stuck at termination state 
"Installing Host hosted_engine_3. Stage: Termination.", then, 3 
minutes later, "VDSM hosted_engine_3 command failed: Message timeout 
which can be caused by communication issues". Currently, the 3rd host 
status in web UI is stuck at "Installing".


How can I proceed? Could I just run this script 
 
in the 3rd host, and run "hosted-engine --deploy" again?
You could do service ovirt-engine restart and remove the host from the 
UI. Redeploying the second time should work fine.


log files: https://app.box.com/s/a5typfe6cbozs9uo9osg68gtmq8793t6

[me@host03 ~]$ rpm -qa | grep ovirt
ovirt-release36-007-1.noarch
ovirt-hosted-engine-setup-1.3.5.0-1.1.el7.noarch
libgovirt-0.3.3-1.el7_2.1.x86_64
ovirt-engine-sdk-python-3.6.5.0-1.el7.centos.noarch
ovirt-setup-lib-1.0.1-1.el7.centos.noarch
ovirt-vmconsole-1.0.0-1.el7.centos.noarch
ovirt-vmconsole-host-1.0.0-1.el7.centos.noarch
ovirt-host-deploy-1.4.1-1.el7.centos.noarch
ovirt-hosted-engine-ha-1.3.5.3-1.1.el7.noarch

[me@host03 ~]$ rpm -qa | grep vdsm
vdsm-hook-vmfex-dev-4.17.26-1.el7.noarch
vdsm-xmlrpc-4.17.26-1.el7.noarch
vdsm-infra-4.17.26-1.el7.noarch
vdsm-yajsonrpc-4.17.26-1.el7.noarch
vdsm-python-4.17.26-1.el7.noarch
vdsm-4.17.26-1.el7.noarch
vdsm-cli-4.17.26-1.el7.noarch
vdsm-jsonrpc-4.17.26-1.el7.noarch

[root@engine ~]# rpm -qa | grep ovirt
ovirt-engine-wildfly-8.2.1-1.el7.x86_64
ovirt-engine-setup-plugin-ovirt-engine-common-3.6.5.3-1.el7.centos.noarch
ovirt-vmconsole-1.0.0-1.el7.centos.noarch
ovirt-engine-cli-3.6.2.0-1.el7.centos.noarch
ovirt-engine-setup-plugin-ovirt-engine-3.6.5.3-1.el7.centos.noarch
ovirt-engine-backend-3.6.5.3-1.el7.centos.noarch
ovirt-iso-uploader-3.6.0-1.el7.centos.noarch
ovirt-engine-extensions-api-impl-3.6.5.3-1.el7.centos.noarch
ovirt-host-deploy-1.4.1-1.el7.centos.noarch
ovirt-release36-007-1.noarch
ovirt-engine-sdk-python-3.6.5.0-1.el7.centos.noarch
ovirt-image-uploader-3.6.0-1.el7.centos.noarch
ovirt-engine-extension-aaa-jdbc-1.0.6-1.el7.noarch
ovirt-setup-lib-1.0.1-1.el7.centos.noarch
ovirt-host-deploy-java-1.4.1-1.el7.centos.noarch
ovirt-engine-setup-base-3.6.5.3-1.el7.centos.noarch
ovirt-engine-setup-plugin-websocket-proxy-3.6.5.3-1.el7.centos.noarch
ovirt-engine-tools-backup-3.6.5.3-1.el7.centos.noarch
ovirt-vmconsole-proxy-1.0.0-1.el7.centos.noarch
ovirt-engine-vmconsole-proxy-helper-3.6.5.3-1.el7.centos.noarch
ovirt-engine-setup-3.6.5.3-1.el7.centos.noarch
ovirt-engine-webadmin-portal-3.6.5.3-1.el7.centos.noarch
ovirt-engine-tools-3.6.5.3-1.el7.centos.noarch
ovirt-engine-restapi-3.6.5.3-1.el7.centos.noarch
ovirt-engine-3.6.5.3-1.el7.centos.noarch
ovirt-engine-wildfly-overlay-8.0.5-1.el7.noarch
ovirt-engine-lib-3.6.5.3-1.el7.centos.noarch
ovirt-engine-websocket-proxy-3.6.5.3-1.el7.centos.noarch
ovirt-engine-setup-plugin-vmconsole-proxy-helper-3.6.5.3-1.el7.centos.noarch
ovirt-engine-userportal-3.6.5.3-1.el7.centos.noarch
ovirt-engine-dbscripts-3.6.5.3-1.el7.centos.noarch

Thanks,
--
Wee


___
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] hosted-engine setup Gluster fails to execute

2016-05-03 Thread Sahina Bose
Command that failed to execute from your hosted-engine node - "gluster 
volume info engine-vol --remote-host gsave0.engine.local"


Can you check the glusterfs versions on the hosted-engine node and 
gsave0.engine.local node - are they the same?


On 05/02/2016 11:08 PM, Langley, Robert wrote:


Hi Sahina,

Thank you for your response. Let me know if you’ll need any of the log 
before the Storage Configuration section. I looked at this earlier and 
I was wondering why, after choosing to use GlusterFS, there is still 
reference to NFS (nfs.py)? I do believe NFS is disabled in my Gluster 
config for the engine cluster. -Robert


2016-05-02 09:16:53 DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:219 DIALOG:SEND --== STORAGE 
CONFIGURATION ==--


2016-05-02 09:16:53 DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:219 DIALOG:SEND


2016-05-02 09:16:53 DEBUG otopi.context context._executeMethod:142 
Stage customization METHOD 
otopi.plugins.ovirt_hosted_engine_setup.storage.storage.Plugin._early_customization


2016-05-02 09:16:53 DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:219 DIALOG:SEND During 
customization use CTRL-D to abort.


2016-05-02 09:16:53 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.storage 
storage._check_existing_pools:1100 _check_existing_pools


2016-05-02 09:16:53 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.storage 
storage._check_existing_pools:1101 getConnectedStoragePoolsList


2016-05-02 09:16:53 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.storage 
storage._check_existing_pools:1103 {'status': {'message': 'OK', 
'code': 0}, 'poollist': []}


2016-05-02 09:16:53 DEBUG otopi.plugins.otopi.dialog.human 
human.queryString:156 query OVEHOSTED_STORAGE_DOMAIN_TYPE


2016-05-02 09:16:53 DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:219 DIALOG:SEND Please specify the 
storage you would like to use (glusterfs, iscsi, fc, nfs3, nfs4)[nfs3]:


2016-05-02 09:16:59 DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:219 DIALOG:RECEIVEglusterfs


2016-05-02 09:16:59 DEBUG otopi.context context.dumpEnvironment:500 
ENVIRONMENT DUMP - BEGIN


2016-05-02 09:16:59 DEBUG otopi.context context.dumpEnvironment:510 
ENV OVEHOSTED_STORAGE/domainType=str:'glusterfs'


2016-05-02 09:16:59 DEBUG otopi.context context.dumpEnvironment:514 
ENVIRONMENT DUMP - END


2016-05-02 09:16:59 DEBUG otopi.context context._executeMethod:142 
Stage customization METHOD 
otopi.plugins.ovirt_hosted_engine_setup.storage.glusterfs.Plugin._customization


2016-05-02 09:16:59 DEBUG otopi.context context._executeMethod:142 
Stage customization METHOD 
otopi.plugins.ovirt_hosted_engine_setup.storage.glusterfs.Plugin._brick_customization


2016-05-02 09:16:59 DEBUG otopi.context context._executeMethod:148 
condition False


2016-05-02 09:16:59 DEBUG otopi.context context._executeMethod:142 
Stage customization METHOD 
otopi.plugins.ovirt_hosted_engine_setup.storage.nfs.Plugin._customization


2016-05-02 09:16:59 INFO 
otopi.plugins.ovirt_hosted_engine_setup.storage.nfs 
nfs._customization:360 Please note that Replica 3 support is required 
for the shared storage.


2016-05-02 09:16:59 DEBUG otopi.plugins.otopi.dialog.human 
human.queryString:156 query OVEHOSTED_STORAGE_DOMAIN_CONNECTION


2016-05-02 09:16:59 DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:219 DIALOG:SEND Please specify the 
full shared storage connection path to use (example: host:/path):


2016-05-02 09:17:22 DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:219 DIALOG:RECEIVE gsave0.engine.local:/engine-vol


2016-05-02 09:17:22 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.nfs 
plugin.executeRaw:828 execute: ('/sbin/gluster', '--mode=script', 
'--xml', 'volume', 'info', 'engine-vol', 
'--remote-host=gsave0.engine.local'), executable='None', cwd='None', 
env=None


2016-05-02 09:17:22 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.nfs 
plugin.executeRaw:878 execute-result: ('/sbin/gluster', 
'--mode=script', '--xml', 'volume', 'info', 'engine-vol', 
'--remote-host=gsave0.engine.local'), rc=2


2016-05-02 09:17:22 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.nfs plugin.execute:936 
execute-output: ('/sbin/gluster', '--mode=script', '--xml', 'volume', 
'info', 'engine-vol', '--remote-host=gsave0.engine.local') stdout:


2016-05-02 09:17:22 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.nfs plugin.execute:941 
execute-output: ('/sbin/gluster', '--mode=script', '--xml', 'volume', 
'info', 'engine-vol', '--remote-host=gsave0.engine.local') stderr:


2016-05-02 09:17:22 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.nfs 
nfs._customization:395 exception


Traceback (most recent call last):

  File 
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/storage/nfs.py", 
line 390, in _customization


check_space=False,

  File 

Re: [ovirt-users] Web administration page gone

2016-05-03 Thread Yedidyah Bar David
On Tue, May 3, 2016 at 5:10 AM, Francis Yap  wrote:
> Hi All, my ovirt web admin page overwrite by the foreman installation, I
> have remove the foreman but ovirt admin page still not found, the running VM
> and engine are not affect.
>
> How do I recovery the admin page?

What exactly is gone? Only httpd conf?

You can try something like this:

engine-setup --otopi-environment='OVESETUP_APACHE/configured=bool:False'

Or, try to setup another engine on a different machine and compare
/etc/httpd/conf.d between them.

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