OpenStack (简体中文) - ArchWiki

Jump to content

# OpenStack (简体中文)

From ArchWiki

本文或本节需要翻译。要贡献翻译，请访问简体中文翻译团队。

附注： .（在 Talk:OpenStack (简体中文)# 中讨论）
翻译状态：本文是 OpenStack 的翻译。上次翻译日期：2016-03-22。如果英文版本有所更改，则您可以帮助同步翻译。

OpenStack is a global collaboration of developers and cloud computing technologists producing the ubiquitous open source cloud computing platform for public and private clouds. The project aims to deliver solutions for all types of clouds by being simple to implement, massively scalable, and feature rich. The technology consists of a series of interrelated projects delivering various components for a cloud infrastructure solution

## 组件

### 计算(Nova)

nova-libertyAUR[损坏的链接：package not found] is available in the AUR.

### 网络(Neutron)

neutron-libertyAUR[损坏的链接：package not found] is available in the AUR.

### 镜像服务(Glance)

glance-libertyAUR[损坏的链接：package not found] is available in the AUR.

### 块存储(Cinder)

cinder-kiloAUR[损坏的链接：package not found] is available in the AUR.

### 对象存储(Swift)

Swift is not available in Arch, yet.

### 鉴证(Keystone)

keystone-libertyAUR[损坏的链接：package not found] is available in the AUR.

### 监控台(Horizon)

horizon-libertyAUR[损坏的链接：package not found] is available in the AUR.

### Telemetry (Ceilometer)

### Orchestration (Heat)

heat-engineAUR[损坏的链接：package not found] is available in the AUR.

## 部署 OpenStack

This article or section needs expansion.

Reason: please use the first argument of the template to provide a brief explanation. (Discuss in Talk:OpenStack (简体中文))

## 镜像

### 可用的镜像

Official Openstack images are available from most popular distributions of GNU/Linux.

Images for Arch are work in progress. http://linuximages.de/openstack/arch/ has experimental images for download.

### 自己创建镜像

OpenStack images need to meet certain requirements. An image can be prepared manually or with help from a tool.

For a tool, image-bootstrap with the `--openstack` parameter may be of help. As of 2015-06-24, resulting images are still in experimental stage.

For manual creation, the essential steps are:

- Partitioning a disk with a single ext3/4 partition.
- Installing a base system (e.g. using `pacstrap` of arch-install-scripts) to it
- Installing a boot loader (e.g. GRUB or extlinux)
- Installing and configuring cloud-init
- Adding an unpriviliged user able to run sudo without a password
- Configuring `eth0` for DHCP
  - Configuring udev to name network interfaces `eth*`
  - Configuring systemd-networkd to use DHCP on `eth0`
- Installing SSH server
- Adjusting initramfs creation and regenerating initramfs images
  - Disabling the `autodetect` hook (since autodetection works differently from a chroot)
  - Either activating hook `growfs` from mkinitcpio-growrootfsAUR or installing `growpart` from cloud-utils and have cloud-init do resizing by itself
- Making services start automatically (e.g. using `systemctl enable ...`)
- Deleting generated keys (i.e. those of the SSH server and pacman); optionally generating new ones during first boot
- Delete machine IDs (`/etc/machine-id` and `/var/lib/dbus/machine-id`) so that two systems are not mistaken for the same thing

## 参阅

- Openstack 官方网站

Category:

- Networking (简体中文)

Hidden categories:

- Pages or sections flagged with Template:Translateme (简体中文)
- Pages with broken package links
- Pages or sections flagged with Template:Expansion