OpenStack 单一安装程序增加 Glance 存储空间

OpenStack 单一安装程序增加 Glance 存储空间

我刚刚在 14.04 上安装了 openstack

sudo apt-get install software-properties-common
sudo apt-add-repository ppa:cloud-installer/testing
sudo apt-get update
sudo apt-get install openstack
sudo openstack-install --openstack-release icehouse 

我选择了将所有内容放在一台机器上的选项。现在安装程序显示 Glance 有 20GB 的存储空间。我该如何增加这个数字?

答案1

您可以通过包含服务位置及其约束的配置文件自定义虚拟机的大小。

install_type: Single
placements:
  controller:
    assignments:
      LXC:
      - nova-cloud-controller
      - glance
      - glance-simplestreams-sync
      - openstack-dashboard
      - juju-gui
      - keystone
      - mysql
      - neutron-api
      - neutron-openvswitch
      - rabbitmq-server
      - swift-proxy
    constraints:
      cpu-cores: 2
      mem: 6144
      root-disk: 20480
  nova-compute-machine-0:
    assignments:
      BareMetal:
      - nova-compute
    constraints:
      mem: 4096
      root-disk: 40960
  quantum-gateway-machine-0:
    assignments:
      BareMetal:
      - quantum-gateway
    constraints:
      mem: 2048
      root-disk: 20480
  swift-storage-machine-0:
    assignments:
      BareMetal:
      - swift-storage
    constraints: &id001 {}
  swift-storage-machine-1:
    assignments:
      BareMetal:
      - swift-storage
    constraints: *id001
  swift-storage-machine-2:
    assignments:
      BareMetal:
      - swift-storage
    constraints: *id001

有关示例的演练,请查看http://astokes.org/openstack-installer-customizing-the-single-install-constraints/

相关内容