You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by intoeleven <gi...@git.apache.org> on 2015/05/25 19:40:47 UTC

[GitHub] mesos pull request:

Github user intoeleven commented on the pull request:

    https://github.com/apache/mesos/commit/9d54ad4ee039af12dec05c4ef390645fc38479e7#commitcomment-11352719
  
    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 at 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 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"?>
    <Response><Errors><Error><Code>InvalidParameterValue</Code><Message>Invalid availability zone: [eu-west-1a]</Message></Error></Errors><RequestID>273c2517-bb07-4b79-a481-bbe7d898341a</RequestID></Response>
    Traceback (most recent call last):
      File "./mesos_ec2.py", line 571, in <module>
        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"?>
    <Response><Errors><Error><Code>InvalidParameterValue</Code><Message>Invalid availability zone: [eu-west-1a]</Message></Error></Errors><RequestID>273c2517-bb07-4b79-a481-bbe7d898341a</RequestID></Response>



---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---