Advertisement
fedorm

fedorm

Jan 9th, 2019
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 13.35 KB | None | 0 0
  1. ➜  performance git:(SLS-58) ✗ terraform apply
  2.  
  3. An execution plan has been generated and is shown below.
  4. Resource actions are indicated with the following symbols:
  5.   + create
  6.  
  7. Terraform will perform the following actions:
  8.  
  9.   + aws_spot_instance_request.coupons-performance
  10.       id:                                        <computed>
  11.       ami:                                       "ami-0c82dade0950d8e61"
  12.       arn:                                       <computed>
  13.       associate_public_ip_address:               <computed>
  14.       availability_zone:                         <computed>
  15.       cpu_core_count:                            <computed>
  16.       cpu_threads_per_core:                      <computed>
  17.       ebs_block_device.#:                        <computed>
  18.       ephemeral_block_device.#:                  <computed>
  19.       get_password_data:                         "false"
  20.       host_id:                                   <computed>
  21.       instance_interruption_behaviour:           "terminate"
  22.       instance_state:                            <computed>
  23.       instance_type:                             "c4.8xlarge"
  24.       ipv6_address_count:                        <computed>
  25.       ipv6_addresses.#:                          <computed>
  26.       key_name:                                  <computed>
  27.       network_interface.#:                       <computed>
  28.       network_interface_id:                      <computed>
  29.       password_data:                             <computed>
  30.       placement_group:                           <computed>
  31.       primary_network_interface_id:              <computed>
  32.       private_dns:                               <computed>
  33.       private_ip:                                <computed>
  34.       public_dns:                                <computed>
  35.       public_ip:                                 <computed>
  36.       root_block_device.#:                       "1"
  37.       root_block_device.0.delete_on_termination: "true"
  38.       root_block_device.0.volume_id:             <computed>
  39.       root_block_device.0.volume_size:           "300"
  40.       root_block_device.0.volume_type:           "gp2"
  41.       security_groups.#:                         <computed>
  42.       source_dest_check:                         "true"
  43.       spot_bid_status:                           <computed>
  44.       spot_instance_id:                          <computed>
  45.       spot_price:                                "0.39"
  46.       spot_request_state:                        <computed>
  47.       spot_type:                                 "one-time"
  48.       subnet_id:                                 <computed>
  49.       tags.%:                                    "1"
  50.       tags.Name:                                 "coupons-performance"
  51.       tenancy:                                   <computed>
  52.       valid_from:                                <computed>
  53.       valid_until:                               <computed>
  54.       vpc_security_group_ids.#:                  <computed>
  55.       wait_for_fulfillment:                      "true"
  56.  
  57.   + aws_spot_instance_request.stand-performance
  58.       id:                                        <computed>
  59.       ami:                                       "ami-0bfbff61bfe3862b5"
  60.       arn:                                       <computed>
  61.       associate_public_ip_address:               <computed>
  62.       availability_zone:                         <computed>
  63.       cpu_core_count:                            <computed>
  64.       cpu_threads_per_core:                      <computed>
  65.       ebs_block_device.#:                        <computed>
  66.       ephemeral_block_device.#:                  <computed>
  67.       get_password_data:                         "false"
  68.       host_id:                                   <computed>
  69.       instance_interruption_behaviour:           "terminate"
  70.       instance_state:                            <computed>
  71.       instance_type:                             "c4.2xlarge"
  72.       ipv6_address_count:                        <computed>
  73.       ipv6_addresses.#:                          <computed>
  74.       key_name:                                  <computed>
  75.       network_interface.#:                       <computed>
  76.       network_interface_id:                      <computed>
  77.       password_data:                             <computed>
  78.       placement_group:                           <computed>
  79.       primary_network_interface_id:              <computed>
  80.       private_dns:                               <computed>
  81.       private_ip:                                <computed>
  82.       public_dns:                                <computed>
  83.       public_ip:                                 <computed>
  84.       root_block_device.#:                       "1"
  85.       root_block_device.0.delete_on_termination: "true"
  86.       root_block_device.0.volume_id:             <computed>
  87.       root_block_device.0.volume_size:           "30"
  88.       root_block_device.0.volume_type:           "gp2"
  89.       security_groups.#:                         <computed>
  90.       source_dest_check:                         "true"
  91.       spot_bid_status:                           <computed>
  92.       spot_instance_id:                          <computed>
  93.       spot_price:                                "0.08"
  94.       spot_request_state:                        <computed>
  95.       spot_type:                                 "one-time"
  96.       subnet_id:                                 <computed>
  97.       tags.%:                                    "1"
  98.       tags.Name:                                 "stand-performance"
  99.       tenancy:                                   <computed>
  100.       valid_from:                                <computed>
  101.       valid_until:                               <computed>
  102.       vpc_security_group_ids.#:                  <computed>
  103.       wait_for_fulfillment:                      "true"
  104.  
  105.  
  106. Plan: 2 to add, 0 to change, 0 to destroy.
  107.  
  108. Do you want to perform these actions?
  109.   Terraform will perform the actions described above.
  110.   Only 'yes' will be accepted to approve.
  111.  
  112.   Enter a value: yes
  113.  
  114. aws_spot_instance_request.coupons-performance: Creating...
  115.   ami:                                       "" => "ami-0c82dade0950d8e61"
  116.   arn:                                       "" => "<computed>"
  117.   associate_public_ip_address:               "" => "<computed>"
  118.   availability_zone:                         "" => "<computed>"
  119.   cpu_core_count:                            "" => "<computed>"
  120.   cpu_threads_per_core:                      "" => "<computed>"
  121.   ebs_block_device.#:                        "" => "<computed>"
  122.   ephemeral_block_device.#:                  "" => "<computed>"
  123.   get_password_data:                         "" => "false"
  124.   host_id:                                   "" => "<computed>"
  125.   instance_interruption_behaviour:           "" => "terminate"
  126.   instance_state:                            "" => "<computed>"
  127.   instance_type:                             "" => "c4.8xlarge"
  128.   ipv6_address_count:                        "" => "<computed>"
  129.   ipv6_addresses.#:                          "" => "<computed>"
  130.   key_name:                                  "" => "<computed>"
  131.   network_interface.#:                       "" => "<computed>"
  132.   network_interface_id:                      "" => "<computed>"
  133.   password_data:                             "" => "<computed>"
  134.   placement_group:                           "" => "<computed>"
  135.   primary_network_interface_id:              "" => "<computed>"
  136.   private_dns:                               "" => "<computed>"
  137.   private_ip:                                "" => "<computed>"
  138.   public_dns:                                "" => "<computed>"
  139.   public_ip:                                 "" => "<computed>"
  140.   root_block_device.#:                       "" => "1"
  141.   root_block_device.0.delete_on_termination: "" => "true"
  142.   root_block_device.0.volume_id:             "" => "<computed>"
  143.   root_block_device.0.volume_size:           "" => "300"
  144.   root_block_device.0.volume_type:           "" => "gp2"
  145.   security_groups.#:                         "" => "<computed>"
  146.   source_dest_check:                         "" => "true"
  147.   spot_bid_status:                           "" => "<computed>"
  148.   spot_instance_id:                          "" => "<computed>"
  149.   spot_price:                                "" => "0.39"
  150.   spot_request_state:                        "" => "<computed>"
  151.   spot_type:                                 "" => "one-time"
  152.   subnet_id:                                 "" => "<computed>"
  153.   tags.%:                                    "" => "1"
  154.   tags.Name:                                 "" => "coupons-performance"
  155.   tenancy:                                   "" => "<computed>"
  156.   valid_from:                                "" => "<computed>"
  157.   valid_until:                               "" => "<computed>"
  158.   vpc_security_group_ids.#:                  "" => "<computed>"
  159.   wait_for_fulfillment:                      "" => "true"
  160. aws_spot_instance_request.stand-performance: Creating...
  161.   ami:                                       "" => "ami-0bfbff61bfe3862b5"
  162.   arn:                                       "" => "<computed>"
  163.   associate_public_ip_address:               "" => "<computed>"
  164.   availability_zone:                         "" => "<computed>"
  165.   cpu_core_count:                            "" => "<computed>"
  166.   cpu_threads_per_core:                      "" => "<computed>"
  167.   ebs_block_device.#:                        "" => "<computed>"
  168.   ephemeral_block_device.#:                  "" => "<computed>"
  169.   get_password_data:                         "" => "false"
  170.   host_id:                                   "" => "<computed>"
  171.   instance_interruption_behaviour:           "" => "terminate"
  172.   instance_state:                            "" => "<computed>"
  173.   instance_type:                             "" => "c4.2xlarge"
  174.   ipv6_address_count:                        "" => "<computed>"
  175.   ipv6_addresses.#:                          "" => "<computed>"
  176.   key_name:                                  "" => "<computed>"
  177.   network_interface.#:                       "" => "<computed>"
  178.   network_interface_id:                      "" => "<computed>"
  179.   password_data:                             "" => "<computed>"
  180.   placement_group:                           "" => "<computed>"
  181.   primary_network_interface_id:              "" => "<computed>"
  182.   private_dns:                               "" => "<computed>"
  183.   private_ip:                                "" => "<computed>"
  184.   public_dns:                                "" => "<computed>"
  185.   public_ip:                                 "" => "<computed>"
  186.   root_block_device.#:                       "" => "1"
  187.   root_block_device.0.delete_on_termination: "" => "true"
  188.   root_block_device.0.volume_id:             "" => "<computed>"
  189.   root_block_device.0.volume_size:           "" => "30"
  190.   root_block_device.0.volume_type:           "" => "gp2"
  191.   security_groups.#:                         "" => "<computed>"
  192.   source_dest_check:                         "" => "true"
  193.   spot_bid_status:                           "" => "<computed>"
  194.   spot_instance_id:                          "" => "<computed>"
  195.   spot_price:                                "" => "0.08"
  196.   spot_request_state:                        "" => "<computed>"
  197.   spot_type:                                 "" => "one-time"
  198.   subnet_id:                                 "" => "<computed>"
  199.   tags.%:                                    "" => "1"
  200.   tags.Name:                                 "" => "stand-performance"
  201.   tenancy:                                   "" => "<computed>"
  202.   valid_from:                                "" => "<computed>"
  203.   valid_until:                               "" => "<computed>"
  204.   vpc_security_group_ids.#:                  "" => "<computed>"
  205.   wait_for_fulfillment:                      "" => "true"
  206. aws_spot_instance_request.stand-performance: Still creating... (10s elapsed)
  207. aws_spot_instance_request.coupons-performance: Still creating... (10s elapsed)
  208. aws_spot_instance_request.stand-performance: Creation complete after 14s (ID: sir-fr18srrj)
  209.  
  210. Error: Error applying plan:
  211.  
  212. 1 error(s) occurred:
  213.  
  214. * aws_spot_instance_request.coupons-performance: 1 error(s) occurred:
  215.  
  216. * aws_spot_instance_request.coupons-performance: Error while waiting for spot request ({
  217.   CreateTime: 2019-01-09 15:03:59 +0000 UTC,
  218.   InstanceInterruptionBehavior: "terminate",
  219.   LaunchSpecification: {
  220.     BlockDeviceMappings: [{
  221.         DeviceName: "/dev/sda1",
  222.         Ebs: {
  223.           DeleteOnTermination: true,
  224.           VolumeSize: 300,
  225.           VolumeType: "gp2"
  226.         }
  227.       }],
  228.     EbsOptimized: false,
  229.     IamInstanceProfile: {
  230.       Name: ""
  231.     },
  232.     ImageId: "ami-0c82dade0950d8e61",
  233.     InstanceType: "c4.8xlarge",
  234.     Monitoring: {
  235.       Enabled: false
  236.     },
  237.     Placement: {
  238.       AvailabilityZone: "us-east-2a",
  239.       GroupName: ""
  240.     },
  241.     SecurityGroups: [{
  242.         GroupId: "sg-589e0234",
  243.         GroupName: "default"
  244.       }],
  245.     SubnetId: "subnet-61022b09"
  246.   },
  247.   ProductDescription: "Linux/UNIX",
  248.   SpotInstanceRequestId: "sir-i62ir32g",
  249.   SpotPrice: "0.390000",
  250.   State: "open",
  251.   Status: {
  252.     Code: "pending-evaluation",
  253.     Message: "Your Spot request has been submitted for review, and is pending evaluation.",
  254.     UpdateTime: 2019-01-09 15:03:59 +0000 UTC
  255.   },
  256.   Type: "one-time"
  257. }) to resolve: unexpected state 'capacity-oversubscribed', wanted target 'fulfilled'. last error: %!s(<nil>)
  258.  
  259. Terraform does not automatically rollback in the face of errors.
  260. Instead, your Terraform state file has been partially updated with
  261. any resources that successfully completed. Please address the error
  262. above and apply again to incrementally change your infrastructure.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement