E, [2014-07-18T04:04:20.528175 #3565] [canary_update(director/0)] ERROR -- : Error updating canary instance: #<Bosh::Director::AgentJobNotRunning: `director/0' is not running after update>
/var/vcap/packages/director/gem_home/ruby/1.9.1/gems/bosh-director-1.2624.0/lib/bosh/director/instance_updater.rb:85:in `update'
/var/vcap/packages/director/gem_home/ruby/1.9.1/gems/bosh-director-1.2624.0/lib/bosh/director/job_updater.rb:74:in `block (2 levels) in update_canary_instance'
/var/vcap/packages/director/gem_home/ruby/1.9.1/gems/bosh_common-1.2624.0/lib/common/thread_formatter.rb:46:in `with_thread_name'
/var/vcap/packages/director/gem_home/ruby/1.9.1/gems/bosh-director-1.2624.0/lib/bosh/director/job_updater.rb:72:in `block in update_canary_instance'
/var/vcap/packages/director/gem_home/ruby/1.9.1/gems/bosh-director-1.2624.0/lib/bosh/director/event_log.rb:83:in `call'
/var/vcap/packages/director/gem_home/ruby/1.9.1/gems/bosh-director-1.2624.0/lib/bosh/director/event_log.rb:83:in `advance_and_track'
/var/vcap/packages/director/gem_home/ruby/1.9.1/gems/bosh-director-1.2624.0/lib/bosh/director/job_updater.rb:71:in `update_canary_instance'
Then I logged in the director VM, and tried to start it by
monit start director
monit start director
and found the following exception under /var/vcap/sys/log/director
/var/vcap/packages/director/gem_home/ruby/1.9.1/gems/bosh-director-1.0000.0/bin/bosh-director-scheduler:3:in `require': cannot load such file -- bosh/director
from /var/vcap/packages/director/gem_home/ruby/1.9.1/gems/bosh-director-1.0000.0/bin/bosh-director-scheduler:3:in `<top (required)>'
from /var/vcap/packages/director/bin/bosh-director-scheduler:16:in `load'
from /var/vcap/packages/director/bin/bosh-director-scheduler:16:in `<main>'
==================below is my environment information========
*** LOCAL GEMS ***
bosh-director-core (1.2641.0)
bosh-registry (1.2641.0)
bosh-stemcell (1.2641.0)
bosh_aws_cpi (1.2641.0)
bosh_cli (1.2641.0)
bosh_cli_plugin_micro (1.2641.0)
bosh_common (1.2641.0)
bosh_cpi (1.2641.0)
bosh_openstack_cpi (1.2641.0)
bosh_vcloud_cpi (0.5.4)
bosh_vsphere_cpi (1.2641.0)
ubuntu@ubuntu12:~/bosh-workspace/deployments$ Director
Name microbosh-openstack
URL
https://10.0.0.12:25555 Version 1.2624.0 (00000000)
User admin
UUID a11193e9-99ff-4f85-8dc0-8a06509aeed2
CPI openstack
dns enabled (domain_name: microbosh)
compiled_package_cache disabled
snapshots disabled
Director task 25
Task 25 done
+------------------+---------+---------------+---------------+
| Job/index | State | Resource Pool | IPs |
+------------------+---------+---------------+---------------+
| blobstore/0 | running | common | 10.0.0.64 |
| director/0 | failing | common | 10.0.0.65 |
| | | | 137.172.74.84 |
| health_monitor/0 | running | common | 10.0.0.67 |
| nats/0 | running | common | 10.0.0.62 |
| postgres/0 | running | common | 10.0.0.60 |
| powerdns/0 | running | common | 10.0.0.63 |
| | | | 137.172.74.83 |
| redis/0 | running | common | 10.0.0.61 |
| registry/0 | running | common | 10.0.0.66 |
+------------------+---------+---------------+---------------+
+---------------------------+---------+--------------------------------------+
| Name | Version | CID |
+---------------------------+---------+--------------------------------------+
| bosh-openstack-kvm-ubuntu | 2427* | 174deff1-4855-4fc7-8e28-6476a8b638ef |
+---------------------------+---------+--------------------------------------+
(*) Currently in-use
+------+-----------+-------------+
| Name | Versions | Commit Hash |
+------+-----------+-------------+
| bosh | 91+dev.1 | 00000000 |
| | 91+dev.2* | 00000000 |
+------+-----------+-------------+
(*) Currently deployed
release:
name: bosh
version: latest
compilation:
workers: 3
network: default
reuse_compilation_vms: true
cloud_properties:
instance_type: m1.small # CHANGE
update:
canaries: 1
canary_watch_time: 3000-120000
update_watch_time: 3000-120000
max_in_flight: 4
networks:
- name: floating
type: vip
cloud_properties: {}
- name: default
type: dynamic
cloud_properties: {}
resource_pools:
- name: common
network: default
size: 8
stemcell:
name: bosh-openstack-kvm-ubuntu
version: latest
cloud_properties:
instance_type: m1.small # CHANGE
jobs:
- name: nats
template: nats
instances: 1
resource_pool: common
networks:
- name: default
default: [dns, gateway]
- name: redis
template: redis
instances: 1
resource_pool: common
networks:
- name: default
default: [dns, gateway]
- name: postgres
template: postgres
instances: 1
resource_pool: common
persistent_disk: 5120
networks:
- name: default
default: [dns, gateway]
- name: powerdns
template: powerdns
instances: 1
resource_pool: common
networks:
- name: default
default: [dns, gateway]
- name: floating
static_ips:
- 137.172.74.83 # CHANGE
- name: blobstore
template: blobstore
instances: 1
resource_pool: common
persistent_disk: 5120
networks:
- name: default
default: [dns, gateway]
- name: director
template: director
instances: 1
resource_pool: common
persistent_disk: 5120
networks:
- name: default
default: [dns, gateway]
- name: floating
static_ips:
- 137.172.74.84 # CHANGE
- name: registry
template: registry
instances: 1
resource_pool: common
networks:
- name: default
default: [dns, gateway]
- name: health_monitor
template: health_monitor
instances: 1
resource_pool: common
networks:
- name: default
default: [dns, gateway]
properties:
nats:
address: 0.nats.default.bosh-openstack.microbosh
user: nats
password: nats
redis:
address: 0.redis.default.bosh-openstack.microbosh
password: redis
postgres: &bosh_db
host: 0.postgres.default.bosh-openstack.microbosh
user: postgres
password: postgres
database: bosh
dns:
address: 137.172.74.83 # CHANGE
db: *bosh_db
recursor: 137.172.74.82 # CHANGE
blobstore:
address: 0.blobstore.default.bosh-openstack.microbosh
agent:
user: agent
password: agent
director:
user: director
password: director
director:
name: bosh
address: 0.director.default.bosh-openstack.microbosh
db: *bosh_db
registry:
address: 0.registry.default.bosh-openstack.microbosh
db: *bosh_db
http:
user: registry
password: registry
hm:
http:
user: hm
password: hm
director_account:
user: admin
password: admin
resurrector_enabled: true