DevStack是一系列可扩展的脚本,用于根据git master的最新版本快速启动完整的OpenStack环境。它以交互方式用作开发环境,并作为OpenStack项目功能测试的基础。

  参考源码

警告:DevStack will make substantial changes to your system during installation. Only run DevStack on servers or virtual machines that are dedicated to this purpose.

一、支持环境

支持系统 支持版本
Ubuntu 16.04/17.04
Fedora   24/25
CentOS/RHEL 7
Debian   
OpenSUSE  

官方建议Ubuntu 16.04系统。

二、安装准备

Devstack应该作为一个非root用户运行,并且启用sudo权限。。

1. 添加stack用户

$ sudo useradd -s /bin/bash -d /opt/stack -m stack

2. 更改用户权限

由于此用户将对系统进行许多更改,因此应具有sudo权限:

$ echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack
$ sudo su - stack

三、下载安装DevStack

1. 下载安装仓库

devstack 仓库包含一个安装OpenStack的脚本和配置文件的模板

$ git clone https://git.openstack.org/openstack-dev/devstack
$ cd devstack

2. 新建/修改配置文件

创建配置文件local.conf并写入4个密码预设:

[[local|localrc]]
ADMIN_PASSWORD=secret
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD

这是开始使用DevStack所需的最低配置。

3. 开始安装

./stack.sh

这将需要15 - 20分钟,主要取决于您的互联网连接的速度。在此过程中将安装许多仓库树和包。单机(2核4G)实际测试安装近两个小时,所以大家可以启动后台进程安装:

nohup ./stack.sh &

查看安装日志位置:

/opt/stack/logs

后台进程安装时,查看安装shell输出记录:

/opt/stack/devstack/nohup.out

四、说明

1. DevStack将会安装 keystoneglancenovacinderneutronhorizon组件;当然,浮动IP也可以使用。

2. 您可以访问horizon以体验OpenStack的Web界面,并从中管理vms,网络,卷和图像。

3. 您可以在shell中输入以下命令 ,然后使用openstack命令行工具来管理您的devstack

source openrc

4. 您可以进入以下目录, 然后运行临时测试。

cd /opt/stack/tempest

5. 您可以检查DevStack服务的状态

# 大部分devStack服务运行在系统的名称为:devstack@$servicename.service,您可以使用以下方法
sudo systemctl status "devstack@*"
 [stack@--- devstack]$ sudo systemctl status "devstack@*"
● devstack@keystone.service - Devstack devstack@keystone.service
Loaded: loaded (/etc/systemd/system/devstack@keystone.service; enabled; vendor preset: disabled)
Active: active (running) since Mon -- :: CST; 15h ago
Main PID: (uwsgi)
Status: "uWSGI is ready"
CGroup: /system.slice/system-devstack.slice/devstack@keystone.service
├─ /usr/bin/uwsgi --ini /etc/keystone/keystone-uwsgi-public.ini
├─ /usr/bin/uwsgi --ini /etc/keystone/keystone-uwsgi-public.ini
└─ /usr/bin/uwsgi --ini /etc/keystone/keystone-uwsgi-public.ini Jun :: --- devstack@keystone.service[]: [pid: |app: |req: /] 10.9.157.7 () { vars in byt...re )
Jun :: --- devstack@keystone.service[]: DEBUG keystone.middleware.auth [None req-391582e4-c995--8ed9-...}}
Jun :: --- devstack@keystone.service[]: DEBUG keystone.common.fernet_utils [None req-391582e4-c995--8ed9-...
Jun :: --- devstack@keystone.service[]: DEBUG keystone.middleware.auth [None req-909f5d93---92ae-...domai
Jun :: --- devstack@keystone.service[]: INFO keystone.common.wsgi [None req-909f5d93---92ae-97a17b...okens
Jun :: --- devstack@keystone.service[]: DEBUG keystone.common.authorization [None req-909f5d93---...}}
Jun :: --- devstack@keystone.service[]: DEBUG keystone.common.fernet_utils [None req-909f5d93---92ae-...
Jun :: --- devstack@keystone.service[]: DEBUG keystone.policy.backends.rules [None req-909f5d93---...u'ser
Jun :: --- devstack@keystone.service[]: DEBUG keystone.common.authorization [None req-909f5d93---...}}
Jun :: --- devstack@keystone.service[]: [pid: |app: |req: /] 10.9.157.7 () { vars in by...re ) ● devstack@q-svc.service - Devstack devstack@q-svc.service
Loaded: loaded (/etc/systemd/system/devstack@q-svc.service; enabled; vendor preset: disabled)
Active: active (running) since Mon -- :: CST; 15h ago
Main PID: (neutron-server)
CGroup: /system.slice/system-devstack.slice/devstack@q-svc.service
├─ /usr/bin/python /usr/bin/neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin...
├─ /usr/bin/python /usr/bin/neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin...
├─ /usr/bin/python /usr/bin/neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin...
├─ /usr/bin/python /usr/bin/neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin...
└─ /usr/bin/python /usr/bin/neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin... Jun :: --- neutron-server[]: DEBUG neutron.db.agents_db [None req-fc563d66-dc14-4c13--d0a086d3be5c No...:}}
Jun :: --- neutron-server[]: DEBUG neutron_lib.callbacks.manager [None req-54bab38b-b000-46e8--54ee66349b8b...
Jun :: --- neutron-server[]: DEBUG neutron_lib.callbacks.manager [None req-dfbbf8d1-b695-491c-b401-b8c226ef64f6...
Jun :: --- neutron-server[]: DEBUG neutron_lib.callbacks.manager [None req-023e2af5--4b22--ea414553f8d2...
Jun :: --- neutron-server[]: DEBUG neutron_lib.callbacks.manager [None req-89a6005a-5e99-42ed-88e2-6e7439ed7606...
Jun :: --- neutron-server[]: DEBUG neutron_lib.callbacks.manager [None req-3f6ced09-6ac2-4cca-a62e-4e1c3fa674c8...
Jun :: --- neutron-server[]: DEBUG neutron_lib.callbacks.manager [None req-0a5febbe-f80a-4cce-9ae1-810d0814d6c6...
Jun :: --- neutron-server[]: DEBUG neutron_lib.callbacks.manager [None req-023e2af5--4b22--ea414553f8d2...
Jun :: --- neutron-server[]: DEBUG neutron.db.agents_db [None req-fc563d66-dc14-4c13--d0a086d3be5c No...:}}
Jun :: --- neutron-server[]: DEBUG neutron_lib.callbacks.manager [None req-89a6005a-5e99-42ed-88e2-6e7439ed7606... ● devstack@q-agt.service - Devstack devstack@q-agt.service
Loaded: loaded (/etc/systemd/system/devstack@q-agt.service; enabled; vendor preset: disabled)
Active: active (running) since Mon -- :: CST; 15h ago
Main PID: (neutron-openvsw)
CGroup: /system.slice/system-devstack.slice/devstack@q-agt.service
├─ /usr/bin/python /usr/bin/neutron-openvswitch-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neu...
├─ sudo /usr/bin/neutron-rootwrap-daemon /etc/neutron/rootwrap.conf
├─ /usr/bin/python /usr/bin/neutron-rootwrap-daemon /etc/neutron/rootwrap.conf
└─ ovsdb-client monitor tcp:127.0.0.1: Interface name,ofport,external_ids --format=json Jun :: --- neutron-openvswitch-agent[]: DEBUG neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [...
Jun :: --- neutron-openvswitch-agent[]: DEBUG ovsdbapp.backend.ovs_idl.vlog [-] [POLLIN] on fd {{(pid=...}}
Jun :: --- neutron-openvswitch-agent[]: DEBUG ovsdbapp.backend.ovs_idl.vlog [-] [POLLIN] on fd {{(pid=...}}
Jun :: --- neutron-openvswitch-agent[]: DEBUG neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_ag...}}
Jun :: --- neutron-openvswitch-agent[]: DEBUG neutron.plugins.ml2.drivers.openvswitch.agent.openflow.nativ...ask=
Jun :: --- neutron-openvswitch-agent[]: DEBUG neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [...
Jun :: --- neutron-openvswitch-agent[]: DEBUG neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_ag...}}
Jun :: --- neutron-openvswitch-agent[]: DEBUG neutron.plugins.ml2.drivers.openvswitch.agent.openflow.nativ...ask=
Jun :: --- neutron-openvswitch-agent[]: DEBUG neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [...
Jun :: --- neutron-openvswitch-agent[]: DEBUG ovsdbapp.backend.ovs_idl.vlog [-] [POLLIN] on fd {{(pid=...}} ● devstack@etcd.service - Devstack devstack@etcd.service
Loaded: loaded (/etc/systemd/system/devstack@etcd.service; enabled; vendor preset: disabled)
Active: active (running) since Mon -- :: CST; 15h ago
Main PID: (etcd)
CGroup: /system.slice/system-devstack.slice/devstack@etcd.service
└─ /opt/stack/bin/etcd --name --- --data-dir /opt/stack/data/etcd --initial-cluster-state new --initial-clust... Jun :: --- etcd[]: a4fe70b684112214 received MsgVoteResp from a4fe70b684112214 at term
Jun :: --- etcd[]: a4fe70b684112214 became leader at term
Jun :: --- etcd[]: raft.node: a4fe70b684112214 elected leader a4fe70b684112214 at term
Jun :: --- etcd[]: published {Name:--- ClientURLs:[http://10.9.157.7:2379]} to cluster b034ace61d50180c
Jun :: --- etcd[]: setting up the initial cluster version to 3.1
Jun :: --- etcd[]: ready to serve client requests
Jun :: --- systemd[]: Started Devstack devstack@etcd.service.
Jun :: --- etcd[]: serving insecure client requests on 10.9.157.7:, this is strongly discouraged!
Jun :: --- etcd[]: set the initial cluster version to 3.1
Jun :: --- etcd[]: enabled capabilities for version 3.1 ● devstack@n-api.service - Devstack devstack@n-api.service
Loaded: loaded (/etc/systemd/system/devstack@n-api.service; enabled; vendor preset: disabled)
Active: active (running) since Mon -- :: CST; 15h ago
Main PID: (nova-api)
CGroup: /system.slice/system-devstack.slice/devstack@n-api.service
├─ /usr/bin/python /usr/bin/nova-api
├─ /usr/bin/python /usr/bin/nova-api
├─ /usr/bin/python /usr/bin/nova-api
├─ /usr/bin/python /usr/bin/nova-api
└─ /usr/bin/python /usr/bin/nova-api Jun :: --- nova-api[]: DEBUG oslo_service.service [None req-944db535-ccdd--855e-40d96950aa93 None No...:}}
Jun :: --- nova-api[]: DEBUG oslo_service.service [None req-944db535-ccdd--855e-40d96950aa93 None No...:}}
Jun :: --- nova-api[]: DEBUG oslo_service.service [None req-944db535-ccdd--855e-40d96950aa93 None No...:}}
Jun :: --- nova-api[]: INFO nova.metadata.wsgi.server [None req-40d26358-b219-43ba-aab6-539c764be0a9 Non....:
Jun :: --- nova-api[]: DEBUG oslo_service.service [None req-944db535-ccdd--855e-40d96950aa93 None No...:}}
Jun :: --- nova-api[]: DEBUG oslo_service.service [None req-944db535-ccdd--855e-40d96950aa93 None No...:}}
Jun :: --- nova-api[]: DEBUG oslo_service.service [None req-944db535-ccdd--855e-40d96950aa93 None No...:}}
Jun :: --- nova-api[]: DEBUG oslo_service.service [None req-944db535-ccdd--855e-40d96950aa93 None No...:}}
Jun :: --- nova-api[]: DEBUG oslo_service.service [None req-944db535-ccdd--855e-40d96950aa93 None No...:}}
Jun :: --- nova-api[]: DEBUG oslo_service.service [None req-944db535-ccdd--855e-40d96950aa93 None No...:}} ● devstack@dstat.service - Devstack devstack@dstat.service
Loaded: loaded (/etc/systemd/system/devstack@dstat.service; enabled; vendor preset: disabled)
Active: active (running) since Mon -- :: CST; 15h ago
Main PID: (dstat.sh)
CGroup: /system.slice/system-devstack.slice/devstack@dstat.service
├─ /bin/bash /opt/stack/devstack/tools/dstat.sh /opt/stack/logs
├─ /usr/bin/python /usr/bin/dstat -tcmndrylpg --tcp --output /opt/stack/logs/dstat-csv.log
└─ /usr/bin/python /usr/bin/dstat -tcmndrylpg --top-cpu-adv --top-io-adv --top-mem --swap --tcp Jun :: --- dstat.sh[]: - ::| |2878M 1320k 3582M 1361M| | ...
Jun :: --- dstat.sh[]: - ::| |2878M 1320k 3582M 1361M| 90B 90B| ...
Jun :: --- dstat.sh[]: - ::| |2878M 1320k 3582M 1361M| 118B 240B| ...
Jun :: --- dstat.sh[]: - ::| |2878M 1320k 3582M 1361M| 66B| ...
Jun :: --- dstat.sh[]: - ::| |2878M 1320k 3582M 1361M| | ...
Jun :: --- dstat.sh[]: - ::| |2878M 1320k 3582M 1361M| | ...
Jun :: --- dstat.sh[]: - ::| |2879M 1320k 3582M 1361M| 42B 90B| ...
Jun :: --- dstat.sh[]: - ::| |2878M 1320k 3582M 1361M| 42B 42B| ...
Jun :: --- dstat.sh[]: - ::| |2878M 1320k 3582M 1361M| | ...
Jun :: --- dstat.sh[]: - ::| |2878M 1320k 3582M 1361M| 274B 242B| ... ● devstack@g-reg.service - Devstack devstack@g-reg.service
Loaded: loaded (/etc/systemd/system/devstack@g-reg.service; enabled; vendor preset: disabled)
Active: active (running) since Mon -- :: CST; 15h ago
Main PID: (glance-registry)
CGroup: /system.slice/system-devstack.slice/devstack@g-reg.service
├─ /usr/bin/python /usr/bin/glance-registry --config-file=/etc/glance/glance-registry.conf
├─ /usr/bin/python /usr/bin/glance-registry --config-file=/etc/glance/glance-registry.conf
└─ /usr/bin/python /usr/bin/glance-registry --config-file=/etc/glance/glance-registry.conf Jun :: --- glance-registry[]: DEBUG glance.common.config [-] image_format.disk_formats = ['ami', 'ar...2795}}
Jun :: --- glance-registry[]: DEBUG glance.common.config [-] oslo_policy.policy_default_rule = default {{...}}
Jun :: --- glance-registry[]: DEBUG glance.common.config [-] oslo_policy.policy_dirs = ['policy.d'...}}
Jun :: --- glance-registry[]: DEBUG glance.common.config [-] oslo_policy.policy_file = policy.json...}}
Jun :: --- glance-registry[]: DEBUG glance.common.config [-] ********************************************...}}
Jun :: --- glance-registry[]: INFO glance.common.wsgi [-] Starting workers
Jun :: --- glance-registry[]: INFO eventlet.wsgi.server [-] () wsgi starting up on http://0.0.0.0:9191
Jun :: --- glance-registry[]: INFO glance.common.wsgi [-] Started child
Jun :: --- glance-registry[]: INFO eventlet.wsgi.server [-] () wsgi starting up on http://0.0.0.0:9191
Jun :: --- glance-registry[]: INFO glance.common.wsgi [-] Started child ● devstack@q-l3.service - Devstack devstack@q-l3.service
Loaded: loaded (/etc/systemd/system/devstack@q-l3.service; enabled; vendor preset: disabled)
Active: active (running) since Mon -- :: CST; 15h ago
Main PID: (neutron-l3-agen)
CGroup: /system.slice/system-devstack.slice/devstack@q-l3.service
├─ haproxy -f /opt/stack/data/neutron/ns-metadata-proxy/973cd91c-e43d-4b3b-b9b0-80201aa20c16.conf
├─ radvd -C /opt/stack/data/neutron/ra/973cd91c-e43d-4b3b-b9b0-80201aa20c16.radvd.conf -p /opt/stack/data/neutron/ex...
├─ radvd -C /opt/stack/data/neutron/ra/973cd91c-e43d-4b3b-b9b0-80201aa20c16.radvd.conf -p /opt/stack/data/neutron/ex...
├─ /usr/bin/python /usr/bin/neutron-l3-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/l3_a...
├─ sudo /usr/bin/neutron-rootwrap-daemon /etc/neutron/rootwrap.conf
└─ /usr/bin/python /usr/bin/neutron-rootwrap-daemon /etc/neutron/rootwrap.conf Jun :: --- neutron-l3-agent[]: DEBUG ovsdbapp.backend.ovs_idl.vlog [-] [POLLIN] on fd {{(pid=) __...:}}
Jun :: --- neutron-l3-agent[]: DEBUG ovsdbapp.backend.ovs_idl.vlog [-] [POLLIN] on fd {{(pid=) __...:}}
Jun :: --- neutron-l3-agent[]: DEBUG ovsdbapp.backend.ovs_idl.vlog [-] [POLLIN] on fd {{(pid=) __...:}}
Jun :: --- neutron-l3-agent[]: DEBUG oslo_service.periodic_task [None req-4eb01b82--4c2c-b5d5-804088d...:}}
Jun :: --- neutron-l3-agent[]: DEBUG ovsdbapp.backend.ovs_idl.vlog [-] [POLLIN] on fd {{(pid=) __...:}}
Jun :: --- neutron-l3-agent[]: DEBUG ovsdbapp.backend.ovs_idl.vlog [-] [POLLIN] on fd {{(pid=) __...:}}
Jun :: --- neutron-l3-agent[]: DEBUG ovsdbapp.backend.ovs_idl.vlog [-] [POLLIN] on fd {{(pid=) __...:}}
Jun :: --- neutron-l3-agent[]: DEBUG ovsdbapp.backend.ovs_idl.vlog [-] [POLLIN] on fd {{(pid=) __...:}}
Jun :: --- neutron-l3-agent[]: DEBUG ovsdbapp.backend.ovs_idl.vlog [-] [POLLIN] on fd {{(pid=) __...:}}
Jun :: --- neutron-l3-agent[]: DEBUG ovsdbapp.backend.ovs_idl.vlog [-] [POLLIN] on fd {{(pid=) __...:}} ● devstack@g-api.service - Devstack devstack@g-api.service
Loaded: loaded (/etc/systemd/system/devstack@g-api.service; enabled; vendor preset: disabled)
Active: active (running) since Mon -- :: CST; 15h ago
Main PID: (glance-api)
CGroup: /system.slice/system-devstack.slice/devstack@g-api.service
├─ /usr/bin/python /usr/bin/glance-api --config-file=/etc/glance/glance-api.conf
├─ /usr/bin/python /usr/bin/glance-api --config-file=/etc/glance/glance-api.conf
└─ /usr/bin/python /usr/bin/glance-api --config-file=/etc/glance/glance-api.conf Jun :: --- glance-api[]: DEBUG glance.api.middleware.version_negotiation [None req-5e8a342e-f228-423b-a262-d950...
Jun :: --- glance-api[]: DEBUG glance.api.middleware.version_negotiation [None req-5e8a342e-f228-423b-a26...y:}}
Jun :: --- glance-api[]: DEBUG glance.api.middleware.version_negotiation [None req-5e8a342e-f228-423b-a26...y:}}
Jun :: --- glance-api[]: DEBUG glance.api.middleware.version_negotiation [None req-5e8a342e-f228-423b-a26...y:}}
Jun :: --- glance-api[]: INFO eventlet.wsgi.server [None req-52d31219-a528-4c75-b91c-ebe3f93b1e3d admin a...
Jun :: --- glance-api[]: DEBUG glance.api.middleware.version_negotiation [None req-52d31219-a528-4c75-b91...y:}}
Jun :: --- glance-api[]: DEBUG glance.api.middleware.version_negotiation [None req-52d31219-a528-4c75-b91...y:}}
Jun :: --- glance-api[]: DEBUG glance.api.middleware.version_negotiation [None req-52d31219-a528-4c75-b91...y:}}
Jun :: --- glance-api[]: DEBUG glance.api.middleware.version_negotiation [None req-52d31219-a528-4c75-b91...y:}}
Jun :: --- glance-api[]: INFO eventlet.wsgi.server [None req-bf512ad7-e6f0-4c1e-b484-051b527816f0 admin a... ● devstack@q-dhcp.service - Devstack devstack@q-dhcp.service
Loaded: loaded (/etc/systemd/system/devstack@q-dhcp.service; enabled; vendor preset: disabled)
Active: active (running) since Mon -- :: CST; 15h ago
Main PID: (neutron-dhcp-ag)
CGroup: /system.slice/system-devstack.slice/devstack@q-dhcp.service
├─ dnsmasq --no-hosts --strict-order --except-interface=lo --pid-file=/opt/stack/data/neutron/dhcp/ca2eedb8-4aed-4a0...
├─ /usr/bin/python /usr/bin/neutron-dhcp-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/dh...
├─ sudo /usr/bin/neutron-rootwrap-daemon /etc/neutron/rootwrap.conf
└─ /usr/bin/python /usr/bin/neutron-rootwrap-daemon /etc/neutron/rootwrap.conf Jun :: --- neutron-dhcp-agent[]: DEBUG ovsdbapp.backend.ovs_idl.vlog [-] [POLLIN] on fd {{(pid=) ...:}}
Jun :: --- neutron-dhcp-agent[]: DEBUG ovsdbapp.backend.ovs_idl.vlog [-] [POLLIN] on fd {{(pid=) ...:}}
Jun :: --- neutron-dhcp-agent[]: DEBUG ovsdbapp.backend.ovs_idl.vlog [-] [POLLIN] on fd {{(pid=) ...:}}
Jun :: --- neutron-dhcp-agent[]: DEBUG ovsdbapp.backend.ovs_idl.vlog [-] [POLLIN] on fd {{(pid=) ...:}}
Jun :: --- neutron-dhcp-agent[]: DEBUG ovsdbapp.backend.ovs_idl.vlog [-] [POLLIN] on fd {{(pid=) ...:}}
Jun :: --- neutron-dhcp-agent[]: DEBUG ovsdbapp.backend.ovs_idl.vlog [-] [POLLIN] on fd {{(pid=) ...:}}
Jun :: --- neutron-dhcp-agent[]: DEBUG ovsdbapp.backend.ovs_idl.vlog [-] [POLLIN] on fd {{(pid=) ...:}}
Jun :: --- neutron-dhcp-agent[]: DEBUG ovsdbapp.backend.ovs_idl.vlog [-] [POLLIN] on fd {{(pid=) ...:}}
Jun :: --- neutron-dhcp-agent[]: DEBUG ovsdbapp.backend.ovs_idl.vlog [-] [POLLIN] on fd {{(pid=) ...:}}
Jun :: --- neutron-dhcp-agent[]: DEBUG ovsdbapp.backend.ovs_idl.vlog [-] [POLLIN] on fd {{(pid=) ...:}} ● devstack@q-meta.service - Devstack devstack@q-meta.service
Loaded: loaded (/etc/systemd/system/devstack@q-meta.service; enabled; vendor preset: disabled)
Active: active (running) since Mon -- :: CST; 15h ago
Main PID: (neutron-metadat)
CGroup: /system.slice/system-devstack.slice/devstack@q-meta.service
├─ /usr/bin/python /usr/bin/neutron-metadata-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutro...
├─ /usr/bin/python /usr/bin/neutron-metadata-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutro...
└─ /usr/bin/python /usr/bin/neutron-metadata-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutro... Jun :: --- neutron-metadata-agent[]: hmac_keys = SECRET_KEY
Jun :: --- neutron-metadata-agent[]: sentinel_service_name = mymaster
Jun :: --- neutron-metadata-agent[]: socket_timeout = 0.1
Jun :: --- neutron-metadata-agent[]: trace_sqlalchemy = False
Jun :: --- neutron-metadata-agent[]: service_providers:
Jun :: --- neutron-metadata-agent[]: service_provider =
Jun :: --- neutron-metadata-agent[]: xenapi:
Jun :: --- neutron-metadata-agent[]: connection_password = ***
Jun :: --- neutron-metadata-agent[]: connection_url = None
Jun :: --- neutron-metadata-agent[]: connection_username = None
Hint: Some lines were ellipsized, use -l to show in full.

更多服务使用方法参考 https://docs.openstack.org/developer/devstack/systemd.html

6. 如果更改了组件配置,可以使用以下命令使之生效:

# 例如更改了 /opt/stack/$service 代码后(假设服务名称为n-cpu),使用
sudo systemctl restart devstack@n-cpu.service
# 如果您的更改影响多个守护程序,您可以通过通配符重新启动。
sudo systemctl restart "devstack@n-*"

更多DevStack使用说明请参考 https://docs.openstack.org/developer/devstack/development.html

文档翻译参考:https://docs.openstack.org/developer/devstack/

使用DevStack安装openstack(单机环境)的更多相关文章

  1. 使用devstack安装openstack

    使用devstack安装openstack 环境介绍,宿主机器 Fedora release 29 (Twenty Nine) 40核心cpu,32g内存 设想, 在fedora中安装kvm,虚拟出U ...

  2. Vmware虚拟机Devstack安装openstack(All in one)

    Vmware虚拟机Devstack安装openstack(All in one) 博客园第一篇博客,先练习一下. 官方文档 环境 Vmware虚拟机 OS : Ubuntu 14.04 Nat网络,D ...

  3. devstack安装openstack newton版本

    准备使用devstack安装openstack N版,搞一套开发环境出来.一连整了4天,遇到各种问题,各种错误,一直到第4天下午4点多才算完成. 在这个过程中感觉到使用devstack搭建openst ...

  4. DevStack部署OpenStack开发环境 - 问题总结

    建议在使用DevStack搭建OpenStack开发环境前,先安装好开发工具包组.特别是gcc,主要一定是在yum update -y 之前,否则更新完系统后,在安装开发工具包会出现很多依赖包因为版本 ...

  5. ubuntu18.04系统下用devstack安装openstack(最新版)

    ubuntu18.04系统下用devstack安装openstack(最新版) 2018年12月14日 16:34:14 Cherls 阅读数:427   前期准备: 安装git,升级pip,其他 s ...

  6. Devstack 安装OpenStack Pike版本(单机环境)

    问题背景 最近在研究OpenStack的时候,需要对其源代码进行调试,公司服务器上部署的OpenStack环境又不能随意的进行折腾,为了研究的持续性和方便性,就决定再自己的虚拟机上面使用Devstac ...

  7. devstack安装openstack

    devstack是目前安装OpenStack最为方便的工具,一般用于开发和测试OpenStack.如果想在生产环境安装的话,需要对 devstack做很多定制,或者使用puppet/chef等更成熟的 ...

  8. 体验devstack安装openstack

    由于公司制度,工作环境是不能直接上网的,所以在工作时间从没有体验过devstack或者其他联网方式安装openstack. 因自己购置了一台不错的主机,因而决定尝试安装一番,经过一段为期不短的内心极度 ...

  9. ubuntu14.0.4.3 devstack 安装openstack

    参考网址: http://www.chenshake.com/install-ubuntu-14-04-devstack/ 现在装完一切正常,就是不能重启,一旦重启VM,会导致给br-ex设置的IP地 ...

随机推荐

  1. How to use NSRequest in Delphi XE4

    //Demo How to use NSRequest..procedure TiOSWebBrowserService.DoNavigate(const URL: string);var NewUR ...

  2. 【MFC】mfc控件位置调整和坐标确定 .

    摘自DoubleLi:   http://www.cnblogs.com/lidabo/archive/2012/08/24/2654678.html mfc控件位置调整和坐标确定 http://my ...

  3. PTA L3-023 计算图 (dfs+数学推导)

    “计算图”(computational graph)是现代深度学习系统的基础执行引擎,提供了一种表示任意数学表达式的方法,例如用有向无环图表示的神经网络. 图中的节点表示基本操作或输入变量,边表示节点 ...

  4. bzoj 2734 集合选数

    Written with StackEdit. Description <集合论与图论>这门课程有一道作业题,要求同学们求出\(\{1, 2, 3, 4, 5\}\)的所有满足以 下条件的 ...

  5. intellij idea 如何更改比编辑器文本字体和大小

    换上了intellij idea之后,第一件事就是想要改变下文字字体,因为在我这个27寸的2k分辨率的屏幕上,文字显然太小了. intellij idea字体设值分成两部分,一部分是UI部分字体字号设 ...

  6. 十三、python沉淀之路--文件操作

    一.文件的读操作 例1 f = open('学习',encoding='utf-8') #首先要打开文件,不然直接读,是读不出来的 data = f.read() #read后的括号里不添加任何东西 ...

  7. excel oracle字段命名(大写下划线分词)转 驼峰命名

    干货: (帕斯卡) =LEFT(C251,1)&MID(SUBSTITUTE(PROPER(C251),"_",""),2,100) (驼峰) =LOW ...

  8. Python 函数 set()

    set() 功能:       set() 函数创建一个无序不重复元素集,可进行关系测试,删除重复数据,还可以计算交集.差集.并集等. iterable -- 可迭代对象对象:返回新的集合对象. 语法 ...

  9. 第21篇 ubuntu安装ftp服务器(转载)

    ubuntu安装ftp服务器 1: 安装vsftpd ~$ sudo apt-get install vsftpd ubuntu10.10自己装了,这步省略. 2: 配置vsftpd 2.1 修改vs ...

  10. MVVM模式下 修改 store的ajax请求url。

    MVVM模式下 修改 store的ajax请求url. view.down('Pro').getViewModel().getStore('xx_store').proxy.url = "s ...