Showing results for 
Search instead for 
Did you mean: 

Deployment Failed - Failed to Create User Data

Hi all,

I have installed the C3 infrastructure, the CCO for the cloud region (VMware) shows Running status, mapped the Image ID for the cloud, and modeled a 1 tier application using only a single image mapping.

I found the following post and double checked everything it mentions: How does CloudCenter support VMware templates

Full error detail from UI: "Failed to launch VM's..failed to create userdata\n Additional logs for debugging is :Failed to launch VM's..failed to create userdata"

Searching through Kibana I found the following error messages from /usr/local/cliqr/logs/gateway.log, but unable to get more context. Is the bootstrap script a dependency or could it cause the error the UI reflected?

service.LifecycleClusterStartAction [threadPoolExecutor-5] - Exception occurred while launching VMs

impl.GatewayServiceImpl [threadPoolExecutor-5] - Failed to read linux bootstrap script from URL, but worker images should still work.

event.LifecycleEventProcessor [threadPoolExecutor-5] - Exception occurred while resolving Action-event.

service.LifecycleClusterStartAction [threadPoolExecutor-5] - Exception occured in lifecycle

I changed the level to debug on the gateway.log and got a little more, but still nothing that helps define what "user data" is. It just looks like it inits a new deployment is missing "userdata" and fails the deployment.

com.osmosix.gateway.GatewayServiceException: com.osmosix.gateway.GatewayServiceException: failed to create userdata

at com.osmosix.gateway.lifecycle.event.LifecycleAgentListener.onApplicationEvent( [classes!/:4.8.2]

Caused by: com.osmosix.gateway.GatewayServiceException: failed to create userdata

... 28 more

at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent( [spring-context-4.3.11.RELEASE.jar!/:4.3.11.RELEASE]

at com.osmosix.gateway.impl.GatewayServiceImpl.createInstancesAsync( ~[classes!/:4.8.2]

at<init>( ~[?:1.8.0_152]

at [spring-context-4.3.11.RELEASE.jar!/:4.3.11.RELEASE]

at com.osmosix.gateway.lifecycle.action.orchestration.common.AbstractNodeStartAction.launchAsync( ~[classes!/:4.8.2]

at [spring-context-4.3.11.RELEASE.jar!/:4.3.11.RELEASE]

Caused by: no protocol:

Cisco Employee

Re: Deployment Failed - Failed to Create User Data

Michael,  I'd suggest a TAC case for this one as there are a couple different areas to look into as to why you are seeing this problem and TAC would be able to get you to a resolution quite quickly I believe.

There are a few other nuances for VMware that you could check as well in parallel and can be found here

and here, under VMware - Cloud and Network Settings


Re: Deployment Failed - Failed to Create User Data

Thank you for the information Jeremy. I am thinking the issue is in some way related to the root disk configuration. I think I will review that and some of the information in the second link you provided, then if I am still having trouble escalate.

Thank you!

CreatePlease to create content
Ask the Expert- Webex Hybrid Services Solutions