使用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.安 ...
随机推荐
- Day1-D-CF-1144C
简述:给你一个数组,判断是否能拆分成2个数组,一个递增一个递减,若不行输出No,可以就Yes并分别输出 思路:统计每个数出现的次数,若有大于2的肯定无法组成严格单调,这样就只需要将出现两次的组成递,剩 ...
- angularJS 获取数据及 排序
- 【转置】使用mysql转置表格行和列
1.原始表 2.查询结果表 3.查询语句 1 SELECT 2 year1, 3 SUM( CASE WHEN mon= 1 THEN account END ) AS m1, 4 SUM( CASE ...
- 使用nginx做反向代理来访问tomcat服务器
本次记录的是使用nginx来做一个反向代理来访问tomcat服务器.简单的来说就是使用nginx做为一个中间件,来分发客户端的请求,将这些请求分发到对应的合适的服务器上来完成请求及响应. 第一步:安装 ...
- BlackArch-Tools
BlackArch-Tools 简介 安装在ArchLinux之上添加存储库从blackarch存储库安装工具替代安装方法BlackArch Linux Complete Tools List 简介 ...
- 冰蝎动态二进制加密WebShell特征分析
概述 冰蝎一款新型加密网站管理客户端,在实际的渗透测试过程中有非常不错的效果,能绕过目前市场上的大部分WAF.探针设备.本文将通过在虚拟环境中使用冰蝎,通过wireshark抓取冰蝎通信流量,结合平时 ...
- 1、MYSQL 数据库的安装与配置
安装 1.打开官网https://www.mysql.com,选择社区版本 2.如图点击下在安装(本人在下载过程中亲身感觉下载时间非常漫长,需要等待,不知道为啥会有限速,可以参考网上教程用迅雷进行 ...
- 微信小程序是什么
官方的开发文档 微信小程序写的不多,随便写写 创建项目,分析工具 微信小程序有专门的编辑工具,去官网下载 然后申请一个小程序项目,获得一个appId,然后进入编辑工具就可以直接开发了 编辑工具可以设置 ...
- 039、Java中逻辑运算之普通与运算“&”
01.代码如下: package TIANPAN; /** * 此处为文档注释 * * @author 田攀 微信382477247 */ public class TestDemo { public ...
- 3-安装RabbitMQ
1. 安装erlang 1.1 下载erlang http://www.erlang.org/downloads/20.1 yum -y install make ncurses-devel gcc ...