-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrpdk.log
159 lines (151 loc) · 14.2 KB
/
rpdk.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
[2020-11-25T16:00:21Z] DEBUG - Logging set up successfully
[2020-11-25T16:00:21Z] DEBUG - Running None: Namespace(artifact_type=None, command=<function init at 0x7fe57ad06268>, force=False, subparser_name=None, type_name=None, verbose=0, version=False)
[2020-11-25T16:00:21Z] DEBUG - Root directory: /home/david-mic/Code/github/1davidmichael/example_cfn_module
[2020-11-25T16:00:21Z] WARNING - Initializing new project
[2020-11-25T16:00:21Z] DEBUG - Loading project file '/home/david-mic/Code/github/1davidmichael/example_cfn_module/.rpdk-config'
[2020-11-25T16:01:03Z] DEBUG - Resource type identifier: DavidMichael::S3::Bucket::MODULE
[2020-11-25T16:01:03Z] DEBUG - Overwriting '/home/david-mic/Code/github/1davidmichael/example_cfn_module/.rpdk-config'
[2020-11-25T16:01:03Z] DEBUG - Fragment directory: /home/david-mic/Code/github/1davidmichael/example_cfn_module/fragments
[2020-11-25T16:01:03Z] DEBUG - Overwriting '/home/david-mic/Code/github/1davidmichael/example_cfn_module/fragments/sample.json'
[2020-11-25T16:01:03Z] WARNING - Initialized a new project in /home/david-mic/Code/github/1davidmichael/example_cfn_module
[2020-11-25T16:01:03Z] DEBUG - Finished None
[2020-11-25T16:13:49Z] DEBUG - Logging set up successfully
[2020-11-25T16:13:49Z] DEBUG - Running submit: Namespace(command=<function submit at 0x7f11f23b5bf8>, dry_run=False, endpoint_url=None, region=None, role_arn=None, set_default=False, subparser_name='submit', use_role=True, verbose=0, version=False)
[2020-11-25T16:13:49Z] DEBUG - Root directory: /home/david-mic/Code/github/1davidmichael/example_cfn_module
[2020-11-25T16:13:49Z] DEBUG - Loading project file '/home/david-mic/Code/github/1davidmichael/example_cfn_module/.rpdk-config'
[2020-11-25T16:13:49Z] INFO - Validating your module fragments...
[2020-11-25T16:13:49Z] DEBUG - Fragment directory: /home/david-mic/Code/github/1davidmichael/example_cfn_module/fragments
[2020-11-25T16:13:49Z] DEBUG - Overwriting '/home/david-mic/Code/github/1davidmichael/example_cfn_module/schema.json'
[2020-11-25T16:13:49Z] DEBUG - overrides.json not found. Not writing to package.
[2020-11-25T16:13:49Z] DEBUG - Packaging complete, uploading...
[2020-11-25T16:13:49Z] DEBUG - Uploading to region 'us-east-1'
[2020-11-25T16:13:49Z] INFO - Creating CloudFormationManagedUploadInfrastructure
[2020-11-25T16:13:49Z] DEBUG - Waiting for stack 'arn:aws:cloudformation:us-east-1:928154798873:stack/CloudFormationManagedUploadInfrastructure/344e9a60-2f39-11eb-8b31-12189cd24959'
[2020-11-25T16:14:30Z] DEBUG - Logging set up successfully
[2020-11-25T16:14:30Z] DEBUG - Running submit: Namespace(command=<function submit at 0x7f10a293dbf8>, dry_run=False, endpoint_url=None, region=None, role_arn=None, set_default=False, subparser_name='submit', use_role=True, verbose=0, version=False)
[2020-11-25T16:14:30Z] DEBUG - Root directory: /home/david-mic/Code/github/1davidmichael/example_cfn_module
[2020-11-25T16:14:30Z] DEBUG - Loading project file '/home/david-mic/Code/github/1davidmichael/example_cfn_module/.rpdk-config'
[2020-11-25T16:14:30Z] INFO - Validating your module fragments...
[2020-11-25T16:14:30Z] DEBUG - Fragment directory: /home/david-mic/Code/github/1davidmichael/example_cfn_module/fragments
[2020-11-25T16:14:30Z] DEBUG - Overwriting '/home/david-mic/Code/github/1davidmichael/example_cfn_module/schema.json'
[2020-11-25T16:14:30Z] DEBUG - overrides.json not found. Not writing to package.
[2020-11-25T16:14:30Z] DEBUG - Packaging complete, uploading...
[2020-11-25T16:14:30Z] DEBUG - Uploading to region 'us-east-1'
[2020-11-25T16:14:30Z] INFO - Creating CloudFormationManagedUploadInfrastructure
[2020-11-25T16:14:30Z] INFO - CloudFormationManagedUploadInfrastructure already exists. Attempting to update
[2020-11-25T16:14:30Z] DEBUG - CloudFormationManagedUploadInfrastructure stack update resulted in unknown ClientError
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/rpdk/core/upload.py", line 94, in _create_or_update_stack
Capabilities=["CAPABILITY_IAM"],
File "/usr/local/lib/python3.6/dist-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/usr/local/lib/python3.6/dist-packages/botocore/client.py", line 676, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.errorfactory.AlreadyExistsException: An error occurred (AlreadyExistsException) when calling the CreateStack operation: Stack [CloudFormationManagedUploadInfrastructure] already exists
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/rpdk/core/upload.py", line 100, in _create_or_update_stack
**args, Capabilities=["CAPABILITY_IAM"]
File "/usr/local/lib/python3.6/dist-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/usr/local/lib/python3.6/dist-packages/botocore/client.py", line 676, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (ValidationError) when calling the UpdateStack operation: Stack:arn:aws:cloudformation:us-east-1:928154798873:stack/CloudFormationManagedUploadInfrastructure/344e9a60-2f39-11eb-8b31-12189cd24959 is in CREATE_IN_PROGRESS state and can not be updated.
[2020-11-25T16:14:30Z] DEBUG - Caught downstream error
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/rpdk/core/upload.py", line 94, in _create_or_update_stack
Capabilities=["CAPABILITY_IAM"],
File "/usr/local/lib/python3.6/dist-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/usr/local/lib/python3.6/dist-packages/botocore/client.py", line 676, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.errorfactory.AlreadyExistsException: An error occurred (AlreadyExistsException) when calling the CreateStack operation: Stack [CloudFormationManagedUploadInfrastructure] already exists
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/rpdk/core/upload.py", line 100, in _create_or_update_stack
**args, Capabilities=["CAPABILITY_IAM"]
File "/usr/local/lib/python3.6/dist-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/usr/local/lib/python3.6/dist-packages/botocore/client.py", line 676, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (ValidationError) when calling the UpdateStack operation: Stack:arn:aws:cloudformation:us-east-1:928154798873:stack/CloudFormationManagedUploadInfrastructure/344e9a60-2f39-11eb-8b31-12189cd24959 is in CREATE_IN_PROGRESS state and can not be updated.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/rpdk/core/cli.py", line 100, in main
args.command(args)
File "/usr/local/lib/python3.6/dist-packages/rpdk/core/submit.py", line 21, in submit
args.set_default,
File "/usr/local/lib/python3.6/dist-packages/rpdk/core/project.py", line 506, in submit
f, endpoint_url, region_name, role_arn, use_role, set_default
File "/usr/local/lib/python3.6/dist-packages/rpdk/core/project.py", line 803, in _upload
s3_url = uploader.upload(self.hypenated_name, fileobj)
File "/usr/local/lib/python3.6/dist-packages/rpdk/core/upload.py", line 159, in upload
stack_id = self._create_or_update_stack(template, INFRA_STACK_NAME)
File "/usr/local/lib/python3.6/dist-packages/rpdk/core/upload.py", line 114, in _create_or_update_stack
raise DownstreamError("Unknown CloudFormation error") from e
rpdk.core.exceptions.DownstreamError: Unknown CloudFormation error
[2020-11-25T16:17:19Z] DEBUG - Logging set up successfully
[2020-11-25T16:17:19Z] DEBUG - Running submit: Namespace(command=<function submit at 0x7fefdf074bf8>, dry_run=False, endpoint_url=None, region=None, role_arn=None, set_default=False, subparser_name='submit', use_role=True, verbose=0, version=False)
[2020-11-25T16:17:19Z] DEBUG - Root directory: /home/david-mic/Code/github/1davidmichael/example_cfn_module
[2020-11-25T16:17:19Z] DEBUG - Loading project file '/home/david-mic/Code/github/1davidmichael/example_cfn_module/.rpdk-config'
[2020-11-25T16:17:19Z] INFO - Validating your module fragments...
[2020-11-25T16:17:19Z] DEBUG - Fragment directory: /home/david-mic/Code/github/1davidmichael/example_cfn_module/fragments
[2020-11-25T16:17:19Z] DEBUG - Overwriting '/home/david-mic/Code/github/1davidmichael/example_cfn_module/schema.json'
[2020-11-25T16:17:19Z] DEBUG - overrides.json not found. Not writing to package.
[2020-11-25T16:17:19Z] DEBUG - Packaging complete, uploading...
[2020-11-25T16:17:19Z] DEBUG - Uploading to region 'us-east-1'
[2020-11-25T16:17:20Z] INFO - Creating CloudFormationManagedUploadInfrastructure
[2020-11-25T16:17:20Z] DEBUG - CloudFormationManagedUploadInfrastructure stack create resulted in unknown ClientError
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/rpdk/core/upload.py", line 94, in _create_or_update_stack
Capabilities=["CAPABILITY_IAM"],
File "/usr/local/lib/python3.6/dist-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/usr/local/lib/python3.6/dist-packages/botocore/client.py", line 676, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (ExpiredToken) when calling the CreateStack operation: The security token included in the request is expired
[2020-11-25T16:17:20Z] DEBUG - Caught downstream error
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/rpdk/core/upload.py", line 94, in _create_or_update_stack
Capabilities=["CAPABILITY_IAM"],
File "/usr/local/lib/python3.6/dist-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/usr/local/lib/python3.6/dist-packages/botocore/client.py", line 676, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (ExpiredToken) when calling the CreateStack operation: The security token included in the request is expired
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/rpdk/core/cli.py", line 100, in main
args.command(args)
File "/usr/local/lib/python3.6/dist-packages/rpdk/core/submit.py", line 21, in submit
args.set_default,
File "/usr/local/lib/python3.6/dist-packages/rpdk/core/project.py", line 506, in submit
f, endpoint_url, region_name, role_arn, use_role, set_default
File "/usr/local/lib/python3.6/dist-packages/rpdk/core/project.py", line 803, in _upload
s3_url = uploader.upload(self.hypenated_name, fileobj)
File "/usr/local/lib/python3.6/dist-packages/rpdk/core/upload.py", line 159, in upload
stack_id = self._create_or_update_stack(template, INFRA_STACK_NAME)
File "/usr/local/lib/python3.6/dist-packages/rpdk/core/upload.py", line 128, in _create_or_update_stack
raise DownstreamError("Unknown CloudFormation error") from e
rpdk.core.exceptions.DownstreamError: Unknown CloudFormation error
[2020-11-25T16:17:42Z] DEBUG - Logging set up successfully
[2020-11-25T16:17:42Z] DEBUG - Running submit: Namespace(command=<function submit at 0x7f075e173bf8>, dry_run=False, endpoint_url=None, region=None, role_arn=None, set_default=False, subparser_name='submit', use_role=True, verbose=0, version=False)
[2020-11-25T16:17:42Z] DEBUG - Root directory: /home/david-mic/Code/github/1davidmichael/example_cfn_module
[2020-11-25T16:17:42Z] DEBUG - Loading project file '/home/david-mic/Code/github/1davidmichael/example_cfn_module/.rpdk-config'
[2020-11-25T16:17:42Z] INFO - Validating your module fragments...
[2020-11-25T16:17:42Z] DEBUG - Fragment directory: /home/david-mic/Code/github/1davidmichael/example_cfn_module/fragments
[2020-11-25T16:17:42Z] DEBUG - Overwriting '/home/david-mic/Code/github/1davidmichael/example_cfn_module/schema.json'
[2020-11-25T16:17:42Z] DEBUG - overrides.json not found. Not writing to package.
[2020-11-25T16:17:42Z] DEBUG - Packaging complete, uploading...
[2020-11-25T16:17:42Z] DEBUG - Uploading to region 'us-east-1'
[2020-11-25T16:17:42Z] INFO - Creating CloudFormationManagedUploadInfrastructure
[2020-11-25T16:17:42Z] INFO - CloudFormationManagedUploadInfrastructure already exists. Attempting to update
[2020-11-25T16:17:43Z] INFO - CloudFormationManagedUploadInfrastructure stack is up to date
[2020-11-25T16:17:43Z] DEBUG - Uploading to 'cloudformationmanageduploadinfrast-artifactbucket-1mpbyrpbroe8f/davidmichael-s3-logbucket-module-2020-11-25T16-17-43.zip'...
[2020-11-25T16:17:43Z] DEBUG - Upload complete
[2020-11-25T16:17:43Z] DEBUG - Got S3 URL: s3://cloudformationmanageduploadinfrast-artifactbucket-1mpbyrpbroe8f/davidmichael-s3-logbucket-module-2020-11-25T16-17-43.zip
[2020-11-25T16:17:43Z] DEBUG - Got Log Role: arn:aws:iam::928154798873:role/CloudFormationManagedUplo-LogAndMetricsDeliveryRol-1DYCB9184O75C
[2020-11-25T16:17:44Z] WARNING - Successfully submitted type. Waiting for registration with token '0a15d74b-ec5a-411d-b37c-baa635938820' to complete.
[2020-11-25T16:18:14Z] WARNING - Registration complete.
[2020-11-25T16:18:14Z] WARNING - {'ProgressStatus': 'COMPLETE', 'Description': 'Deployment is currently in DEPLOY_STAGE of status COMPLETED; ', 'TypeArn': 'arn:aws:cloudformation:us-east-1:928154798873:type/module/DavidMichael-S3-LogBucket-MODULE', 'TypeVersionArn': 'arn:aws:cloudformation:us-east-1:928154798873:type/module/DavidMichael-S3-LogBucket-MODULE/00000001', 'ResponseMetadata': {'RequestId': '2d874004-3cdd-44ed-a586-f65d80a164b9', 'HTTPStatusCode': 200, 'HTTPHeaders': {'x-amzn-requestid': '2d874004-3cdd-44ed-a586-f65d80a164b9', 'content-type': 'text/xml', 'content-length': '699', 'date': 'Wed, 25 Nov 2020 16:18:14 GMT'}, 'RetryAttempts': 0}}
[2020-11-25T16:18:14Z] DEBUG - Finished submit