一、
https://docs.openstack.org/mitaka/zh_CN/install-guide-rdo/keystone-openrc.html (官方文档)
https://blog.51cto.com/mrdeng/2086303
https://blog.csdn.net/Kim_Weir/article/details/80463131 安装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
————————————————————————————————
二、one step: https://blog.csdn.net/u012999810/article/details/78210014
all in one :https://blog.csdn.net/songqier/article/details/78709002