Recipes fail on CentOS 6 on Openstack

Description

The helloworld recipe fails on CentOS 6 on Openstack.
Bootstrap succeeds, but the recipe fails CentOS 6 (probably all recipes fail on OpenStack CentOS 6).

SMALL_LINUX : template{
username "root"
imageId "1358"
machineMemoryMB 3200
hardwareId "103"
remoteDirectory "/root/gs-files"
localDirectory "upload"
keyFile "XXXXX"
options ([
"openstack.securityGroup" : "default",
"openstack.keyPair" : "xxxxxxxxxxx"
])

privileged true

}

openstack.endpoint : az-1.region

cloudify@default> install-application --verbose ../../tmp/testRecipes/helloworld/apps/helloworld
Validating file helloworld
Uploading application helloworld
Application [helloworld] with 1 services
Service [tomcat] 1 planned instances
Deploying tomcat with 1 planned instances.
.....
[os6-tamir-1350990334049.novalocal/10.5.156.123] tomcat-1 INSTALL invoked
[os6-tamir-1350990334049.novalocal/10.5.156.123] tomcat-1 INSTALL failed. Reason: Event lifecycle external process exited with abn
ormal status code: 1 Caught: org.openspaces.admin.AdminException: Failed to start discovery service, Service Discovery Manager fai
led to start
org.openspaces.admin.AdminException: Failed to start discovery service, Service Discovery Manager failed to start
at org.openspaces.admin.internal.discovery.DiscoveryService.start(DiscoveryService.java:138)
at org.openspaces.admin.internal.admin.DefaultAdmin.begin(DefaultAdmin.java:375)
at org.openspaces.admin.AdminFactory.create(AdminFactory.java:159)
at org.openspaces.admin.AdminFactory.createAdmin(AdminFactory.java:168)
at org.cloudifysource.dsl.context.ServiceContextFactory.getAdmin(ServiceContextFactory.java:94)
at org.cloudifysource.dsl.context.ServiceContextFactory.getServiceContext(ServiceContextFactory.java:80)
at org.cloudifysource.dsl.context.ServiceContextFactory$getServiceContext.call(Unknown Source)
at tomcat_install.run(tomcat_install.groovy:4) [ERROR]
.
[os6-tamir-1350990334049.novalocal/10.5.156.123] tomcat-1 PRE_STOP invoked
[os6-tamir-1350990334049.novalocal/10.5.156.123] tomcat-1 PRE_STOP failed. Reason: Event lifecycle external process exited with ab
normal status code: 1 Caught: org.openspaces.admin.AdminException: Failed to start discovery service, Service Discovery Manager fa
iled to start
org.openspaces.admin.AdminException: Failed to start discovery service, Service Discovery Manager failed to start
at org.openspaces.admin.internal.discovery.DiscoveryService.start(DiscoveryService.java:138)
at org.openspaces.admin.internal.admin.DefaultAdmin.begin(DefaultAdmin.java:375)
at org.openspaces.admin.AdminFactory.create(AdminFactory.java:159)
at org.openspaces.admin.AdminFactory.createAdmin(AdminFactory.java:168)
at org.cloudifysource.dsl.context.ServiceContextFactory.getAdmin(ServiceContextFactory.java:94)
at org.cloudifysource.dsl.context.ServiceContextFactory.getServiceContext(ServiceContextFactory.java:80)
at org.cloudifysource.dsl.context.ServiceContextFactory$getServiceContext.call(Unknown Source)
at tomcat_stop.run(tomcat_stop.groovy:4) [ERROR]
[os6-tamir-1350990334049.novalocal/10.5.156.123] tomcat-1 STOP invoked
[os6-tamir-1350990334049.novalocal/10.5.156.123] tomcat-1 STOP completed, duration: 0.0 seconds [OK]
[os6-tamir-1350990334049.novalocal/10.5.156.123] tomcat-1 POST_STOP invoked
[os6-tamir-1350990334049.novalocal/10.5.156.123] tomcat-1 POST_STOP completed, duration: 0.0 seconds [OK]
.
[os6-tamir-1350990334049.novalocal/10.5.156.123] tomcat-1 INSTALL invoked
[os6-tamir-1350990334049.novalocal/10.5.156.123] tomcat-1 INSTALL failed. Reason: Event lifecycle external process exited with abn
ormal status code: 1 Caught: org.openspaces.admin.AdminException: Failed to start discovery service, Service Discovery Manager fai
led to start
org.openspaces.admin.AdminException: Failed to start discovery service, Service Discovery Manager failed to start
at org.openspaces.admin.internal.discovery.DiscoveryService.start(DiscoveryService.java:138)
at org.openspaces.admin.internal.admin.DefaultAdmin.begin(DefaultAdmin.java:375)
at org.openspaces.admin.AdminFactory.create(AdminFactory.java:159)
at org.openspaces.admin.AdminFactory.createAdmin(AdminFactory.java:168)
at org.cloudifysource.dsl.context.ServiceContextFactory.getAdmin(ServiceContextFactory.java:94)
at org.cloudifysource.dsl.context.ServiceContextFactory.getServiceContext(ServiceContextFactory.java:80)
at org.cloudifysource.dsl.context.ServiceContextFactory$getServiceContext.call(Unknown Source)
at tomcat_install.run(tomcat_install.groovy:4) [ERROR]
[os6-tamir-1350990334049.novalocal/10.5.156.123] tomcat-1 PRE_STOP invoked
.
[os6-tamir-1350990334049.novalocal/10.5.156.123] tomcat-1 PRE_STOP failed. Reason: Event lifecycle external process exited with ab
normal status code: 1 Caught: org.openspaces.admin.AdminException: Failed to start discovery service, Service Discovery Manager fa
iled to start
org.openspaces.admin.AdminException: Failed to start discovery service, Service Discovery Manager failed to start
at org.openspaces.admin.internal.discovery.DiscoveryService.start(DiscoveryService.java:138)
at org.openspaces.admin.internal.admin.DefaultAdmin.begin(DefaultAdmin.java:375)
at org.openspaces.admin.AdminFactory.create(AdminFactory.java:159)
at org.openspaces.admin.AdminFactory.createAdmin(AdminFactory.java:168)
at org.cloudifysource.dsl.context.ServiceContextFactory.getAdmin(ServiceContextFactory.java:94)
at org.cloudifysource.dsl.context.ServiceContextFactory.getServiceContext(ServiceContextFactory.java:80)
at org.cloudifysource.dsl.context.ServiceContextFactory$getServiceContext.call(Unknown Source)
at tomcat_stop.run(tomcat_stop.groovy:4) [ERROR]
[os6-tamir-1350990334049.novalocal/10.5.156.123] tomcat-1 STOP invoked
[os6-tamir-1350990334049.novalocal/10.5.156.123] tomcat-1 STOP completed, duration: 0.0 seconds [OK]
[os6-tamir-1350990334049.novalocal/10.5.156.123] tomcat-1 POST_STOP invoked
[os6-tamir-1350990334049.novalocal/10.5.156.123] tomcat-1 POST_STOP completed, duration: 0.0 seconds [OK]
.

Activity

Show:
Barak Merimovich
May 22, 2013, 7:14 PM

Is this issue still relevant?

Assignee

Unassigned

Reporter

Tamir Korem

Labels

None

Priority

Medium
Configure