Github user intoeleven commented on the pull request:
https://github.com/apache/mesos/commit/fe09d7de7f84de82f447d4321fe89912c06e402c#commitcomment-11352747
Hi, I tried to install the latest mesos(0.22.1) on AWS by the steps from
mesos documentation
http://mesos.apache.org/documentation/latest/ec2-scripts/
// I can launch spark cluster on AWS in eu-west-1a with same key and key-id
When I setted up my security key and key id ready to launch mesos cluster,
it is constantly failed at "Invalid availability zone" error.
// the reason I tried launch cluster on eu-west-1 because my key is
generated on eu-west-1
I also have tried eu-west-1, eu-west-1b and eu-west-1c, neither of ways can
succeeded.
I have printed out the opts below the Launch slaves(the launch script is
stopped at here), is it normal?
opts:
{'ami': 'ami-4517dc2c', 'ft': 1, 'branch': 'master', 'zone': 'eu-west-1a',
'resume': False, 'ebs_vol_size': 0, 'master_instance_type': '',
'identity_file': 'awskey.pem', 'proxy_port': None, 'instance_type': 'm1.large',
'key_pair': 'awskey', 'swap': 1024, 'slaves': 1, 'download': 'none',
'spot_price': None, 'os': 'amazon64', 'wait': 60}
Do you have idea how to fix it? Any helps would be appreciated!
Best regards,
./mesos-ec2 -k awskey -i awskey.pem --zone=eu-west-1a launch test01-mesos
Setting up security groups...
Checking for running cluster...
Launching instances...
ERROR:boto:400 Bad Request
ERROR:boto:<?xml version="1.0" encoding="UTF-8"?>
InvalidParameterValueInvalid availability zone:
[eu-west-1a]273c2517-bb07-4b79-a481-bbe7d898341a
Traceback (most recent call last):
File "./mesos_ec2.py", line 571, in
main()
File "./mesos_ec2.py", line 478, in main
conn, opts, cluster_name)
File "./mesos_ec2.py", line 261, in launch_cluster
block_device_map = block_map)
File "/usr/local/lib/python2.7/dist-packages/boto/ec2/image.py", line 329,
in run
tenancy=tenancy, dry_run=dry_run)
File "/usr/local/lib/python2.7/dist-packages/boto/ec2/connection.py", line
973, in run_instances
verb='POST')
File "/usr/local/lib/python2.7/dist-packages/boto/connection.py", line
1208, in get_object
raise self.ResponseError(response.status, response.reason, body)
boto.exception.EC2ResponseError: EC2ResponseError: 400 Bad Request
<?xml version="1.0" encoding="UTF-8"?>
InvalidParameterValueInvalid availability zone:
[eu-west-1a]273c2517-bb07-4b79-a481-bbe7d898341a
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---