Running a second deployment with the same director


Oded Gold
 

Hi all

I am trying to start a second deployment using the same director I am using AWS
When I run the deployment I get these errors, does anyone have any experience in solving this? Is this a bosh or aws problem

Acting as user 'admin' on deployment 'bss-staging' on 'dev-bosh'
Getting deployment properties from director...
Please review all changes carefully

Deploying
---------
Are you sure you want to deploy? (type 'yes' to continue): yes

Director task 578
Started unknown
Started unknown > Binding deployment. Done (00:00:00)

Started preparing deployment
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:01)
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)

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

Started preparing dns > Binding DNS. Done (00:00:00)

Started creating bound missing vms
Started creating bound missing vms > c3-large/0
Started creating bound missing vms > c3-large/1
Started creating bound missing vms > c3-large/2
Failed creating bound missing vms > c3-large/1: Unknown CPI error 'Unknown' with message 'Your quota allows for 0 more running instance(s). You requested at least 1' (00:00:37)
Failed creating bound missing vms > c3-large/2: Unknown CPI error 'Unknown' with message 'Your quota allows for 0 more running instance(s). You requested at least 1' (00:00:38)
Done creating bound missing vms > c3-large/0 (00:02:05)
Failed creating bound missing vms (00:02:05)

Error 100: Unknown CPI error 'Unknown' with message 'Your quota allows for 0 more running instance(s). You requested at least 1'

Acting as user 'admin' on deployment 'bss-staging' on 'dev-bosh'
Getting deployment properties from director...
Please review all changes carefully

Deploying
---------
Are you sure you want to deploy? (type 'yes' to continue): yes

Director task 579
Started unknown
Started unknown > Binding deployment. Done (00:00:00)

Started preparing deployment
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)

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

Started preparing dns > Binding DNS. Done (00:00:00)

Started deleting unneeded vms > i-ae5b581e. Done (00:01:08)

Started creating bound missing vms
Started creating bound missing vms > c3-large/0
Started creating bound missing vms > c3-large/1
Started creating bound missing vms > c3-large/2. Failed: Unknown CPI error 'Unknown' with message 'Your quota allows for 0 more running instance(s). You requested at least 1' (00:00:09)


Long Nguyen
 

Hi there! 

   It looks like you hit aws limit on your account you're using for BOSH

Long

On December 14, 2015 at 7:52:19 AM, Oded Gold (oded(a)nurego.com) wrote:

Hi all

I am trying to start a second deployment using the same director I am using AWS
When I run the deployment I get these errors, does anyone have any experience in solving this? Is this a bosh or aws problem

Acting as user 'admin' on deployment 'bss-staging' on 'dev-bosh'
Getting deployment properties from director...
Please review all changes carefully

Deploying
---------
Are you sure you want to deploy? (type 'yes' to continue): yes

Director task 578
Started unknown
Started unknown > Binding deployment. Done (00:00:00)

Started preparing deployment
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:01)
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)

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

Started preparing dns > Binding DNS. Done (00:00:00)

Started creating bound missing vms
Started creating bound missing vms > c3-large/0
Started creating bound missing vms > c3-large/1
Started creating bound missing vms > c3-large/2
Failed creating bound missing vms > c3-large/1: Unknown CPI error 'Unknown' with message 'Your quota allows for 0 more running instance(s). You requested at least 1' (00:00:37)
Failed creating bound missing vms > c3-large/2: Unknown CPI error 'Unknown' with message 'Your quota allows for 0 more running instance(s). You requested at least 1' (00:00:38)
Done creating bound missing vms > c3-large/0 (00:02:05)
Failed creating bound missing vms (00:02:05)

Error 100: Unknown CPI error 'Unknown' with message 'Your quota allows for 0 more running instance(s). You requested at least 1'

Acting as user 'admin' on deployment 'bss-staging' on 'dev-bosh'
Getting deployment properties from director...
Please review all changes carefully

Deploying
---------
Are you sure you want to deploy? (type 'yes' to continue): yes

Director task 579
Started unknown
Started unknown > Binding deployment. Done (00:00:00)

Started preparing deployment
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)

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

Started preparing dns > Binding DNS. Done (00:00:00)

Started deleting unneeded vms > i-ae5b581e. Done (00:01:08)

Started creating bound missing vms
Started creating bound missing vms > c3-large/0
Started creating bound missing vms > c3-large/1
Started creating bound missing vms > c3-large/2. Failed: Unknown CPI error 'Unknown' with message 'Your quota allows for 0 more running instance(s). You requested at least 1' (00:00:09)


Oded Gold
 

Cool thanks

Do you know if it is possible or how to configure the resource pool to
assign vms to multiple availability zones currently I have the following
configuration but cant find how to get the bosh to assign them over all the
availability zones at random it is really important for our redundancy

Thank you

resource_pools:
- name: c3-large
network: default
size: 3
stemcell:
name: bosh-aws-xen-ubuntu-trusty-go_agent
version: '0000'
cloud_properties:
instance_type: c3.large
availability_zone: us-east-1a

On Mon, Dec 14, 2015 at 3:51 PM, Long Nguyen <long.nguyen11288(a)gmail.com>
wrote:

Hi there!

It looks like you hit aws limit on your account you're using for BOSH

Long


On December 14, 2015 at 7:52:19 AM, Oded Gold (oded(a)nurego.com) wrote:

Hi all

I am trying to start a second deployment using the same director I am
using AWS
When I run the deployment I get these errors, does anyone have any
experience in solving this? Is this a bosh or aws problem

Acting as user 'admin' on deployment 'bss-staging' on 'dev-bosh'
Getting deployment properties from director...
Please review all changes carefully

Deploying
---------
Are you sure you want to deploy? (type 'yes' to continue): yes

Director task 578
Started unknown
Started unknown > Binding deployment. Done (00:00:00)

Started preparing deployment
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:01)
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)

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

Started preparing dns > Binding DNS. Done (00:00:00)

Started creating bound missing vms
Started creating bound missing vms > c3-large/0
Started creating bound missing vms > c3-large/1
Started creating bound missing vms > c3-large/2
Failed creating bound missing vms > c3-large/1: Unknown CPI error
'Unknown' with message 'Your quota allows for 0 more running instance(s).
You requested at least 1' (00:00:37)
Failed creating bound missing vms > c3-large/2: Unknown CPI error
'Unknown' with message 'Your quota allows for 0 more running instance(s).
You requested at least 1' (00:00:38)
Done creating bound missing vms > c3-large/0 (00:02:05)
Failed creating bound missing vms (00:02:05)

Error 100: Unknown CPI error 'Unknown' with message 'Your quota allows for
0 more running instance(s). You requested at least 1'

Acting as user 'admin' on deployment 'bss-staging' on 'dev-bosh'
Getting deployment properties from director...
Please review all changes carefully

Deploying
---------
Are you sure you want to deploy? (type 'yes' to continue): yes

Director task 579
Started unknown
Started unknown > Binding deployment. Done (00:00:00)

Started preparing deployment
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)

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

Started preparing dns > Binding DNS. Done (00:00:00)

Started deleting unneeded vms > i-ae5b581e. Done (00:01:08)

Started creating bound missing vms
Started creating bound missing vms > c3-large/0
Started creating bound missing vms > c3-large/1
Started creating bound missing vms > c3-large/2. Failed: Unknown CPI error
'Unknown' with message 'Your quota allows for 0 more running instance(s).
You requested at least 1' (00:00:09)


Long Nguyen
 

You need a resource_pool for each zone, and instances are assigned to it, normally you have instances in each zone with z1 and z2

On December 14, 2015 at 9:15:09 AM, Oded Gold (oded(a)nurego.com) wrote:

Cool thanks 

Do you know if it is possible or how to configure the resource pool to assign vms to multiple availability zones currently I have the following configuration but cant find how to get the bosh to assign them over all the availability zones at random it is really important for our redundancy 

Thank you

resource_pools:
  - name: c3-large
    network: default
    size: 3
    stemcell:
      name: bosh-aws-xen-ubuntu-trusty-go_agent
      version: '0000'
    cloud_properties:
      instance_type: c3.large
      availability_zone: us-east-1a

On Mon, Dec 14, 2015 at 3:51 PM, Long Nguyen <long.nguyen11288(a)gmail.com> wrote:
Hi there! 

   It looks like you hit aws limit on your account you're using for BOSH

Long 


On December 14, 2015 at 7:52:19 AM, Oded Gold (oded(a)nurego.com) wrote:

Hi all

I am trying to start a second deployment using the same director I am using AWS
When I run the deployment I get these errors, does anyone have any experience in solving this? Is this a bosh or aws problem

Acting as user 'admin' on deployment 'bss-staging' on 'dev-bosh'
Getting deployment properties from director...
Please review all changes carefully

Deploying
---------
Are you sure you want to deploy? (type 'yes' to continue): yes

Director task 578
Started unknown
Started unknown > Binding deployment. Done (00:00:00)

Started preparing deployment
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:01)
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)

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

Started preparing dns > Binding DNS. Done (00:00:00)

Started creating bound missing vms
Started creating bound missing vms > c3-large/0
Started creating bound missing vms > c3-large/1
Started creating bound missing vms > c3-large/2
Failed creating bound missing vms > c3-large/1: Unknown CPI error 'Unknown' with message 'Your quota allows for 0 more running instance(s). You requested at least 1' (00:00:37)
Failed creating bound missing vms > c3-large/2: Unknown CPI error 'Unknown' with message 'Your quota allows for 0 more running instance(s). You requested at least 1' (00:00:38)
Done creating bound missing vms > c3-large/0 (00:02:05)
Failed creating bound missing vms (00:02:05)

Error 100: Unknown CPI error 'Unknown' with message 'Your quota allows for 0 more running instance(s). You requested at least 1'

Acting as user 'admin' on deployment 'bss-staging' on 'dev-bosh'
Getting deployment properties from director...
Please review all changes carefully

Deploying
---------
Are you sure you want to deploy? (type 'yes' to continue): yes

Director task 579
Started unknown
Started unknown > Binding deployment. Done (00:00:00)

Started preparing deployment
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)

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

Started preparing dns > Binding DNS. Done (00:00:00)

Started deleting unneeded vms > i-ae5b581e. Done (00:01:08)

Started creating bound missing vms
Started creating bound missing vms > c3-large/0
Started creating bound missing vms > c3-large/1
Started creating bound missing vms > c3-large/2. Failed: Unknown CPI error 'Unknown' with message 'Your quota allows for 0 more running instance(s). You requested at least 1' (00:00:09)