AWS VPC deploy, problem with subnets on `bosh deploy`

166 views
Skip to first unread message

ravasio....@gmail.com

unread,
Apr 15, 2015, 4:58:23 AM4/15/15
to bosh-...@cloudfoundry.org
Hello folks,
I can't figure out an error I'm getting when performing the (hopefully) last step in the AWS VPC tutorial.

After launching `bosh deploy`, I get the following output:

Processing deployment manifest
------------------------------
Getting deployment properties from director...
Compiling deployment manifest...
Please review all changes carefully

Deploying
---------
Deployment name: `cf-deployment.yml'
Director name: `firstbosh'
Are you sure you want to deploy? (type 'yes' to continue): yes

Director task 38
  Started preparing deployment
  Started preparing deployment > Binding deployment. Done (00:00:00)
  Started preparing deployment > Binding releases. Done (00:00:00)
  Started preparing deployment > Binding existing deployment. Done (00:00:00)
  Started preparing deployment > Binding resource pools. Done (00:00:00)
  Started preparing deployment > Binding stemcells. Done (00:00:00)
  Started preparing deployment > Binding templates. Done (00:00:00)
  Started preparing deployment > Binding properties. Done (00:00:00)
  Started preparing deployment > Binding unallocated VMs. Done (00:00:00)
  Started preparing deployment > Binding instance networks. Done (00:00:00)
     Done preparing deployment (00:00:00)

  Started preparing package compilation > Finding packages to compile. Done (00:00:00)

  Started compiling packages
  Started compiling packages > rootfs_lucid64/933e8e6829308fbaeeff1b2aaef030f6f3fc8886
  Started compiling packages > rootfs_cflinuxfs2/f528b08de7797c06725a2bdcf116e8ca0496cc12
  Started compiling packages > cli/1796b9b4dce96175bcefa60e1afbe1d4b7cd1f6b
  Started compiling packages > buildpack_php/60fb983e430ab8de7fb647cba59954f8d0c4b9c9
  Started compiling packages > buildpack_python/076c11da464aa50911e1744b39e95522a00e1f48
  Started compiling packages > buildpack_go/c647d65201f25e34bcc304898afe43c82104d950
   Failed compiling packages > cli/1796b9b4dce96175bcefa60e1afbe1d4b7cd1f6b: Address 10.10.17.24 does not fall within the subnet's address range (00:00:01)
   Failed compiling packages > rootfs_cflinuxfs2/f528b08de7797c06725a2bdcf116e8ca0496cc12: Address 10.10.17.23 does not fall within the subnet's address range (00:00:01)
   Failed compiling packages > buildpack_go/c647d65201f25e34bcc304898afe43c82104d950: Address 10.10.17.28 does not fall within the subnet's address range (00:00:01)
   Failed compiling packages > buildpack_python/076c11da464aa50911e1744b39e95522a00e1f48: Address 10.10.17.27 does not fall within the subnet's address range (00:00:01)
   Failed compiling packages > rootfs_lucid64/933e8e6829308fbaeeff1b2aaef030f6f3fc8886: Address 10.10.17.25 does not fall within the subnet's address range (00:00:01)
   Failed compiling packages > buildpack_php/60fb983e430ab8de7fb647cba59954f8d0c4b9c9: Address 10.10.17.26 does not fall within the subnet's address range (00:00:01)

Error 100: Address 10.10.17.24 does not fall within the subnet's address range

Task 38 error

For a more detailed error report, run: bosh task 38 --debug

I guess it's a configuration problem with subnets & ranges, here's the relevant part from the cf-deployment.yml file:

networks:
- name: cf1
  subnets:
  - cloud_properties:
      availability_zone: us-east-1a
    range: 10.10.16.0/20
    static:
      - 10.10.16.1 - 10.10.16.254
- name: cf2
  subnets:
  - cloud_properties:
      availability_zone: us-east-1c
    range: 10.10.80.0/20
    static:
      - 10.10.80.1 - 10.10.80.254

I've pasted ranges taken from the AWS VPC console, subnets sections.
I've also tried to change the ranges to include the IPs that the deploy is trying to use, but then they always go higher. For example, when I changed the cf1 static range to "10.10.16.1 - 10.10.17.254", the deploy tried to use IPs from 10.10.18.XXX.

Thank you in advance for the help. :)

General information about the setup:

You can find the cf-deployment.yml attached to this email.

AWS region us-east-1
BOSH director created via an inception server on the same region.
BOSH version 1.2922.0

bosh status:

Config
             /home/ubuntu/.bosh_config

Director
  Name       firstbosh
  URL        https://172.31.0.4:25555
  Version    1.2915.0 (00000000)
  User       admin
  UUID       beafb403-8ce1-4fe3-8610-f7e4f1410126
  CPI        aws
  dns        enabled (domain_name: microbosh)
  compiled_package_cache disabled
  snapshots  disabled

Deployment
  Manifest   /home/ubuntu/workspace/releases/cf-release/cf-deployment.yml

Stemcell in use:

+-----------------------------------------+---------+--------------------+
| Name                                    | Version | CID                |
+-----------------------------------------+---------+--------------------+
| bosh-aws-xen-hvm-ubuntu-trusty-go_agent | 2922*   | ami-ae7648c6 light |
| bosh-aws-xen-ubuntu-trusty-go_agent     | 2922    | ami-847947ec light |
+-----------------------------------------+---------+--------------------+

BOSH release


+----------+----------+-------------+
| Name     | Versions | Commit Hash |
+----------+----------+-------------+
| cf-test1 | 0+dev.1* | 25312234+   |
+----------+----------+-------------+
(*) Currently deployed
(+) Uncommitted changes

Releases total: 1

cf-deployment.yml
Reply all
Reply to author
Forward
0 new messages