Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ec2uploadimg exit with 0 on VpcLimitExceeded #73

Open
asmorodskyi opened this issue Sep 9, 2021 · 0 comments
Open

ec2uploadimg exit with 0 on VpcLimitExceeded #73

asmorodskyi opened this issue Sep 9, 2021 · 0 comments

Comments

@asmorodskyi
Copy link

ec2uploadimg --access-id '' -s '' --backing-store ssd --grub2 --machine 'arm64' -n 'openqa-SLES15-SP2-BYOS.aarch64-1.0.19-EC2-HVM-Build1.29.raw.xz' --virt-type hvm --sriov-support --ena-support --verbose --regions 'eu-west-1' --ssh-key-pair 'openqa1631060210_0' --private-key-file QA_SSH_KEY.pem -d 'OpenQA upload image' --wait-count 3 --ec2-ami 'ami-02eae5be24d203db3' --type 'c6g.large' --user 'ec2-user' 'SLES15-SP2-BYOS.aarch64-1.0.19-EC2-HVM-Build1.29.raw.xz'; echo 4U0tD-$?-
An error occurred (VpcLimitExceeded) when calling the CreateVpc operation: The maximum number of VPCs has been reached.
Traceback (most recent call last):
  File "/root/.venv_ec2uploadimg/bin/ec2uploadimg", line 568, in <module>
    vpc_subnet_id = setup.create_vpc_subnet()
  File "/root/.venv_ec2uploadimg/lib/python3.6/site-packages/ec2imgutils/ec2setup.py", line 140, in create_vpc_subnet
    self._create_vpc()
  File "/root/.venv_ec2uploadimg/lib/python3.6/site-packages/ec2imgutils/ec2setup.py", line 175, in _create_vpc
    response = self._connect().create_vpc(CidrBlock='192.168.0.0/16')
  File "/root/.venv_ec2uploadimg/lib/python3.6/site-packages/botocore/client.py", line 357, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/root/.venv_ec2uploadimg/lib/python3.6/site-packages/botocore/client.py", line 676, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (VpcLimitExceeded) when calling the CreateVpc operation: The maximum number of VPCs has been reached.
ClientError: An error occurred (VpcLimitExceeded) when calling the CreateVpc operation: The maximum number of VPCs has been reached.
4U0tD-0-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant