Nova vCenter Hypervisor fails to create instance creation fails with PlatformConfigFault

asked 2019-01-03 19:11:41 -0500

ChristinaS gravatar image

updated 2019-01-04 10:03:28 -0500

I am doing an all in one install of OpenStack for a POC of vSphere hypervisor integration. Connectivity is working fine to vCenter, it starts to create the instance and fails. Setup is pretty straight forward: I'm sure I am just missing something. The vCenter version is 6.7.

   [root@labserver ~]# openstack --version
    openstack 3.14.2



   [root@labserver ~]# ifconfig em2
    em2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet6 fe80::266e:96ff:xxxx:xxxx  prefixlen 64  scopeid 0x20<link>
            ether 24:6e:96:xx:xx:xx  txqueuelen 1000  (Ethernet)
            RX packets 607942  bytes 740959960 (706.6 MiB)
            RX errors 0  dropped 674  overruns 0  frame 0
            TX packets 101228  bytes 30749361 (29.3 MiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
            device memory 0x91c00000-91cfffff

    [root@labserver ~]# ifconfig em2.2905
    em2.2905: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet6 fe80::266e:96ff:xxxx:xxxx  prefixlen 64  scopeid 0x20<link>
            ether 24:6e:96:xx:xx:xx  txqueuelen 1000  (Ethernet)
            RX packets 42676  bytes 379492761 (361.9 MiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 38852  bytes 8899697 (8.4 MiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Nova.conf

[root@labserver ~]# egrep -v '^#|^$' /etc/nova/nova.conf
[DEFAULT]
instance_usage_audit_period=hour
rootwrap_config=/etc/nova/rootwrap.conf
compute_driver=vmwareapi.VMwareVCDriver
allow_resize_to_same_host=True
vif_plugging_is_fatal=True
vif_plugging_timeout=300
force_raw_images=True
reserved_host_memory_mb=512
cpu_allocation_ratio=16.0
ram_allocation_ratio=1.5
instance_usage_audit=True
heal_instance_info_cache_interval=60
force_snat_range=0.0.0.0/0
metadata_host=10.26.48.142
dhcp_domain=novalocal
firewall_driver=nova.virt.firewall.NoopFirewallDriver
ssl_only=False
state_path=/var/lib/nova
report_interval=10
service_down_time=60
enabled_apis=osapi_compute,metadata
osapi_compute_listen=0.0.0.0
osapi_compute_listen_port=8774
osapi_compute_workers=24
metadata_listen=0.0.0.0
metadata_listen_port=8775
metadata_workers=24
debug=False
log_dir=/var/log/nova
transport_url=rabbit://guest:guest@10.26.48.142:5672/
volume_api_class=nova.volume.cinder.API
[api]
auth_strategy=keystone
use_forwarded_for=False
fping_path=/usr/sbin/fping
[api_database]
connection=mysql+pymysql://nova_api:PASS_MASK@10.26.48.142/nova_api
[barbican]
[conductor]
workers=24
[console]
[consoleauth]
[cors]
[crypto]
[database]
connection=mysql+pymysql://nova:PASS_MASK@10.26.48.142/nova
[devices]
[ephemeral_storage_encryption]
[filter_scheduler]
host_subset_size=1
max_io_ops_per_host=8
max_instances_per_host=50
available_filters=nova.scheduler.filters.all_filters
enabled_filters=RetryFilter,AvailabilityZoneFilter,RamFilter,DiskFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,CoreFilter
use_baremetal_filters=False
weight_classes=nova.scheduler.weights.all_weighers
[glance]
api_servers=http://10.26.48.142:9292
[guestfs]
[key_manager]
backend=nova.keymgr.conf_key_mgr.ConfKeyManager
[keystone]
[keystone_authtoken]
auth_uri=http://10.26.48.142:5000/
auth_type=password
auth_url=http://10.26.48.142:35357
username=nova
password=PASS_MASK
user_domain_name=Default
project_name=services
project_domain_name=Default
[libvirt]
vif_driver=nova.virt.libvirt.vif.LibvirtGenericVIFDriver
[matchmaker_redis]
[metrics]
[mks]
[neutron]
url=http://10.26.48.142:9696
ovs_bridge=br-int
default_floating_pool=nova
extension_sync_interval=600
service_metadata_proxy=True
metadata_proxy_shared_secret=PASS_MASK
timeout=60
auth_type=v3password
auth_url=http://10.26.48.142:35357/v3
project_name=services
project_domain_name=Default
username=neutron
user_domain_name=Default
password=PASS_MASK
region_name=RegionOne
[notifications]
notify_on_state_change=vm_and_task_state
notify_api_faults=False
[osapi_v21]
[oslo_concurrency]
lock_path=/var/lib/nova/tmp
[oslo_messaging_amqp]
[oslo_messaging_kafka]
[oslo_messaging_notifications]
driver=messagingv2
[oslo_messaging_rabbit]
ssl=False
[oslo_messaging_zmq ...
(more)
edit retag flag offensive close merge delete

Comments

OK, It looks like I am missing the Neutron vmware-nsx plugin for DVS support. it says to install the vmware-nsx plugin and configure nsx.ini . Anyone know which RPM this is referring to by chance?

ChristinaS gravatar imageChristinaS ( 2019-01-04 16:18:07 -0500 )edit

No that wasn't it, installed the driver and configured nsx.ini and restarted. Still returning the same error on the vCenter.

yum install python-networking-vmware-nsx
ChristinaS gravatar imageChristinaS ( 2019-01-04 17:10:39 -0500 )edit

error

--> Result:
--> (vim.fault.PlatformConfigFault) {
-->    faultCause = (vmodl.MethodFault) null,
-->    faultMessage = <unset>,
-->    text = "OpaqueNetworkMgr IPC disabled"
-->    msg = "An error occurred during host configuration."
ChristinaS gravatar imageChristinaS ( 2019-01-04 17:15:27 -0500 )edit

*Out of curiosity, does anyone actually integrate VMWare Hypervisors in an Openstack MH environment? or do they just install VIO ?*

ChristinaS gravatar imageChristinaS ( 2019-01-04 17:20:31 -0500 )edit