Just wonder if anyone know this time out problem.

And where to debug them.

Thanks


dings@ubuntu:~/work/bosh/cf-release$ bosh deploy
Getting deployment properties from director...
Compiling deployment manifest...
Please review all changes carefully
Deploying `cloudfoundry.yml' to `bosh-bootstrap-dir2' (type 'yes' to
continue): yes

Director task 5

Preparing deployment
binding deployment (00:00:00)

binding releases (00:00:00)

binding existing deployment (00:00:00)

binding resource pools (00:00:00)

binding stemcells (00:00:00)

binding templates (00:00:00)

binding unallocated VMs (00:00:00)

binding instance networks (00:00:00)

Done 8/8 00:00:00


Preparing package compilation
finding packages to compile (00:00:00)

Done 1/1 00:00:00


Compiling packages
node/2: Timed out pinging to 353acac2-863f-43e6-915e-14dca4650dfa after
300 seconds (00:05:41)
postgresql/5: Timed out pinging to f3a23f62-77a1-411b-be45-e352600b7a1f
after 300 seconds (00:05:50)
rabbitmq/4: Timed out pinging to 764f2dea-a384-49e3-836f-5c04573d4213
after 300 seconds (00:05:51)
vblob/5: Timed out pinging to 2e1a454a-7ac8-4628-8827-39c600965b9d after
300 seconds (00:05:51)
Error 4/59 00:05:51


Error 450002: Timed out pinging to 353acac2-863f-43e6-915e-14dca4650dfa
after 300 seconds

Search Discussions

  • Shaozhen Ding at Nov 17, 2012 at 10:17 pm
    Found error log in director, when the director was provisioned.
    Not knowing whether this related to this.

    in /var/vcap/sys/log/nats/nats.log


    /var/vcap/packages/nats/vendor/bundle/ruby/1.9.1/gems/nats-0.4.22.beta.1/lib/nats/server/server.rb:82:in
    `initialize': Permission denied - /var/vcap/sys/run/nats/nats.pid
    (Errno::EACCES)
    from
    /var/vcap/packages/nats/vendor/bundle/ruby/1.9.1/gems/nats-0.4.22.beta.1/lib/nats/server/server.rb:82:in
    `open'
    from
    /var/vcap/packages/nats/vendor/bundle/ruby/1.9.1/gems/nats-0.4.22.beta.1/lib/nats/server/server.rb:82:in
    `setup'
    from
    /var/vcap/packages/nats/vendor/bundle/ruby/1.9.1/gems/nats-0.4.22.beta.1/lib/nats/server.rb:21:in
    `<top (required)>'
    from
    /var/vcap/packages/nats/vendor/bundle/ruby/1.9.1/gems/nats-0.4.22.beta.1/bin/nats-server:5:in
    `require'
    from
    /var/vcap/packages/nats/vendor/bundle/ruby/1.9.1/gems/nats-0.4.22.beta.1/bin/nats-server:5:in
    `<top (required)>'
    from
    /var/vcap/packages/nats/vendor/bundle/ruby/1.9.1/bin/nats-server:19:in
    `load'
    from
    /var/vcap/packages/nats/vendor/bundle/ruby/1.9.1/bin/nats-server:19:in
    `<main>'
    [2012-11-17 20:56:55 +0000, "Starting nats-server version 0.4.22.beta.1 on
    port 4222"]



    On Saturday, November 17, 2012 5:08:01 PM UTC-5, Shaozhen Ding wrote:

    Just wonder if anyone know this time out problem.

    And where to debug them.

    Thanks


    dings@ubuntu:~/work/bosh/cf-release$ bosh deploy
    Getting deployment properties from director...
    Compiling deployment manifest...
    Please review all changes carefully
    Deploying `cloudfoundry.yml' to `bosh-bootstrap-dir2' (type 'yes' to
    continue): yes

    Director task 5

    Preparing deployment
    binding deployment (00:00:00)

    binding releases (00:00:00)

    binding existing deployment (00:00:00)

    binding resource pools (00:00:00)

    binding stemcells (00:00:00)

    binding templates (00:00:00)

    binding unallocated VMs (00:00:00)

    binding instance networks (00:00:00)

    Done 8/8 00:00:00


    Preparing package compilation
    finding packages to compile (00:00:00)

    Done 1/1 00:00:00


    Compiling packages
    node/2: Timed out pinging to 353acac2-863f-43e6-915e-14dca4650dfa after
    300 seconds (00:05:41)
    postgresql/5: Timed out pinging to f3a23f62-77a1-411b-be45-e352600b7a1f
    after 300 seconds (00:05:50)
    rabbitmq/4: Timed out pinging to 764f2dea-a384-49e3-836f-5c04573d4213
    after 300 seconds (00:05:51)
    vblob/5: Timed out pinging to 2e1a454a-7ac8-4628-8827-39c600965b9d after
    300 seconds (00:05:51)
    Error 4/59 00:05:51


    Error 450002: Timed out pinging to 353acac2-863f-43e6-915e-14dca4650dfa
    after 300 seconds
  • Ben Lisbakken at Nov 19, 2012 at 3:17 pm
    It looks like the BOSH nats job did not have permissions to create the
    pidfile that it uses to manage the job. Your BOSH nats job is probably in
    an unhealthy state, which means network communication when doing a deploy
    will be disrupted.

    -Ben
    On Saturday, November 17, 2012, Shaozhen Ding wrote:

    Found error log in director, when the director was provisioned.
    Not knowing whether this related to this.

    in /var/vcap/sys/log/nats/nats.log


    /var/vcap/packages/nats/vendor/bundle/ruby/1.9.1/gems/nats-0.4.22.beta.1/lib/nats/server/server.rb:82:in
    `initialize': Permission denied - /var/vcap/sys/run/nats/nats.pid
    (Errno::EACCES)
    from
    /var/vcap/packages/nats/vendor/bundle/ruby/1.9.1/gems/nats-0.4.22.beta.1/lib/nats/server/server.rb:82:in
    `open'
    from
    /var/vcap/packages/nats/vendor/bundle/ruby/1.9.1/gems/nats-0.4.22.beta.1/lib/nats/server/server.rb:82:in
    `setup'
    from
    /var/vcap/packages/nats/vendor/bundle/ruby/1.9.1/gems/nats-0.4.22.beta.1/lib/nats/server.rb:21:in
    `<top (required)>'
    from
    /var/vcap/packages/nats/vendor/bundle/ruby/1.9.1/gems/nats-0.4.22.beta.1/bin/nats-server:5:in
    `require'
    from
    /var/vcap/packages/nats/vendor/bundle/ruby/1.9.1/gems/nats-0.4.22.beta.1/bin/nats-server:5:in
    `<top (required)>'
    from
    /var/vcap/packages/nats/vendor/bundle/ruby/1.9.1/bin/nats-server:19:in
    `load'
    from
    /var/vcap/packages/nats/vendor/bundle/ruby/1.9.1/bin/nats-server:19:in
    `<main>'
    [2012-11-17 20:56:55 +0000, "Starting nats-server version 0.4.22.beta.1 on
    port 4222"]



    On Saturday, November 17, 2012 5:08:01 PM UTC-5, Shaozhen Ding wrote:

    Just wonder if anyone know this time out problem.

    And where to debug them.

    Thanks


    dings@ubuntu:~/work/bosh/cf-**release$ bosh deploy
    Getting deployment properties from director...
    Compiling deployment manifest...
    Please review all changes carefully
    Deploying `cloudfoundry.yml' to `bosh-bootstrap-dir2' (type 'yes' to
    continue): yes

    Director task 5

    Preparing deployment
    binding deployment (00:00:00)

    binding releases (00:00:00)

    binding existing deployment (00:00:00)

    binding resource pools (00:00:00)

    binding stemcells (00:00:00)

    binding templates (00:00:00)

    binding unallocated VMs (00:00:00)

    binding instance networks (00:00:00)

    Done 8/8 00:00:00


    Preparing package compilation
    finding packages to compile (00:00:00)

    Done 1/1 00:00:00


    Compiling packages
    node/2: Timed out pinging to 353acac2-863f-43e6-915e-**14dca4650dfa
    after 300 seconds (00:05:41)
    postgresql/5: Timed out pinging to f3a23f62-77a1-411b-be45-**e352600b7a1f
    after 300 seconds (00:05:50)
    rabbitmq/4: Timed out pinging to 764f2dea-a384-49e3-836f-**5c04573d4213
    after 300 seconds (00:05:51)
    vblob/5: Timed out pinging to 2e1a454a-7ac8-4628-8827-**39c600965b9d
    after 300 seconds (00:05:51)
    Error 4/59 00:05:51


    Error 450002: Timed out pinging to 353acac2-863f-43e6-915e-**14dca4650dfa
    after 300 seconds
  • Shaozhen Ding at Nov 19, 2012 at 3:32 pm
    Actually

    the process is created successfully

    -rw-r--r-- 1 vcap vcap 5 2012-11-19 15:22 /var/vcap/sys/run/nats/nats.pid

    And the owner is "vcap"
    The process started also as vcap. Not knowing why the process id file some
    how is not accessible.
    On Monday, November 19, 2012 10:17:14 AM UTC-5, Ben Lisbakken wrote:

    It looks like the BOSH nats job did not have permissions to create the
    pidfile that it uses to manage the job. Your BOSH nats job is probably in
    an unhealthy state, which means network communication when doing a deploy
    will be disrupted.

    -Ben
    On Saturday, November 17, 2012, Shaozhen Ding wrote:

    Found error log in director, when the director was provisioned.
    Not knowing whether this related to this.

    in /var/vcap/sys/log/nats/nats.log


    /var/vcap/packages/nats/vendor/bundle/ruby/1.9.1/gems/nats-0.4.22.beta.1/lib/nats/server/server.rb:82:in
    `initialize': Permission denied - /var/vcap/sys/run/nats/nats.pid
    (Errno::EACCES)
    from
    /var/vcap/packages/nats/vendor/bundle/ruby/1.9.1/gems/nats-0.4.22.beta.1/lib/nats/server/server.rb:82:in
    `open'
    from
    /var/vcap/packages/nats/vendor/bundle/ruby/1.9.1/gems/nats-0.4.22.beta.1/lib/nats/server/server.rb:82:in
    `setup'
    from
    /var/vcap/packages/nats/vendor/bundle/ruby/1.9.1/gems/nats-0.4.22.beta.1/lib/nats/server.rb:21:in
    `<top (required)>'
    from
    /var/vcap/packages/nats/vendor/bundle/ruby/1.9.1/gems/nats-0.4.22.beta.1/bin/nats-server:5:in
    `require'
    from
    /var/vcap/packages/nats/vendor/bundle/ruby/1.9.1/gems/nats-0.4.22.beta.1/bin/nats-server:5:in
    `<top (required)>'
    from
    /var/vcap/packages/nats/vendor/bundle/ruby/1.9.1/bin/nats-server:19:in
    `load'
    from
    /var/vcap/packages/nats/vendor/bundle/ruby/1.9.1/bin/nats-server:19:in
    `<main>'
    [2012-11-17 20:56:55 +0000, "Starting nats-server version 0.4.22.beta.1
    on port 4222"]



    On Saturday, November 17, 2012 5:08:01 PM UTC-5, Shaozhen Ding wrote:

    Just wonder if anyone know this time out problem.

    And where to debug them.

    Thanks


    dings@ubuntu:~/work/bosh/cf-**release$ bosh deploy
    Getting deployment properties from director...
    Compiling deployment manifest...
    Please review all changes carefully
    Deploying `cloudfoundry.yml' to `bosh-bootstrap-dir2' (type 'yes' to
    continue): yes

    Director task 5

    Preparing deployment
    binding deployment (00:00:00)

    binding releases (00:00:00)

    binding existing deployment (00:00:00)

    binding resource pools (00:00:00)

    binding stemcells (00:00:00)

    binding templates (00:00:00)

    binding unallocated VMs (00:00:00)

    binding instance networks (00:00:00)

    Done 8/8 00:00:00


    Preparing package compilation
    finding packages to compile (00:00:00)

    Done 1/1 00:00:00


    Compiling packages
    node/2: Timed out pinging to 353acac2-863f-43e6-915e-**14dca4650dfa
    after 300 seconds (00:05:41)
    postgresql/5: Timed out pinging to f3a23f62-77a1-411b-be45-**e352600b7a1f
    after 300 seconds (00:05:50)
    rabbitmq/4: Timed out pinging to 764f2dea-a384-49e3-836f-**5c04573d4213
    after 300 seconds (00:05:51)
    vblob/5: Timed out pinging to 2e1a454a-7ac8-4628-8827-**39c600965b9d
    after 300 seconds (00:05:51)
    Error 4/59 00:05:51


    Error 450002: Timed out pinging to 353acac2-863f-43e6-915e-**14dca4650dfa
    after 300 seconds
  • Ben Lisbakken at Nov 19, 2012 at 6:12 pm

    Can you try listening to your nats? Install the nats gem, then use:
    export NATS_URI="nats://nats:<pass>@<nats IP>:4222"
    nats-sub ">"
    Then try to do a deploy and see what is sent over nats.

    -Ben
    On Monday, November 19, 2012, Shaozhen Ding wrote:

    Actually

    the process is created successfully

    -rw-r--r-- 1 vcap vcap 5 2012-11-19 15:22 /var/vcap/sys/run/nats/nats.pid

    And the owner is "vcap"
    The process started also as vcap. Not knowing why the process id file some
    how is not accessible.

    On Monday, November 19, 2012 10:17:14 AM UTC-5, Ben Lisbakken wrote:

    It looks like the BOSH nats job did not have permissions to create the
    pidfile that it uses to manage the job. Your BOSH nats job is probably in
    an unhealthy state, which means network communication when doing a deploy
    will be disrupted.

    -Ben

    On Saturday, November 17, 2012, Shaozhen Ding wrote:

    Found error log in director, when the director was provisioned.
    Not knowing whether this related to this.

    in /var/vcap/sys/log/nats/nats.**log


    /var/vcap/packages/nats/**vendor/bundle/ruby/1.9.1/gems/**
    nats-0.4.22.beta.1/lib/nats/**server/server.rb:82:in `initialize':
    Permission denied - /var/vcap/sys/run/nats/nats.**pid (Errno::EACCES)
    from /var/vcap/packages/nats/**vendor/bundle/ruby/1.9.1/gems/**
    nats-0.4.22.beta.1/lib/nats/**server/server.rb:82:in `open'
    from /var/vcap/packages/nats/**vendor/bundle/ruby/1.9.1/gems/**
    nats-0.4.22.beta.1/lib/nats/**server/server.rb:82:in `setup'
    from /var/vcap/packages/nats/**vendor/bundle/ruby/1.9.1/gems/**
    nats-0.4.22.beta.1/lib/nats/**server.rb:21:in `<top (required)>'
    from /var/vcap/packages/nats/**vendor/bundle/ruby/1.9.1/gems/**
    nats-0.4.22.beta.1/bin/nats-**server:5:in `require'
    from /var/vcap/packages/nats/**vendor/bundle/ruby/1.9.1/gems/**
    nats-0.4.22.beta.1/bin/nats-**server:5:in `<top (required)>'
    from /var/vcap/packages/nats/**vendor/bundle/ruby/1.9.1/bin/**nats-server:19:in
    `load'
    from /var/vcap/packages/nats/**vendor/bundle/ruby/1.9.1/bin/**nats-server:19:in
    `<main>'
    [2012-11-17 20:56:55 +0000, "Starting nats-server version 0.4.22.beta.1 on
    port 4222"]




    On Saturday, November 17, 2012 5:08:01 PM UTC-5, Shaozhen Ding wrote:

    Just wonder if anyone know this time out problem.

    And where to debug them.

    Thanks


    dings@ubuntu:~/work/bosh/cf-**re**lease$ bosh deploy
    Getting deployment properties from director...
    Compiling deployment manifest...
    Please review all changes carefully
    Deploying `cloudfoundry.yml' to `bosh-bootstrap-dir2' (type 'yes' to
    continue): yes

    Director task 5

    Preparing deployment
    binding deployment (00:00:00)

    binding releases (00:00:00)

    binding existing deployment (00:00:00)

    binding resource pools (00:00:00)

    binding stemcells (00:00:00)

    binding templates (00:00:00)

    binding unallocated VMs (00:00:00)

    binding instance networks (00:00:00)

    Done 8/8 00:00:00


    Preparing package compilation
    finding packages to compile (00:00:00)

    Done 1/1 00:00:00


    Compiling packages
    node/2: Timed out pinging to 353acac2-863f-43e6-915e-**14dca4**650dfa
    after 300 seconds (00:05:41)
    postgresql/5: Timed out pinging to f3a23f62-77a1-411b-be45-**e35260**0b7a1f
    after 300 seconds (00:05:50)
    rabbitmq/4: Timed out pinging to 764f2dea-a384-49e3-836f-**5c0457**3d4213
    after 300 seconds (00:05:51)
    vblob/5: Timed out pinging to 2e1a454a-7ac8-4628-8827-**39c600**965b9d
    after 300 seconds (00:05:51)
    Error 4/59 00:05:51

  • Shaozhen Ding at Nov 19, 2012 at 7:18 pm
    There are more than 1000 lines posts I just posted the last several hundred
    lines.

    Let me know if you need more.

    [#1131] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.12d1107e-88b1-4a90-aee6-0cfa638ae5ad"}'
    [#1132] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.55544af7-eded-450b-a105-adce007cd6ec"}'
    [#1133] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.97ce31bc-3349-4761-a5ec-73f94fd77744"}'
    [#1134] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.e7238d97-0316-4391-a4da-1a715e0fa44e"}'
    [#1135] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.68fe16bd-c3d7-4427-bd5b-c7a1ecaa0295"}'
    [#1136] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.f9535f19-18f6-4c88-9dff-39032d8d18fc"}'
    [#1137] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.caded91f-1fa5-4330-88c2-860a76bea4ad"}'
    [#1138] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.617ba46d-3ea2-468f-8748-2f39eef1a61f"}'
    [#1139] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.adecc8e3-3513-43e5-b55f-68ffae61552e"}'
    [#1140] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.aec8fd46-c1f3-4529-9e6c-f87d8477cafe"}'
    [#1141] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.49f1d4ba-ba7a-4c46-b74f-f90396359a01"}'
    [#1142] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.c2ae127b-decf-4995-90a5-762a54171fd4"}'
    [#1143] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.b763add7-1ace-43dc-8486-34e9653ec8e9"}'
    [#1144] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.f8f243e0-1c10-4d6f-986a-29e5318dd7a4"}'
    [#1145] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.27420403-f95c-4de0-9069-6319b69ca1ae"}'
    [#1146] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.37f51ae9-2352-4633-993c-b337bef1a72e"}'
    [#1147] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.8f21ac7e-2d6f-4d21-99df-13aeeff16d07"}'
    [#1148] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.7d92284f-a4ef-4d9f-930f-eb560f89d99d"}'
    [#1149] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.2fbec35a-3003-4308-bdc7-8b693988f8a4"}'
    [#1150] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.f23c85d0-345a-46d5-9091-e642fa667ef9"}'
    [#1151] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.afdd522f-6dcd-48ec-8866-86ad5355cc93"}'
    [#1152] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.21b32389-59bf-4230-afc8-2565b66db721"}'
    [#1153] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.68b41bdc-b3e3-4760-b8b1-82844bcfeebf"}'
    [#1154] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.e84ac3d7-47d2-44d6-95f1-633a242c2c3c"}'
    [#1155] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.9edcb2d6-a5c8-49e9-a094-049ea56758c7"}'
    [#1156] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.da12bcbe-7f38-4a2e-82df-39819622550d"}'
    [#1157] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.0be3a574-4658-4ad3-a8b0-a2a6a45c0a3a"}'
    [#1158] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.82445c36-7be2-42de-9e61-692a0bb3c52a"}'
    [#1159] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.1c299896-4c96-4e79-ba7e-acc36e0b1be2"}'
    [#1160] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.8b162d47-3cad-48db-9537-1e068f64cd25"}'
    [#1161] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.c4928e94-5bfc-4b34-b303-b906050aa67b"}'
    [#1162] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.c1e0445e-c7e5-4830-8c24-af756d972e01"}'
    [#1163] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.f5361ea0-0666-4e39-82f2-01af2ef2718c"}'
    [#1164] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.2fa46e5f-76c2-4822-bfd2-b1f80a7d9773"}'
    [#1165] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.f1f0b5b5-bdb2-4c25-91e7-2abd881595e0"}'
    [#1166] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.12f45bd2-4820-4ba1-a45f-7cb1db01d7be"}'
    [#1167] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.23183e93-70b9-4739-93ed-b86bef03f11d"}'
    [#1168] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.379b5cce-5aa3-480e-ae61-3daf065547fd"}'
    [#1169] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.d21a346c-a701-4936-ac36-807834b7280f"}'
    [#1170] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.d2b75e9e-7ff6-4f82-a8a9-1681204a7ff8"}'
    [#1171] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.c2818194-a990-4579-abe6-a858afb3995e"}'
    [#1172] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.672c7f36-890a-48d8-9091-0bdeafaf1315"}'
    [#1173] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.d30f4e73-89ec-4a9c-8133-3a186c0bcd85"}'
    [#1174] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.150d881d-7fbd-422d-8d78-35ed5e4c2b33"}'
    [#1175] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.42f32418-038e-4e53-bf4a-90d27b23038f"}'
    [#1176] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.7f09a292-a494-4fae-9c04-db1b40fdd949"}'
    [#1177] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.0ffe2596-0981-4c9d-90ec-9963f266fda9"}'
    [#1178] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.08bcd18f-0268-416b-a769-9304f34c6609"}'
    [#1179] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.28f11c9b-827d-48e9-91ba-0ecf4fd28ff9"}'
    [#1180] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.74759098-228e-4825-824d-d1485acee435"}'
    [#1181] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.f2553d42-8229-424e-889b-9f24068f3a97"}'
    [#1182] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.32280091-4e2c-4968-98be-de9620d15382"}'
    [#1183] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.a7db2a63-3850-4063-9587-52972bd3a443"}'
    [#1184] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.edcdc497-0e95-4f98-90e7-a805a06b4f0e"}'
    [#1185] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.aa09793b-5a3f-4124-b070-a8ae2cd78521"}'
    [#1186] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.a3b136d3-ceae-481b-9531-41966d337202"}'
    [#1187] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.fb1be6e2-1e37-4621-9220-40c88cb781a5"}'
    [#1188] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.238df7fc-ae0a-4ec9-b286-19a21f2ea1f5"}'
    [#1189] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.f60d7fbb-e8a8-4655-acd3-0a04d9fc9af1"}'
    [#1190] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.0979fe86-4210-42a6-8b22-1530c6c96715"}'
    [#1191] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.9a0db26e-86e8-4cfd-9e5b-7f30ff117a89"}'
    [#1192] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.a0f2dd60-fee2-4387-9a78-8916aa1c7725"}'
    [#1193] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.c0dc4e9d-52b4-4d45-aa83-f9724cb57e03"}'
    [#1194] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.47a447da-8cff-4bd4-adf4-bb00b4c5196c"}'
    [#1195] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.15e6cd49-a60c-4153-ae11-bfa00f8ff8c7"}'
    [#1196] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.16e8645a-e139-48e9-8886-48110ab2432e"}'
    On Monday, November 19, 2012 1:12:33 PM UTC-5, Ben Lisbakken wrote:

    Can you try listening to your nats? Install the nats gem, then use:
    export NATS_URI="nats://nats:<pass>@<nats IP>:4222"
    nats-sub ">"
    Then try to do a deploy and see what is sent over nats.

    -Ben
    On Monday, November 19, 2012, Shaozhen Ding wrote:

    Actually

    the process is created successfully

    -rw-r--r-- 1 vcap vcap 5 2012-11-19 15:22 /var/vcap/sys/run/nats/nats.pid

    And the owner is "vcap"
    The process started also as vcap. Not knowing why the process id file
    some how is not accessible.

    On Monday, November 19, 2012 10:17:14 AM UTC-5, Ben Lisbakken wrote:

    It looks like the BOSH nats job did not have permissions to create the
    pidfile that it uses to manage the job. Your BOSH nats job is probably in
    an unhealthy state, which means network communication when doing a deploy
    will be disrupted.

    -Ben

    On Saturday, November 17, 2012, Shaozhen Ding wrote:

    Found error log in director, when the director was provisioned.
    Not knowing whether this related to this.

    in /var/vcap/sys/log/nats/nats.**log


    /var/vcap/packages/nats/**vendor/bundle/ruby/1.9.1/gems/**
    nats-0.4.22.beta.1/lib/nats/**server/server.rb:82:in `initialize':
    Permission denied - /var/vcap/sys/run/nats/nats.**pid (Errno::EACCES)
    from /var/vcap/packages/nats/**vendor/bundle/ruby/1.9.1/gems/**
    nats-0.4.22.beta.1/lib/nats/**server/server.rb:82:in `open'
    from /var/vcap/packages/nats/**vendor/bundle/ruby/1.9.1/gems/**
    nats-0.4.22.beta.1/lib/nats/**server/server.rb:82:in `setup'
    from /var/vcap/packages/nats/**vendor/bundle/ruby/1.9.1/gems/**
    nats-0.4.22.beta.1/lib/nats/**server.rb:21:in `<top (required)>'
    from /var/vcap/packages/nats/**vendor/bundle/ruby/1.9.1/gems/**
    nats-0.4.22.beta.1/bin/nats-**server:5:in `require'
    from /var/vcap/packages/nats/**vendor/bundle/ruby/1.9.1/gems/**
    nats-0.4.22.beta.1/bin/nats-**server:5:in `<top (required)>'
    from /var/vcap/packages/nats/**vendor/bundle/ruby/1.9.1/bin/**nats-server:19:in
    `load'
    from /var/vcap/packages/nats/**vendor/bundle/ruby/1.9.1/bin/**nats-server:19:in
    `<main>'
    [2012-11-17 20:56:55 +0000, "Starting nats-server version 0.4.22.beta.1
    on port 4222"]




    On Saturday, November 17, 2012 5:08:01 PM UTC-5, Shaozhen Ding wrote:

    Just wonder if anyone know this time out problem.

    And where to debug them.

    Thanks


    dings@ubuntu:~/work/bosh/cf-**re**lease$ bosh deploy
    Getting deployment properties from director...
    Compiling deployment manifest...
    Please review all changes carefully
    Deploying `cloudfoundry.yml' to `bosh-bootstrap-dir2' (type 'yes' to
    continue): yes

    Director task 5

    Preparing deployment
    binding deployment (00:00:00)

    binding releases (00:00:00)

    binding existing deployment (00:00:00)

    binding resource pools (00:00:00)

    binding stemcells (00:00:00)

    binding templates (00:00:00)

    binding unallocated VMs (00:00:00)

    binding instance networks (00:00:00)

    Done 8/8 00:00:00


    Preparing package compilation
    finding packages to compile (00:00:00)

    Done 1/1 00:00:00


    Compiling packages
    node/2: Timed out pinging to 353acac2-863f-43e6-915e-**14dca4**650dfa
    after 300 seconds (00:05:41)
    postgresql/5: Timed out pinging to f3a23f62-77a1-411b-be45-**e35260**0b7a1f
    after 300 seconds (00:05:50)
    rabbitmq/4: Timed out pinging to 764f2dea-a384-49e3-836f-**5c0457**3d4213
    after 300 seconds (00:05:51)
    vblob/5: Timed out pinging to 2e1a454a-7ac8-4628-8827-**39c600**965b9d
    after 300 seconds (00:05:51)
    Error 4/59 00:05:51

  • Ben Lisbakken at Nov 19, 2012 at 7:54 pm
    Those messages are the director
    (director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f) trying to ping the agent
    code in the compilation VMs
    (e.g. agent.f2cc476b-0ae0-4633-9109-87ad5e967c90). A ping message such as:
    [#1131] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.12d1107e-88b1-4a90-aee6-0cfa638ae5ad"}'

    Should be met with a response such as:
    [#1132] Received on
    [director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.12d1107e-88b1-4a90-aee6-0cfa638ae5ad]
    : '{"value":"pong"}'

    Your compilation VM agents are not sending the "pong" response, though. So,
    they are not connected to nats properly.

    Can you try to ping and connect to nats manually from one of the
    compilation VMs? You should have enough time before the compilation VM is
    torn down.

    Do a bosh deploy, then watch the log messages with `bosh task <task_number>
    --debug`

    Find a line in the log that says "Setting VM env". The first VM created
    should be one of the compilation VMs. SSH into the IP listed in the JSON
    configuration payload. From there try to ping your NATS server, then try
    to use the nats-sub gem to subscribe to nats.

    Let me know what happens.

    -Ben
    On Monday, November 19, 2012, Shaozhen Ding wrote:

    There are more than 1000 lines posts I just posted the last several
    hundred lines.

    Let me know if you need more.

    [#1131] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.12d1107e-88b1-4a90-aee6-0cfa638ae5ad"}'
    [#1132] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.55544af7-eded-450b-a105-adce007cd6ec"}'
    [#1133] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.97ce31bc-3349-4761-a5ec-73f94fd77744"}'
    [#1134] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.e7238d97-0316-4391-a4da-1a715e0fa44e"}'
    [#1135] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.68fe16bd-c3d7-4427-bd5b-c7a1ecaa0295"}'
    [#1136] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.f9535f19-18f6-4c88-9dff-39032d8d18fc"}'
    [#1137] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.caded91f-1fa5-4330-88c2-860a76bea4ad"}'
    [#1138] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.617ba46d-3ea2-468f-8748-2f39eef1a61f"}'
    [#1139] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.adecc8e3-3513-43e5-b55f-68ffae61552e"}'
    [#1140] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.aec8fd46-c1f3-4529-9e6c-f87d8477cafe"}'
    [#1141] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.49f1d4ba-ba7a-4c46-b74f-f90396359a01"}'
    [#1142] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.c2ae127b-decf-4995-90a5-762a54171fd4"}'
    [#1143] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.b763add7-1ace-43dc-8486-34e9653ec8e9"}'
    [#1144] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.f8f243e0-1c10-4d6f-986a-29e5318dd7a4"}'
    [#1145] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.27420403-f95c-4de0-9069-6319b69ca1ae"}'
    [#1146] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.37f51ae9-2352-4633-993c-b337bef1a72e"}'
    [#1147] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.8f21ac7e-2d6f-4d21-99df-13aeeff16d07"}'
    [#1148] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.7d92284f-a4ef-4d9f-930f-eb560f89d99d"}'
    [#1149] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.2fbec35a-3003-4308-bdc7-8b693988f8a4"}'
    [#1150] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.f23c85d0-345a-46d5-9091-e642fa667ef9"}'
    [#1151] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.afdd522f-6dcd-48ec-8866-86ad5355cc93"}'
    [#1152] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.21b32389-59bf-4230-afc8-2565b66db721"}'
    [#1153] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.68b41bdc-b3e3-4760-b8b1-82844bcfeebf"}'
    [#1154] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.e84ac3d7-47d2-44d6-95f1-633a242c2c3c"}'
    [#1155] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.9edcb2d6-a5c8-49e9-a094-049ea56758c7"}'
    [#1156] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.da12bcbe-7f38-4a2e-82df-39819622550d"}'
    [#1157] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.0be3a574-4658-4ad3-a8b0-a2a6a45c0a3a"}'
    [#1158] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.82445c36-7be2-42de-9e61-692a0bb3c52a"}'
    [#1159] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.1c299896-4c96-4e79-ba7e-acc36e0b1be2"}'
    [#1160] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.8b162d47-3cad-48db-9537-1e068f64cd25"}'
    [#1161] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.c4928e94-5bfc-4b34-b303-b906050aa67b"}'
    [#1162] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.c1e0445e-c7e5-4830-8c24-af756d972e01"}'
    [#1163] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.f5361ea0-0666-4e39-82f2-01af2ef2718c"}'
    [#1164] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.2fa46e5f-76c2-4822-bfd2-b1f80a7d9773"}'
    [#1165] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.f1f0b5b5-bdb2-4c25-91e7-2abd881595e0"}'
    [#1166] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.12f45bd2-4820-4ba1-a45f-7cb1db01d7be"}'
    [#1167] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.23183e93-70b9-4739-93ed-b86bef03f11d"}'
    [#1168] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.379b5cce-5aa3-480e-ae61-3daf065547fd"}'
    [#1169] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.d21a346c-a701-4936-ac36-807834b7280f"}'
    [#1170] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.d2b75e9e-7ff6-4f82-a8a9-1681204a7ff8"}'
    [#1171] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.c2818194-a990-4579-abe6-a858afb3995e"}'
    [#1172] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.672c7f36-890a-48d8-9091-0bdeafaf1315"}'
    [#1173] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.d30f4e73-89ec-4a9c-8133-3a186c0bcd85"}'
    [#1174] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.150d881d-7fbd-422d-8d78-35ed5e4c2b33"}'
    [#1175] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.42f32418-038e-4e53-bf4a-90d27b23038f"}'
    [#1176] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.7f09a292-a494-4fae-9c04-db1b40fdd949"}'
    [#1177] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.0ffe2596-0981-4c9d-90ec-9963f266fda9"}'
    [#1178] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.08bcd18f-0268-416b-a769-9304f34c6609"}'
    [#1179] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.28f11c9b-827d-48e9-91ba-0ecf4fd28ff9"}'
    [#1180] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.74759098-228e-4825-824d-d1485acee435"}'
    [#1181] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.f2553d42-8229-424e-889b-9f24068f3a97"}'
    [#1182] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.32280091-4e2c-4968-98be-de9620d15382"}'
    [#1183] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.a7db2a63-3850-4063-9587-52972bd3a443"}'
    [#1184] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.edcdc497-0e95-4f98-90e7-a805a06b4f0e"}'
    [#1185] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.aa09793b-5a3f-4124-b070-a8ae2cd78521"}'
    [#1186] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.a3b136d3-ceae-481b-9531-41966d337202"}'
    [#1187] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.fb1be6e2-1e37-4621-9220-40c88cb781a5"}'
    [#1188] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.238df7fc-ae0a-4ec9-b286-19a21f2ea1f5"}'
    [#1189] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.f60d7fbb-e8a8-4655-acd3-0a04d9fc9af1"}'
    [#1190] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.0979fe86-4210-42a6-8b22-1530c6c96715"}'
    [#1191] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.9a0db26e-86e8-4cfd-9e5b-7f30ff117a89"}'
    [#1192] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.a0f2dd60-fee2-4387-9a78-8916aa1c7725"}'
    [#1193] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.c0dc4e9d-52b4-4d45-aa83-f9724cb57e03"}'
    [#1194] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.47a447da-8cff-4bd4-adf4-bb00b4c5196c"}'
    [#1195] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.15e6cd49-a60c-4153-ae11-bfa00f8ff8c7"}'
    [#1196] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.16e8645a-e139-48e9-8886-48110ab2432e"}'

    On Monday, November 19, 2012 1:12:33 PM UTC-5, Ben Lisbakken wrote:

    Can you try listening to your nats? Install the nats gem, then use:
    export NATS_URI="nats://nats:<pass>@<**nats IP>:4222"
    nats-sub ">"
    Then try to do a deploy and see what is sent over nats.

    -Ben

    On Monday, November 19, 2012, Shaozhen Ding wrote:

    Actually

    the process is created successfully

    -rw-r--r-- 1 vcap vcap 5 2012-11-19 15:22 /var/vcap/sys/run/nats/nats.**
    pid

    And the owner is "vcap"
    The process started also as vcap. Not knowing why the process id file some
    how is not accessible.

    On Monday, November 19, 2012 10:17:14 AM UTC-5, Ben Lisbakken wrote:

    It looks like the BOSH nats job did not have permissions to create the
    pidfile that it uses to manage the job. Your BOSH nats job is probably in
    an unhealthy state, which means network communication when doing a deploy
    will be disrupted.

    -Ben

    On Saturday, November 17, 2012, Shaozhen Ding wrote:

    Found error log in director, when the director was provisioned.
    Not knowing whether this related to this.

    in /var/vcap/sys/log/nats/nats.**lo**g


    /var/vcap/packages/nats/**vendor**/bundle/ruby/1.9.1/gems/**nats-**
    0.4.22.beta.1/lib/nats/**server/**server.rb:82:in `initialize':
    Permission denied - /var/vcap/sys/run/nats/nats.**pi**d (Errno::EACCES)
    from /var/vcap/packages/nats/**vendor**/bundle/ruby/1.9.1/gems/**
    nats-**0.4.22.beta.1/lib/nats/**server/**server.rb:82:in `open'
    from /var/vcap/packages/nats/**vendor**/bundle/ruby/1.9.1/gems/**
    nats-**0.4.22.beta.1/lib/nats/**server/**server.rb:82:in `setup'
    from /var/vcap/packages/nats/**vendor**/bundle/ruby/1.9.1/gems/**
    nats-**0.4.22.beta.1/lib/nats/**server.**rb:21:in `<top (required)>'
    from /var/vcap/packages/nats/**vendor**/bundle/ruby/1.9.1/gems/**
    nats-**0.4.22.beta.1/bin/nats-**server:**5:in `require'
    from /var/vcap/packages/nats/**vendor**/bundle/ruby/1.9.1/gems/**
    nats-**0.4.22.beta.1/bin/nats-**server:**5:in `<top (required)>'
    from /var/vcap/packages/nats/**vendor**/bundle/ruby/1.9.1/bin/**
    nats-**server:19:in `load'
    from /var/vcap/packages/nats/**vendor**/bundle/ruby/1.9.1/bin/**
    nats-**server:19:in `<main>'
    [2012-11-17 20:56:55 +0000, "Starting nats-server version 0.4.22.beta.1 on
    port 4222"]




    On Saturday, November 17, 2012 5:08:01 PM UTC-5, Shaozhen Ding wrote:

    Just wonder if anyone know this time out problem.

    And where to debug them.

    Thanks


    dings@ubuntu:~/work/bosh/cf-**re****lease$ bosh deploy
    Getting deployment properties from director...
    Compiling deployment manifest...
    Please review all changes carefully
    Deploying `cloudfoundry.yml' to `bosh-bootstrap-dir2' (type 'yes' to
    continue): yes

    Director task 5

    Preparing deployment
    binding deployment (00:00:00)

    binding releases (00:00:00)

    binding existing deployment (00:00:00)

    binding resource pools (00:00:00)

    binding stemcells (00:00:00)

    binding templates (00:00:00)

    binding unallocated VMs (00:00:00)

    bind
  • Shaozhen Ding at Nov 19, 2012 at 9:46 pm
    Test... Tried to post but got deleted ....
    On Monday, November 19, 2012 2:54:23 PM UTC-5, Ben Lisbakken wrote:

    Those messages are the director
    (director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f) trying to ping the agent
    code in the compilation VMs
    (e.g. agent.f2cc476b-0ae0-4633-9109-87ad5e967c90). A ping message such as:
    [#1131] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.12d1107e-88b1-4a90-aee6-0cfa638ae5ad"}'

    Should be met with a response such as:
    [#1132] Received on
    [director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.12d1107e-88b1-4a90-aee6-0cfa638ae5ad]
    : '{"value":"pong"}'

    Your compilation VM agents are not sending the "pong" response, though.
    So, they are not connected to nats properly.

    Can you try to ping and connect to nats manually from one of the
    compilation VMs? You should have enough time before the compilation VM is
    torn down.

    Do a bosh deploy, then watch the log messages with `bosh task
    <task_number> --debug`

    Find a line in the log that says "Setting VM env". The first VM created
    should be one of the compilation VMs. SSH into the IP listed in the JSON
    configuration payload. From there try to ping your NATS server, then try
    to use the nats-sub gem to subscribe to nats.

    Let me know what happens.

    -Ben
    On Monday, November 19, 2012, Shaozhen Ding wrote:

    There are more than 1000 lines posts I just posted the last several
    hundred lines.

    Let me know if you need more.

    [#1131] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.12d1107e-88b1-4a90-aee6-0cfa638ae5ad"}'
    [#1132] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.55544af7-eded-450b-a105-adce007cd6ec"}'
    [#1133] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.97ce31bc-3349-4761-a5ec-73f94fd77744"}'
    [#1134] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.e7238d97-0316-4391-a4da-1a715e0fa44e"}'
    [#1135] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.68fe16bd-c3d7-4427-bd5b-c7a1ecaa0295"}'
    [#1136] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.f9535f19-18f6-4c88-9dff-39032d8d18fc"}'
    [#1137] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.caded91f-1fa5-4330-88c2-860a76bea4ad"}'
    [#1138] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.617ba46d-3ea2-468f-8748-2f39eef1a61f"}'
    [#1139] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.adecc8e3-3513-43e5-b55f-68ffae61552e"}'
    [#1140] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.aec8fd46-c1f3-4529-9e6c-f87d8477cafe"}'
    [#1141] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.49f1d4ba-ba7a-4c46-b74f-f90396359a01"}'
    [#1142] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.c2ae127b-decf-4995-90a5-762a54171fd4"}'
    [#1143] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.b763add7-1ace-43dc-8486-34e9653ec8e9"}'
    [#1144] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.f8f243e0-1c10-4d6f-986a-29e5318dd7a4"}'
    [#1145] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.27420403-f95c-4de0-9069-6319b69ca1ae"}'
    [#1146] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.37f51ae9-2352-4633-993c-b337bef1a72e"}'
    [#1147] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.8f21ac7e-2d6f-4d21-99df-13aeeff16d07"}'
    [#1148] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.7d92284f-a4ef-4d9f-930f-eb560f89d99d"}'
    [#1149] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.2fbec35a-3003-4308-bdc7-8b693988f8a4"}'
    [#1150] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.f23c85d0-345a-46d5-9091-e642fa667ef9"}'
    [#1151] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.afdd522f-6dcd-48ec-8866-86ad5355cc93"}'
    [#1152] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.21b32389-59bf-4230-afc8-2565b66db721"}'
    [#1153] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.68b41bdc-b3e3-4760-b8b1-82844bcfeebf"}'
    [#1154] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.e84ac3d7-47d2-44d6-95f1-633a242c2c3c"}'
    [#1155] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.9edcb2d6-a5c8-49e9-a094-049ea56758c7"}'
    [#1156] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.da12bcbe-7f38-4a2e-82df-39819622550d"}'
    [#1157] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.0be3a574-4658-4ad3-a8b0-a2a6a45c0a3a"}'
    [#1158] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.82445c36-7be2-42de-9e61-692a0bb3c52a"}'
    [#1159] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.1c299896-4c96-4e79-ba7e-acc36e0b1be2"}'
    [#1160] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.8b162d47-3cad-48db-9537-1e068f64cd25"}'
    [#1161] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.c4928e94-5bfc-4b34-b303-b906050aa67b"}'
    [#1162] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.c1e0445e-c7e5-4830-8c24-af756d972e01"}'
    [#1163] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.f5361ea0-0666-4e39-82f2-01af2ef2718c"}'
    [#1164] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.2fa46e5f-76c2-4822-bfd2-b1f80a7d9773"}'
    [#1165] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.f1f0b5b5-bdb2-4c25-91e7-2abd881595e0"}'
    [#1166] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.12f45bd2-4820-4ba1-a45f-7cb1db01d7be"}'
    [#1167] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.23183e93-70b9-4739-93ed-b86bef03f11d"}'
    [#1168] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.379b5cce-5aa3-480e-ae61-3daf065547fd"}'
    [#1169] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.d21a346c-a701-4936-ac36-807834b7280f"}'
    [#1170] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.d2b75e9e-7ff6-4f82-a8a9-1681204a7ff8"}'
    [#1171] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.c2818194-a990-4579-abe6-a858afb3995e"}'
    [#1172] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.672c7f36-890a-48d8-9091-0bdeafaf1315"}'
    [#1173] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.d30f4e73-89ec-4a9c-8133-3a186c0bcd85"}'
    [#1174] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.150d881d-7fbd-422d-8d78-35ed5e4c2b33"}'
    [#1175] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.42f32418-038e-4e53-bf4a-90d27b23038f"}'
    [#1176] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.7f09a292-a494-4fae-9c04-db1b40fdd949"}'
    [#1177] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.0ffe2596-0981-4c9d-90ec-9963f266fda9"}'
    [#1178] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.08bcd18f-0268-416b-a769-9304f34c6609"}'
    [#1179] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.28f11c9b-827d-48e9-91ba-0ecf4fd28ff9"}'
    [#1180] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.74759098-228e-4825-824d-d1485acee435"}'
    [#1181] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.f2553d42-8229-424e-889b-9f24068f3a97"}'
    [#1182] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.32280091-4e2c-4968-98be-de9620d15382"}'
    [#1183] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.a7db2a63-3850-4063-9587-52972bd3a443"}'
    [#1184] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.edcdc497-0e95-4f98-90e7-a805a06b4f0e"}'
    [#1185] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.aa09793b-5a3f-4124-b070-a8ae2cd78521"}'
    [#1186] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.a3b136d3-ceae-481b-9531-41966d337202"}'
    [#1187] Received on [agent.f2cc476b-0ae0-4633-9109-87ad5e967c90] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.fb1be6e2-1e37-4621-9220-40c88cb781a5"}'
    [#1188] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.238df7fc-ae0a-4ec9-b286-19a21f2ea1f5"}'
    [#1189] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.f60d7fbb-e8a8-4655-acd3-0a04d9fc9af1"}'
    [#1190] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.0979fe86-4210-42a6-8b22-1530c6c96715"}'
    [#1191] Received on [agent.5e86c036-3bcb-4230-9978-be841f651c27] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.9a0db26e-86e8-4cfd-9e5b-7f30ff117a89"}'
    [#1192] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.a0f2dd60-fee2-4387-9a78-8916aa1c7725"}'
    [#1193] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.c0dc4e9d-52b4-4d45-aa83-f9724cb57e03"}'
    [#1194] Received on [agent.5a9a15f2-8c52-487d-9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.47a447da-8cff-4bd4-adf4-bb00b4c5196c"}'
    [#1195] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.15e6cd49-a60c-4153-ae11-bfa00f8ff8c7"}'
    [#1196] Received on [agent.14b1068b-d096-46f8-aa9d-410fe6107a98] :
    '{"method":"ping","arguments":[],"reply_to":"director.69eb2aaf-6c0f-4b83-8a15-02d105d17e5f.16e8645a-e139-48e9-8886-48110ab2432e"}'

    On Monday, November 19, 2012 1:12:33 PM UTC-5, Ben Lisbakken wrote:

    Can you try listening to your nats? Install the nats gem, then use:
    export NATS_URI="nats://nats:<pass>@<**nats IP>:4222"
    nats-sub ">"
    Then try to do a deploy and see what is sent over nats.

    -Ben

    On Monday, November 19, 2012, Shaozhen Ding wrote:

    Actually

    the process is created successfully

    -rw-r--r-- 1 vcap vcap 5 2012-11-19 15:22 /var/vcap/sys/run/nats/nats.**
    pid

    And the owner is "vcap"
    The process started also as vcap. Not knowing why the process id file
    some how is not accessible.

    On Monday, November 19, 2012 10:17:14 AM UTC-5, Ben Lisbakken wrote:

    It looks like the BOSH nats job did not have permissions to create the
    pidfile that it uses to manage the job. Your BOSH nats job is probably in
    an unhealthy state, which means network communication when doing a deploy
    will be disrupted.

    -Ben

    On Saturday, November 17, 2012, Shaozhen Ding wrote:

    Found error log in director, when the director was provisioned.
    Not knowing whether this related to this.

    in /var/vcap/sys/log/nats/nats.**lo**g


    /var/vcap/packages/nats/**vendor**/bundle/ruby/1.9.1/gems/**nats-**
    0.4.22.beta.1/lib/nats/**server/**server.rb:82:in `initialize':
    Permission denied - /var/vcap/sys/run/nats/nats.**pi**d (Errno::EACCES)
    from /var/vcap/packages/nats/**vendor**/bundle/ruby/1.9.1/gems/**
    nats-**0.4.22.beta.1/lib/nats/**server/**server.rb:82:in `open'
    from /var/vcap/packages/nats/**vendor**/bundle/ruby/1.9.1/gems/**
    nats-**0.4.22.beta.1/lib/nats/**server/**server.rb:82:in `setup'
    from /var/vcap/packages/nats/**vendor**/bundle/ruby/1.9.1/gems/**
    nats-**0.4.22.beta.1/lib/nats/**server.**rb:21:in `<top (required)>'
    from /var/vcap/packages/nats/**vendor**/bundle/ruby/1.9.1/gems/**
    nats-**0.4.22.beta.1/bin/nats-**server:**5:in `require'
    from /var/vcap/packages/nats/**vendor**/bundle/ruby/1.9.1/gems/**
    nats-**0.4.22.beta.1/bin/nats-**server:**5:in `<top (required)>'
    from /var/vcap/packages/nats/**vendor**/bundle/ruby/1.9.1/bin/**
    nats-**server:19:in `load'
    from /var/vcap/packages/nats/**vendor**/bundle/ruby/1.9.1/bin/**
    nats-**server:19:in `<main>'
    [2012-11-17 20:56:55 +0000, "Starting nats-server version 0.4.22.beta.1
    on port 4222"]




    On Saturday, November 17, 2012 5:08:01 PM UTC-5, Shaozhen Ding wrote:

    Just wonder if anyone know this time out problem.

    And where to debug them.

    Thanks


    dings@ubuntu:~/work/bosh/cf-**re****lease$ bosh deploy
    Getting deployment properties from director...
    Compiling deployment manifest...
    Please review all changes carefully
    Deploying `cloudfoundry.yml' to `bosh-bootstrap-dir2' (type 'yes' to
    continue): yes

    Director task 5

    Preparing deployment
    binding deployment (00:00:00)

    binding releases (00:00:00)

    binding existing deployment (00:00:00)

    binding resource pools (00:00:00)

    binding stemcells (00:00:00)

    binding templates (00:00:00)

    binding unallocated VMs (00:00:00)

    bind
  • Ben Lisbakken at Nov 19, 2012 at 9:56 pm
    You have to do it right after you start deploying. You should have a few
    minutes window between the compilation VM being created and eventually
    deleted.

    -Ben
    On Monday, November 19, 2012, Shaozhen Ding wrote:

    Test... Tried to post but got deleted ....

    On Monday, November 19, 2012 2:54:23 PM UTC-5, Ben Lisbakken wrote:

    Those messages are the director (director.69eb2aaf-6c0f-4b83-**8a15-02d105d17e5f)
    trying to ping the agent code in the compilation VMs
    (e.g. agent.f2cc476b-0ae0-**4633-9109-87ad5e967c90). A ping message such
    as:
    [#1131] Received on [agent.f2cc476b-0ae0-4633-**9109-87ad5e967c90] :
    '{"method":"ping","arguments":**[],"reply_to":"director.**
    69eb2aaf-6c0f-4b83-8a15-**02d105d17e5f.12d1107e-88b1-**
    4a90-aee6-0cfa638ae5ad"}'

    Should be met with a response such as:
    [#1132] Received on [director.69eb2aaf-6c0f-4b83-**
    8a15-02d105d17e5f.12d1107e-**88b1-4a90-aee6-0cfa638ae5ad] :
    '{"value":"pong"}'

    Your compilation VM agents are not sending the "pong" response, though.
    So, they are not connected to nats properly.

    Can you try to ping and connect to nats manually from one of the
    compilation VMs? You should have enough time before the compilation VM is
    torn down.

    Do a bosh deploy, then watch the log messages with `bosh task
    <task_number> --debug`

    Find a line in the log that says "Setting VM env". The first VM created
    should be one of the compilation VMs. SSH into the IP listed in the JSON
    configuration payload. From there try to ping your NATS server, then try
    to use the nats-sub gem to subscribe to nats.

    Let me know what happens.

    -Ben

    On Monday, November 19, 2012, Shaozhen Ding wrote:

    There are more than 1000 lines posts I just posted the last several
    hundred lines.

    Let me know if you need more.

    [#1131] Received on [agent.f2cc476b-0ae0-4633-**9109-87ad5e967c90] :
    '{"method":"ping","arguments":**[],"reply_to":"director.**
    69eb2aaf-6c0f-4b83-8a15-**02d105d17e5f.12d1107e-88b1-**
    4a90-aee6-0cfa638ae5ad"}'
    [#1132] Received on [agent.5e86c036-3bcb-4230-**9978-be841f651c27] :
    '{"method":"ping","arguments":**[],"reply_to":"director.**
    69eb2aaf-6c0f-4b83-8a15-**02d105d17e5f.55544af7-eded-**
    450b-a105-adce007cd6ec"}'
    [#1133] Received on [agent.5a9a15f2-8c52-487d-**9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":**[],"reply_to":"director.**
    69eb2aaf-6c0f-4b83-8a15-**02d105d17e5f.97ce31bc-3349-**
    4761-a5ec-73f94fd77744"}'
    [#1134] Received on [agent.14b1068b-d096-46f8-**aa9d-410fe6107a98] :
    '{"method":"ping","arguments":**[],"reply_to":"director.**
    69eb2aaf-6c0f-4b83-8a15-**02d105d17e5f.e7238d97-0316-**
    4391-a4da-1a715e0fa44e"}'
    [#1135] Received on [agent.f2cc476b-0ae0-4633-**9109-87ad5e967c90] :
    '{"method":"ping","arguments":**[],"reply_to":"director.**
    69eb2aaf-6c0f-4b83-8a15-**02d105d17e5f.68fe16bd-c3d7-**
    4427-bd5b-c7a1ecaa0295"}'
    [#1136] Received on [agent.5e86c036-3bcb-4230-**9978-be841f651c27] :
    '{"method":"ping","arguments":**[],"reply_to":"director.**
    69eb2aaf-6c0f-4b83-8a15-**02d105d17e5f.f9535f19-18f6-**
    4c88-9dff-39032d8d18fc"}'
    [#1137] Received on [agent.5a9a15f2-8c52-487d-**9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":**[],"reply_to":"director.**
    69eb2aaf-6c0f-4b83-8a15-**02d105d17e5f.caded91f-1fa5-**
    4330-88c2-860a76bea4ad"}'
    [#1138] Received on [agent.14b1068b-d096-46f8-**aa9d-410fe6107a98] :
    '{"method":"ping","arguments":**[],"reply_to":"director.**
    69eb2aaf-6c0f-4b83-8a15-**02d105d17e5f.617ba46d-3ea2-**
    468f-8748-2f39eef1a61f"}'
    [#1139] Received on [agent.f2cc476b-0ae0-4633-**9109-87ad5e967c90] :
    '{"method":"ping","arguments":**[],"reply_to":"director.**
    69eb2aaf-6c0f-4b83-8a15-**02d105d17e5f.adecc8e3-3513-**43e
  • Ben Lisbakken at Nov 19, 2012 at 9:57 pm
    Oh, sorry, I misunderstood. You tried to post a response but it was deleted
    from the group?
    On Monday, November 19, 2012, Ben Lisbakken wrote:

    You have to do it right after you start deploying. You should have a few
    minutes window between the compilation VM being created and eventually
    deleted.

    -Ben

    On Monday, November 19, 2012, Shaozhen Ding wrote:

    Test... Tried to post but got deleted ....

    On Monday, November 19, 2012 2:54:23 PM UTC-5, Ben Lisbakken wrote:

    Those messages are the director (director.69eb2aaf-6c0f-4b83-**8a15-02d105d17e5f)
    trying to ping the agent code in the compilation VMs
    (e.g. agent.f2cc476b-0ae0-**4633-9109-87ad5e967c90). A ping message such
    as:
    [#1131] Received on [agent.f2cc476b-0ae0-4633-**9109-87ad5e967c90] :
    '{"method":"ping","arguments":**[],"reply_to":"director.**
    69eb2aaf-6c0f-4b83-8a15-**02d105d17e5f.12d1107e-88b1-**
    4a90-aee6-0cfa638ae5ad"}'

    Should be met with a response such as:
    [#1132] Received on [director.69eb2aaf-6c0f-4b83-**
    8a15-02d105d17e5f.12d1107e-**88b1-4a90-aee6-0cfa638ae5ad] :
    '{"value":"pong"}'

    Your compilation VM agents are not sending the "pong" response, though.
    So, they are not connected to nats properly.

    Can you try to ping and connect to nats manually from one of the
    compilation VMs? You should have enough time before the compilation VM is
    torn down.

    Do a bosh deploy, then watch the log messages with `bosh task
    <task_number> --debug`

    Find a line in the log that says "Setting VM env". The first VM created
    should be one of the compilation VMs. SSH into the IP listed in the JSON
    configuration payload. From there try to ping your NATS server, then try
    to use the nats-sub gem to subscribe to nats.

    Let me know what happens.

    -Ben

    On Monday, November 19, 2012, Shaozhen Ding wrote:

    There are more than 1000 lines posts I just posted the last several
    hundred lines.

    Let me know if you need more.

    [#1131] Received on [agent.f2cc476b-0ae0-4633-**9109-87ad5e967c90] :
    '{"method":"ping","arguments":**[],"reply_to":"director.**
    69eb2aaf-6c0f-4b83-8a15-**02d105d17e5f.12d1107e-88b1-**
    4a90-aee6-0cfa638ae5ad"}'
    [#1132] Received on [agent.5e86c036-3bcb-4230-**9978-be841f651c27] :
    '{"method":"ping","arguments":**[],"reply_to":"director.**
    69eb2aaf-6c0f-4b83-8a15-**02d105d17e5f.55544af7-eded-**
    450b-a105-adce007cd6ec"}'
    [#1133] Received on [agent.5a9a15f2-8c52-487d-**9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":**[],"reply_to":"director.**
    69eb2aaf-6c0f-4b83-8a15-**02d105d17e5f.97ce31bc-3349-**
    4761-a5ec-73f94fd77744"}'
    [#1134] Received on [agent.14b1068b-d096-46f8-**aa9d-410fe6107a98] :
    '{"method":"ping","arguments":**[],"reply_to":"director.**
    69eb2aaf-6c0f-4b83-8a15-**02d105d17e5f.e7238d97-0316-**
    4391-a4da-1a715e0fa44e"}'
    [#1135] Received on [agent.f2cc476b-0ae0-4633-**9109-87ad5e967c90] :
    '{"method":"ping","arguments":**[],"reply_to":"director.**
    69eb2aaf-6c0f-4b83-8a15-**02d105d17e5f.68fe16bd-c3d7-**
    4427-bd5b-c7a1ecaa0295"}'
    [#1136] Received on [agent.5e86c036-3bcb-4230-**9978-be841f651c27] :
    '{"method":"ping","arguments":**[],"reply_to":"director.**
    69eb2aaf-6c0f-4b83-8a15-**02d105d17e5f.f9535f19-18f6-**
    4c88-9dff-39032d8d18fc"}'
    [#1137] Received on [agent.5a9a15f2-8c52-487d-**9d0f-e244d2e5765e] :
    '{"method":"ping","arguments":**[],"reply_to":"director.**
    69eb2aaf-6c0f-4b83-8a15-**02d105d17e5f.caded91f-1fa5-**
    4330-88c2-860a76bea4ad"}'
    [#1138] Received on [agent.14b1068b-d096-46f8-**aa9d-410fe6107a98] :
    '{"method":"ping","arguments":**[],"reply_to":"director.**
    69eb2aaf-6c0f-4b83-8a15-**02d105d17e5f.617ba46d-3ea2-**
    468f-8748-2f39eef1a61f"}'
    [#1139] Received on [agent.f2cc476b-0ae0-4633-**9109-87ad5e967c90] :
  • Shaozhen Ding at Nov 19, 2012 at 10:05 pm
    Yes.

    I thought my dummy question pissed off you guys. But seems the default
    reply carry on is too large which exceed the content limit and deleted by
    google automatically.

    :)

    >
  • Bradley Childs at Nov 19, 2012 at 10:24 pm
    also as a warning-- google groups doesn't seem to like .yml files. i
    always have to rename them .txt or the post results in error.

    -bc
    On Monday, November 19, 2012 4:04:59 PM UTC-6, Shaozhen Ding wrote:

    Yes.

    I thought my dummy question pissed off you guys. But seems the default
    reply carry on is too large which exceed the content limit and deleted by
    google automatically.

    :)
  • Shaozhen Ding at Nov 19, 2012 at 10:35 pm
    I can not connect compiled vm back to director nats.

    I think because my network configuration problem.

    My director is in the Network 1. with an ip address 192.168.1.15.

    I copied the default cloudfloundry.yml from github

    So the compiled vm will have ip like 192.0.2.x

    I assumed that I need to connect the director to VM Network 2 with another
    network adaptor?
    But what the nats server in director will listen on to?
    And I saw the dns 192.0.2.245 in the configuration, is this also a compiled
    vm?
    Appreciate for the explanation :)

    And the doc is saying "Open the manifest and make sure that your network
    settings match the environment that you were given." Just wonder if any
    more instruction of checkup here.

    Thanks for the help
  • Kaayotee at Nov 30, 2012 at 8:47 pm
    Can you post the output of the this log file var/vcap/bosh/log/current
    On Monday, November 19, 2012 2:34:59 PM UTC-8, Shaozhen Ding wrote:


    I can not connect compiled vm back to director nats.

    I think because my network configuration problem.

    My director is in the Network 1. with an ip address 192.168.1.15.

    I copied the default cloudfloundry.yml from github

    So the compiled vm will have ip like 192.0.2.x

    I assumed that I need to connect the director to VM Network 2 with another
    network adaptor?
    But what the nats server in director will listen on to?
    And I saw the dns 192.0.2.245 in the configuration, is this also a
    compiled vm?
    Appreciate for the explanation :)

    And the doc is saying "Open the manifest and make sure that your network
    settings match the environment that you were given." Just wonder if any
    more instruction of checkup here.

    Thanks for the help

  • Resouer at Dec 1, 2012 at 9:09 am
    How many workers are you defined in yml to do compiling? Too many workers
    will lead to timeout error.
    On Tuesday, November 20, 2012 6:34:59 AM UTC+8, Shaozhen Ding wrote:


    I can not connect compiled vm back to director nats.

    I think because my network configuration problem.

    My director is in the Network 1. with an ip address 192.168.1.15.

    I copied the default cloudfloundry.yml from github

    So the compiled vm will have ip like 192.0.2.x

    I assumed that I need to connect the director to VM Network 2 with another
    network adaptor?
    But what the nats server in director will listen on to?
    And I saw the dns 192.0.2.245 in the configuration, is this also a
    compiled vm?
    Appreciate for the explanation :)

    And the doc is saying "Open the manifest and make sure that your network
    settings match the environment that you were given." Just wonder if any
    more instruction of checkup here.

    Thanks for the help

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupbosh-users @
postedNov 17, '12 at 10:08p
activeDec 1, '12 at 9:09a
posts15
users5

People

Translate

site design / logo © 2021 Grokbase