Introduction
This document describes the error message that you can face when you deploy vanila Centos7 image with the use of Google Cloud Platform.
Prerequisites
Requirements
Cisco recommends that you have knowledge of these topics:
- Google Cloud Platform
- Virtual Machine Environments
Components Used
The information in this document is based on these software versions:
- CloudCenter version 4.8.0
- Centos 7 image
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
Problem
This error message occurs with the deployment of vanila Centos7 image with the use of CloudCenter with Google Platform. Once you deploy an instance right after ClusterLifecycleAction is started, it fails with this error message:
2017-08-30 17:36:36,638 INFO impl.AbstractLifecycle [threadPoolExecutor-1] - DeploymentJobName=CentOS_7 DeploymentJobID=50 ClusterLifecycleImpl[50,CentOS_7,STARTING,0] state from WAITING_TO_START -> STARTING
2017-08-30 17:36:39,847 ERROR event.LifecycleEventProcessor [threadPoolExecutor-1] - Exception occurred while resolving Action-event.
com.osmosix.commons.exception.CloudProviderException: java.lang.IllegalArgumentException: Parameter project must conform to the pattern (?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))
at com.osmosix.commons.cloudProvider.gc.GoogleComputeCloudProviderV1.createVolumes(GoogleComputeCloudProviderV1.java:1244)
at com.osmosix.gateway.impl.GatewayServiceImpl.createVolumes(GatewayServiceImpl.java:2666)
at com.osmosix.gateway.lifecycle.action.orchestration.node.LifecycleCreateVolumesAction.createVolumes(LifecycleCreateVolumesAction.java:161)
at com.osmosix.gateway.lifecycle.action.orchestration.node.LifecycleCreateVolumesAction.execute(LifecycleCreateVolumesAction.java:80)
at com.osmosix.gateway.lifecycle.action.workflow.SequentialWorkflowAction.execute(SequentialWorkflowAction.java:42)
at com.osmosix.gateway.lifecycle.event.LifecycleEventProcessor.resolveAndExecuteAction(LifecycleEventProcessor.java:32)
at com.osmosix.gateway.lifecycle.event.LifecycleAgentListener.onApplicationEvent(LifecycleAgentListener.java:16)
at com.osmosix.gateway.lifecycle.event.LifecycleAgentListener.onApplicationEvent(LifecycleAgentListener.java:7)
Solution
This issue is a known issue and is addressed in CloudCenter version 4.8.1.
CloudCenter JIRA REF: CORE-15235