Advertisement
aleon1220

spinnaker-CF/Issue

Nov 18th, 2019
4,298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 7.16 KB | None | 0 0
  1. Tree
  2. Chart
  3. JSON Input
  4. {
  5. "type": "PIPELINE",
  6. "id": "01DT11N8RSF4BZFXVARANC0V74",
  7. "application": "demo",
  8. "name": "Deploy basic AWS CF template to create S3 Bucket",
  9. "buildTime": 1574140814134,
  10. "canceled": false,
  11. "limitConcurrent": true,
  12. "keepWaitingPipelines": false,
  13. "stages": [
  14. {
  15. "id": "01DT11N8SPSG4TJ9VQQC0C9RKS",
  16. "refId": "2",
  17. "type": "deployCloudFormation",
  18. "name": "Deploy (CloudFormation Stack)",
  19. "startTime": 1574140814207,
  20. "endTime": 1574140814267,
  21. "status": "TERMINAL",
  22. "context": {
  23. "exception": {
  24. "exceptionType": "IllegalArgumentException",
  25. "shouldRetry": false,
  26. "details": {
  27. "stackTrace": "java.lang.IllegalArgumentException: Invalid stage format, missing artifact or templateBody field: [{AWSTemplateFormatVersion=2010-09-09, Resources={S3Bucket={Type=AWS::S3::Bucket, Properties={BucketName=deref-example-s3}}}}], com.netflix.spinnaker.orca.q.handler.ExpressionAware$withMergedContext$1@7723fe0d
  28.     at com.netflix.spinnaker.orca.clouddriver.tasks.providers.aws.cloudformation.DeployCloudFormationTask.execute(DeployCloudFormationTask.java:117)
  29.     at com.netflix.spinnaker.orca.q.handler.RunTaskHandler$handle$1$2$1.invoke(RunTaskHandler.kt:113)
  30.     at com.netflix.spinnaker.orca.q.handler.RunTaskHandler$handle$1$2$1.invoke(RunTaskHandler.kt:69)
  31.     at com.netflix.spinnaker.orca.q.handler.RunTaskHandler.withLoggingContext(RunTaskHandler.kt:318)
  32.     at com.netflix.spinnaker.orca.q.handler.RunTaskHandler.access$withLoggingContext(RunTaskHandler.kt:69)
  33.     at com.netflix.spinnaker.orca.q.handler.RunTaskHandler$handle$1$2.invoke(RunTaskHandler.kt:112)
  34.     at com.netflix.spinnaker.orca.q.handler.RunTaskHandler$handle$1$2.invoke(RunTaskHandler.kt:69)
  35.     at com.netflix.spinnaker.orca.q.handler.AuthenticationAware$sam$java_util_concurrent_Callable$0.call(AuthenticationAware.kt)
  36.     at com.netflix.spinnaker.security.AuthenticatedRequest.lambda$propagate$0(AuthenticatedRequest.java:127)
  37.     at com.netflix.spinnaker.orca.q.handler.AuthenticationAware$DefaultImpls.withAuth(AuthenticationAware.kt:51)
  38.     at com.netflix.spinnaker.orca.q.handler.RunTaskHandler.withAuth(RunTaskHandler.kt:69)
  39.     at com.netflix.spinnaker.orca.q.handler.RunTaskHandler$handle$1.invoke(RunTaskHandler.kt:111)
  40.     at com.netflix.spinnaker.orca.q.handler.RunTaskHandler$handle$1.invoke(RunTaskHandler.kt:69)
  41.     at com.netflix.spinnaker.orca.q.handler.RunTaskHandler$withTask$1.invoke(RunTaskHandler.kt:196)
  42.     at com.netflix.spinnaker.orca.q.handler.RunTaskHandler$withTask$1.invoke(RunTaskHandler.kt:69)
  43.     at com.netflix.spinnaker.orca.q.handler.OrcaMessageHandler$withTask$1.invoke(OrcaMessageHandler.kt:57)
  44.     at com.netflix.spinnaker.orca.q.handler.OrcaMessageHandler$withTask$1.invoke(OrcaMessageHandler.kt:41)
  45.     at com.netflix.spinnaker.orca.q.handler.OrcaMessageHandler$withStage$1.invoke(OrcaMessageHandler.kt:67)
  46.     at com.netflix.spinnaker.orca.q.handler.OrcaMessageHandler$withStage$1.invoke(OrcaMessageHandler.kt:41)
  47.     at com.netflix.spinnaker.orca.q.handler.OrcaMessageHandler$DefaultImpls.withExecution(OrcaMessageHandler.kt:76)
  48.     at com.netflix.spinnaker.orca.q.handler.RunTaskHandler.withExecution(RunTaskHandler.kt:69)
  49.     at com.netflix.spinnaker.orca.q.handler.OrcaMessageHandler$DefaultImpls.withStage(OrcaMessageHandler.kt:63)
  50.     at com.netflix.spinnaker.orca.q.handler.RunTaskHandler.withStage(RunTaskHandler.kt:69)
  51.     at com.netflix.spinnaker.orca.q.handler.OrcaMessageHandler$DefaultImpls.withTask(OrcaMessageHandler.kt:50)
  52.     at com.netflix.spinnaker.orca.q.handler.RunTaskHandler.withTask(RunTaskHandler.kt:69)
  53.     at com.netflix.spinnaker.orca.q.handler.RunTaskHandler.withTask(RunTaskHandler.kt:189)
  54.     at com.netflix.spinnaker.orca.q.handler.RunTaskHandler.handle(RunTaskHandler.kt:82)
  55.     at com.netflix.spinnaker.orca.q.handler.RunTaskHandler.handle(RunTaskHandler.kt:69)
  56.     at com.netflix.spinnaker.q.MessageHandler$DefaultImpls.invoke(MessageHandler.kt:36)
  57.     at com.netflix.spinnaker.orca.q.handler.OrcaMessageHandler$DefaultImpls.invoke(OrcaMessageHandler.kt)
  58.     at com.netflix.spinnaker.orca.q.handler.RunTaskHandler.invoke(RunTaskHandler.kt:69)
  59.     at com.netflix.spinnaker.orca.q.audit.ExecutionTrackingMessageHandlerPostProcessor$ExecutionTrackingMessageHandlerProxy.invoke(ExecutionTrackingMessageHandlerPostProcessor.kt:69)
  60.     at com.netflix.spinnaker.q.QueueProcessor$pollOnce$1$1.run(QueueProcessor.kt:82)
  61.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  62.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  63.     at java.lang.Thread.run(Thread.java:748)
  64. ",
  65. "error": "Unexpected Task Failure",
  66. "errors": [
  67. "Invalid stage format, missing artifact or templateBody field: [{AWSTemplateFormatVersion=2010-09-09, Resources={S3Bucket={Type=AWS::S3::Bucket, Properties={BucketName=deref-example-s3}}}}], com.netflix.spinnaker.orca.q.handler.ExpressionAware$withMergedContext$1@7723fe0d"
  68. ]
  69. },
  70. "operation": "deployCloudFormation",
  71. "timestamp": 1574140814242
  72. },
  73. "isChangeSet": false,
  74. "regions": [
  75. "ap-southeast-2"
  76. ],
  77. "credentials": "aws-account-iam-credentials",
  78. "templateBody": [
  79. {
  80. "AWSTemplateFormatVersion": "2010-09-09",
  81. "Resources": {
  82. "S3Bucket": {
  83. "Type": "AWS::S3::Bucket",
  84. "Properties": {
  85. "BucketName": "deref-example-s3"
  86. }
  87. }
  88. }
  89. }
  90. ],
  91. "stackName": "spinnakerteststack03",
  92. "stackArtifact": {
  93. "artifactAccount": "embedded-artifact",
  94. "id": "f9fa2209-70d6-434c-ba96-4ad1438928c0",
  95. "type": "embedded/base64"
  96. },
  97. "source": "text",
  98. "parameters": {},
  99. "tags": {}
  100. },
  101. "outputs": {},
  102. "tasks": [
  103. {
  104. "id": "1",
  105. "implementingClass": "com.netflix.spinnaker.orca.clouddriver.tasks.providers.aws.cloudformation.DeployCloudFormationTask",
  106. "name": "deployCloudFormation",
  107. "startTime": 1574140814222,
  108. "endTime": 1574140814247,
  109. "status": "TERMINAL",
  110. "stageStart": true,
  111. "stageEnd": false,
  112. "loopStart": false,
  113. "loopEnd": false
  114. },
  115. {
  116. "id": "2",
  117. "implementingClass": "com.netflix.spinnaker.orca.clouddriver.tasks.MonitorKatoTask",
  118. "name": "monitorCloudFormation",
  119. "status": "NOT_STARTED",
  120. "stageStart": false,
  121. "stageEnd": false,
  122. "loopStart": false,
  123. "loopEnd": false
  124. },
  125. {
  126. "id": "3",
  127. "implementingClass": "com.netflix.spinnaker.orca.clouddriver.tasks.providers.aws.cloudformation.CloudFormationForceCacheRefreshTask",
  128. "name": "forceRefreshCache",
  129. "status": "NOT_STARTED",
  130. "stageStart": false,
  131. "stageEnd": false,
  132. "loopStart": false,
  133. "loopEnd": false
  134. },
  135. {
  136. "id": "4",
  137. "implementingClass": "com.netflix.spinnaker.orca.clouddriver.tasks.providers.aws.cloudformation.WaitForCloudFormationCompletionTask",
  138. "name": "waitForCloudFormationCompletion",
  139. "status": "NOT_STARTED",
  140. "stageStart": false,
  141. "stageEnd": true,
  142. "loopStart": false,
  143. "loopEnd": false
  144. }
  145. ],
  146. "requisiteStageRefIds": []
  147. }
  148. ],
  149. "startTime": 1574140814183,
  150. "endTime": 1574140814287,
  151. "status": "TERMINAL",
  152. "authentication": {
  153. "user": "admin",
  154. "allowedAccounts": []
  155. },
  156. "origin": "api",
  157. "trigger": {
  158. "type": "manual",
  159. "user": "admin",
  160. "parameters": {},
  161. "artifacts": [],
  162. "notifications": [],
  163. "resolvedExpectedArtifacts": [],
  164. "dryRun": false,
  165. "rebake": false,
  166. "strategy": false,
  167. "enabled": false,
  168. "eventId": "fd0245fa-30f9-4dc5-8467-55193e05978d",
  169. "executionId": "01DT11N8RSF4BZFXVARANC0V74"
  170. },
  171. "pipelineConfigId": "69a4d7f0-17e5-4693-9d99-959800e1aedd",
  172. "notifications": [],
  173. "initialConfig": {},
  174. "systemNotifications": []
  175. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement