- type: replace
path: /resource_pools/name=vms/cloud_properties/spot_bid_price?
value: 0.05
Can you think of reasons the aws cpi might be immediately cancelling the spot request?
Deploying:
Creating instance 'bosh/0':
Creating VM:
Creating vm with stemcell cid 'ami-1084a875 light':
CPI 'create_vm' method responded with error: CmdError{"type":"Bosh::Clouds::VMCreationFailed","message":"Spot instance creation failed: #\u003cBosh::Clouds::VMCreationFailed: Timed out waiting for spot request #\u003cstruct Aws::EC2::Types::RequestSpotInstancesResult spot_instance_requests=[#\u003cstruct Aws::EC2::Types::SpotInstanceRequest actual_block_hourly_price=nil, availability_zone_group=nil, block_duration_minutes=nil, create_time=2017-10-31 23:54:11 UTC, fault=nil, instance_id=nil, launch_group=nil, launch_specification=#\u003cstruct Aws::EC2::Types::LaunchSpecification user_data=nil, security_groups=[#\u003cstruct Aws::EC2::Types::GroupIdentifier group_name=\"default\", group_id=nil\u003e], addressing_type=nil, block_device_mappings=[#\u003cstruct Aws::EC2::Types::BlockDeviceMapping device_name=\"/dev/sdb\", virtual_name=nil, ebs=#\u003cstruct Aws::EC2::Types::EbsBlockDevice encrypted=nil, delete_on_termination=true, iops=nil, snapshot_id=nil, volume_size=25, volume_type=\"gp2\"\u003e, no_device=nil\u003e, #\u003cstruct Aws::EC2::Types::BlockDeviceMapping device_name=\"/dev/xvda\", virtual_name=nil, ebs=#\u003cstruct Aws::EC2::Types::EbsBlockDevice encrypted=nil, delete_on_termination=true, iops=nil, snapshot_id=nil, volume_size=nil, volume_type=\"gp2\"\u003e, no_device=nil\u003e], ebs_optimized=nil, iam_instance_profile=nil, image_id=\"ami-1084a875\", instance_type=\"m4.xlarge\", kernel_id=nil, key_name=\"admin-community-ohio\", network_interfaces=[#\u003cstruct Aws::EC2::Types::InstanceNetworkInterfaceSpecification associate_public_ip_address=nil, delete_on_termination=nil, description=nil, device_index=0, groups=[], ipv_6_address_count=nil, ipv_6_addresses=[], network_interface_id=nil, private_ip_address=\"10.10.1.4\", private_ip_addresses=[], secondary_private_ip_address_count=nil, subnet_id=\"subnet-d7aef4ac\"\u003e], placement=#\u003cstruct Aws::EC2::Types::SpotPlacement availability_zone=\"us-east-2b\", group_name=nil, tenancy=nil\u003e, ramdisk_id=nil, subnet_id=nil, monitoring=#\u003cstruct Aws::EC2::Types::RunInstancesMonitoringEnabled enabled=false\u003e\u003e, launched_availability_zone=nil, product_description=\"Linux/UNIX\", spot_instance_request_id=\"sir-y28rr38h\", spot_price=\"0.030000\", state=\"open\", status=#\u003cstruct Aws::EC2::Types::SpotInstanceStatus code=\"pending-evaluation\", message=\"Your Spot request has been submitted for review, and is pending evaluation.\", update_time=2017-10-31 23:54:11 UTC\u003e, tags=[], type=\"one-time\", valid_from=nil, valid_until=nil\u003e]\u003e to be fulfilled.\u003e","ok_to_retry":false}