no more admin@internal account available
by Nathanaël Blanchet
Hello,
My internal domain is not available anymore in the webadmin login and
any query with admin@internal fail.
What can I do to recover it?
--
Nathanaël Blanchet
Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5
Tél. 33 (0)4 67 54 84 55
Fax 33 (0)4 67 54 84 14
blanchet(a)abes.fr
8 years, 11 months
Set custom property?
by gflwqs gflwqs
Hi List,
I'm running ovirt 3.5.6.2.
Why do i have to restart a vm when i set a custom property?
Thanks!
Christian
8 years, 11 months
Re: [ovirt-users] Ovirt python-sdk cloning VM
by Juan Hernández
On 01/18/2016 02:49 PM, Algirdas Žemaitis wrote:
> Hello,
>
>
> I was playing with Ovirt API/python-sdk for a week or so and stuck in
> one from first sight simple yet unsolvable spot…
>
> Ovirt web GUI has option to clone VM from snapshot, to new(other)
> storage domain. Is it possible to do so with API ?
>
> The point is, I’m using backup script (already modified a lot of it to
> suit our needs), once it is cloning from snapshot into new VM, it will
> use same storage, and causing a lot of load on already stressed domain,
> idea is to create VM (allocate disk before exporting it as backup) on
> other storage domain, in this way significantly reducing impact on live
> storage domain. What do you think ?
>
> Original : https://github.com/wefixit-AT/oVirtBackup
>
>
>
> Thank you for your time, and sorry for reaching directly, Ovirt lacks
> for an forum or something similar… or I just couldn’t find it…
>
I'm adding the users(a)ovirt.org list, there is where you can send your
questions.
In order to clone a VM from an snapshot you have to use the "add"
operation of the "vms" service, passing as a parameter a "vm" object
that contains the identifier of the snapshot and the explicit mapping of
disk to storage domain. In XML it should look like this:
---8<---
<vm>
<name>myclone</name>
<cluster>
<name>mycluster</name>
</cluster>
<!-- This is how you indicate what snapshot to clone: -->
<snapshots>
<snapshot id="266742a5-6a65-483c-816d-d2ce49746680"/>
</snapshots>
<!-- This is how you indicate how to map disks to storage
domains. -->
<disks>
<disk>
<image_id>8d4bd566-6c86-4592-a4a7-912dbf93c298</image_id>
<storage_domains>
<storage_domain id="9cb6cb0a-cf1d-41c2-92ca-5a6d665649c9"/>
</storage_domains>
</disk>
</disks>
</vm>
--->8---
With the Python SDK it should look like this:
---8<---
# Find the VM:
vm = api.vms.get(name="myvm")
# Find the snapshot:
snapshot = None
for current in vm.snapshots.list():
if current.get_description() == 'mysnap':
snapshot = current
break # Should probably end here, with an error.
# Find the image identifiers of the disks of the snapshot, as
# we need them in order to explicitly indicate that we want
# them created in a different storage domain:
disk_ids = []
for current in snapshot.disks.list():
disk_ids.append(current.get_id())
# Find the storage domain where the disks should be created:
sd = api.storagedomains.get(name="yourdata")
# Prepare the list of disks for the operation to create the
# snapshot,explicitly indicating for each of them the storage
# domain where it should be created:
disk_list = []
for disk_id in disk_ids:
disk = params.Disk(
image_id=disk_id,
storage_domains=params.StorageDomains(
storage_domain=[
params.StorageDomain(
id=sd.get_id(),
),
],
),
)
disk_list.append(disk)
# Create the VM from the snapshot:
api.vms.add(
params.VM(
name="myclone",
cluster=params.Cluster(name="mycluster"),
snapshots=params.Snapshots(
snapshot=[
params.Snapshot(
id=snapshot.get_id(),
),
],
),
disks=params.Disks(
disk=disk_list,
),
)
)
--->8---
This should work for you.
However, I have to say that I find a bit strange that we use the
"image_id" attribute as the key of the disk in this case, instead of
just the "id". Allon, do you know if this is on purpose? I mean, when we
clone a VM from a template we use do like this:
<disk id="the_key">
...
</disk>
But in this case we do like this:
<disk>
<image_id>the_key</image_id>
...
</disk>
Is there any reason for these two different ways to specify the
identifier of the disk?
--
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
8 years, 11 months
power management on ovirt3.6.1
by alireza sadeh seighalan
hi everyone
i wanted to configure power management on ovirt3.6.1 but it failed. i
attach the configuration image . thanks in advance
os: centos7.1
ovirt: 3.6.1
server: DL380 G7 (ilo3)
8 years, 11 months
Re: [ovirt-users] ovirt-host-deploy PKI
by Jaicel
------=_Part_16607590_458388210.1453101632745
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
sorry i'm using centos 6 as OS for hosts and engine. i hope
these logs might help. no deploy-host logs generated.
Engine:
../ovirt-engine/server.log
2016-01-18 14:59:25,153 INFO [org.apache.sshd.client.session.ClientSessionImpl] (pool-22-thread-1) Client session created
2016-01-18 14:59:25,195 INFO [org.apache.sshd.client.session.ClientSessionImpl] (pool-22-thread-2) Server version string: SSH-2.0-OpenSSH_5.3
2016-01-18 14:59:25,197 INFO [org.apache.sshd.client.session.ClientSessionImpl] (pool-22-thread-3) Kex: server->client aes128-ctr hmac-sha2-256 none
2016-01-18 14:59:25,198 INFO [org.apache.sshd.client.session.ClientSessionImpl] (pool-22-thread-3) Kex: client->server aes128-ctr hmac-sha2-256 none
../ovirt-engine/engine.log
2016-01-18 14:59:12,790 INFO [org.ovirt.engine.core.bll.MaintenanceNumberOfVdssCommand] (org.ovirt.thread.pool-8-thread-25) [5cd2b8a4] Running command: MaintenanceNumberOfVdssCommand internal: false. Entities affected : ID: 187f0bd4-adc6-4ba2-aa6b-f588960ca677 Type: VDSAction group MANIPULATE_HOST with role type ADMIN
2016-01-18 14:59:12,906 INFO [org.ovirt.engine.core.bll.MaintenanceVdsCommand] (org.ovirt.thread.pool-8-thread-25) [5cd2b8a4] Running command: MaintenanceVdsCommand internal: true. Entities affected : ID: 187f0bd4-adc6-4ba2-aa6b-f588960ca677 Type: VDS
2016-01-18 14:59:12,909 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (org.ovirt.thread.pool-8-thread-25) [5cd2b8a4] START, SetVdsStatusVDSCommand(HostName = cloud-01.asti.local, HostId = 187f0bd4-adc6-4ba2-aa6b-f588960ca677, status=Maintenance, nonOperationalReason=NONE, stopSpmFailureLogged=false), log id: 12efa1cc
2016-01-18 14:59:12,913 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (org.ovirt.thread.pool-8-thread-25) [5cd2b8a4] FINISH, SetVdsStatusVDSCommand, log id: 12efa1cc
2016-01-18 14:59:12,917 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-25) [5cd2b8a4] Correlation ID: 5cd2b8a4, Job ID: a75e25fa-6f64-4d94-9a93-e18097f19df8, Call Stack: null, Custom Event ID: -1, Message: Host cloud-01.asti.local was switched to Maintenance mode by admin@internal.
2016-01-18 14:59:25,127 WARN [org.ovirt.engine.core.compat.backendcompat.PropertyInfo] (ajp--127.0.0.1-8702-16) Unable to get value of property: vdsName for class org.ovirt.engine.core.common.businessentities.VdsStatic
2016-01-18 14:59:25,128 WARN [org.ovirt.engine.core.compat.backendcompat.PropertyInfo] (ajp--127.0.0.1-8702-16) Unable to get value of property: vdsName for class org.ovirt.engine.core.common.businessentities.VdsStatic
2016-01-18 14:59:25,129 INFO [org.ovirt.engine.core.bll.InstallVdsCommand] (ajp--127.0.0.1-8702-16) [7a07c15a] Running command: InstallVdsCommand internal: false. Entities affected : ID: 187f0bd4-adc6-4ba2-aa6b-f588960ca677 Type: VDSAction group EDIT_HOST_CONFIGURATION with role type ADMIN
2016-01-18 14:59:25,134 WARN [org.ovirt.engine.core.compat.backendcompat.PropertyInfo] (ajp--127.0.0.1-8702-16) Unable to get value of property: vdsName for class org.ovirt.engine.core.common.businessentities.VdsStatic
2016-01-18 14:59:25,135 WARN [org.ovirt.engine.core.compat.backendcompat.PropertyInfo] (ajp--127.0.0.1-8702-16) Unable to get value of property: vdsName for class org.ovirt.engine.core.common.businessentities.VdsStatic
2016-01-18 14:59:25,138 INFO [org.ovirt.engine.core.bll.InstallVdsInternalCommand] (ajp--127.0.0.1-8702-16) [7a07c15a] Lock Acquired to object EngineLock [exclusiveLocks= key: 187f0bd4-adc6-4ba2-aa6b-f588960ca677 value: VDS
, sharedLocks= ]
2016-01-18 14:59:25,140 INFO [org.ovirt.engine.core.bll.InstallVdsInternalCommand] (org.ovirt.thread.pool-8-thread-31) [7a07c15a] Running command: InstallVdsInternalCommand internal: true. Entities affected : ID: 187f0bd4-adc6-4ba2-aa6b-f588960ca677 Type: VDS
2016-01-18 14:59:25,141 INFO [org.ovirt.engine.core.bll.InstallVdsInternalCommand] (org.ovirt.thread.pool-8-thread-31) [7a07c15a] Before Installation host 187f0bd4-adc6-4ba2-aa6b-f588960ca677, cloud-01.asti.local
2016-01-18 14:59:25,143 WARN [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp--127.0.0.1-8702-16) [7a07c15a] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: Failed to verify Power Management configuration for Host cloud-01.asti.local.
2016-01-18 14:59:25,145 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (org.ovirt.thread.pool-8-thread-31) [7a07c15a] START, SetVdsStatusVDSCommand(HostName = cloud-01.asti.local, HostId = 187f0bd4-adc6-4ba2-aa6b-f588960ca677, status=Installing, nonOperationalReason=NONE, stopSpmFailureLogged=false), log id: 5c16da91
2016-01-18 14:59:25,148 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (org.ovirt.thread.pool-8-thread-31) [7a07c15a] FINISH, SetVdsStatusVDSCommand, log id: 5c16da91
2016-01-18 14:59:25,149 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp--127.0.0.1-8702-16) [7a07c15a] Correlation ID: 7a07c15a, Call Stack: null, Custom Event ID: -1, Message: Host cloud-01.asti.local configuration was updated by admin@internal.
2016-01-18 14:59:25,215 INFO [org.ovirt.engine.core.bll.InstallerMessages] (org.ovirt.thread.pool-8-thread-31) [7a07c15a] Installation 192.168.208.21: Connected to host 192.168.208.21 with SSH key fingerprint: c5:10:66:b7:1e:a4:18:a0:1c:74:f5:ff:1e:24:ea:11
2016-01-18 14:59:25,220 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-31) [7a07c15a] Correlation ID: 7a07c15a, Call Stack: null, Custom Event ID: -1, Message: Installing Host cloud-01.asti.local. Connected to host 192.168.208.21 with SSH key fingerprint: c5:10:66:b7:1e:a4:18:a0:1c:74:f5:ff:1e:24:ea:11.
2016-01-18 14:59:25,311 INFO [org.ovirt.engine.core.bll.VdsDeploy] (org.ovirt.thread.pool-8-thread-31) [7a07c15a] Installation of 192.168.208.21. Executing command via SSH umask 0077; MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp -d -t ovirt-XXXXXXXXXX)"; trap "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; tar --warning=no-timestamp -C "${MYTMP}" -x && "${MYTMP}"/setup DIALOG/dialect=str:machine DIALOG/customization=bool:True < /var/cache/ovirt-engine/ovirt-host-deploy.tar
2016-01-18 14:59:25,321 INFO [org.ovirt.engine.core.uutils.ssh.SSHDialog] (org.ovirt.thread.pool-8-thread-31) SSH execute root(a)192.168.208.21 'umask 0077; MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp -d -t ovirt-XXXXXXXXXX)"; trap "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; tar --warning=no-timestamp -C "${MYTMP}" -x && "${MYTMP}"/setup DIALOG/dialect=str:machine DIALOG/customization=bool:True'
2016-01-18 15:09:25,323 ERROR [org.ovirt.engine.core.bll.VdsDeploy] (VdsDeploy) Error during deploy dialog: java.io.IOException: Unexpected connection termination
at org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:388) [otopi.jar:]
at org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:405) [otopi.jar:]
at org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:821) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy.access$2000(VdsDeploy.java:83) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$51.run(VdsDeploy.java:969) [bll.jar:]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
2016-01-18 15:09:25,324 ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog] (org.ovirt.thread.pool-8-thread-31) SSH error running command root(a)192.168.208.21:'umask 0077; MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp -d -t ovirt-XXXXXXXXXX)"; trap "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; tar --warning=no-timestamp -C "${MYTMP}" -x && "${MYTMP}"/setup DIALOG/dialect=str:machine DIALOG/customization=bool:True': javax.naming.TimeLimitExceededException: SSH session timeout host 'root(a)192.168.208.21'
at org.ovirt.engine.core.uutils.ssh.SSHClient.executeCommand(SSHClient.java:499) [uutils.jar:]
at org.ovirt.engine.core.uutils.ssh.SSHDialog.executeCommand(SSHDialog.java:318) [uutils.jar:]
at org.ovirt.engine.core.bll.VdsDeploy.execute(VdsDeploy.java:1118) [bll.jar:]
at org.ovirt.engine.core.bll.InstallVdsInternalCommand.installHost(InstallVdsInternalCommand.java:154) [bll.jar:]
at org.ovirt.engine.core.bll.InstallVdsInternalCommand.executeCommand(InstallVdsInternalCommand.java:81) [bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1193) [bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:1332) [bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1961) [bll.jar:]
at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:174) [utils.jar:]
at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:116) [utils.jar:]
at org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1356) [bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:353) [bll.jar:]
at org.ovirt.engine.core.bll.MultipleActionsRunner.executeValidatedCommand(MultipleActionsRunner.java:193) [bll.jar:]
at org.ovirt.engine.core.bll.MultipleActionsRunner.runCommands(MultipleActionsRunner.java:160) [bll.jar:]
at org.ovirt.engine.core.bll.MultipleActionsRunner$2.run(MultipleActionsRunner.java:169) [bll.jar:]
at org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run(ThreadPoolUtil.java:90) [utils.jar:]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_79]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_79]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_79]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_79]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
2016-01-18 15:09:25,341 ERROR [org.ovirt.engine.core.bll.VdsDeploy] (org.ovirt.thread.pool-8-thread-31) [7a07c15a] Timeout during host 192.168.208.21 install: javax.naming.TimeLimitExceededException: SSH session timeout host 'root(a)192.168.208.21'
at org.ovirt.engine.core.uutils.ssh.SSHClient.executeCommand(SSHClient.java:499) [uutils.jar:]
at org.ovirt.engine.core.uutils.ssh.SSHDialog.executeCommand(SSHDialog.java:318) [uutils.jar:]
at org.ovirt.engine.core.bll.VdsDeploy.execute(VdsDeploy.java:1118) [bll.jar:]
at org.ovirt.engine.core.bll.InstallVdsInternalCommand.installHost(InstallVdsInternalCommand.java:154) [bll.jar:]
at org.ovirt.engine.core.bll.InstallVdsInternalCommand.executeCommand(InstallVdsInternalCommand.java:81) [bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1193) [bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:1332) [bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1961) [bll.jar:]
at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:174) [utils.jar:]
at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:116) [utils.jar:]
at org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1356) [bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:353) [bll.jar:]
at org.ovirt.engine.core.bll.MultipleActionsRunner.executeValidatedCommand(MultipleActionsRunner.java:193) [bll.jar:]
at org.ovirt.engine.core.bll.MultipleActionsRunner.runCommands(MultipleActionsRunner.java:160) [bll.jar:]
at org.ovirt.engine.core.bll.MultipleActionsRunner$2.run(MultipleActionsRunner.java:169) [bll.jar:]
at org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run(ThreadPoolUtil.java:90) [utils.jar:]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_79]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_79]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_79]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_79]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
2016-01-18 15:09:25,348 ERROR [org.ovirt.engine.core.bll.InstallerMessages] (org.ovirt.thread.pool-8-thread-31) [7a07c15a] Installation 192.168.208.21: Processing stopped due to timeout
2016-01-18 15:09:25,354 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-31) [7a07c15a] Correlation ID: 7a07c15a, Call Stack: null, Custom Event ID: -1, Message: Failed to install Host cloud-01.asti.local. Processing stopped due to timeout.
2016-01-18 15:09:25,355 ERROR [org.ovirt.engine.core.bll.InstallVdsInternalCommand] (org.ovirt.thread.pool-8-thread-31) [7a07c15a] Host installation failed for host 187f0bd4-adc6-4ba2-aa6b-f588960ca677, cloud-01.asti.local.: javax.naming.TimeLimitExceededException: SSH session timeout host 'root(a)192.168.208.21'
at org.ovirt.engine.core.uutils.ssh.SSHClient.executeCommand(SSHClient.java:499) [uutils.jar:]
at org.ovirt.engine.core.uutils.ssh.SSHDialog.executeCommand(SSHDialog.java:318) [uutils.jar:]
at org.ovirt.engine.core.bll.VdsDeploy.execute(VdsDeploy.java:1118) [bll.jar:]
at org.ovirt.engine.core.bll.InstallVdsInternalCommand.installHost(InstallVdsInternalCommand.java:154) [bll.jar:]
at org.ovirt.engine.core.bll.InstallVdsInternalCommand.executeCommand(InstallVdsInternalCommand.java:81) [bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1193) [bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:1332) [bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1961) [bll.jar:]
at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:174) [utils.jar:]
at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:116) [utils.jar:]
at org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1356) [bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:353) [bll.jar:]
at org.ovirt.engine.core.bll.MultipleActionsRunner.executeValidatedCommand(MultipleActionsRunner.java:193) [bll.jar:]
at org.ovirt.engine.core.bll.MultipleActionsRunner.runCommands(MultipleActionsRunner.java:160) [bll.jar:]
at org.ovirt.engine.core.bll.MultipleActionsRunner$2.run(MultipleActionsRunner.java:169) [bll.jar:]
at org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run(ThreadPoolUtil.java:90) [utils.jar:]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_79]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_79]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_79]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_79]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
2016-01-18 15:09:25,364 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (org.ovirt.thread.pool-8-thread-31) [7a07c15a] START, SetVdsStatusVDSCommand(HostName = cloud-01.asti.local, HostId = 187f0bd4-adc6-4ba2-aa6b-f588960ca677, status=InstallFailed, nonOperationalReason=NONE, stopSpmFailureLogged=false), log id: 53d45876
2016-01-18 15:09:25,367 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (org.ovirt.thread.pool-8-thread-31) [7a07c15a] FINISH, SetVdsStatusVDSCommand, log id: 53d45876
2016-01-18 15:09:25,371 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-31) [7a07c15a] Correlation ID: 7a07c15a, Call Stack: null, Custom Event ID: -1, Message: Host cloud-01.asti.local installation failed. SSH session timeout host 'root(a)192.168.208.21'.
2016-01-18 15:09:25,372 INFO [org.ovirt.engine.core.bll.InstallVdsInternalCommand] (org.ovirt.thread.pool-8-thread-31) [7a07c15a] Lock freed to object EngineLock [exclusiveLocks= key: 187f0bd4-adc6-4ba2-aa6b-f588960ca677 value: VDS
, sharedLocks= ]
Host:
../log/secure
Jan 18 14:59:26 cloud-01 sshd[12843]: Accepted password for root from 192.168.208.20 port 41232 ssh2
Jan 18 14:59:26 cloud-01 sshd[12843]: pam_unix(sshd:session): session opened for user root by (uid=0)
Thanks,
Jaicel
From: "Simone Tiraboschi" <stirabos(a)redhat.com>
To: "jaicel" <jaicel(a)asti.dost.gov.ph>
Cc: "users" <users(a)ovirt.org>
Sent: Thursday, January 14, 2016 9:24:55 PM
Subject: Re: [ovirt-users] ovirt-host-deploy PKI
On Thu, Jan 14, 2016 at 12:31 PM, Jaicel < jaicel(a)asti.dost.gov.ph > wrote:
Yes simone i can access the host from the server where my engine is running. attached is the engine log during the "add host".
Can you please try to run
journalctl -f -u sshd
on host while you try to deploy it?
BQ_BEGIN
Thanks,
Jaicel
From: "Simone Tiraboschi" < stirabos(a)redhat.com >
To: "jaicel" < jaicel(a)asti.dost.gov.ph >
Cc: "users" < users(a)ovirt.org >
Sent: Thursday, January 14, 2016 6:42:58 PM
Subject: Re: [ovirt-users] ovirt-host-deploy PKI
On Thu, Jan 14, 2016 at 11:24 AM, Jaicel < jaicel(a)asti.dost.gov.ph > wrote:
BQ_BEGIN
Hi,
anyone here tried this type of host installation? i'm installing additional hosts
for my cluster but the same procedure through ovirt engine's webgui won't
let me install the additional hosts. i don't know where the problem is but the
error is ssh timeout,
BQ_END
Can you please attach your engine.log ?
Are you able to manually access via ssh the host you are trying to add from the server where the engine runs?
BQ_BEGIN
so i tried this type of installation (ovirt-host-deploy)
directly on the host. but i'm stuck in PKI setup. hope anyone could help me
through this.
BQ_END
Let's solve the issue with SSH
BQ_BEGIN
Setting up PKI
Please issue VDSM certificate based on this certificate request
D:MULTI-STRING VDSM_CERTIFICATE_REQUEST --=451b80dc-996f-432e-9e4f-2b29ef6d1141=--
-----BEGIN CERTIFICATE REQUEST-----
MIICRDCCASwCADAAMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2ZcM
eRt8gU7aPww5okuT3oi3LbMDDhkV5POQLYyJXxr8lb/ai0Y+rM1y7Gl1dTnCCEQd
oiNur/AfOWb1ZJQTv0d+6JNUSUKv+I+xHnbWNidalUR/HZNXDklUinktAiezPA5H
QVZYzo2jLnyQbkfZJU5ktkfE4So8prTBJYEGz4idXK5ry9aWGTcVpq0UBLrdtJ/U
vKf8YoieGtjbodi6X3cf2Wp4tIDyEVKbRE4hqKXGwAIibdHIyDki8tGBleoCf0gS
n5vs53dOTilF/pHX2VzK4yOIzmJbje6eAedbUYuYybktthkrS4FkVNFTxN3CZGR5
CgYNorV7ncSb2ZEqXwIDAQABoAAwDQYJKoZIhvcNAQEFBQADggEBAAqY3tq3stRk
9euhu+G7YISAlMVjrBa8OYqxsigG2H/FWA2GI6EuccK8TrDiDDZVzzaTV/H+kTuz
LQC5CejLN/leGZsrCYyYwOE5yLv+CKDv8pHAcrhgRGbfF/nb1k/8vxUlZo8lfOqk
mvP3oPeOZr+dGgov4AD0XJT0MJrKAsxn3zK9JvjKvXTfyk0oK7shbVCfP048pWc2
f41Z5aKTKBqyFanQuqLKHxvOIhJSmZeXRFe0eUUpfSMakL7JQ7juGsMb6KEusmSe
047x1vLqhBBYsRBSkURSPGOcBQ7ReXTcoGtVzjGki63Hj2aX5Fm6yCzZHGJb+m97
q0tF3Fuy75U=
-----END CERTIFICATE REQUEST-----
--=451b80dc-996f-432e-9e4f-2b29ef6d1141=--
Please input VDSM certificate chain that matches certificate request, top is issuer
type '--=451b80dc-996f-432e-9e4f-2b29ef6d1141=--' in own line to mark end.
Thanks,
Jaicel
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
BQ_END
BQ_END
------=_Part_16607590_458388210.1453101632745
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><body><div style=3D"font-family: arial, helvetica, sans-serif; font-s=
ize: 10pt; color: #000000"><div>sorry i'm using centos 6 as OS for hosts an=
d engine. i hope<br>these logs might help. no deploy-host logs generated.<b=
r><br><span data-mce-style=3D"background-color: #ffff00;" style=3D"backgrou=
nd-color: rgb(255, 255, 0);">Engine:</span><br>../ovirt-engine/server.log<b=
r>2016-01-18 14:59:25,153 INFO [org.apache.sshd.client.session.Client=
SessionImpl] (pool-22-thread-1) Client session created<br>2016-01-18 14:59:=
25,195 INFO [org.apache.sshd.client.session.ClientSessionImpl] (pool-=
22-thread-2) Server version string: SSH-2.0-OpenSSH_5.3<br>2016-01-18 14:59=
:25,197 INFO [org.apache.sshd.client.session.ClientSessionImpl] (pool=
-22-thread-3) Kex: server->client aes128-ctr hmac-sha2-256 none<br>2016-=
01-18 14:59:25,198 INFO [org.apache.sshd.client.session.ClientSession=
Impl] (pool-22-thread-3) Kex: client->server aes128-ctr hmac-sha2-256 no=
ne<br><br>../ovirt-engine/engine.log<br>2016-01-18 14:59:12,790 INFO =
[org.ovirt.engine.core.bll.MaintenanceNumberOfVdssCommand] (org.ovirt.threa=
d.pool-8-thread-25) [5cd2b8a4] Running command: MaintenanceNumberOfVdssComm=
and internal: false. Entities affected : ID: 187f0bd4-adc6-4ba2-aa6b-=
f588960ca677 Type: VDSAction group MANIPULATE_HOST with role type ADMIN<br>=
2016-01-18 14:59:12,906 INFO [org.ovirt.engine.core.bll.MaintenanceVd=
sCommand] (org.ovirt.thread.pool-8-thread-25) [5cd2b8a4] Running command: M=
aintenanceVdsCommand internal: true. Entities affected : ID: 187f0bd4=
-adc6-4ba2-aa6b-f588960ca677 Type: VDS<br>2016-01-18 14:59:12,909 INFO &nbs=
p;[org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (org.ovirt.threa=
d.pool-8-thread-25) [5cd2b8a4] START, SetVdsStatusVDSCommand(HostName =3D c=
loud-01.asti.local, HostId =3D 187f0bd4-adc6-4ba2-aa6b-f588960ca677, status=
=3DMaintenance, nonOperationalReason=3DNONE, stopSpmFailureLogged=3Dfalse),=
log id: 12efa1cc<br>2016-01-18 14:59:12,913 INFO [org.ovirt.engine.c=
ore.vdsbroker.SetVdsStatusVDSCommand] (org.ovirt.thread.pool-8-thread-25) [=
5cd2b8a4] FINISH, SetVdsStatusVDSCommand, log id: 12efa1cc<br>2016-01-18 14=
:59:12,917 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.=
AuditLogDirector] (org.ovirt.thread.pool-8-thread-25) [5cd2b8a4] Correlatio=
n ID: 5cd2b8a4, Job ID: a75e25fa-6f64-4d94-9a93-e18097f19df8, Call Stack: n=
ull, Custom Event ID: -1, Message: Host cloud-01.asti.local was switched to=
Maintenance mode by admin@internal.<br>2016-01-18 14:59:25,127 WARN =
[org.ovirt.engine.core.compat.backendcompat.PropertyInfo] (ajp--127.0.0.1-8=
702-16) Unable to get value of property: vdsName for class org.ovirt.engine=
.core.common.businessentities.VdsStatic<br>2016-01-18 14:59:25,128 WARN &nb=
sp;[org.ovirt.engine.core.compat.backendcompat.PropertyInfo] (ajp--127.0.0.=
1-8702-16) Unable to get value of property: vdsName for class org.ovirt.eng=
ine.core.common.businessentities.VdsStatic<br>2016-01-18 14:59:25,129 INFO =
[org.ovirt.engine.core.bll.InstallVdsCommand] (ajp--127.0.0.1-8702-16=
) [7a07c15a] Running command: InstallVdsCommand internal: false. Entities a=
ffected : ID: 187f0bd4-adc6-4ba2-aa6b-f588960ca677 Type: VDSAction gr=
oup EDIT_HOST_CONFIGURATION with role type ADMIN<br>2016-01-18 14:59:25,134=
WARN [org.ovirt.engine.core.compat.backendcompat.PropertyInfo] (ajp-=
-127.0.0.1-8702-16) Unable to get value of property: vdsName for class org.=
ovirt.engine.core.common.businessentities.VdsStatic<br>2016-01-18 14:59:25,=
135 WARN [org.ovirt.engine.core.compat.backendcompat.PropertyInfo] (a=
jp--127.0.0.1-8702-16) Unable to get value of property: vdsName for class o=
rg.ovirt.engine.core.common.businessentities.VdsStatic<br>2016-01-18 14:59:=
25,138 INFO [org.ovirt.engine.core.bll.InstallVdsInternalCommand] (aj=
p--127.0.0.1-8702-16) [7a07c15a] Lock Acquired to object EngineLock [exclus=
iveLocks=3D key: 187f0bd4-adc6-4ba2-aa6b-f588960ca677 value: VDS<br>, share=
dLocks=3D ]<br>2016-01-18 14:59:25,140 INFO [org.ovirt.engine.core.bl=
l.InstallVdsInternalCommand] (org.ovirt.thread.pool-8-thread-31) [7a07c15a]=
Running command: InstallVdsInternalCommand internal: true. Entities affect=
ed : ID: 187f0bd4-adc6-4ba2-aa6b-f588960ca677 Type: VDS<br>2016-01-18=
14:59:25,141 INFO [org.ovirt.engine.core.bll.InstallVdsInternalComma=
nd] (org.ovirt.thread.pool-8-thread-31) [7a07c15a] Before Installation host=
187f0bd4-adc6-4ba2-aa6b-f588960ca677, cloud-01.asti.local<br>2016-01-18 14=
:59:25,143 WARN [org.ovirt.engine.core.dal.dbbroker.auditloghandling.=
AuditLogDirector] (ajp--127.0.0.1-8702-16) [7a07c15a] Correlation ID: null,=
Call Stack: null, Custom Event ID: -1, Message: Failed to verify Power Man=
agement configuration for Host cloud-01.asti.local.<br>2016-01-18 14:59:25,=
145 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (or=
g.ovirt.thread.pool-8-thread-31) [7a07c15a] START, SetVdsStatusVDSCommand(H=
ostName =3D cloud-01.asti.local, HostId =3D 187f0bd4-adc6-4ba2-aa6b-f588960=
ca677, status=3DInstalling, nonOperationalReason=3DNONE, stopSpmFailureLogg=
ed=3Dfalse), log id: 5c16da91<br>2016-01-18 14:59:25,148 INFO [org.ov=
irt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (org.ovirt.thread.pool-8-=
thread-31) [7a07c15a] FINISH, SetVdsStatusVDSCommand, log id: 5c16da91<br>2=
016-01-18 14:59:25,149 INFO [org.ovirt.engine.core.dal.dbbroker.audit=
loghandling.AuditLogDirector] (ajp--127.0.0.1-8702-16) [7a07c15a] Correlati=
on ID: 7a07c15a, Call Stack: null, Custom Event ID: -1, Message: Host cloud=
-01.asti.local configuration was updated by admin@internal.<br>2016-01-18 1=
4:59:25,215 INFO [org.ovirt.engine.core.bll.InstallerMessages] (org.o=
virt.thread.pool-8-thread-31) [7a07c15a] Installation 192.168.208.21: Conne=
cted to host 192.168.208.21 with SSH key fingerprint: c5:10:66:b7:1e:a4:18:=
a0:1c:74:f5:ff:1e:24:ea:11<br>2016-01-18 14:59:25,220 INFO [org.ovirt=
.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thr=
ead.pool-8-thread-31) [7a07c15a] Correlation ID: 7a07c15a, Call Stack: null=
, Custom Event ID: -1, Message: Installing Host cloud-01.asti.local. Connec=
ted to host 192.168.208.21 with SSH key fingerprint: c5:10:66:b7:1e:a4:18:a=
0:1c:74:f5:ff:1e:24:ea:11.<br>2016-01-18 14:59:25,311 INFO [org.ovirt=
.engine.core.bll.VdsDeploy] (org.ovirt.thread.pool-8-thread-31) [7a07c15a] =
Installation of 192.168.208.21. Executing command via SSH umask 0077; MYTMP=
=3D"$(TMPDIR=3D"${OVIRT_TMPDIR}" mktemp -d -t ovirt-XXXXXXXXXX)"; trap "chm=
od -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" &g=
t; /dev/null 2>&1" 0; tar --warning=3Dno-timestamp -C "${MYTMP}" -x =
&& "${MYTMP}"/setup DIALOG/dialect=3Dstr:machine DIALOG/custo=
mization=3Dbool:True < /var/cache/ovirt-engine/ovirt-host-deploy.tar<br>=
2016-01-18 14:59:25,321 INFO [org.ovirt.engine.core.uutils.ssh.SSHDia=
log] (org.ovirt.thread.pool-8-thread-31) SSH execute root(a)192.168.208.21 'u=
mask 0077; MYTMP=3D"$(TMPDIR=3D"${OVIRT_TMPDIR}" mktemp -d -t ovirt-XXXXXXX=
XXX)"; trap "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr=
\"${MYTMP}\" > /dev/null 2>&1" 0; tar --warning=3Dno-timestamp -=
C "${MYTMP}" -x && "${MYTMP}"/setup DIALOG/dialect=3Dstr:mach=
ine DIALOG/customization=3Dbool:True'<br>2016-01-18 15:09:25,323 ERROR [org=
.ovirt.engine.core.bll.VdsDeploy] (VdsDeploy) Error during deploy dialog: j=
ava.io.IOException: Unexpected connection termination<br> =
at org.ovirt.otopi.dialog.MachineDialogParser=
.nextEvent(MachineDialogParser.java:388) [otopi.jar:]<br> =
at org.ovirt.otopi.dialog.MachineDialogParser=
.nextEvent(MachineDialogParser.java:405) [otopi.jar:]<br> =
at org.ovirt.engine.core.bll.VdsDeploy._threa=
dMain(VdsDeploy.java:821) [bll.jar:]<br>  =
; at org.ovirt.engine.core.bll.VdsDeploy.access$2000(VdsDeploy.j=
ava:83) [bll.jar:]<br> at or=
g.ovirt.engine.core.bll.VdsDeploy$51.run(VdsDeploy.java:969) [bll.jar:]<br>=
at java.lang.Thread.run(Thr=
ead.java:745) [rt.jar:1.7.0_79]<br><br>2016-01-18 15:09:25,324 ERROR [org.o=
virt.engine.core.uutils.ssh.SSHDialog] (org.ovirt.thread.pool-8-thread-31) =
SSH error running command root(a)192.168.208.21:'umask 0077; MYTMP=3D"$(TMPDI=
R=3D"${OVIRT_TMPDIR}" mktemp -d -t ovirt-XXXXXXXXXX)"; trap "chmod -R u+rwX=
\"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/nul=
l 2>&1" 0; tar --warning=3Dno-timestamp -C "${MYTMP}" -x && =
"${MYTMP}"/setup DIALOG/dialect=3Dstr:machine DIALOG/customization=3D=
bool:True': javax.naming.TimeLimitExceededException: SSH session timeout ho=
st 'root(a)192.168.208.21'<br>  =
;at org.ovirt.engine.core.uutils.ssh.SSHClient.executeCommand(SSHClient.jav=
a:499) [uutils.jar:]<br> at =
org.ovirt.engine.core.uutils.ssh.SSHDialog.executeCommand(SSHDialog.java:31=
8) [uutils.jar:]<br> at org.=
ovirt.engine.core.bll.VdsDeploy.execute(VdsDeploy.java:1118) [bll.jar:]<br>=
at org.ovirt.engine.core.bl=
l.InstallVdsInternalCommand.installHost(InstallVdsInternalCommand.java:154)=
[bll.jar:]<br> at org.ovirt=
.engine.core.bll.InstallVdsInternalCommand.executeCommand(InstallVdsInterna=
lCommand.java:81) [bll.jar:]<br> &=
nbsp;at org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(Com=
mandBase.java:1193) [bll.jar:]<br>  =
; at org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionS=
cope(CommandBase.java:1332) [bll.jar:]<br> &nb=
sp; at org.ovirt.engine.core.bll.CommandBase.runInTransaction(Co=
mmandBase.java:1961) [bll.jar:]<br> &nbs=
p; at org.ovirt.engine.core.utils.transaction.TransactionSupport.execu=
teInSuppressed(TransactionSupport.java:174) [utils.jar:]<br> &nb=
sp; at org.ovirt.engine.core.utils.transaction=
.TransactionSupport.executeInScope(TransactionSupport.java:116) [utils.jar:=
]<br> at org.ovirt.engine.co=
re.bll.CommandBase.execute(CommandBase.java:1356) [bll.jar:]<br>  =
; at org.ovirt.engine.core.bll.CommandBa=
se.executeAction(CommandBase.java:353) [bll.jar:]<br> &nbs=
p; at org.ovirt.engine.core.bll.MultipleActionsRunne=
r.executeValidatedCommand(MultipleActionsRunner.java:193) [bll.jar:]<br>&nb=
sp; at org.ovirt.engine.core.bll.M=
ultipleActionsRunner.runCommands(MultipleActionsRunner.java:160) [bll.jar:]=
<br> at org.ovirt.engine.cor=
e.bll.MultipleActionsRunner$2.run(MultipleActionsRunner.java:169) [bll.jar:=
]<br> at org.ovirt.engine.co=
re.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run(ThreadPoolUt=
il.java:90) [utils.jar:]<br>  =
;at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)=
[rt.jar:1.7.0_79]<br> at ja=
va.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_79]<br=
> at java.util.concurrent.Th=
readPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_79]<=
br> at java.util.concurrent.=
ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_79=
]<br> at java.lang.Thread.ru=
n(Thread.java:745) [rt.jar:1.7.0_79]<br><br>2016-01-18 15:09:25,341 ERROR [=
org.ovirt.engine.core.bll.VdsDeploy] (org.ovirt.thread.pool-8-thread-31) [7=
a07c15a] Timeout during host 192.168.208.21 install: javax.naming.TimeLimit=
ExceededException: SSH session timeout host 'root(a)192.168.208.21'<br> =
at org.ovirt.engine.core.uutils.s=
sh.SSHClient.executeCommand(SSHClient.java:499) [uutils.jar:]<br> &nbs=
p; at org.ovirt.engine.core.uutils.ssh.S=
SHDialog.executeCommand(SSHDialog.java:318) [uutils.jar:]<br> &n=
bsp; at org.ovirt.engine.core.bll.VdsDeploy.ex=
ecute(VdsDeploy.java:1118) [bll.jar:]<br> &nbs=
p; at org.ovirt.engine.core.bll.InstallVdsInternalCommand.instal=
lHost(InstallVdsInternalCommand.java:154) [bll.jar:]<br> &=
nbsp; at org.ovirt.engine.core.bll.InstallVdsInterna=
lCommand.executeCommand(InstallVdsInternalCommand.java:81) [bll.jar:]<br>&n=
bsp; at org.ovirt.engine.core.bll.=
CommandBase.executeWithoutTransaction(CommandBase.java:1193) [bll.jar:]<br>=
at org.ovirt.engine.core.bl=
l.CommandBase.executeActionInTransactionScope(CommandBase.java:1332) [bll.j=
ar:]<br> at org.ovirt.engine=
.core.bll.CommandBase.runInTransaction(CommandBase.java:1961) [bll.jar:]<br=
> at org.ovirt.engine.core.u=
tils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.=
java:174) [utils.jar:]<br> a=
t org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope=
(TransactionSupport.java:116) [utils.jar:]<br>  =
; at org.ovirt.engine.core.bll.CommandBase.execute(Command=
Base.java:1356) [bll.jar:]<br> &nb=
sp;at org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:=
353) [bll.jar:]<br> at org.o=
virt.engine.core.bll.MultipleActionsRunner.executeValidatedCommand(Multiple=
ActionsRunner.java:193) [bll.jar:]<br> &=
nbsp; at org.ovirt.engine.core.bll.MultipleActionsRunner.runCommands(M=
ultipleActionsRunner.java:160) [bll.jar:]<br> =
at org.ovirt.engine.core.bll.MultipleActionsRunner$2.run(=
MultipleActionsRunner.java:169) [bll.jar:]<br>  =
; at org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil=
$InternalWrapperRunnable.run(ThreadPoolUtil.java:90) [utils.jar:]<br> =
at java.util.concurrent.Executors=
$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_79]<br> =
at java.util.concurrent.FutureTask.run(=
FutureTask.java:262) [rt.jar:1.7.0_79]<br> &nb=
sp; at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadP=
oolExecutor.java:1145) [rt.jar:1.7.0_79]<br> &=
nbsp; at java.util.concurrent.ThreadPoolExecutor$Worker.run(Thre=
adPoolExecutor.java:615) [rt.jar:1.7.0_79]<br>  =
; at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_7=
9]<br><br>2016-01-18 15:09:25,348 ERROR [org.ovirt.engine.core.bll.Installe=
rMessages] (org.ovirt.thread.pool-8-thread-31) [7a07c15a] Installation 192.=
168.208.21: Processing stopped due to timeout<br>2016-01-18 15:09:25,354 ER=
ROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] =
(org.ovirt.thread.pool-8-thread-31) [7a07c15a] Correlation ID: 7a07c15a, Ca=
ll Stack: null, Custom Event ID: -1, Message: Failed to install Host cloud-=
01.asti.local. Processing stopped due to timeout.<br>2016-01-18 15:09:25,35=
5 ERROR [org.ovirt.engine.core.bll.InstallVdsInternalCommand] (org.ovirt.th=
read.pool-8-thread-31) [7a07c15a] Host installation failed for host 187f0bd=
4-adc6-4ba2-aa6b-f588960ca677, cloud-01.asti.local.: javax.naming.TimeLimit=
ExceededException: SSH session timeout host 'root(a)192.168.208.21'<br> =
at org.ovirt.engine.core.uutils.s=
sh.SSHClient.executeCommand(SSHClient.java:499) [uutils.jar:]<br> &nbs=
p; at org.ovirt.engine.core.uutils.ssh.S=
SHDialog.executeCommand(SSHDialog.java:318) [uutils.jar:]<br> &n=
bsp; at org.ovirt.engine.core.bll.VdsDeploy.ex=
ecute(VdsDeploy.java:1118) [bll.jar:]<br> &nbs=
p; at org.ovirt.engine.core.bll.InstallVdsInternalCommand.instal=
lHost(InstallVdsInternalCommand.java:154) [bll.jar:]<br> &=
nbsp; at org.ovirt.engine.core.bll.InstallVdsInterna=
lCommand.executeCommand(InstallVdsInternalCommand.java:81) [bll.jar:]<br>&n=
bsp; at org.ovirt.engine.core.bll.=
CommandBase.executeWithoutTransaction(CommandBase.java:1193) [bll.jar:]<br>=
at org.ovirt.engine.core.bl=
l.CommandBase.executeActionInTransactionScope(CommandBase.java:1332) [bll.j=
ar:]<br> at org.ovirt.engine=
.core.bll.CommandBase.runInTransaction(CommandBase.java:1961) [bll.jar:]<br=
> at org.ovirt.engine.core.u=
tils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.=
java:174) [utils.jar:]<br> a=
t org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope=
(TransactionSupport.java:116) [utils.jar:]<br>  =
; at org.ovirt.engine.core.bll.CommandBase.execute(Command=
Base.java:1356) [bll.jar:]<br> &nb=
sp;at org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:=
353) [bll.jar:]<br> at org.o=
virt.engine.core.bll.MultipleActionsRunner.executeValidatedCommand(Multiple=
ActionsRunner.java:193) [bll.jar:]<br> &=
nbsp; at org.ovirt.engine.core.bll.MultipleActionsRunner.runCommands(M=
ultipleActionsRunner.java:160) [bll.jar:]<br> =
at org.ovirt.engine.core.bll.MultipleActionsRunner$2.run(=
MultipleActionsRunner.java:169) [bll.jar:]<br>  =
; at org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil=
$InternalWrapperRunnable.run(ThreadPoolUtil.java:90) [utils.jar:]<br> =
at java.util.concurrent.Executors=
$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_79]<br> =
at java.util.concurrent.FutureTask.run(=
FutureTask.java:262) [rt.jar:1.7.0_79]<br> &nb=
sp; at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadP=
oolExecutor.java:1145) [rt.jar:1.7.0_79]<br> &=
nbsp; at java.util.concurrent.ThreadPoolExecutor$Worker.run(Thre=
adPoolExecutor.java:615) [rt.jar:1.7.0_79]<br>  =
; at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_7=
9]<br><br>2016-01-18 15:09:25,364 INFO [org.ovirt.engine.core.vdsbrok=
er.SetVdsStatusVDSCommand] (org.ovirt.thread.pool-8-thread-31) [7a07c15a] S=
TART, SetVdsStatusVDSCommand(HostName =3D cloud-01.asti.local, HostId =3D 1=
87f0bd4-adc6-4ba2-aa6b-f588960ca677, status=3DInstallFailed, nonOperational=
Reason=3DNONE, stopSpmFailureLogged=3Dfalse), log id: 53d45876<br>2016-01-1=
8 15:09:25,367 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSC=
ommand] (org.ovirt.thread.pool-8-thread-31) [7a07c15a] FINISH, SetVdsStatus=
VDSCommand, log id: 53d45876<br>2016-01-18 15:09:25,371 ERROR [org.ovirt.en=
gine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread=
.pool-8-thread-31) [7a07c15a] Correlation ID: 7a07c15a, Call Stack: null, C=
ustom Event ID: -1, Message: Host cloud-01.asti.local installation failed. =
SSH session timeout host 'root(a)192.168.208.21'.<br>2016-01-18 15:09:25,372 =
INFO [org.ovirt.engine.core.bll.InstallVdsInternalCommand] (org.ovirt=
.thread.pool-8-thread-31) [7a07c15a] Lock freed to object EngineLock [exclu=
siveLocks=3D key: 187f0bd4-adc6-4ba2-aa6b-f588960ca677 value: VDS<br>, shar=
edLocks=3D ]<br><br><span data-mce-style=3D"background-color: #ffff00;" sty=
le=3D"background-color: rgb(255, 255, 0);">Host:</span><br>../log/secure<br=
>Jan 18 14:59:26 cloud-01 sshd[12843]: Accepted password for root from 192.=
168.208.20 port 41232 ssh2<br>Jan 18 14:59:26 cloud-01 sshd[12843]: pam_uni=
x(sshd:session): session opened for user root by (uid=3D0)<br><br></div><di=
v data-marker=3D"__SIG_PRE__">Thanks,<br>Jaicel</div><div><br></div><hr id=
=3D"zwchr" data-marker=3D"__DIVIDER__"><div data-marker=3D"__HEADERS__"><b>=
From: </b>"Simone Tiraboschi" <stirabos(a)redhat.com><br><b>To: </b>"ja=
icel" <jaicel(a)asti.dost.gov.ph><br><b>Cc: </b>"users" <users@ovirt=
.org><br><b>Sent: </b>Thursday, January 14, 2016 9:24:55 PM<br><b>Subjec=
t: </b>Re: [ovirt-users] ovirt-host-deploy PKI<br></div><div><br></div><div=
data-marker=3D"__QUOTED_TEXT__"><div dir=3D"ltr"><br><div class=3D"gmail_e=
xtra"><br><div class=3D"gmail_quote">On Thu, Jan 14, 2016 at 12:31 PM, Jaic=
el <span dir=3D"ltr"><<a href=3D"mailto:jaicel@asti.dost.gov.ph" target=
=3D"_blank">jaicel(a)asti.dost.gov.ph</a>></span> wrote:<br><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px=
;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1e=
x"><div><div style=3D"font-family:arial,helvetica,sans-serif;font-size:10pt=
;color:rgb(0,0,0)"><div>Yes simone i can access the host from the server wh=
ere my engine is running. attached is the engine log during the "add host".=
<br></div></div></div></blockquote><br><div>Can you please try to run =
</div><div> journalctl -f -u sshd</div><div>on host while you tr=
y to deploy it?</div><div> </div><blockquote class=3D"gmail_quote" sty=
le=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(=
204,204,204);border-left-style:solid;padding-left:1ex"><div><div style=3D"f=
ont-family:arial,helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)"><br>=
<div>Thanks,<br>Jaicel</div><br><hr><div><b>From: </b>"Simone Tiraboschi" &=
lt;<a href=3D"mailto:stirabos@redhat.com" target=3D"_blank">stirabos@redhat=
.com</a>><br><b>To: </b>"jaicel" <<a href=3D"mailto:jaicel@asti.dost.=
gov.ph" target=3D"_blank">jaicel(a)asti.dost.gov.ph</a>><br><b>Cc: </b>"us=
ers" <<a href=3D"mailto:users@ovirt.org" target=3D"_blank">users(a)ovirt.o=
rg</a>><br><b>Sent: </b>Thursday, January 14, 2016 6:42:58 PM<br><b>Subj=
ect: </b>Re: [ovirt-users] ovirt-host-deploy PKI<br></div><div><div class=
=3D"h5"><br><div><div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div c=
lass=3D"gmail_quote">On Thu, Jan 14, 2016 at 11:24 AM, Jaicel <span dir=3D"=
ltr"><<a href=3D"mailto:jaicel@asti.dost.gov.ph" target=3D"_blank">jaice=
l(a)asti.dost.gov.ph</a>></span> wrote:<br><blockquote class=3D"gmail_quot=
e" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-colo=
r:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div styl=
e=3D"font-family:arial,helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)=
"><div>Hi,<br></div><br><div>anyone here tried this type of host installati=
on? i'm installing additional hosts<br></div><div>for my cluster but the sa=
me procedure through ovirt engine's webgui won't<br></div><div>let me insta=
ll the additional hosts. i don't know where the problem is but the<br></div=
><div>error is ssh timeout, </div></div></div></blockquote><br><div>Can you=
please attach your engine.log ?</div><div>Are you able to manually access =
via ssh the host you are trying to add from the server where the engine run=
s?</div><div> </div><blockquote class=3D"gmail_quote" style=3D"margin:=
0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);=
border-left-style:solid;padding-left:1ex"><div><div style=3D"font-family:ar=
ial,helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)"><div>so i tried t=
his type of installation (ovirt-host-deploy)<br></div><div>directly on the =
host. but i'm stuck in PKI setup. hope anyone could help me<br></div><div>t=
hrough this.<br></div><br></div></div></blockquote><br><div>Let's solve the=
issue with SSH</div><div> </div><blockquote class=3D"gmail_quote" sty=
le=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(=
204,204,204);border-left-style:solid;padding-left:1ex"><div><div style=3D"f=
ont-family:arial,helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)"><div=
><span style=3D"background-color:rgb(255,255,153)"> =
Setting up PKI</span><br><br><br><span style=
=3D"background-color:rgb(255,255,153)"> =
Please issue VDSM certificate based on this certificate =
request</span><br><br><span style=3D"background-color:rgb(255,255,153)">D:M=
ULTI-STRING VDSM_CERTIFICATE_REQUEST --=3D451b80dc-996f-432e-9e4f-2b29ef6d1=
141=3D--</span><br><span style=3D"background-color:rgb(255,255,153)">-----B=
EGIN CERTIFICATE REQUEST-----</span><br><span style=3D"background-color:rgb=
(255,255,153)">MIICRDCCASwCADAAMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA=
2ZcM</span><br><span style=3D"background-color:rgb(255,255,153)">eRt8gU7aPw=
w5okuT3oi3LbMDDhkV5POQLYyJXxr8lb/ai0Y+rM1y7Gl1dTnCCEQd</span><br><span styl=
e=3D"background-color:rgb(255,255,153)">oiNur/AfOWb1ZJQTv0d+6JNUSUKv+I+xHnb=
WNidalUR/HZNXDklUinktAiezPA5H</span><br><span style=3D"background-color:rgb=
(255,255,153)">QVZYzo2jLnyQbkfZJU5ktkfE4So8prTBJYEGz4idXK5ry9aWGTcVpq0UBLrd=
tJ/U</span><br><span style=3D"background-color:rgb(255,255,153)">vKf8YoieGt=
jbodi6X3cf2Wp4tIDyEVKbRE4hqKXGwAIibdHIyDki8tGBleoCf0gS</span><br><span styl=
e=3D"background-color:rgb(255,255,153)">n5vs53dOTilF/pHX2VzK4yOIzmJbje6eAed=
bUYuYybktthkrS4FkVNFTxN3CZGR5</span><br><span style=3D"background-color:rgb=
(255,255,153)">CgYNorV7ncSb2ZEqXwIDAQABoAAwDQYJKoZIhvcNAQEFBQADggEBAAqY3tq3=
stRk</span><br><span style=3D"background-color:rgb(255,255,153)">9euhu+G7YI=
SAlMVjrBa8OYqxsigG2H/FWA2GI6EuccK8TrDiDDZVzzaTV/H+kTuz</span><br><span styl=
e=3D"background-color:rgb(255,255,153)">LQC5CejLN/leGZsrCYyYwOE5yLv+CKDv8pH=
AcrhgRGbfF/nb1k/8vxUlZo8lfOqk</span><br><span style=3D"background-color:rgb=
(255,255,153)">mvP3oPeOZr+dGgov4AD0XJT0MJrKAsxn3zK9JvjKvXTfyk0oK7shbVCfP048=
pWc2</span><br><span style=3D"background-color:rgb(255,255,153)">f41Z5aKTKB=
qyFanQuqLKHxvOIhJSmZeXRFe0eUUpfSMakL7JQ7juGsMb6KEusmSe</span><br><span styl=
e=3D"background-color:rgb(255,255,153)">047x1vLqhBBYsRBSkURSPGOcBQ7ReXTcoGt=
VzjGki63Hj2aX5Fm6yCzZHGJb+m97</span><br><span style=3D"background-color:rgb=
(255,255,153)">q0tF3Fuy75U=3D</span><br><span style=3D"background-color:rgb=
(255,255,153)">-----END CERTIFICATE REQUEST-----</span><br><span style=3D"b=
ackground-color:rgb(255,255,153)">--=3D451b80dc-996f-432e-9e4f-2b29ef6d1141=
=3D--</span><br><br><br><span style=3D"background-color:rgb(255,255,153)">&=
nbsp; Please input VDSM cer=
tificate chain that matches certificate request, top is issuer</span><br><b=
r><span style=3D"background-color:rgb(255,255,153)">  =
; type '--=3D451b80dc-996f-432e-9e4f-2b29ef6d=
1141=3D--' in own line to mark end.</span><br></div><br><br><div>Thanks,<br=
>Jaicel</div></div></div><br>______________________________________________=
_<br>
Users mailing list<br>
<a href=3D"mailto:Users@ovirt.org" target=3D"_blank">Users(a)ovirt.org</a><br=
>
<a href=3D"http://lists.ovirt.org/mailman/listinfo/users" rel=3D"noreferrer=
" target=3D"_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br></blockquote></div></div></div><br></div></div></div></div></div></bloc=
kquote></div></div></div><br></div></div></body></html>
------=_Part_16607590_458388210.1453101632745--
8 years, 11 months
[ANN] Team in Whiteboard is not more, long live oVirt Team custom field.
by Yaniv Dary
Hi All,
For a long time now we have been using the whiteboard free-text field to
set the team that owns each ticket in Bugzilla. This causes several issues:
- The usage was not documented.
- We had issue reporting on that field.
- People can make mistakes setting it (mis-spelling the team for example).
Today Bugzilla team has completed setting oVirt Team field for all open
bugs (NEW-> VERIFIED). From today we will be moving to using it. The
documentation for this field is updated in Bugzilla, so if you are not sure
on what team to set the ticket, click on the field itself and you will have
a detailed help page.
Please update all queries to use it! It should be easy to do so by changing
the field you search on from 'Whiteboard' to 'oVirt Team'.
Next Tuesday (26/01/16) I will request removal of all whiteboard team
values. Please make sure to fix you queries beforehand.
Thanks!
Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109
Tel : +972 (9) 7692306
8272306
Email: ydary(a)redhat.com
IRC : ydary
8 years, 11 months
Unable to upgrade ovirt-engine 3.5.5 to 3.6.1 on EL6
by Frank Wall
Hi,
I've just tried to upgrade my ovirt-engine 3.5.5 which is still running on EL6,
but it failed due to a dependency error regarding slf4j:
# 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-20151231233407-lmovl5.log
Version: otopi-1.4.0 (otopi-1.4.0-1.el6)
[ INFO ] Stage: Environment packages setup
[ INFO ] Stage: Programs detection
[ INFO ] Stage: Environment setup
[ INFO ] Stage: Environment customization
--== PRODUCT OPTIONS ==--
--== PACKAGES ==--
[ INFO ] Checking for product updates...
[ ERROR ] Yum: [u'ovirt-engine-3.6.1.3-1.el6.noarch requires slf4j >= 1.7.0', u'vdsm-jsonrpc-java-1.1.5-1.el6.noarch requires slf4j >= 1.6.1']
[ INFO ] Yum: Performing yum transaction rollback
[ ERROR ] Failed to execute stage 'Environment customization': [u'ovirt-engine-3.6.1.3-1.el6.noarch requires slf4j >= 1.7.0', u'vdsm-jsonrpc-java-1.1.5-1.el6.noarch requires slf4j >= 1.6.1']
[ INFO ] Stage: Clean up
Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20151231233407-lmovl5.log
[ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20151231233424-setup.conf'
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
[ ERROR ] Execution of setup failed
I've followed the upgrade guide [1], and yes, I'm aware that AiO is no longer
supported on EL6 [2], but this is just my Hosted-Engine VM, *not* an AiO host.
So I thought it would still work.
I haven't attached any further logs, because this error is really obvious I
guess. These are the currently installed oVirt packages:
otopi-1.4.0-1.el6.noarch
otopi-java-1.4.0-1.el6.noarch
ovirt-engine-3.5.5-1.el6.noarch
ovirt-engine-backend-3.5.5-1.el6.noarch
ovirt-engine-cli-3.5.0.5-1.el6.noarch
ovirt-engine-dbscripts-3.5.5-1.el6.noarch
ovirt-engine-extension-aaa-jdbc-1.0.4-1.el6.noarch
ovirt-engine-extensions-api-impl-3.5.5-1.el6.noarch
ovirt-engine-jboss-as-7.1.1-1.el6.x86_64
ovirt-engine-lib-3.6.1.3-1.el6.noarch
ovirt-engine-restapi-3.5.5-1.el6.noarch
ovirt-engine-sdk-python-3.5.2.1-1.el6.noarch
ovirt-engine-setup-3.6.1.3-1.el6.noarch
ovirt-engine-setup-base-3.6.1.3-1.el6.noarch
ovirt-engine-setup-plugin-ovirt-engine-3.6.1.3-1.el6.noarch
ovirt-engine-setup-plugin-ovirt-engine-common-3.6.1.3-1.el6.noarch
ovirt-engine-setup-plugin-websocket-proxy-3.6.1.3-1.el6.noarch
ovirt-engine-tools-3.5.5-1.el6.noarch
ovirt-engine-userportal-3.5.5-1.el6.noarch
ovirt-engine-webadmin-portal-3.5.5-1.el6.noarch
ovirt-engine-websocket-proxy-3.5.5-1.el6.noarch
ovirt-host-deploy-1.3.1-1.el6.noarch
ovirt-host-deploy-java-1.3.1-1.el6.noarch
ovirt-image-uploader-3.5.1-1.el6.noarch
ovirt-iso-uploader-3.5.2-1.el6.noarch
vdsm-jsonrpc-java-1.0.15-1.el6.noarch
Any ideas?
[1] http://www.ovirt.org/OVirt_3.6.1_Release_Notes#oVirt_Hosted_Engine
[2] http://www.ovirt.org/OVirt_3.6.1_Release_Notes#Known_issues
Regards
- Frank
8 years, 11 months
adding an ip on a host that run a vm connected to that bridge
by Nathanaël Blanchet
Why is it forbiden to add an address (static or dhcp) to bridge on a
host that runs a vm which is connected to that bridge?
As a workaround, I can put manually an address for that bridge on that
host and refresh capabilities.
Is it a desired feature?
--
Nathanaël Blanchet
Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5
Tél. 33 (0)4 67 54 84 55
Fax 33 (0)4 67 54 84 14
blanchet(a)abes.fr
8 years, 11 months
AAA/ldap/3.6 Issues - WARNING [ovirt-engine-extension-aaa-ldap.authn::LDAP-authn] Cannot initialize LDAP framework, deferring initialization.
by David LeVene
--_000_BLUPR0301MB1971508F542C791B4C489813E9CD0BLUPR0301MB1971_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hey,
I'm running into an issue which I'm not sure where to go from here. I'm try=
ing to use LDAP authentication and am following the setup guide from here
https://gerrit.ovirt.org/gitweb?p=3Dovirt-engine-extension-aaa-ldap.git;a=
=3Dblob;f=3DREADME;hb=3DHEAD
I have tested the ldap credentials manually using ldapsearch, and I get res=
ults as expected with the user I'm binding with - but when I use ovirt I ru=
n into problems.
I hope someone can provide me some guidance, or other things to try!
DNS resolves;
Can manually do ldap lookups using ldapsearch
Can telnet to hostname 389 successfully
Below are the steps taken;
# ovirt-engine-extension-aaa-ldap-setup
[ INFO ] Stage: Initializing
[ INFO ] Stage: Environment setup
Configuration files: ['/etc/ovirt-engine-extension-aaa-ldap-setup=
.conf.d/10-packaging.conf']
Log file: /tmp/ovirt-engine-extension-aaa-ldap-setup-201601151512=
31-o0d7hp.log
Version: otopi-1.4.0 (otopi-1.4.0-1.el7.centos)
[ INFO ] Stage: Environment packages setup
[ INFO ] Stage: Programs detection
[ INFO ] Stage: Environment customization
Welcome to LDAP extension configuration program
Please specify profile name that will be visible to users: LDAP
Available LDAP implementations:
1 - 389ds
2 - 389ds RFC-2307 Schema
3 - Active Directory
4 - IPA
5 - Novell eDirectory RFC-2307 Schema
6 - OpenLDAP RFC-2307 Schema
7 - OpenLDAP Standard Schema
8 - Oracle Unified Directory RFC-2307 Schema
9 - RFC-2307 Schema (Generic)
10 - RHDS
11 - RHDS RFC-2307 Schema
12 - iPlanet
Please select: 1
NOTE:
It is highly recommended to use DNS resolution for LDAP server.
If for some reason you intend to use hosts or plain address disab=
le DNS usage.
Use DNS (Yes, No) [Yes]:
Available policy method:
1 - Single server
2 - DNS domain LDAP SRV record
3 - Round-robin between multiple hosts
4 - Failover between multiple hosts
Please select: 1
Please enter host address: ldap-test-server
[ INFO ] Trying to resolve host 'ldap-test-server'
NOTE:
It is highly recommended to use secure protocol to access the LDA=
P server.
Protocol startTLS is the standard recommended method to do so.
Only in cases in which the startTLS is not supported, fallback to=
non standard ldaps protocol.
Use plain for test environments only.
Please select protocol to use (startTLS, ldaps, plain) [startTLS]=
: plain
[ INFO ] Connecting to LDAP using 'ldap://ldap-test-server:389'
[ INFO ] Connection succeeded
Enter search user DN (empty for anonymous): uid=3Dovirt-test,ou=
=3DSpecial Users,dc=3Dtest
Enter search user password:
[ INFO ] Attempting to bind using 'uid=3Dovirt-test,ou=3DSpecial Users,dc=
=3Dtest'
[ INFO ] Stage: Setup validation
NOTE:
It is highly recommended to test drive the configuration before a=
pplying it into engine.
Perform at least one Login sequence and one Search sequence.
Select test sequence to execute (Done, Abort, Login, Search) [Abo=
rt]: Login
Enter search user name: uid=3Dovirt-test,ou=3DSpecial Users,dc=3D=
test
Enter search user password:
[ INFO ] Executing login sequence...
Login output:
2016-01-15 15:13:25 INFO =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
2016-01-15 15:13:25 INFO =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Initialization =3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
2016-01-15 15:13:25 INFO =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
2016-01-15 15:13:25 INFO Loading extension 'LDAP-authn'
2016-01-15 15:13:25 INFO Extension 'LDAP-authn' loaded
2016-01-15 15:13:25 INFO Loading extension 'LDAP-authz'
2016-01-15 15:13:25 INFO Extension 'LDAP-authz' loaded
2016-01-15 15:13:25 INFO Initializing extension 'LDAP-authn'
2016-01-15 15:13:25 INFO [ovirt-engine-extension-aaa-ldap.auth=
n::LDAP-authn] Creating LDAP pool 'authz'
2016-01-15 15:13:25 WARNING [ovirt-engine-extension-aaa-ldap.auth=
n::LDAP-authn] Cannot initialize LDAP framework, deferring initialization. =
Error: An error occurred while attempting to connect to server ldap-test-se=
rver:389: java.io.IOException: LDAPException(resultCode=3D91 (connect erro=
r), errorMessage=3D'An error occurred while attempting to establish a conne=
ction to server ldap-test-server/xxxx:xxxx:xxx:x:xxxx:xx:xx48:dcc0:389: ja=
va.net.UnknownHostException: ldap-test-server') caused by LDAPException(res=
ultCode=3D91 (connect error), errorMessage=3D'An error occurred while attem=
pting to establish a connection to server ldap-test-server/xxxx:xxxx:xxx:x:=
xxxx:xx:xx48:dcc0:389: java.net.UnknownHostException: ldap-test-server')LD=
APException(resultCode=3D91 (connect error), errorMessage=3D'An error occur=
red while attempting to establish a connection to server ldap-test-server/x=
xxx:xxxx:xxx:x:xxxx:xx:xx48:dcc0:389: java.net.UnknownHostException: ldap-=
test-server') caused by java.net.UnknownHostException: ldap-test-server
2016-01-15 15:13:25 INFO Extension 'LDAP-authn' initialized
2016-01-15 15:13:25 INFO Initializing extension 'LDAP-authz'
2016-01-15 15:13:25 INFO [ovirt-engine-extension-aaa-ldap.auth=
z::LDAP-authz] Creating LDAP pool 'authz'
2016-01-15 15:13:25 WARNING [ovirt-engine-extension-aaa-ldap.auth=
z::LDAP-authz] Cannot initialize LDAP framework, deferring initialization. =
Error: An error occurred while attempting to connect to server ldap-test-se=
rver:389: java.io.IOException: LDAPException(resultCode=3D91 (connect erro=
r), errorMessage=3D'An error occurred while attempting to establish a conne=
ction to server ldap-test-server/xxxx:xxxx:xxx:x:xxxx:xx:xx48:dcc0:389: ja=
va.net.UnknownHostException: ldap-test-server') caused by LDAPException(res=
ultCode=3D91 (connect error), errorMessage=3D'An error occurred while attem=
pting to establish a connection to server ldap-test-server/xxxx:xxxx:xxx:x:=
xxxx:xx:xx48:dcc0:389: java.net.UnknownHostException: ldap-test-server')LD=
APException(resultCode=3D91 (connect error), errorMessage=3D'An error occur=
red while attempting to establish a connection to server ldap-test-server/x=
xxx:xxxx:xxx:x:xxxx:xx:xx48:dcc0:389: java.net.UnknownHostException: ldap-=
test-server') caused by java.net.UnknownHostException: ldap-test-server
2016-01-15 15:13:25 INFO Extension 'LDAP-authz' initialized
2016-01-15 15:13:25 INFO Start of enabled extensions list
2016-01-15 15:13:25 INFO Instance name: 'LDAP-authn', Extensio=
n name: 'ovirt-engine-extension-aaa-ldap.authn', Version: '1.1.2', Notes: '=
Display name: ovirt-engine-extension-aaa-ldap-1.1.2-1.el7.centos', License:=
'ASL 2.0', Home: 'http://www.ovirt.org', Author 'The oVirt Project', Build=
interface Version: '0', File: '/tmp/tmpM8fPs4/extensions.d/LDAP-authn.pro=
perties', Initialized: 'true'
2016-01-15 15:13:25 INFO Instance name: 'LDAP-authz', Extensio=
n name: 'ovirt-engine-extension-aaa-ldap.authz', Version: '1.1.2', Notes: '=
Display name: ovirt-engine-extension-aaa-ldap-1.1.2-1.el7.centos', License:=
'ASL 2.0', Home: 'http://www.ovirt.org', Author 'The oVirt Project', Build=
interface Version: '0', File: '/tmp/tmpM8fPs4/extensions.d/LDAP-authz.pro=
perties', Initialized: 'true'
2016-01-15 15:13:25 INFO End of enabled extensions list
2016-01-15 15:13:25 INFO =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
2016-01-15 15:13:25 INFO =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Execution =3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
2016-01-15 15:13:25 INFO =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
2016-01-15 15:13:25 INFO Profile=3D'LDAP' authn=3D'LDAP-authn'=
authz=3D'LDAP-authz' mapping=3D'null'
2016-01-15 15:13:25 INFO API: -->Authn.InvokeCommands.AUTHENTI=
CATE_CREDENTIALS user=3D'uid=3Dovirt-test,ou=3DSpecial Users,dc=3Dtest'
2016-01-15 15:13:25 INFO [ovirt-engine-extension-aaa-ldap.auth=
n::LDAP-authn] Creating LDAP pool 'authz'
2016-01-15 15:13:25 WARNING [ovirt-engine-extension-aaa-ldap.auth=
n::LDAP-authn] Cannot initialize LDAP framework, deferring initialization. =
Error: An error occurred while attempting to connect to server ldap-test-se=
rver:389: java.io.IOException: LDAPException(resultCode=3D91 (connect erro=
r), errorMessage=3D'An error occurred while attempting to establish a conne=
ction to server ldap-test-server/xxxx:xxxx:xxx:x:xxxx:xx:xx48:dcc0:389: ja=
va.net.UnknownHostException: ldap-test-server') caused by LDAPException(res=
ultCode=3D91 (connect error), errorMessage=3D'An error occurred while attem=
pting to establish a connection to server ldap-test-server/xxxx:xxxx:xxx:x:=
xxxx:xx:xx48:dcc0:389: java.net.UnknownHostException: ldap-test-server')LD=
APException(resultCode=3D91 (connect error), errorMessage=3D'An error occur=
red while attempting to establish a connection to server ldap-test-server/x=
xxx:xxxx:xxx:x:xxxx:xx:xx48:dcc0:389: java.net.UnknownHostException: ldap-=
test-server') caused by java.net.UnknownHostException: ldap-test-server
2016-01-15 15:13:25 SEVERE An error occurred while attempting to=
connect to server ldap-test-server:389: java.io.IOException: LDAPExceptio=
n(resultCode=3D91 (connect error), errorMessage=3D'An error occurred while =
attempting to establish a connection to server ldap-test-server/xxxx:xxxx:x=
xx:x:xxxx:xx:xx48:dcc0:389: java.net.UnknownHostException: ldap-test-serve=
r') caused by LDAPException(resultCode=3D91 (connect error), errorMessage=
=3D'An error occurred while attempting to establish a connection to server =
ldap-test-server/xxxx:xxxx:xxx:x:xxxx:xx:xx48:dcc0:389: java.net.UnknownHo=
stException: ldap-test-server')LDAPException(resultCode=3D91 (connect error=
), errorMessage=3D'An error occurred while attempting to establish a connec=
tion to server ldap-test-server/xxxx:xxxx:xxx:x:xxxx:xx:xx48:dcc0:389: jav=
a.net.UnknownHostException: ldap-test-server') caused by java.net.UnknownHo=
stException: ldap-test-server
[ ERROR ] Sequence failed
Select test sequence to execute (Done, Abort, Login, Search) [Abo=
rt]:
[ ERROR ] Failed to execute stage 'Setup validation': Aborted by user
[ INFO ] Stage: Clean up
Log file is available at /tmp/ovirt-engine-extension-aaa-ldap-set=
up-20160115151231-o0d7hp.log:
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
This email and any attachments may contain confidential and proprietary inf=
ormation of Blackboard that is for the sole use of the intended recipient. =
If you are not the intended recipient, disclosure, copying, re-distribution=
or other use of any of this information is strictly prohibited. Please imm=
ediately notify the sender and delete this transmission if you received thi=
s email in error.
--_000_BLUPR0301MB1971508F542C791B4C489813E9CD0BLUPR0301MB1971_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-AU" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hey,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">I’m running into an issue which I’m not =
sure where to go from here. I’m trying to use LDAP authentication and=
am following the setup guide from here
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><a href=3D"https://gerrit.ovirt.org/gitweb?p=3Dovirt=
-engine-extension-aaa-ldap.git;a=3Dblob;f=3DREADME;hb=3DHEAD">https://gerri=
t.ovirt.org/gitweb?p=3Dovirt-engine-extension-aaa-ldap.git;a=3Dblob;f=3DREA=
DME;hb=3DHEAD</a><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">I have tested the ldap credentials manually using ld=
apsearch, and I get results as expected with the user I’m binding wit=
h - but when I use ovirt I run into problems.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">I hope someone can provide me some guidance, or othe=
r things to try!<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">DNS resolves;<o:p></o:p></p>
<p class=3D"MsoNormal">Can manually do ldap lookups using ldapsearch<=
o:p></o:p></p>
<p class=3D"MsoNormal">Can telnet to hostname 389 successfully<o:p></o:p></=
p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Below are the steps taken;<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"># ovirt-engine-extension-aaa-ldap-setup<o:p></o:p></=
p>
<p class=3D"MsoNormal">[ INFO ] Stage: Initializing<o:p></o:p></p>
<p class=3D"MsoNormal">[ INFO ] Stage: Environment setup<o:p></o:p></=
p>
<p class=3D"MsoNormal"> &nbs=
p; Configuration files: ['/etc/ovirt-engine-extension-aaa-ldap-setup.conf.d=
/10-packaging.conf']<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; Log file: /tmp/ovirt-engine-extension-aaa-ldap-setup-20160115151231-o0d7=
hp.log<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; Version: otopi-1.4.0 (otopi-1.4.0-1.el7.centos)<o:p></o:p></p>
<p class=3D"MsoNormal">[ INFO ] Stage: Environment packages setup<o:p=
></o:p></p>
<p class=3D"MsoNormal">[ INFO ] Stage: Programs detection<o:p></o:p><=
/p>
<p class=3D"MsoNormal">[ INFO ] Stage: Environment customization<o:p>=
</o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; Welcome to LDAP extension configuration program<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; Please specify profile name that will be visible to users: LDAP<o:p></o:=
p></p>
<p class=3D"MsoNormal"> &nbs=
p; Available LDAP implementations:<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 1 - 389ds<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 2 - 389ds RFC-2307 Schema<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 3 - Active Directory<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 4 - IPA<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 5 - Novell eDirectory RFC-2307 Schema<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 6 - OpenLDAP RFC-2307 Schema<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 7 - OpenLDAP Standard Schema<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 8 - Oracle Unified Directory RFC-2307 Schema<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 9 - RFC-2307 Schema (Generic)<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 10 - RHDS<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 11 - RHDS RFC-2307 Schema<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 12 - iPlanet<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; Please select: 1<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; NOTE:<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; It is highly recommended to use DNS resolution for LDAP server.<o:p></o:=
p></p>
<p class=3D"MsoNormal"> &nbs=
p; If for some reason you intend to use hosts or plain address disable DNS =
usage.<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; Use DNS (Yes, No) [Yes]:<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; Available policy method:<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 1 - Single server<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 2 - DNS domain LDAP SRV record<o:p></o:p></p>
<p class=3D"MsoNormal"> &nb=
sp; 3 - Round-robin between multiple hosts<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 4 - Failover between multiple hosts<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; Please select: 1<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; Please enter host address: ldap-test-server<o:p></o:p></p>
<p class=3D"MsoNormal">[ INFO ] Trying to resolve host 'ldap-test-ser=
ver'<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; NOTE:<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; It is highly recommended to use secure protocol to access the LDAP serve=
r.<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; Protocol startTLS is the standard recommended method to do so.<o:p></o:p=
></p>
<p class=3D"MsoNormal"> &nbs=
p; Only in cases in which the startTLS is not supported, fallback to non st=
andard ldaps protocol.<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; Use plain for test environments only.<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; Please select protocol to use (startTLS, ldaps, plain) [startTLS]: plain=
<o:p></o:p></p>
<p class=3D"MsoNormal">[ INFO ] Connecting to LDAP using 'ldap://ldap=
-test-server:389'<o:p></o:p></p>
<p class=3D"MsoNormal">[ INFO ] Connection succeeded<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; Enter search user DN (empty for anonymous): uid=3Dovirt-test,ou=3DSpecia=
l Users,dc=3Dtest<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; Enter search user password:<o:p></o:p></p>
<p class=3D"MsoNormal">[ INFO ] Attempting to bind using 'uid=3Dovirt=
-test,ou=3DSpecial Users,dc=3Dtest'<o:p></o:p></p>
<p class=3D"MsoNormal">[ INFO ] Stage: Setup validation<o:p></o:p></p=
>
<p class=3D"MsoNormal"> &nbs=
p; NOTE:<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; It is highly recommended to test drive the configuration before applying=
it into engine.<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; Perform at least one Login sequence and one Search sequence.<o:p></o:p><=
/p>
<p class=3D"MsoNormal"> &nbs=
p; Select test sequence to execute (Done, Abort, Login, Search) [Abort]: Lo=
gin<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; Enter search user name: uid=3Dovirt-test,ou=3DSpecial Users,dc=3Dtest<o:=
p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; Enter search user password:<o:p></o:p></p>
<p class=3D"MsoNormal">[ INFO ] Executing login sequence...<o:p></o:p=
></p>
<p class=3D"MsoNormal"> &nbs=
p; Login output:<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 2016-01-15 15:13:25 INFO =3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 2016-01-15 15:13:25 INFO =3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Initialization =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 2016-01-15 15:13:25 INFO =3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 2016-01-15 15:13:25 INFO Loading extension 'LDAP-authn=
'<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 2016-01-15 15:13:25 INFO Extension 'LDAP-authn' loaded=
<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 2016-01-15 15:13:25 INFO Loading extension 'LDAP-authz=
'<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 2016-01-15 15:13:25 INFO Extension 'LDAP-authz' loaded=
<o:p></o:p></p>
<p class=3D"MsoNormal"> &nb=
sp;2016-01-15 15:13:25 INFO Initializing extension 'LDAP-=
authn'<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 2016-01-15 15:13:25 INFO [ovirt-engine-extension-aaa-l=
dap.authn::LDAP-authn] Creating LDAP pool 'authz'<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 2016-01-15 15:13:25 WARNING [ovirt-engine-extension-aaa-ldap.authn::LDAP=
-authn] Cannot initialize LDAP framework, deferring initialization. Error: =
An error occurred while attempting to connect to server ldap-test-server:38=
9:
java.io.IOException: LDAPException(resultCode=3D91 (connect error), errorM=
essage=3D'An error occurred while attempting to establish a connection to s=
erver ldap-test-server/xxxx:xxxx:xxx:x:xxxx:xx:xx48:dcc0:389: java.ne=
t.UnknownHostException: ldap-test-server')
caused by LDAPException(resultCode=3D91 (connect error), errorMessage=3D'A=
n error occurred while attempting to establish a connection to server ldap-=
test-server/xxxx:xxxx:xxx:x:xxxx:xx:xx48:dcc0:389: java.net.UnknownHo=
stException: ldap-test-server')LDAPException(resultCode=3D91
(connect error), errorMessage=3D'An error occurred while attempting to est=
ablish a connection to server ldap-test-server/xxxx:xxxx:xxx:x:xxxx:xx:xx48=
:dcc0:389: java.net.UnknownHostException: ldap-test-server') caused b=
y java.net.UnknownHostException: ldap-test-server<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 2016-01-15 15:13:25 INFO Extension 'LDAP-authn' initia=
lized<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 2016-01-15 15:13:25 INFO Initializing extension 'LDAP-=
authz'<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 2016-01-15 15:13:25 INFO [ovirt-engine-extension-aaa-l=
dap.authz::LDAP-authz] Creating LDAP pool 'authz'<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 2016-01-15 15:13:25 WARNING [ovirt-engine-extension-aaa-ldap.authz::LDAP=
-authz] Cannot initialize LDAP framework, deferring initialization. Error: =
An error occurred while attempting to connect to server ldap-test-server:38=
9:
java.io.IOException: LDAPException(resultCode=3D91 (connect error), errorM=
essage=3D'An error occurred while attempting to establish a connection to s=
erver ldap-test-server/xxxx:xxxx:xxx:x:xxxx:xx:xx48:dcc0:389: java.ne=
t.UnknownHostException: ldap-test-server')
caused by LDAPException(resultCode=3D91 (connect error), errorMessage=3D'A=
n error occurred while attempting to establish a connection to server ldap-=
test-server/xxxx:xxxx:xxx:x:xxxx:xx:xx48:dcc0:389: java.net.UnknownHo=
stException: ldap-test-server')LDAPException(resultCode=3D91
(connect error), errorMessage=3D'An error occurred while attempting to est=
ablish a connection to server ldap-test-server/xxxx:xxxx:xxx:x:xxxx:xx:xx48=
:dcc0:389: java.net.UnknownHostException: ldap-test-server') caused b=
y java.net.UnknownHostException: ldap-test-server<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 2016-01-15 15:13:25 INFO Extension 'LDAP-authz' initia=
lized<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 2016-01-15 15:13:25 INFO Start of enabled extensions l=
ist<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 2016-01-15 15:13:25 INFO Instance name: 'LDAP-authn', =
Extension name: 'ovirt-engine-extension-aaa-ldap.authn', Version: '1.1.2', =
Notes: 'Display name: ovirt-engine-extension-aaa-ldap-1.1.2-1.el7.centos', =
License: 'ASL 2.0',
Home: 'http://www.ovirt.org', Author 'The oVirt Project', Build interface =
Version: '0', File: '/tmp/tmpM8fPs4/extensions.d/LDAP-authn.propertie=
s', Initialized: 'true'<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 2016-01-15 15:13:25 INFO Instance name: 'LDAP-authz', =
Extension name: 'ovirt-engine-extension-aaa-ldap.authz', Version: '1.1.2', =
Notes: 'Display name: ovirt-engine-extension-aaa-ldap-1.1.2-1.el7.centos', =
License: 'ASL 2.0',
Home: 'http://www.ovirt.org', Author 'The oVirt Project', Build interface =
Version: '0', File: '/tmp/tmpM8fPs4/extensions.d/LDAP-authz.propertie=
s', Initialized: 'true'<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 2016-01-15 15:13:25 INFO End of enabled extensions lis=
t<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 2016-01-15 15:13:25 INFO =3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 2016-01-15 15:13:25 INFO =3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Execution =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D<o:p></o:p></p>
<p class=3D"MsoNormal"> &nb=
sp;2016-01-15 15:13:25 INFO =3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 2016-01-15 15:13:25 INFO Profile=3D'LDAP' authn=3D'LDA=
P-authn' authz=3D'LDAP-authz' mapping=3D'null'<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 2016-01-15 15:13:25 INFO API: -->Authn.InvokeComman=
ds.AUTHENTICATE_CREDENTIALS user=3D'uid=3Dovirt-test,ou=3DSpecial Users,dc=
=3Dtest'<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 2016-01-15 15:13:25 INFO [ovirt-engine-extension-aaa-l=
dap.authn::LDAP-authn] Creating LDAP pool 'authz'<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 2016-01-15 15:13:25 WARNING [ovirt-engine-extension-aaa-ldap.authn::LDAP=
-authn] Cannot initialize LDAP framework, deferring initialization. Error: =
An error occurred while attempting to connect to server ldap-test-server:38=
9:
java.io.IOException: LDAPException(resultCode=3D91 (connect error), errorM=
essage=3D'An error occurred while attempting to establish a connection to s=
erver ldap-test-server/xxxx:xxxx:xxx:x:xxxx:xx:xx48:dcc0:389: java.ne=
t.UnknownHostException: ldap-test-server')
caused by LDAPException(resultCode=3D91 (connect error), errorMessage=3D'A=
n error occurred while attempting to establish a connection to server ldap-=
test-server/xxxx:xxxx:xxx:x:xxxx:xx:xx48:dcc0:389: java.net.UnknownHo=
stException: ldap-test-server')LDAPException(resultCode=3D91
(connect error), errorMessage=3D'An error occurred while attempting to est=
ablish a connection to server ldap-test-server/xxxx:xxxx:xxx:x:xxxx:xx:xx48=
:dcc0:389: java.net.UnknownHostException: ldap-test-server') caused b=
y java.net.UnknownHostException: ldap-test-server<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; 2016-01-15 15:13:25 SEVERE An error occurred while attempting to c=
onnect to server ldap-test-server:389: java.io.IOException: LDAPExcep=
tion(resultCode=3D91 (connect error), errorMessage=3D'An error occurred whi=
le attempting to establish
a connection to server ldap-test-server/xxxx:xxxx:xxx:x:xxxx:xx:xx48:dcc0:=
389: java.net.UnknownHostException: ldap-test-server') caused by LDAP=
Exception(resultCode=3D91 (connect error), errorMessage=3D'An error occurre=
d while attempting to establish a connection
to server ldap-test-server/xxxx:xxxx:xxx:x:xxxx:xx:xx48:dcc0:389: ja=
va.net.UnknownHostException: ldap-test-server')LDAPException(resultCode=3D9=
1 (connect error), errorMessage=3D'An error occurred while attempting to es=
tablish a connection to server ldap-test-server/xxxx:xxxx:xxx:x:xxxx:xx:xx4=
8:dcc0:389:
java.net.UnknownHostException: ldap-test-server') caused by java.net.Unkno=
wnHostException: ldap-test-server<o:p></o:p></p>
<p class=3D"MsoNormal">[ ERROR ] Sequence failed<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; Select test sequence to execute (Done, Abort, Login, Search) [Abort]:<o:=
p></o:p></p>
<p class=3D"MsoNormal">[ ERROR ] Failed to execute stage 'Setup validation'=
: Aborted by user<o:p></o:p></p>
<p class=3D"MsoNormal">[ INFO ] Stage: Clean up<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; Log file is available at /tmp/ovirt-engine-extension-aaa-ldap-setup-2016=
0115151231-o0d7hp.log:<o:p></o:p></p>
<p class=3D"MsoNormal">[ INFO ] Stage: Pre-termination<o:p></o:p></p>
<p class=3D"MsoNormal">[ INFO ] Stage: Termination<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
</div>
This email and any attachments may contain confidential and proprietary inf=
ormation of Blackboard that is for the sole use of the intended recipient. =
If you are not the intended recipient, disclosure, copying, re-distribution=
or other use of any of this information
is strictly prohibited. Please immediately notify the sender and delete th=
is transmission if you received this email in error.
</body>
</html>
--_000_BLUPR0301MB1971508F542C791B4C489813E9CD0BLUPR0301MB1971_--
8 years, 11 months
Python API question
by Colin Coe
Hi all
I've written a Python script to take nightly snapshots of VMs which are
kept for x days. After x days the snapshot is deleted.
I can't work out how to wait for the snapshot deletion to complete. I know
how to do it for creating the snapshot but I've not been able to get it
right for the deletion.
api.vms.get(VM_NAME).snapshots.add(params.Snapshot(description=SNAPSHOT_NAME,
vm=api.vms.get(VM_NAME), persist_memorystate=True))
while api.vms.get(VM_NAME).status.state == 'image_locked':
sleep(1)
Any ideas?
Thanks
CC
8 years, 11 months