vcenter对接openstacknova-compute服务报错,日志如下:
nova.conf的配置文件:
[DEFAULT]
notify_api_faults=False
state_path=/var/lib/nova
report_interval=10
enabled_apis=osapi_compute,metadata
osapi_compute_listen=0.0.0.0
osapi_compute_listen_port=8774
osapi_compute_workers=1
metadata_listen=0.0.0.0
metadata_listen_port=8775
metadata_workers=1
compute_manager=nova.compute.manager.ComputeManager
network_manager=nova.network.manager.FlatDHCPManager
service_down_time=60
rootwrap_config=/etc/nova/rootwrap.conf
volume_api_class=nova.volume.cinder.API
auth_strategy=keystone
use_forwarded_for=False
fping_path=/usr/sbin/fping
heal_instance_info_cache_interval=60
reserved_host_memory_mb=512
cpu_allocation_ratio=16.0
ram_allocation_ratio=1.5
allow_resize_to_same_host=False
scheduler_default_filters=RetryFilter,AvailabilityZoneFilter,RamFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,CoreFilter
scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
compute_driver=vmwareapi.VMwareVCDriver
force_raw_images=True
api_paste_config=api-paste.ini
default_floating_pool=nova
auto_assign_floating_ip=False
dhcpbridge_flagfile=/etc/nova/nova.conf
public_interface=eth0
dhcpbridge=/usr/bin/nova-dhcpbridge
send_arp_for_ha=True
metadata_host=172.16.12.21
flat_network_bridge=br100
flat_injected=False
flat_interface=dummy
force_dhcp_release=False
dhcp_domain=novalocal
multi_host=False
debug=False
verbose=True
log_dir=/var/log/nova
rpc_backend=rabbit
image_service=nova.image.glance.GlanceImageService
notification_topics=notifications
osapi_volume_listen=0.0.0.0
floating_range=10.3.4.0/24
novncproxy_host=0.0.0.0
novncproxy_port=6080
fixed_range=172.16.1.0/24
[api_database]
connection=mysql+pymysql://nova_api:0498fff2b36d4b15@172.16.12.21/nova_api
[barbican]
[cache]
[cells]
[cinder]
catalog_info=volumev2:cinderv2:publicURL
[conductor]
use_local=False
[cors]
[cors.subdomain]
[database]
connection=mysql+pymysql://nova:0498fff2b36d4b15@172.16.12.21/nova
[ephemeral_storage_encryption]
[glance]
api_servers=172.16.12.21:9292
[guestfs]
[hyperv]
[image_file_url]
[ironic]
[keymgr]
[keystone_authtoken]
auth_uri=http://172.16.12.21:5000/v2.0
insecure=True
admin_password=0478b0f1ee0f4e78
admin_user=nova
admin_tenant_name=services
identity_uri=http://172.16.12.21:35357
[libvirt]
virt_type=qemu
inject_password=False
inject_key=False
inject_partition=-1
live_migration_uri=qemu+tcp://nova@%s/system
cpu_mode=none
[matchmaker_redis]
[metrics]
[neutron]
service_metadata_proxy=False
[osapi_v21]
[oslo_concurrency]
lock_path=/var/lib/nova/tmp
[oslo_messaging_amqp]
[oslo_messaging_notifications]
[oslo_messaging_rabbit]
amqp_durable_queues=False
kombu_reconnect_delay=1.0
rabbit_host=172.16.12.21
rabbit_port=5672
rabbit_hosts=172.16.12.21:5672
rabbit_use_ssl=False
rabbit_userid=guest
rabbit_password=guest
rabbit_virtual_host=/
rabbit_ha_queues=False
heartbeat_timeout_threshold=0
heartbeat_rate=2
[oslo_middleware]
[oslo_policy]
[rdp]
[serial_console]
[spice]
[ssl]
[trusted_computing]
[upgrade_levels]
[vmware]
host_ip=172.16.12.71
host_username=administrator@vsphere.local
host_password=Gbc1314!
cluster_name=openstack
datastore_regex=datastore1
vlan_interface=vmnic0
[vnc]
enabled=True
keymap=en-us
vncserver_listen=0.0.0.0
vncserver_proxyclient_address=openstack_vcenter
novncproxy_base_url=http://172.16.12.21:6080/vnc_auto.html
[workarounds]
[xenserver]
[osapi_v3]
enabled=False
[VMWARE]
task_poll_interval=5.0
use_linked_clone=True
host_ip=172.16.12.71
host_password=Gbc1314!
host_username=administrator@vsphere.local
api_retry_count=5
cluster_name=openstack
maximum_objects=100
|