fail to boot instance to VC with VMWAREVCDriver,need help!

asked 2015-11-17 20:58:42 -0500

liu1520@openstack gravatar image

I design a simple openstack environment to manage a vcenter . detail as fallow: 1.Openstack was developed buy Fuel , one controll node and one cinder node. 2.The VCenter environment are ok,and it's vsphere 5.5. 3.I can see vcenter as a domain in openstack,and also displayed VC's CPU Memory and Storage in horizon after fuel developed,the fuel created a VMDK image in glance named as testVM, And it also displayed in horizon. Then i boot a instance use testVM.VMDK,I can see VC is creating instance,but VC delete the instance after registered the instance automatic. Then notice “No valid host was found” in horizon. I checked nova-compute.conf and nova.conf,all of configuration are correct.

error detail on horizon page as:

No valid host was found. File "/usr/lib/python2.7/dist-packages/nova/scheduler/filter_scheduler.py", line 108, in schedule_run_instance raise exception.NoValidHost(reason="")

Error log of Nova-compute.log as:

2015-11-17 23:24:11.659 1350 WARNING nova.virt.vmwareapi.driver [-] In vmwareapi:_poll_task, Got this error 'ascii' codec can't encode characters in position 0-4: ordinal not in range(128) 2015-11-18 00:04:07.103 1350 WARNING nova.virt.vmwareapi.driver [-] In vmwareapi:_poll_task, Got this error 'ascii' codec can't encode characters in position 0-4: ordinal not in range(128) 2015-11-18 00:44:12.732 1350 WARNING nova.virt.vmwareapi.driver [-] In vmwareapi:_poll_task, Got this error 'ascii' codec can't encode characters in position 0-4: ordinal not in range(128) 2015-11-18 01:20:08.420 17693 DEBUG nova.openstack.common.service [-] fatal_exception_format_errors = False log_opt_values /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941 2015-11-18 01:20:08.456 17693 DEBUG nova.openstack.common.service [-] publish_errors = False log_opt_values /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941 2015-11-18 01:20:08.605 17693 DEBUG nova.compute.manager [req-84799040-5a73-4964-b083-d70999eec7fa None] [instance: 81d60d1b-085e-4d04-86c5-d75fa84c6ee8] Instance is in error state. _init_instance /usr/lib/python2.7/dist-packages/nova/compute/manager.py:790 2015-11-18 01:20:40.487 17693 WARNING nova.virt.vmwareapi.driver [-] In vmwareapi:_poll_task, Got this error 'ascii' codec can't encode characters in position 0-4: ordinal not in range(128) 2015-11-18 01:20:40.533 17693 DEBUG nova.compute.manager [req-eba3599e-9719-44bc-8157-93b0ad37143a None] [instance: 30e7eae7-3070-48ad-9f42-b700692af42e] Clean up resource before rescheduling. _reschedule_or_error /usr/lib/python2.7/dist-packages/nova/compute/manager.py:1384 2015-11-18 01:36:58.518 17693 WARNING nova.virt.vmwareapi.driver [-] In vmwareapi:_poll_task, Got this error 'ascii' codec can't encode characters in position 0-4: ordinal not in range(128) 2015-11-18 01:36:58.561 17693 DEBUG nova.compute.manager [req-1a0ddc90-abcd-4b15-955e-c0c77e6c820a None] [instance: da84a5f2-92c6-47da-8f11-4a452f56fe3e] Clean up resource before rescheduling. _reschedule_or_error /usr/lib/python2.7/dist-packages/nova/compute/manager.py:1384 2015-11-18 02:00:07.699 17693 WARNING nova.virt.vmwareapi.driver [-] In vmwareapi:_poll_task, Got this error 'ascii' codec can't encode characters in position 0-4: ordinal not in range(128) 2015-11-18 02:15:26.376 17693 WARNING nova.virt.vmwareapi.driver [-] In vmwareapi:_poll_task, Got this ... (more)

edit retag flag offensive close merge delete

Comments

nova-compute.conf as follow: `[DEFAULT] compute_driver=vmwareapi.VMwareVCDriver

[vmware] cluster_name=YS_Cluster01 use_linked_clone=true maximum_objects=100 api_retry_count=5 host_ip=192.168.1.4 host_username=administrator@vsphere.l... host_password=1* task_poll_interval=5.0`

liu1520@openstack gravatar imageliu1520@openstack ( 2015-11-17 21:17:25 -0500 )edit