Quantcast
Channel: VMware Communities : All Content - vRealize Automation Tools
Viewing all articles
Browse latest Browse all 9859

AWS VM provisioning Request FAILS

$
0
0

Same request in vRA and ServiceNow plugin AWS Blueprint FAILS on plugin request.

The following component requests failed: Amazon_Machine_1. Request failed: Machine HOSTNAME11: Failed Provisioning. Ensure that the AMI, Instance Type, and Availability Zone are correct. Exception: Object reference not set to an instance of an object

 

Appears to be some issue with the subnet being passed.  We check off Subnet in a VPC and the actual subnet on the Catalog Request (same as the vRA portal).

 

You can see we set the amazon_provisioninto and amazon_subnet_id on the requestData:

 

          "key": "amazon_provisionInto",

                                "value": {

                                    "type": "string",

                                    "value": "subnet"

                                }

                            },

                            {

                                "key": "amazon_subnet_id",

                                "value": {

                                    "type": "integer",

                                    "value": 23

 

 

Below is the requestData passed:

"requestData": {

        "entries": [

            {

                "key": "provider-Amazon_Machine_1",

                "value": {

                    "type": "complex",

                    "componentTypeId": "com.vmware.csp.component.cafe.composition",

                    "componentId": null,

                    "classId": "Blueprint.Component.Declaration",

                    "typeFilter": "AWSRHEL7useast1*Amazon_Machine_1",

                    "values": {

                        "entries": [

                            {

                                "key": "Extensibility.Lifecycle.Properties.VMPSMasterWorkflow32.DeactivateMachine",

                                "value": {

                                    "type": "string",

                                    "value": "__*,*"

                                }

                            },

                            {

                                "key": "memory",

                                "value": {

                                    "type": "integer",

                                    "value": 3840

                                }

                            },

                            {

                                "key": "description",

                                "value": null

                            },

                            {

                                "key": "amazon_advancedCapabilitiesMode",

                                "value": {

                                    "type": "boolean",

                                    "value": false

                                }

                            },

                            {

                                "key": "amazon_securityGroups",

                                "value": null

                            },

                            {

                                "key": "_hasChildren",

                                "value": {

                                    "type": "boolean",

                                    "value": false

                                }

                            },

                            {

                                "key": "enable_amazon_network_options",

                                "value": {

                                    "type": "boolean",

                                    "value": true

                                }

                            },

                            {

                                "key": "reservation_policy",

                                "value": {

                                    "type": "entityRef",

                                    "classId": "Infrastructure.Reservation.Policy.ComputeResource",

                                    "id": "AWS EAST1 Policy",

                                    "componentId": null,

                                    "label": "AWS EAST1 Policy"

                                }

                            },

                            {

                                "key": "Extensibility.Lifecycle.Properties.VMPSMasterWorkflow32.Expired",

                                "value": {

                                    "type": "string",

                                    "value": "__*,*"

                                }

                            },

                            {

                                "key": "machine_prefix",

                                "value": null

                            },

                            {

                                "key": "max_per_user",

                                "value": {

                                    "type": "integer",

                                    "value": 0

                                }

                            },

                            {

                                "key": "Extensibility.Lifecycle.Properties.VMPSMasterWorkflow32.WaitingToBuild",

                                "value": {

                                    "type": "string",

                                    "value": "__*,*"

                                }

                            },

                            {

                                "key": "amazon_location",

                                "value": null

                            },

                            {

                                "key": "Extensibility.Lifecycle.Properties.VMPSMasterWorkflow32.Requested",

                                "value": {

                                    "type": "string",

                                    "value": "__*,*"

                                }

                            },

                            {

                                "key": "key_pair",

                                "value": {

                                    "type": "string",

                                    "value": "0"

                                }

                            },

                            {

                                "key": "ebs_storage",

                                "value": {

                                    "type": "integer",

                                    "value": 0

                                }

                            },

                            {

                                "key": "Hostname",

                                "value": {

                                    "type": "string",

                                    "value": "HOSTNAME"

                                }

                            },

                            {

                                "key": "cpu",

                                "value": {

                                    "type": "integer",

                                    "value": 2

                                }

                            },

                            {

                                "key": "property_groups",

                                "value": null

                            },

                            {

                                "key": "Extensibility.Lifecycle.Properties.VMPSMasterWorkflow32.InstallTools",

                                "value": {

                                    "type": "string",

                                    "value": "__*,*"

                                }

                            },

                            {

                                "key": "Extensibility.Lifecycle.Properties.VMPSMasterWorkflow32.BuildingMachine",

                                "value": {

                                    "type": "string",

                                    "value": "__*,*"

                                }

                            },

                            {

                                "key": "_cluster",

                                "value": {

                                    "type": "integer",

                                    "value": 1

                                }

                            },

                            {

                                "key": "Extensibility.Lifecycle.Properties.VMPSMasterWorkflow32.MachineProvisioned",

                                "value": {

                                    "type": "string",

                                    "value": "__*,*"

                                }

                            },

                            {

                                "key": "Extensibility.Lifecycle.Properties.VMPSMasterWorkflow32.Disposing",

                                "value": {

                                    "type": "string",

                                    "value": "__*,*"

                                }

                            },

                            {

                                "key": "amazon_provisionInto",

                                "value": {

                                    "type": "string",

                                    "value": "subnet"

                                }

                            },

                            {

                                "key": "instance_type",

                                "value": {

                                    "type": "string",

                                    "value": "m4.large"

                                }

                            },

                            {

                                "key": "amazon_subnet_id",

                                "value": {

                                    "type": "integer",

                                    "value": 23

                                }

                            },

                            {

                                "key": "ebs_storage_volumes",

                                "value": {

                                    "type": "multiple",

                                    "elementTypeId": "COMPLEX",

                                    "items": []

                                }

                            },

                            {

                                "key": "Extensibility.Lifecycle.Properties.CloneWorkflow.CustomizeOS",

                                "value": {

                                    "type": "string",

                                    "value": "__*,*"

                                }

                            }

                        ]

                    }

                }

            },

            {

                "key": "provider-_number_of_instances",

                "value": {

                    "type": "integer",

                    "value": 1

                }

            },

            {

                "key": "provider-_archiveDays",

                "value": {

                    "type": "integer",

                    "value": 14

                }

            },

            {

                "key": "provider-_leaseDays",

                "value": null

            },

            {

                "key": "provider-providerId",

                "value": {

                    "type": "string",

                    "value": "e15eee81-2a33-46d5-9021-872c862c29ef"

                }

            },

            {

                "key": "provider-providerBindingId",

                "value": {

                    "type": "string",

                    "value": "AWSRHEL7useast1"

                }

            },

            {

                "key": "provider-subtenantId",

                "value": {

                    "type": "string",

                    "value": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxx"

                 }

            }

        ]

    },


Viewing all articles
Browse latest Browse all 9859

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>