Code Monkey home page Code Monkey logo

mapr-cloud-templates's Introduction

Installer Cloud Templates

Installer Cloud Templates are examples of customizing supported cloud deployments of MapR. Always use the latest public release. Due to the fact that Azure main templates use child templates that are referenced by a URL, installers under development will also be listed in this repository. See readme in specific installer directories for more information.

Installer v1.6 Released with MapR core v5.2.2 and MEP v3.0.x

09/2018: v1.10 Public Released

02/2019: v1.11 Public Released

05/2019: v1.12 Public Released and latest version. Use this.

04/2019: v1.13 In development. Do not use.

mapr-cloud-templates's People

Contributors

igorkryvenko avatar kcheng-mr avatar larsf avatar nirmalyasen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mapr-cloud-templates's Issues

can't find GCE image

Hi, trying to install MapR from the 1.10 deployment manager template, and my deployment complains because it can't find an image called mapr-installer-t:

"The resource 'projects/my-project-id/global/images/maprinstaller-t"

How can I get ahold of this image?

Missing autoscaling:DisableMetricsCollection Policy in IAM Role.

Hi,

It seems that it is not possible to create MapR cluster via AWS CloudFormation using template mapr-cloud-templates/1.11/aws/aws_cf_maprcluster_role.yml because of missing policy. I had error as below:

2019-03-09 11:18:08,355 callbacks 66 [INFO]: Patching https://172.24.0.117:9443/api/process: {"status": "Failed to update autoscaling group: An error occurred (AccessDenied) when calling the DisableMetricsCollection operation: User: arn:aws:sts::627117276007:assumed-role/mapr-role-my.cluster.com-eu-west-2/i-06df6d7ff533e7db9 is not authorized to perform: aut", "state": "STATUS"}
2019-03-09 11:18:08,374 callbacks 423 [ERROR]:
An exception occurred during task execution. The full traceback is:
Traceback (
most recent call last):
File "/tmp/ansible_ec2_asg_payload_geokI5/main.py",
line 1067,
in create_autoscaling_group
connection.disable_metrics_collection(AutoScalingGroupName=group_name,
Metrics=metrics_list)
File "/opt/mapr/installer/build/installer/lib/python2.7/site-packages/botocore/client.py",
line 314,
in _api_call
return self._make_api_call(operation_name,
kwargs)
File "/opt/mapr/installer/build/installer/lib/python2.7/site-packages/botocore/client.py",
line 612,
in _make_api_call
raise error_class(parsed_response,
operation_name)
ClientError: An error occurred (AccessDenied) when calling the DisableMetricsCollection operation: User: arn:aws:sts::627117276007:assumed-role/mapr-role-my.cluster.com-eu-west-2/i-06df6d7ff533e7db9 is not authorized to perform: autoscaling:DisableMetricsCollection on resource: arn:aws:autoscaling:eu-west-2:627117276007:autoScalingGroup:aae737ee-8a37-4b59-b1e1-6d90f31ec0d1:autoScalingGroupName/MapRCommunity-ClusterNodes-6WO42QARMAA8

Task: update asg(ec2_asg {
u'min_size': u'{{updated.new_count}}',
u'desired_capacity': u'{{updated.new_count}}',
u'name': u'{{ provider.config.auto_scaling_group }}',
u'region': u'{{ provider.config.aws_region }}',
u'suspend_processes': u'{{ processes }}',
u'validate_certs': False,
u'max_size': u'{{updated.new_count}}'})
-> failed =>
{
"changed": false
}
2019-03-09 11:18:08,376 installrunner 415 [ERROR]: Host: localhost has 1 failures
2019-03-09 11:18:08,376 common 254 [ERROR]: Failed to provision cloud resources.
2019-03-09 11:18:08,377 common 255 [ERROR]: Exiting with 1
2019-03-09 11:18:08,377 common 257 [INFO]: Asked to exit with status 1

Proper Policy should look like below:

MapRInstallerRole:
Type: AWS::IAM::Role
Properties:
RoleName: !Join [ "-", ["mapr-role", !Ref "clusterName", !Ref "AWS::Region"]]
Path: "/"
AssumeRolePolicyDocument:
Version: "2012-10-17"
Statement:
-
Effect: "Allow"
Principal:
Service:
- "ec2.amazonaws.com"
Action:
- "sts:AssumeRole"
Policies:
-
PolicyName: "maprinstaller"
PolicyDocument:
Version: "2012-10-17"
Statement:
Effect: "Allow"
Resource: ""
Action:
- "autoscaling:Describe
"
- "autoscaling:CreateLaunchConfiguration"
- "autoscaling:DeleteLaunchConfiguration"
- "autoscaling:UpdateAutoScalingGroup"
- "autoscaling:SuspendProcesses"
- "autoscaling:DisableMetricsCollection"
- "ec2:CreateKeyPair"
- "ec2:DeleteKeyPair"
- "ec2:ImportKeyPair"
- "ec2:DescribeKeyPairs"
- "ec2:DescribeInstances"
- "ec2:DescribeInstanceAttribute"
- "ec2:ModifyInstanceAttribute"
- "ec2:DescribeSubnets"
- "ec2:RunInstances"
- "ec2:StartInstances"
- "ec2:StopInstances"
- "ec2:CreateVolume"
- "ec2:AttachVolume"
- "ec2:DescribeVolumes"
MapRInstanceProfile:
Type: "AWS::IAM::InstanceProfile"
Properties:
Roles:
-
!Ref MapRInstallerRole

Regards,

Bart

mapr-core.yml is missing error

I am trying to deploy a simple MapR template on Azure using /1.12/azure/marketplace template.

The installation fails with error /mapr-core.yml is not found. I have seen the same issue while deploying the cluster using custom template.

The issue seems to be arising using the artifactsBaseUrl in the vm.json file. The previous version of the installer v 1.6 has hard coded values for the STANZA_URL. Could this be the issue ?

Thanks,
Prawal

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.