简介
本文档介绍使用Google云平台部署Vanila Centos7映像时可能遇到的错误消息。
先决条件
要求
Cisco 建议您了解以下主题:
使用的组件
本文档中的信息基于以下软件版本:
- CloudCenter版本4.8.0
- Centos 7图像
本文档中的信息都是基于特定实验室环境中的设备编写的。本文档中使用的所有设备最初均采用原始(默认)配置。如果您使用的是真实网络,请确保您已经了解所有命令的潜在影响。
问题
使用CloudCenter和Google平台部署Vanila Centos7映像时会出现此错误消息。在启动ClusterLifecycleAction后立即部署实例后,该实例将失败,并显示以下错误消息:
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)
解决方案
此问题是已知问题,在CloudCenter版本4.8.1中解决。
CloudCenter JIRA参考:CORE-15235