# Error creating machine: Error detecting OS: OS type not recognized

**URL:** <https://forums.suse.com/t/error-creating-machine-error-detecting-os-os-type-not-recognized/14738>\
**Category:** SUSE Rancher Prime\
**Created:** [July 9, 2019, 9:41am UTC](https://forums.suse.com/t/error-creating-machine-error-detecting-os-os-type-not-recognized/14738 "2019-07-09T09:41:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dotan](https://avatars.discourse-cdn.com/v4/letter/d/85e7bf/32.png) [@dotan](https://forums.suse.com/u/dotan)\
**Post date:** [July 9, 2019, 9:41am UTC](https://forums.suse.com/t/error-creating-machine-error-detecting-os-os-type-not-recognized/14738/1 "2019-07-09T09:41:55Z")

</div>

Hi

Rancher v2.2.4 trying to deploy cluster node on AWS getting this error.

name": “”,  
“namespaceId”: null,  
“nodePoolId”: “c-94f8q:np-f8px4”,  
“nodeTemplateId”: “user-jv5b4:nt-7x62r”,  
“requestedHostname”: “node1”,  
“sshUser”: “ubuntu”,  
“state”: “provisioning”,  
“transitioning”: “error”,  
“transitioningMessage”: “Error creating machine: Error detecting OS: OS type not recognized”,  
“type”: “node”,  
“unschedulable”: false,  
“uuid”: “35050d3c-a221-11e9-bb89-0242ac110002”,  
“worker”: true

using this AMI “ami-076d20da54e4b7273”

---

<div class="post-metadata">

**Author:** ![cjellick](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/cjellick/32/2876_2.png) [@cjellick](https://forums.suse.com/u/cjellick)\
**Post date:** [July 9, 2019, 2:33pm UTC](https://forums.suse.com/t/error-creating-machine-error-detecting-os-os-type-not-recognized/14738/2 "2019-07-09T14:33:29Z")

</div>

We use docker-machine to provision nodes and this error is coming from that code base.  
Googling for that error message, it seems to be a fairly generic one that can pop up in many different scenarios. Might be some invalid combination of parameters that AWS doesn’t like.

Are you doing this through the UI or through an API?

Could you look at the node template you used to provision the VM in the API and post it here (be sure to scrub anything sensitive).

---

<div class="post-metadata">

**Author:** ![dotan](https://avatars.discourse-cdn.com/v4/letter/d/85e7bf/32.png) [@dotan](https://forums.suse.com/u/dotan)\
**Post date:** [July 10, 2019, 6:45am UTC](https://forums.suse.com/t/error-creating-machine-error-detecting-os-os-type-not-recognized/14738/3 "2019-07-10T06:45:27Z")

</div>

Hi

im using the UI

```
  {

```

“amazonec2Config”: {  
“accessKey”: “”,  
“ami”: “ami-076d20da54e4b7273”,  
“blockDurationMinutes”: “0”,  
“deviceName”: “/dev/sda1”,  
“endpoint”: “”,  
“iamInstanceProfile”: “Rancher”,  
“insecureTransport”: false,  
“instanceType”: “t2.medium”,  
“keypairName”: “”,  
“monitoring”: false,  
“privateAddressOnly”: false,  
“region”: “us-east-1”,  
“requestSpotInstance”: false,  
“retries”: “5”,  
“rootSize”: “16”,  
“securityGroup”: [  
“rancher-nodes”  
],  
“securityGroupReadonly”: false,  
“sessionToken”: “”,  
“spotPrice”: “0.50”,  
“sshKeyContents”: “”,  
“sshUser”: “ubuntu”,  
“subnetId”: “subnet-07181579047adf870”,  
“tags”: “”,  
“useEbsOptimizedInstance”: false,  
“usePrivateAddress”: false,  
“userdata”: “”,  
“volumeType”: “gp2”,  
“vpcId”: “vpc-0d7116edd309629d7”,  
“zone”: “a”  
},  
“annotations”: { },  
“baseType”: “nodeTemplate”,  
“cloudCredentialId”: “cattle-global-data:cc-sghgh”,  
“created”: “2019-07-09T07:38:53Z”,  
“createdTS”: 1562657933000,  
“creatorId”: “user-jv5b4”,  
“driver”: “amazonec2”,  
“engineInstallURL”: “[https://releases.rancher.com/install-docker/18.09.sh](https://releases.rancher.com/install-docker/18.09.sh)”,  
“engineRegistryMirror”: null,  
“id”: “user-jv5b4:nt-7x62r”,  
“labels”: {  
“[cattle.io/creator](http://cattle.io/creator)”: “norman”  
},  
“links”: {  
“nodePools”: “…/v3/nodePools?nodeTemplateId=user-jv5b4%3Ant-7x62r”,  
“nodes”: “…/v3/nodes?nodeTemplateId=user-jv5b4%3Ant-7x62r”,  
“remove”: “…/v3/nodeTemplates/user-jv5b4:nt-7x62r”,  
“self”: “…/v3/nodeTemplates/user-jv5b4:nt-7x62r”,  
“update”: “…/v3/nodeTemplates/user-jv5b4:nt-7x62r”  
},  
“name”: “EC2-TEMPLATE”,  
“state”: “active”,  
“transitioning”: “no”,  
“transitioningMessage”: “”,  
“type”: “nodeTemplate”,  
“useInternalIpAddress”: true,  
“uuid”: “99e07503-a21c-11e9-bb89-0242ac110002”
