簡介
本文描述使用Google雲平台部署vanila Centos7映像時可能面對的錯誤消息。
必要條件
需求
思科建議您瞭解以下主題:
採用元件
本檔案中的資訊是根據以下軟體版本:
- 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