Cloud foundry 卡在;“波什部署”;bosh lite步骤-keytool在bosh lite上最大化约99%的cpu时间

Cloud foundry 卡在;“波什部署”;bosh lite步骤-keytool在bosh lite上最大化约99%的cpu时间,cloud-foundry,cf-bosh,Cloud Foundry,Cf Bosh,按照所有步骤,我一直在使用virtualbox提供程序在我的bosh lite vagrant vm上使用bosh部署: Started creating missing vms Started creating missing vms > consul_z1/0 (76a9bb67-d3b0-4e0d-be8b-118487e896d8) Started creating missing vms > ha_proxy_z1/0 (6c74591f-341f-4eb0-a

按照所有步骤,我一直在使用virtualbox提供程序在我的bosh lite vagrant vm上使用
bosh部署

  Started creating missing vms
  Started creating missing vms > consul_z1/0 (76a9bb67-d3b0-4e0d-be8b-118487e896d8)
  Started creating missing vms > ha_proxy_z1/0 (6c74591f-341f-4eb0-a2d9-709ca306fd75)
  Started creating missing vms > nats_z1/0 (81dd7301-6de8-495d-9c3d-969e853818f2)
  Started creating missing vms > etcd_z1/0 (f82c506d-0c2b-4861-9020-a009ac858a6e)
  Started creating missing vms > blobstore_z1/0 (167d3ef7-e218-4548-8101-e2b25b4aee76)
  Started creating missing vms > postgres_z1/0 (80c4a6b4-a358-46f1-b930-b20d9e078cd1)
  Started creating missing vms > uaa_z1/0 (204cbdf2-d75d-46c9-a028-eefccd1a37d8)
  Started creating missing vms > hm9000_z1/0 (861b7196-a404-4525-b229-fb1e22eead03)
  Started creating missing vms > api_z1/0 (4b92e6f3-063d-444a-b02e-43b39c52339f)
  Started creating missing vms > runner_z1/0 (c0388082-e9bc-46b0-839b-25b2b7abcb7f)
  Started creating missing vms > doppler_z1/0 (772f715e-5a47-4c3e-b3fd-b2c85464c4d4)
  Started creating missing vms > loggregator_trafficcontroller_z1/0 (0503827b-d731-4a43-893b-2a3a2364b3f
2)
  Started creating missing vms > router_z1/0 (4e4100a3-aef2-4622-b776-2af616cda481)
     Done creating missing vms > ha_proxy_z1/0 (6c74591f-341f-4eb0-a2d9-709ca306fd75) (00:00:34)
     Done creating missing vms > postgres_z1/0 (80c4a6b4-a358-46f1-b930-b20d9e078cd1) (00:00:34)
     Done creating missing vms > router_z1/0 (4e4100a3-aef2-4622-b776-2af616cda481) (00:00:34)
     Done creating missing vms > loggregator_trafficcontroller_z1/0 (0503827b-d731-4a43-893b-2a3a2364b3f
2) (00:00:34)
     Done creating missing vms > nats_z1/0 (81dd7301-6de8-495d-9c3d-969e853818f2) (00:00:35)
     Done creating missing vms > hm9000_z1/0 (861b7196-a404-4525-b229-fb1e22eead03) (00:00:36)
     Done creating missing vms > runner_z1/0 (c0388082-e9bc-46b0-839b-25b2b7abcb7f) (00:00:36)
     Done creating missing vms > consul_z1/0 (76a9bb67-d3b0-4e0d-be8b-118487e896d8) (00:00:37)
     Done creating missing vms > api_z1/0 (4b92e6f3-063d-444a-b02e-43b39c52339f) (00:00:37)
     Done creating missing vms > blobstore_z1/0 (167d3ef7-e218-4548-8101-e2b25b4aee76) (00:00:37)
     Done creating missing vms > etcd_z1/0 (f82c506d-0c2b-4861-9020-a009ac858a6e) (00:00:37)
     Done creating missing vms > doppler_z1/0 (772f715e-5a47-4c3e-b3fd-b2c85464c4d4) (00:00:36)
     Done creating missing vms > uaa_z1/0 (204cbdf2-d75d-46c9-a028-eefccd1a37d8) (00:00:37)
     Done creating missing vms (00:00:37)

  Started updating job consul_z1 > consul_z1/0 (76a9bb67-d3b0-4e0d-be8b-118487e896d8). Done (00:00:40)
  Started updating job ha_proxy_z1 > ha_proxy_z1/0 (6c74591f-341f-4eb0-a2d9-709ca306fd75). Done (00:00:4
0)
  Started updating job nats_z1 > nats_z1/0 (81dd7301-6de8-495d-9c3d-969e853818f2). Done (00:00:22)
  Started updating job etcd_z1 > etcd_z1/0 (f82c506d-0c2b-4861-9020-a009ac858a6e). Done (00:00:42)
  Started updating job blobstore_z1 > blobstore_z1/0 (167d3ef7-e218-4548-8101-e2b25b4aee76). Done (00:00
:47)
  Started updating job postgres_z1 > postgres_z1/0 (80c4a6b4-a358-46f1-b930-b20d9e078cd1). Done (00:00:4
0)
  Started updating job uaa_z1 > uaa_z1/0 (204cbdf2-d75d-46c9-a028-eefccd1a37d8)
这表示部署卡在
uaa_z1
作业上。从另一个窗口查看
vagrant ssh
'

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

Director task 34
bosh logs
Task 34 done

+---------------------------------------------------------------------------+---------+-----+-----------
+--------------+
| VM                                                                        | State   | AZ  | VM Type
| IPs          |
+---------------------------------------------------------------------------+---------+-----+-----------
+--------------+
| api_z1/0 (4b92e6f3-063d-444a-b02e-43b39c52339f)                           | running | n/a | large_z1
| 10.244.0.138 |
| blobstore_z1/0 (167d3ef7-e218-4548-8101-e2b25b4aee76)                     | running | n/a | medium_z1
| 10.244.0.130 |
| consul_z1/0 (76a9bb67-d3b0-4e0d-be8b-118487e896d8)                        | running | n/a | small_z1
| 10.244.0.54  |
| doppler_z1/0 (772f715e-5a47-4c3e-b3fd-b2c85464c4d4)                       | running | n/a | medium_z1
| 10.244.0.146 |
| etcd_z1/0 (f82c506d-0c2b-4861-9020-a009ac858a6e)                          | running | n/a | medium_z1
| 10.244.0.42  |
| ha_proxy_z1/0 (6c74591f-341f-4eb0-a2d9-709ca306fd75)                      | running | n/a | router_z1
| 10.244.0.34  |
| hm9000_z1/0 (861b7196-a404-4525-b229-fb1e22eead03)                        | running | n/a | medium_z1
| 10.244.0.142 |
| loggregator_trafficcontroller_z1/0 (0503827b-d731-4a43-893b-2a3a2364b3f2) | running | n/a | small_z1
| 10.244.0.150 |
| nats_z1/0 (81dd7301-6de8-495d-9c3d-969e853818f2)                          | running | n/a | medium_z1
| 10.244.0.6   |
| postgres_z1/0 (80c4a6b4-a358-46f1-b930-b20d9e078cd1)                      | running | n/a | medium_z1
| 10.244.0.30  |
| router_z1/0 (4e4100a3-aef2-4622-b776-2af616cda481)                        | running | n/a | router_z1
| 10.244.0.22  |
| runner_z1/0 (c0388082-e9bc-46b0-839b-25b2b7abcb7f)                        | running | n/a | runner_z1
| 10.244.0.26  |
| uaa_z1/0 (204cbdf2-d75d-46c9-a028-eefccd1a37d8)                           | stopped | n/a | medium_z1
| 10.244.0.134 |
+---------------------------------------------------------------------------+---------+-----+-----------
+--------------+

VMs total: 13
然后我尝试查看显示状态为“stopped”的vm的外观。以下是我得到的:-

vagrant@bosh-lite:~/cf-release$ bosh logs 204cbdf2-d75d-46c9-a028-eefccd1a37d8
wrong number of arguments (1 for 2).

Usage: logs <job> <index_or_id> [--agent] [--job] [--only filter1,filter2,...] [--dir destination_direct
ory] [--all]
vagrant@bosh-lite:~/cf-release$ bosh logs uaa_z1 0
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 35
Error 100: Redis lock lock:deployment:cf-warden is acquired by another thread

Task 35 error
Error retrieving logs
vagrant@bosh-lite:~/cf-release$
以下是我正在使用的干细胞:-

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

+-----------+--------------+--------------------------------------------------+--------------+
| Name      | Release(s)   | Stemcell(s)                                      | Cloud Config |
+-----------+--------------+--------------------------------------------------+--------------+
| cf-warden | cf/233+dev.1 | bosh-warden-boshlite-ubuntu-trusty-go_agent/3147 | none         |
+-----------+--------------+--------------------------------------------------+--------------+

Deployments total: 1
这是我的
唠叨状态
:-

vagrant@bosh-lite:~/cf-release$ bosh status
Config
             /home/vagrant/.bosh_config

Director
RSA 1024 bit CA certificates are loaded due to old openssl compatibility
  Name       Bosh Lite Director
  URL        https://192.168.218.4:25555
  Version    1.3197.1.0 (00000000)
  User       admin
  UUID       44586d7c-bcce-4f5f-ae80-42bb8a1ed08b
  CPI        warden_cpi
  dns        disabled
  compiled_package_cache enabled (provider: local)
  snapshots  disabled

Deployment
  Manifest   /home/vagrant/cf-release/bosh-lite/deployments/cf.yml
vagrant@bosh-lite:~/cf-release$
有人能帮我修一下吗

TIA。

由我在github上收到的关于同一问题的答案修复->

vagrant@bosh-lite:~/cf-release$ bosh status
Config
             /home/vagrant/.bosh_config

Director
RSA 1024 bit CA certificates are loaded due to old openssl compatibility
  Name       Bosh Lite Director
  URL        https://192.168.218.4:25555
  Version    1.3197.1.0 (00000000)
  User       admin
  UUID       44586d7c-bcce-4f5f-ae80-42bb8a1ed08b
  CPI        warden_cpi
  dns        disabled
  compiled_package_cache enabled (provider: local)
  snapshots  disabled

Deployment
  Manifest   /home/vagrant/cf-release/bosh-lite/deployments/cf.yml
vagrant@bosh-lite:~/cf-release$