Giter VIP home page Giter VIP logo

Comments (8)

GrahamAka avatar GrahamAka commented on September 13, 2024

Trying to deploy v2.57 on bosh-lite hosted through a Vagrant VM on Virtualbox. At the point when actually making the deployment it errors out:

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

 Started creating missing vms
 Started creating missing vms > consul_z1/3b9a5b5d-cc1a-4131-a0bc-62976a963f53 (0)
 Started creating missing vms > nats_z1/a7f6ce78-6453-4d95-93f0-4f34fb722676 (0)
 Started creating missing vms > etcd_z1/d84bee20-7bf8-45f7-9c50-304715710051 (0)
 Started creating missing vms > blobstore_z1/9a3c0369-0d62-4fa1-af2e-847b0ae18776 (0)
 Started creating missing vms > postgres_z1/014680dc-a5ba-4d1c-b1e9-2cfcd3190a08 (0)
 Started creating missing vms > uaa_z1/e9d814ba-c108-4623-8a52-0e36169e6eb4 (0)
 Started creating missing vms > api_z1/8631780c-03b9-4886-985b-5624104f17c0 (0)
 Started creating missing vms > hm9000_z1/a78b9036-8235-466d-859c-54777ef729b7 (0)
 Started creating missing vms > runner_z1/e29aa8f6-371e-41ea-bfc1-70b97f0a5cc9 (0)
Started creating missing vms > doppler_z1/9b11b26f-fb2b-492f-b2cb-c625dacbdf19 (0)
 Started creating missing vms > loggregator_trafficcontroller_z1/c12146ba-56f3-48b2-b170-18edcae86d37 (0)
 Started creating missing vms > router_z1/3e704ce5-49e3-4d8a-8c76-022aace3b04a (0)
 Started creating missing vms > ha_proxy_z1/e8d3f72b-4f16-4006-8809-e3f36f4ed49e (0). Done (00:02:19)
    Done creating missing vms > router_z1/3e704ce5-49e3-4d8a-8c76-022aace3b04a (0) (00:02:20)
    Done creating missing vms > consul_z1/3b9a5b5d-cc1a-4131-a0bc-62976a963f53 (0) (00:02:20)
    Done creating missing vms > etcd_z1/d84bee20-7bf8-45f7-9c50-304715710051 (0) (00:02:20)
    Done creating missing vms > nats_z1/a7f6ce78-6453-4d95-93f0-4f34fb722676 (0) (00:02:20)
    Done creating missing vms > runner_z1/e29aa8f6-371e-41ea-bfc1-70b97f0a5cc9 (0) (00:02:20)
    Done creating missing vms > doppler_z1/9b11b26f-fb2b-492f-b2cb-c625dacbdf19 (0) (00:02:20)
    Done creating missing vms > loggregator_trafficcontroller_z1/c12146ba-56f3-48b2-b170-18edcae86d37 (0) (00:02:20)
    Done creating missing vms > blobstore_z1/9a3c0369-0d62-4fa1-af2e-847b0ae18776 (0) (00:02:20)
    Done creating missing vms > postgres_z1/014680dc-a5ba-4d1c-b1e9-2cfcd3190a08 (0) (00:02:20)
    Done creating missing vms > uaa_z1/e9d814ba-c108-4623-8a52-0e36169e6eb4 (0) (00:02:21)
    Done creating missing vms > hm9000_z1/a78b9036-8235-466d-859c-54777ef729b7 (0) (00:02:21)
    Done creating missing vms > api_z1/8631780c-03b9-4886-985b-5624104f17c0 (0) (00:02:21)
    Done creating missing vms (00:02:21)

 Started updating instance consul_z1 > consul_z1/3b9a5b5d-cc1a-4131-a0bc-62976a963f53 (0) (canary). Failed: 'consul_z1/0 (3b9a5b5d-cc1a-4131-a0bc-62976a963f53)' is not running after update. (00:02:55)

Error 400007: 'consul_z1/0 (3b9a5b5d-cc1a-4131-a0bc-62976a963f53)' is not running after update.
Runing the suggested bosh task 3 --debug doesn't seem to offer much more detail.

E, [2017-04-22 23:40:51 #6740] [] ERROR -- DirectorJobRunner: Worker thread rais ed exception: 'consul_z1/0 (3b9a5b5d-cc1a-4131-a0bc-62976a963f53)' is not runnin g after update. - /var/vcap/packages/director/gem_home/ruby/2.3.0/gems/bosh-dire ctor-260.0.0/lib/bosh/director/instance_updater/state_applier.rb:48:inpost_sta rt'`

from bosh-lite.

GrahamAka avatar GrahamAka commented on September 13, 2024

Consul logs

consul_z1.0.2017-04-25-18-03-42.tgz.zip

from bosh-lite.

GrahamAka avatar GrahamAka commented on September 13, 2024

It's failing before it manages to start the consul instance...

vagrant@bosh-lite:~/cf-release$ bosh instances --ps
RSA 1024 bit CA certificates are loaded due to old openssl compatibility
Acting as user 'admin' on deployment 'cf-warden' on 'Bosh Lite Director'

Director task 6

Task 6 done

+----------------------------------------------------------------------------+---------+-----+-----------+--------------+
| Instance                                                                   | State   | AZ  | VM Type   | IPs          |
+----------------------------------------------------------------------------+---------+-----+-----------+--------------+
| api_z1/0 (8631780c-03b9-4886-985b-5624104f17c0)*                           | running | n/a | large_z1  | 10.244.0.138 |
+----------------------------------------------------------------------------+---------+-----+-----------+--------------+
| blobstore_z1/0 (9a3c0369-0d62-4fa1-af2e-847b0ae18776)*                     | running | n/a | medium_z1 | 10.244.0.130 |
+----------------------------------------------------------------------------+---------+-----+-----------+--------------+
| consul_z1/0 (3b9a5b5d-cc1a-4131-a0bc-62976a963f53)*                        | failing | n/a | small_z1  | 10.244.0.54  |
+----------------------------------------------------------------------------+---------+-----+-----------+--------------+
| doppler_z1/0 (9b11b26f-fb2b-492f-b2cb-c625dacbdf19)*                       | running | n/a | medium_z1 | 10.244.0.146 |
+----------------------------------------------------------------------------+---------+-----+-----------+--------------+
| etcd_z1/0 (d84bee20-7bf8-45f7-9c50-304715710051)*                          | running | n/a | large_z1  | 10.244.0.42  |
+----------------------------------------------------------------------------+---------+-----+-----------+--------------+
| ha_proxy_z1/0 (e8d3f72b-4f16-4006-8809-e3f36f4ed49e)*                      | running | n/a | router_z1 | 10.244.0.34  |
+----------------------------------------------------------------------------+---------+-----+-----------+--------------+
| hm9000_z1/0 (a78b9036-8235-466d-859c-54777ef729b7)*                        | running | n/a | medium_z1 | 10.244.0.142 |
+----------------------------------------------------------------------------+---------+-----+-----------+--------------+
| loggregator_trafficcontroller_z1/0 (c12146ba-56f3-48b2-b170-18edcae86d37)* | running | n/a | small_z1  | 10.244.0.150 |
+----------------------------------------------------------------------------+---------+-----+-----------+--------------+
| nats_z1/0 (a7f6ce78-6453-4d95-93f0-4f34fb722676)*                          | running | n/a | medium_z1 | 10.244.0.6   |
+----------------------------------------------------------------------------+---------+-----+-----------+--------------+
| postgres_z1/0 (014680dc-a5ba-4d1c-b1e9-2cfcd3190a08)*                      | running | n/a | medium_z1 | 10.244.0.30  |
+----------------------------------------------------------------------------+---------+-----+-----------+--------------+
| router_z1/0 (3e704ce5-49e3-4d8a-8c76-022aace3b04a)*                        | running | n/a | router_z1 | 10.244.0.22  |
+----------------------------------------------------------------------------+---------+-----+-----------+--------------+
| runner_z1/0 (e29aa8f6-371e-41ea-bfc1-70b97f0a5cc9)*                        | running | n/a | runner_z1 | 10.244.0.26  |
+----------------------------------------------------------------------------+---------+-----+-----------+--------------+
| uaa_z1/0 (e9d814ba-c108-4623-8a52-0e36169e6eb4)*                           | running | n/a | medium_z1 | 10.244.0.134 |
+----------------------------------------------------------------------------+---------+-----+-----------+--------------+

(*) Bootstrap node

Instances total: 13
vagrant@bosh-lite:~/cf-release$

from bosh-lite.

GrahamAka avatar GrahamAka commented on September 13, 2024

I'm using the "default" manifest

cf.zip

from bosh-lite.

GrahamAka avatar GrahamAka commented on September 13, 2024

Attached is the DEBUG output for task 3

task3output.txt

Within this appears to be a "critical" line:

E, [2017-04-22 23:40:51 #6740] [canary_update(consul_z1/3b9a5b5d-cc1a-4131-a0bc-62976a963f53 (0))] ERROR -- DirectorJobRunner: Error updating canary instance: #<Bosh::Director::AgentJobNotRunning: 'consul_z1/0 (3b9a5b5d-cc1a-4131-a0bc-62976a963f53)' is not running after update.>

from bosh-lite.

uyadu avatar uyadu commented on September 13, 2024

Is there any update or workaround ? I am also facing exactly the issue.

from bosh-lite.

GrahamAka avatar GrahamAka commented on September 13, 2024

I've now worked around this, and have written a set of deployment steps that works (for me) here: https://grahamnicol.wordpress.com/2017/05/04/deploying-cloud-foundry-on-vagrant-on-virtualbox-on-windows-10/

from bosh-lite.

dpb587-pivotal avatar dpb587-pivotal commented on September 13, 2024

Sometimes this can be caused by an underpowered bosh-lite host. A workaround for that is to bump up the canaries_watch_time/update_watch_timein the update section.

Sounds like you were able to resolve this, so I'm closing. Thanks for writing up a post about your experiences!

from bosh-lite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.