使用packstack安装pike版本的openstack
最近由于工作需要,需要调研安装pike版本的gnocchi。由于ceilometer与gnocchi版本的强相关性,所以需要部署一个同一版本的openstack环境,在同事的推荐下使用了packstack进行的部署,整个过程较为流畅简单,对于国内网络环境比使用devstack体验好很多。
[1]要求只有CentOS 7 Base和Openstack Pike Repo以及EPEL Repo和Packstack软件包。 其他软件包由Packstack自动安装和配置。(我是用的是Centos7.2)
[root@dlp ~]# yum -y install centos-release-openstack-pike epel-release
[root@dlp ~]# yum -y install openstack-packstack
[2]执行Packstack,如下命令。
[root@dlp ~]# packstack --allinone
[3] Keystone,Glance,Nova,Neutron,Swift,Cinder,Ceilometer(+ Aodh,Gnocchi)通过packstack进行安装和配置,如下所示。 但是如果你想安装Trove或Sahara等其他组件,可以使用packstack命令指定选项。
[root@dlp ~]# source keystonerc_admin
[root@dlp ~(keystone_admin)]# openstack user list
+----------------------------------+------------+
| ID | Name |
+----------------------------------+------------+
| 15b05802627f4f42b4ae3253f5ce6730 | cinder |
| 2ac16759b27f480da9adff72188c79f3 | glance |
| 2aced06e7c984399a7cc799de9199244 | aodh |
| 3fdc02269da74e67be50c1d2f8711f3b | gnocchi |
| 70a112fdec0842979e8e9e5e9f171791 | nova |
| 866962fe0ee14c379dc6245a8ee5a707 | placement |
| a1c35ba084554dd1bca310667a82bdd2 | ceilometer |
| bce952e6b65641aa93aab872d04e7c0c | admin |
| c2082398028442a7bff898fb6745af57 | swift |
| e43f38301fed4a44ae070b6e7b0a0026 | neutron |
| fbbd1aff07fd4b48a0020bddd2c8deea | demo |
+----------------------------------+------------+ [root@dlp ~(keystone_admin)]# openstack project list
+----------------------------------+----------+
| ID | Name |
+----------------------------------+----------+
| 2bbfb410124f4454a45f012a6274eff7 | demo |
| 400487fe18a541f1a3c4c462b4ff9fa6 | admin |
| 8b051a62445f4106a17f5521cd713841 | services |
+----------------------------------+----------+ [root@dlp ~(keystone_admin)]# openstack service list
+----------------------------------+------------+--------------+
| ID | Name | Type |
+----------------------------------+------------+--------------+
| 128e1c41dae648fd84266be576ab6b8e | aodh | alarming |
| 1549860212bd444eb96ebe3399e1af05 | cinderv2 | volumev2 |
| 5144ecf07843499aa76a1c5bdeafcfa2 | nova | compute |
| 5670a37cdd7e48c4b77b744082dfd5cd | cinder | volume |
| 7963a27f90de40ed900bcff7f0771ab9 | swift | object-store |
| 9aa244907a4e428b8a8c996e086a518f | placement | placement |
| a967ff55c55143439e899cbd0530af6b | neutron | network |
| c06cc37f779a4163b147fca99ec3cc33 | keystone | identity |
| c8a39eec1cac44719bbb15b883d62735 | glance | image |
| d8871026f6cc4c00b25bcfcf6ae05064 | ceilometer | metering |
| f2b5cd4ee2344f389e6eb1e9a8fbccfc | gnocchi | metric |
| fccbbd2dbf3141acbe8a2291df1b67a1 | cinderv3 | volumev3 |
+----------------------------------+------------+--------------+ [root@dlp ~(keystone_admin)]# openstack catalog list
+------------+--------------+----------------------------------------------------------------------------+
| Name | Type | Endpoints |
+------------+--------------+----------------------------------------------------------------------------+
| aodh | alarming | RegionOne |
| | | internal: http://10.0.0.40:8042 |
| | | RegionOne |
| | | public: http://10.0.0.40:8042 |
| | | RegionOne |
| | | admin: http://10.0.0.40:8042 |
| | | |
| cinderv2 | volumev2 | RegionOne |
| | | internal: http://10.0.0.40:8776/v2/400487fe18a541f1a3c4c462b4ff9fa6 |
| | | RegionOne |
| | | admin: http://10.0.0.40:8776/v2/400487fe18a541f1a3c4c462b4ff9fa6 |
| | | RegionOne |
| | | public: http://10.0.0.40:8776/v2/400487fe18a541f1a3c4c462b4ff9fa6 |
| | | |
| nova | compute | RegionOne |
| | | admin: http://10.0.0.40:8774/v2.1/400487fe18a541f1a3c4c462b4ff9fa6 |
| | | RegionOne |
| | | internal: http://10.0.0.40:8774/v2.1/400487fe18a541f1a3c4c462b4ff9fa6 |
| | | RegionOne |
| | | public: http://10.0.0.40:8774/v2.1/400487fe18a541f1a3c4c462b4ff9fa6 |
| | | |
| cinder | volume | RegionOne |
| | | internal: http://10.0.0.40:8776/v1/400487fe18a541f1a3c4c462b4ff9fa6 |
| | | RegionOne |
| | | public: http://10.0.0.40:8776/v1/400487fe18a541f1a3c4c462b4ff9fa6 |
| | | RegionOne |
| | | admin: http://10.0.0.40:8776/v1/400487fe18a541f1a3c4c462b4ff9fa6 |
| | | |
| swift | object-store | RegionOne |
| | | public: http://10.0.0.40:8080/v1/AUTH_400487fe18a541f1a3c4c462b4ff9fa6 |
| | | RegionOne |
| | | admin: http://10.0.0.40:8080/v1/AUTH_400487fe18a541f1a3c4c462b4ff9fa6 |
| | | RegionOne |
| | | internal: http://10.0.0.40:8080/v1/AUTH_400487fe18a541f1a3c4c462b4ff9fa6 |
| | | |
| placement | placement | RegionOne |
| | | public: http://10.0.0.40:8778/placement |
| | | RegionOne |
| | | admin: http://10.0.0.40:8778/placement |
| | | RegionOne |
| | | internal: http://10.0.0.40:8778/placement |
| | | |
| neutron | network | RegionOne |
| | | public: http://10.0.0.40:9696 |
| | | RegionOne |
| | | internal: http://10.0.0.40:9696 |
| | | RegionOne |
| | | admin: http://10.0.0.40:9696 |
| | | |
| keystone | identity | RegionOne |
| | | admin: http://10.0.0.40:35357/v3 |
| | | RegionOne |
| | | public: http://10.0.0.40:5000/v3 |
| | | RegionOne |
| | | internal: http://10.0.0.40:5000/v3 |
| | | |
| glance | image | RegionOne |
| | | public: http://10.0.0.40:9292 |
| | | RegionOne |
| | | internal: http://10.0.0.40:9292 |
| | | RegionOne |
| | | admin: http://10.0.0.40:9292 |
| | | |
| ceilometer | metering | RegionOne |
| | | admin: http://10.0.0.40:8777 |
| | | RegionOne |
| | | internal: http://10.0.0.40:8777 |
| | | RegionOne |
| | | public: http://10.0.0.40:8777 |
| | | |
| gnocchi | metric | RegionOne |
| | | public: http://10.0.0.40:8041 |
| | | RegionOne |
| | | internal: http://10.0.0.40:8041 |
| | | RegionOne |
| | | admin: http://10.0.0.40:8041 |
| | | |
| cinderv3 | volumev3 | RegionOne |
| | | public: http://10.0.0.40:8776/v3/400487fe18a541f1a3c4c462b4ff9fa6 |
| | | RegionOne |
| | | internal: http://10.0.0.40:8776/v3/400487fe18a541f1a3c4c462b4ff9fa6 |
| | | RegionOne |
| | | admin: http://10.0.0.40:8776/v3/400487fe18a541f1a3c4c462b4ff9fa6 |
| | | |
+------------+--------------+----------------------------------------------------------------------------+
附上原文地址和gnocchi手动安装过程:
原文:https://www.server-world.info/en/note?os=CentOS_7&p=openstack_pike2&f=20
gnocchi手动安装:https://www.server-world.info/en/note?os=CentOS_7&p=openstack_pike3&f=1
使用packstack安装pike版本的openstack的更多相关文章
- Kolla部署Pike版本的OpenStack-allinone云平台
1 openstack 概述 openstack概述 : OpenStack是一个NASA美国国家航空航天局和Rackspace合作研发 的,以Apache许可证授权,并且是一个自由软件和开放源代码项 ...
- Devstack 安装OpenStack Pike版本(单机环境)
问题背景 最近在研究OpenStack的时候,需要对其源代码进行调试,公司服务器上部署的OpenStack环境又不能随意的进行折腾,为了研究的持续性和方便性,就决定再自己的虚拟机上面使用Devstac ...
- [译] OpenStack Pike 版本中的 53 个新功能盘点
原文:https://www.mirantis.com/blog/53-things-to-look-for-in-openstack-pike/ 作者:Mirantis Nick Chase 发 ...
- openstack安装newton版本keyston部署(一)
一.部署环境: 两台centos7, 内存2G 控制计算节点: Hostname1: ip:172.22.0.218 计算节点及存储节点 Hostnam ...
- packstack安装ironic
KVM Centos7.3虚机 安装openstack Pike版本, 其它版本安装方法类似. packstack目前对NetworkManager 还不支持,我们修改下配置: systemctl d ...
- opendaylight-O版本与openstack集成
feature:list list (Lists all existing features available from the defined repositories) feature:list ...
- 20190726_安装CentOS7minimal版本后需要做的优化和配置
20190726_安装CentOS7minimal版本后需要做的优化和配置 CentOS系统镜像下载地址:https://www.centos.org/ CentOS的Minimal(最小化安装版本) ...
- 安装rocky版本:openstack-nova-compute.service 计算节点服务无法启动
问题描述:进行openstack的rocky版本的安装时,计算节点安装openstack-nova-compute找不到包. 解决办法:本次实验我安装的rocky版本的openstack 先安装cen ...
- 如何为eclipse安装合适版本的python插件pydev
pydev是一款优秀的Eclipse插件,大多数喜欢在eclipse开发软件的程序员(也许是java程序员)在开发python软件时希望继续使用eclipse,那么pydev是非常理想的选择. 1.安 ...
随机推荐
- JavaScript(3)---事件冒泡、事件捕获
JavaScript(3)---事件冒泡与事件捕获 一.理解冒泡与捕获 假设有这么一段代码 <body> <div><p>标签</p> </div ...
- 【转】WdatePicker日历控件使用方法
转 自: https://www.cnblogs.com/yuhanzhong/archive/2011/08/10/2133276.html WdatePicke官 ...
- ffmpeg 学习:002-代码架构
前言 使用 ffmpeg 库时,最好先理解好ffmpeg的代码结构图. 下面这张图表明了FFmpeg在解码一个视频的时候的函数调用流程,为了保证结构清晰,其中仅列出了最关键的函数,剔除了其它不是特别重 ...
- Largest Beautiful Number CodeForces - 946E (贪心)
题意:给定一个长度为偶数的数,输出小于它的最大的美丽数.如果一个数长度为偶数,且没有前导零,并存在一种排列是回文数的数为美丽数.给定的t个数长度总和不超过200000. 分析: 1.存在一种排列为回文 ...
- REVISITING FINE-TUNING FOR FEW-SHOT LEARNING
https://arxiv.org/pdf/1910.00216.pdf 明天看
- vs2010编译C++ 友元函数
// CTest.cpp : 定义控制台应用程序的入口点. // #include "stdafx.h" #include <iostream> #include &l ...
- 第1节 IMPALA:10、基本查询语法;11、数据加载的4种方式
9.3. 创建数据库表 创建student表 CREATE TABLE IF NOT EXISTS mydb1.student (name STRING, age INT, contact INT ) ...
- Arch系统软件列表
1. 安装统计 2. 安装列表 3. 安装说明 4. 作为依赖项的安装列表 5. 更正 mangaro使用减的方式安装系统.开箱即用的豪华版本,大部分人需要的都有了,同样包括个别用户不需要的,配置方面 ...
- PreparedStatement 和 Statement 的区别(推荐使用PreparedStatement)
PreparedStatement与Statement在使用时的区别: 1.Statement: String sql=" "; executeUpdate(sql) 2. Pre ...
- 007.Delphi插件之QPlugins,插件的卸载和重新加载
效果图如下,可以反复卸载和重新加载.QPlugins这个插件,还没弄明白,摸索着跟着DEMO写 主窗口代码如下 unit Frm_Main; interface uses Winapi.Windows ...