Openstack+Ceph 安装及配置-05.2-Openstack-Yoga Nova-Compute安装-计算节点

Openstack Victoria版本Nova-Compute安装-计算节点

安装服务

yum install openstack-nova-compute -y

配置nova.conf

[root@node-2 ~]# cat /etc/nova/nova.conf

[DEFAULT]
enabled_apis = osapi_compute,metadata
transport_url = rabbit://openstack:RabbitMQ123@node-1:5672/
my_ip=172.16.1.83
[api]
auth_strategy = keystone
[api_database]
[barbican]
[cache]
[cinder]
[compute]
[conductor]
[console]
[consoleauth]
[cors]
[cyborg]
[database]
[devices]
[ephemeral_storage_encryption]
[filter_scheduler]
[glance]
api_servers http://node-1:9292
[guestfs]
[healthcheck]
[hyperv]
[image_cache]
[ironic]
[key_manager]
[keystone]
[keystone_authtoken]
www_authenticate_uri = http://node-1:5000/
auth_url = http://node-1:5000/
memcached_servers = node-1:11211
auth_type = password
project_domain_name = Default
user_domain_name = Default
project_name = service
username = nova
password = NovaCompute123
[libvirt]
[metrics]
[mks]
[neutron]
[notifications]
[oslo_concurrency]
lock_path = /var/lib/nova/tmp
[oslo_messaging_amqp]
[oslo_messaging_kafka]
[oslo_messaging_notifications]
[oslo_messaging_rabbit]
[oslo_middleware]
[oslo_policy]
[pci]
[placement]
region_name = RegionOne
project_domain_name = Default
project_name = service
auth_type = password
user_domain_name = Default
auth_url = http://node-1:5000/v3
username = placement
password = Placement123
[powervm]
[privsep]
[profiler]
[quota]
[rdp]
[remote_debug]
[scheduler]
[serial_console]
[service_user]
[spice]
[upgrade_levels]
[vault]
[vendordata_dynamic_auth]
[vmware]
[vnc]
enabled = true
server_listen = 0.0.0.0
server_proxyclient_address = $my_ip
novncproxy_base_url = http://172.16.1.81:6080/vnc_auto.html
[workarounds]
[wsgi]
[zvm]

 

配置启动

systemctl start libvirtd openstack-nova-compute && systemctl enable libvirtd openstack-nova-compute
systemctl status libvirtd.service openstack-nova-compute.service

 

posted @ 2023-02-20 17:19  苦逼挨踢男  阅读(50)  评论(0编辑  收藏  举报