首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >只能锁定Bosh Lite主管。请在运行此脚本之前使用'bosh target‘

只能锁定Bosh Lite主管。请在运行此脚本之前使用'bosh target‘
EN

Stack Overflow用户
提问于 2016-01-08 22:20:09
回答 1查看 257关注 0票数 0

我使用bosh/microbosh安装了Cloud Foundry。现在,我正在尝试使用admin-ui-boshrelease安装Cloud Foundry Admin UI

运行./make_manifest warden时,我遇到错误:

代码语言:javascript
复制
Can only target Bosh Lite Director. Please use 'bosh target' before running this script.

我将目标设为192.168.0.5:

代码语言:javascript
复制
$ bosh target
Current target is https://192.168.0.5:25555 (vms-dev2)   

我打开make_manifest文件,发现它支持亚马逊网络服务,vsphere和沃登。在典狱长的情况下,它寻找董事的名字是"Bosh Lite Director“。在我的例子中,is bosh主管的名字是"vms-dev2“。

我使用的是BOSH而不是BOSH-Lite来安装Cloud Foundry。此Cloud Foundry Admin UI版本是否仅在BOSH-Lite中受支持,而不随BOSH一起支持?

EN

回答 1

Stack Overflow用户

发布于 2016-01-24 02:57:42

我创建了部署文件,它对我来说工作得很好。

代码语言:javascript
复制
<%
load '/opt/installer/tenant-devtest1/cf-deploy/cf-settings.rb'
%>
name: <%= $deployment_name %>

director_uuid: 0de3e7b2-4e02-4149-bb79-980c1fe19f74

releases:
- {name: admin-ui, version: 6}

networks:
- name: ccc-bosh-net1
  type: dynamic
  cloud_properties:
    net_id: <%= $bosh_net_id %>
    security_groups:
        - cfoundry
        - bosh
        - default

resource_pools:
  - name: small
    network: ccc-bosh-net1
    stemcell:
      name: bosh-openstack-kvm-ubuntu-trusty-go_agent-raw
      version: <%= $stemcell_version %>
    cloud_properties:
      instance_type: Micro-Small

compilation:
  workers: 2
  network: ccc-bosh-net1
  cloud_properties:
    instance_type: Micro-Small

update:
  canaries: 0
  canary_watch_time: 30000-600000
  update_watch_time: 30000-600000
  max_in_flight: 4
  serial: true

jobs:
- name: admin_ui
  template: admin_ui
  instances: 1
  resource_pool: small
  persistent_disk: 5120
  networks:
    - name: ccc-bosh-net1

- name: register_admin_ui
  template: register_admin_ui
  instances: 1
  resource_pool: small
  lifecycle: errand
  networks:
    - name: ccc-bosh-net1

- name: deregister_admin_ui
  template: deregister_admin_ui
  instances: 1
  resource_pool: small
  lifecycle: errand
  networks:
    - name: ccc-bosh-net1

properties:
  cc:
    srv_api_uri: <%= $protocol %>://api.<%= $root_domain %>
  system_domain: <%= $root_domain %>
  uaa:
    url: <%= $protocol %>://uaa.<%= $root_domain %>
    admin:
      client_secret: <%= $common_password %>
  admin_ui:
    cloud_controller_uri: <%= $protocol %>://api.<%= $root_domain %>
    cloud_controller_ssl_verify_none: true
    uri: <%= $protocol %>://admin.<%= $root_domain %>
    users: ~
    uaa:
      url: <%= $protocol %>://uaa.<%= $root_domain %>
      admin_client_secret: <%= $common_password %>
      client:
        id: admin_ui_client
        secret: <%= $common_password %>
      scopes:
        admin: ~
        user: ~

    ccdb:
      scheme: postgres
      address: 0.cloud-controller.ccc-bosh-net.<%= $deployment_name %>.microbosh
      port: 5524
      username: ccadmin
      password: <%= $common_password %>
      database: ccdb
    uaadb:
      scheme: postgresql
      address: 0.cloud-controller.ccc-bosh-net.<%= $deployment_name %>.microbosh
      port: 5524
      username: uaaadmin
      password: <%= $common_password %>
      database: uaadb

  ssl:
    skip_cert_verify: true
  networks:
    apps: ccc-bosh-net1

  nats:
    user: nats
    password: <%= $common_password %>
    address: 0.cloud-controller.ccc-bosh-net.<%= $deployment_name %>.microbosh
    port: 4222
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/34679231

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档