[Users] How do I add a node?

Rob Abshear rabshear at citytwist.net
Fri Dec 13 19:00:47 UTC 2013


I did the additional steps as you recommended.  The network is up and I 
can manually ssh from the controller to the nodes now. However, the 
installation of the node still fails with "Unexpected connection 
termination".  The engine.log shows the following:

2013-12-13 13:57:51,177 WARN 
[org.ovirt.engine.core.compat.backendcompat.PropertyInfo] 
(ajp--127.0.0.1-8702-2) Unable to get value of property: vdsName for 
class org.ovirt.engine.core.common.businessentities.VdsStatic
2013-12-13 13:57:51,179 WARN 
[org.ovirt.engine.core.compat.backendcompat.PropertyInfo] 
(ajp--127.0.0.1-8702-2) Unable to get value of property: vdsName for 
class org.ovirt.engine.core.common.businessentities.VdsStatic
2013-12-13 13:57:51,180 INFO 
[org.ovirt.engine.core.bll.UpdateVdsCommand] (ajp--127.0.0.1-8702-2) 
Running command: UpdateVdsCommand internal: false. Entities affected :  
ID: af30acc2-a296-4d9d-9c75-f0c078eb5e41 Type: VDS
2013-12-13 13:57:51,189 INFO 
[org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] 
(ajp--127.0.0.1-8702-2) START, SetVdsStatusVDSCommand(HostName = 
Out-001, HostId = af30acc2-a296-4d9d-9c75-f0c078eb5e41, 
status=Installing, nonOperationalReason=NONE), log id: 7933060e
2013-12-13 13:57:51,195 INFO 
[org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] 
(ajp--127.0.0.1-8702-2) FINISH, SetVdsStatusVDSCommand, log id: 7933060e
2013-12-13 13:57:51,197 WARN 
[org.ovirt.engine.core.compat.backendcompat.PropertyInfo] 
(ajp--127.0.0.1-8702-2) Unable to get value of property: vdsName for 
class org.ovirt.engine.core.common.businessentities.VdsStatic
2013-12-13 13:57:51,199 WARN 
[org.ovirt.engine.core.compat.backendcompat.PropertyInfo] 
(ajp--127.0.0.1-8702-2) Unable to get value of property: vdsName for 
class org.ovirt.engine.core.common.businessentities.VdsStatic
2013-12-13 13:57:51,206 INFO 
[org.ovirt.engine.core.bll.InstallVdsCommand] (ajp--127.0.0.1-8702-2) 
[14b1c74a] Lock Acquired to object EngineLock [exclusiveLocks= key: 
af30acc2-a296-4d9d-9c75-f0c078eb5e41 value: VDS
, sharedLocks= ]
2013-12-13 13:57:51,216 INFO 
[org.ovirt.engine.core.bll.InstallVdsCommand] (pool-6-thread-11) 
[14b1c74a] Running command: InstallVdsCommand internal: true. Entities 
affected :  ID: af30acc2-a296-4d9d-9c75-f0c078eb5e41 Type: VDS
2013-12-13 13:57:51,218 INFO 
[org.ovirt.engine.core.bll.InstallVdsCommand] (pool-6-thread-11) 
[14b1c74a] Before Installation host 
af30acc2-a296-4d9d-9c75-f0c078eb5e41, Out-001
2013-12-13 13:57:51,222 INFO 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(ajp--127.0.0.1-8702-2) [14b1c74a] Correlation ID: null, Call Stack: 
null, Custom Event ID: -1, Message: Failed to verify Power Management 
configuration for Host Out-001.
2013-12-13 13:57:51,228 INFO 
[org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] 
(pool-6-thread-11) [14b1c74a] START, SetVdsStatusVDSCommand(HostName = 
Out-001, HostId = af30acc2-a296-4d9d-9c75-f0c078eb5e41, 
status=Installing, nonOperationalReason=NONE), log id: 581795a5
2013-12-13 13:57:51,228 INFO 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(ajp--127.0.0.1-8702-2) [14b1c74a] Correlation ID: 32c46474, Call Stack: 
null, Custom Event ID: -1, Message: Host Out-001 configuration was 
updated by admin at internal.
2013-12-13 13:57:51,233 INFO 
[org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] 
(pool-6-thread-11) [14b1c74a] FINISH, SetVdsStatusVDSCommand, log id: 
581795a5
2013-12-13 13:57:51,321 INFO 
[org.ovirt.engine.core.bll.InstallerMessages] (pool-6-thread-11) 
[14b1c74a] Installation 192.168.164.71: Connected to host 192.168.164.71 
with SSH key fingerprint: af:24:d6:b7:d6:2b:90:94:3a:eb:09:e2:36:97:2d:b1
2013-12-13 13:57:51,328 INFO 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(pool-6-thread-11) [14b1c74a] Correlation ID: 14b1c74a, Call Stack: 
null, Custom Event ID: -1, Message: Installing Host Out-001. Connected 
to host 192.168.164.71 with SSH key fingerprint: 
af:24:d6:b7:d6:2b:90:94:3a:eb:09:e2:36:97:2d:b1.
2013-12-13 13:57:51,370 INFO  [org.ovirt.engine.core.bll.VdsDeploy] 
(pool-6-thread-11) [14b1c74a] Installation of 192.168.164.71. Executing 
command via SSH umask 0077; MYTMP="$(mktemp -t ovirt-XXXXXXXXXX)"; trap 
"chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" > 
/dev/null 2>&1" 0; rm -fr "${MYTMP}" && mkdir "${MYTMP}" && 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
2013-12-13 13:57:51,380 INFO [org.ovirt.engine.core.utils.ssh.SSHDialog] 
(pool-6-thread-11) SSH execute root at 192.168.164.71 'umask 0077; 
MYTMP="$(mktemp -t ovirt-XXXXXXXXXX)"; trap "chmod -R u+rwX \"${MYTMP}\" 
 > /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; rm -fr 
"${MYTMP}" && mkdir "${MYTMP}" && tar --warning=no-timestamp -C 
"${MYTMP}" -x &&  "${MYTMP}"/setup DIALOG/dialect=str:machine 
DIALOG/customization=bool:True'
2013-12-13 13:57:51,502 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:750) 
[bll.jar:]
     at 
org.ovirt.engine.core.bll.VdsDeploy.access$1800(VdsDeploy.java:77) 
[bll.jar:]
     at org.ovirt.engine.core.bll.VdsDeploy$45.run(VdsDeploy.java:893) 
[bll.jar:]
     at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]

2013-12-13 13:57:51,515 ERROR [org.ovirt.engine.core.bll.VdsDeploy] 
(pool-6-thread-11) [14b1c74a] Error during host 192.168.164.71 install: 
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:750) 
[bll.jar:]
     at 
org.ovirt.engine.core.bll.VdsDeploy.access$1800(VdsDeploy.java:77) 
[bll.jar:]
     at org.ovirt.engine.core.bll.VdsDeploy$45.run(VdsDeploy.java:893) 
[bll.jar:]
     at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]

2013-12-13 13:57:51,525 ERROR [org.ovirt.engine.core.bll.VdsDeploy] 
(pool-6-thread-11) [14b1c74a] Error during host 192.168.164.71 install, 
prefering first exception: 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:750) 
[bll.jar:]
     at 
org.ovirt.engine.core.bll.VdsDeploy.access$1800(VdsDeploy.java:77) 
[bll.jar:]
     at org.ovirt.engine.core.bll.VdsDeploy$45.run(VdsDeploy.java:893) 
[bll.jar:]
     at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]

2013-12-13 13:57:51,529 ERROR 
[org.ovirt.engine.core.bll.InstallVdsCommand] (pool-6-thread-11) 
[14b1c74a] Host installation failed for host 
af30acc2-a296-4d9d-9c75-f0c078eb5e41, Out-001.: 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:750) 
[bll.jar:]
     at 
org.ovirt.engine.core.bll.VdsDeploy.access$1800(VdsDeploy.java:77) 
[bll.jar:]
     at org.ovirt.engine.core.bll.VdsDeploy$45.run(VdsDeploy.java:893) 
[bll.jar:]
     at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]

2013-12-13 13:57:51,537 INFO 
[org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] 
(pool-6-thread-11) [14b1c74a] START, SetVdsStatusVDSCommand(HostName = 
Out-001, HostId = af30acc2-a296-4d9d-9c75-f0c078eb5e41, 
status=InstallFailed, nonOperationalReason=NONE), log id: 64cefb1c
2013-12-13 13:57:51,542 INFO 
[org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] 
(pool-6-thread-11) [14b1c74a] FINISH, SetVdsStatusVDSCommand, log id: 
64cefb1c
2013-12-13 13:57:51,547 INFO 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(pool-6-thread-11) [14b1c74a] Correlation ID: 14b1c74a, Call Stack: 
null, Custom Event ID: -1, Message: Host Out-001 installation failed. 
Unexpected connection termination.
2013-12-13 13:57:51,550 INFO 
[org.ovirt.engine.core.bll.InstallVdsCommand] (pool-6-thread-11) 
[14b1c74a] Lock freed to object EngineLock [exclusiveLocks= key: 
af30acc2-a296-4d9d-9c75-f0c078eb5e41 value: VDS
, sharedLocks= ]

On 12/13/2013 12:41 PM, Markus Stockhausen wrote:
> > 1.  Install Fedora (minimum install) on each machine
> > 2.  Install tar on each node machine
> > 3.  Install the engine on the controller machine.
> > 4.  Add nodes using IP and password in the web admin interface and 
> let the controller build the node.
> > 5.  Profit.
>
> :)
>
> I guess you missed some manual steps. I always wondered
> why that never found its way into the Wiki ...
>
> 4a: Ensure that /etc/sysconfig/network-scripts/ifcfg-XXX
> match the names of the interfaces inside the scripts. So
> if you have an interface eth1 rename the script to ifcfg-eth1
> and so on.
>
> 4b: Remove the numbers from IPADDR0, SUBNET0, ...
> so that they read IPADDR, ... Leave DNS0 as it is
>
> Markus
>


-- 


*NADA Convention & Expo*:  January 24-27, 2014 - New Orleans, LA - Booth 
5001
<http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448><http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20131213/6153725d/attachment-0001.html>


More information about the Users mailing list