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

Value (None) for parameter privateIpAddress is invalid. Not a valid IP address #5

Open
ssainz opened this issue Jul 20, 2017 · 0 comments

Comments

@ssainz
Copy link

ssainz commented Jul 20, 2017

Hello,

When I ran the command like:

./more_like_this.py --base-ec2-name=name --hostname=name2 --aws-access-key-id= --aws-secret-access-key= --log-level DEBUG

I receive output like

[DEBUG] CanonicalRequest:
POST
/

host:ec2.us-east-1.amazonaws.com
x-amz-date:20170720T172913Z

host;x-amz-date
3518ec2e10203cfbc49f3a63a8039ee4b79ee934ed7d795e810eee34807dfe71
[DEBUG] StringToSign:
AWS4-HMAC-SHA256
20170720T172913Z
20170720/us-east-1/ec2/aws4_request
3cba3c2757af5ee2357ed65a73b21fbee99645a18631b806315bf1631ac6d22b
[DEBUG] Signature:

[DEBUG] Final headers: {'Authorization': 'AWS4-HMAC-SHA256 Credential=,SignedHeaders=host;x-amz-date,Signature=', 'X-Amz-Date': '20170720T172913Z', 'Host': 'ec2.us-east-1.amazonaws.com', 'Content-Length': '649', 'User-Agent': 'Boto/2.48.0 Python/3.5.1 Darwin/15.4.0', 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'}
[DEBUG] Response headers: [('Transfer-Encoding', 'chunked'), ('Date', 'Thu, 20 Jul 2017 17:29:13 GMT'), ('Connection', 'close'), ('Server', 'AmazonEC2')]
[DEBUG] b'\nInvalidParameterValueValue (None) for parameter privateIpAddress is invalid. Not a valid IP address69a2dd31-fe3e-423f-991a-978dcd76f6ea'
[ERROR] 400 Bad Request
[ERROR] b'\nInvalidParameterValueValue (None) for parameter privateIpAddress is invalid. Not a valid IP address69a2dd31-fe3e-423f-991a-978dcd76f6ea'
Traceback (most recent call last):
File "./more_like_this.py", line 1212, in
main()
File "./more_like_this.py", line 1206, in main
dry_run=options.dry_run
File "./more_like_this.py", line 968, in run
**run_params
File "/usr/local/lib/python3.5/site-packages/boto/ec2/connection.py", line 977, in run_instances
verb='POST')
File "/usr/local/lib/python3.5/site-packages/boto/connection.py", line 1208, in get_object
raise self.ResponseError(response.status, response.reason, body)
boto.exception.EC2ResponseError: EC2ResponseError: 400 Bad Request

InvalidParameterValueValue (None) for parameter privateIpAddress is invalid. Not a valid IP address69a2dd31-fe3e-423f-991a-978dcd76f6ea

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