首页 > 其他分享 >openstack

openstack

时间:2023-06-30 23:39:08浏览次数:29  
标签:http name auth controller rabbitmq openstack

一、  

https://docs.openstack.org/mitaka/zh_CN/install-guide-rdo/keystone-openrc.html          (官方文档)

安装rabbitmq需要注意使用以下方法

(1)安装rabbitmq:
yum install rabbitmq-server -y
启动服务:
systemctl enable rabbitmq-server.service
systemctl start rabbitmq-server.service
创建用户和授权:
rabbitmqctl add_user openstack openstack
rabbitmqctl set_permissions openstack "." "." ".*"
将openstack加入administrator组 要不然web界面无法登陆
rabbitmqctl set_user_tags openstack administrator
启动web界面插件:
rabbitmq-plugins enable rabbitmq_management
重启rabbitmq
systemctl restart rabbitmq-server

web界面登陆测试:
http://192.168.147.50:15672 使用openstack登陆即可

 (2)注意memcache

OPTIONS="-l 127.0.0.1,::1,controller"

(3)注意在compute节点配置的时候用到的rabbitmq密码,

如果不对,就先通过网页用用户openstack登陆,然后修改密码,改成123456(日了,这块儿修改了两天)

nova.conf配置文件如下

 

[DEFAULT]

 

enabled_apis = osapi_compute,metadata
transport_url = rabbit://openstack:123456@controller
my_ip = 192.168.182.138
virt_type = qemu
use_neutron = True
firewall_driver = nova.virt.firewall.NoopFirewallDriver
[api]
auth_strategy = keystone
[keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = nova
password = 123456
[vnc]
enabled = True
server_listen = 0.0.0.0
server_proxyclient_address = $my_ip
novncproxy_base_url = http://controller:6080/vnc_auto.html
[glance]
api_servers = http://controller:9292
[oslo_concurrency]
lock_path = /var/lib/nova/tmp
[placement]
os_region_name = RegionOne
project_domain_name = Default
project_name = service
auth_type = password
user_domain_name = Default
auth_url = http://controller:35357/v3
username = placement
password = 123456


标签:http,name,auth,controller,rabbitmq,openstack
From: https://blog.51cto.com/u_3369545/6595567

相关文章

  • HA-OpenStackYoga
    1.环境准备1.1服务器准备主机名IPhaproxy01172.21.48.10haproxy02172.21.48.11controller01172.21.48.12controller02172.21.48.13compute01172.21.48.14vip172.21.48.1001.2配置hosts解析所有节点cat>>/etc/hosts<<EOF172.21.4......
  • 使用Ansible OpenStack SDK创建OpenStack云主机
    安装OpenStackSDKpipinstallopenstacksdk安装Ansiblepipinstallansible创建一个Ansibleplaybook文件,例如create_instance.yml,并添加以下内容:----hosts:localhostgather_facts:notasks:-name:Createaninstanceos_server:state:p......
  • 使用Ansible OpenStack SDK获取OpenStack的云主机列表
    1、使用Ansible的os_server_info模块可以获取OpenStack中所有云主机的列表。在使用该模块之前,需要确保已经安装了OpenStackSDK。以下是使用os_server_info模块获取所有云主机列表的示例AnsiblePlaybook:-name:Getlistofallservershosts:localhostgather......
  • openstack queen版本的安装案例
    一.基本环境描述操作系统采用ubutun16.04,系统最少8G内存,80G硬盘,控制节点和网络节点部署在同一个host,计算和控制节点采用双网卡。参考install.guide手册的第二种网络模型。Blockstorage和objectstorage不做部署。拓扑图中的地址要根据实际的环境进行相应的替换。provider网络部......
  • Openstack4j best practice-Multi Thread Token Sharing
    Openstack4jMulti-threadTokenSharingAuthor:slankkaCountry/Region:ChinaMainlandLanguagesskills:EnglishbutnotwellKeywordsCloudVirtualMachinePaasOpenstackMulti-threadingBackgroundWearebuildingaVirtualMachinePlatformasPaas,th......
  • openstack的用户(user), 租户(tenant), 角色(role)概念区分
     用户身份管理有三个主要的概念:用户Users租户Tenants角色Roles1.定义这三个概念的openstack官网定义(点击打开链接)1.1用户(User)openstack官网定义User为“InOpenStackIdentity,entitiesrepresentindividualAPIconsumersandareownedbyaspecificdomain.InOp......
  • openstack部署2
     检查服务,查看dashboard页面有哪些功能检查服务状态检查计算节点,控制节点服务是up状态 检查网络节点是True的状态。这里的每个计算节点,都是一个neutron的客户端。查看dashboard每个页面的情况             ......
  • G034-OP-COA-OPEN-04 OpenStack 发放云主机(图形化)
    1您需要了解本篇采用OpenStack图形化界面进行操作模拟弹性公网EIP地址段规划:采用和控制节点、计算节点同一网段即可,如:192.168.100.0/24模拟云主机私网IP地址段规划:自定义网段,如:192.168.88.0/24RedHatOpenStack环境可参考下方G033博文进行搭建文章中所提到的公网......
  • kolla超融合OpenStack
    1.环境准备主机名IP内存CPUhci-cloud0110.10.10.60,20.20.20.60,30.30.30.6032G12核hci-cloud0210.10.10.61,20.20.20.61,30.30.30.6132G12核hci-cloud0310.10.10.62,20.20.20.62,30.30.30.6232G12核每台机器磁盘最少需要3块裸盘做ceph1.1环境需求......
  • 本地修改OpenStack虚机RBD块
    本地修改OpenStack虚机RBD块机RBD块PostedbyfishcriedonMarch9,2016有台名为nginx的vm出现了些怪异的行为,想把根磁盘导出来挂载在本地看看到底是怎么回事.如果nova使用的是本地存储,vmdisk会存在相应compute节点的/var/lib/nova/instance/xxxx/disk中,直接使用mount命......