Skip to content

Instantly share code, notes, and snippets.

@chrislovecnm
Created September 27, 2017 17:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrislovecnm/772532b18e78b634f23a33cb3e4d9894 to your computer and use it in GitHub Desktop.
Save chrislovecnm/772532b18e78b634f23a33cb3e4d9894 to your computer and use it in GitHub Desktop.
exception
2017-09-27 17:08:20,632 - kops_py - ERROR - unable to find subnet ids
2017-09-27 17:08:20,632 - kops_py - ERROR - An error occurred (InvalidSubnetID.NotFound) when calling the DescribeSubnets operation: The subnet ID '"subnet-fbf7088c' does not exist
Traceback (most recent call last):
File "/kops-py/kops_py/kops.py", line 64, in _get_cluster_subnets
response = self.aws.describe_subnets(subnet_ids=subnets, vpc_id=vpc_id)
File "/kops-py/kops_py/aws.py", line 173, in describe_subnets
SubnetIds=subnet_ids,
File "/usr/local/lib/python2.7/dist-packages/botocore/client.py", line 312, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/usr/local/lib/python2.7/dist-packages/botocore/client.py", line 601, in _make_api_call
raise error_class(parsed_response, operation_name)
ClientError: An error occurred (InvalidSubnetID.NotFound) when calling the DescribeSubnets operation: The subnet ID '"subnet-fbf7088c' does not exist
ERROR:root:errors parsing yaml template
Traceback (most recent call last):
File "/kops-py/kops-py", line 100, in <module>
cluster_name, bucket, bucket_prefix, state_store, region, kms_arn, create_cluster = kops.parse_yaml()
File "/kops-py/kops_py/kops.py", line 121, in parse_yaml
subnets = self._get_cluster_subnets()
File "/kops-py/kops_py/kops.py", line 64, in _get_cluster_subnets
response = self.aws.describe_subnets(subnet_ids=subnets, vpc_id=vpc_id)
File "/kops-py/kops_py/aws.py", line 173, in describe_subnets
SubnetIds=subnet_ids,
File "/usr/local/lib/python2.7/dist-packages/botocore/client.py", line 312, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/usr/local/lib/python2.7/dist-packages/botocore/client.py", line 601, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InvalidSubnetID.NotFound) when calling the DescribeSubnets operation: The subnet ID '"subnet-fbf7088c' does not exist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment