Openstack juno and vmware images error
I'm trying to use openstack juno with vmware integration but I have problems when I try to import and glance images.
I used the following software:
- For openstack juno installation I used the software Openstack Juno Mirantis 6.0.
- For VMWare installation I used vCenter 5.0 and ESXi 5.0.
Mirantis openstack installation provides a cirros image called TestVM. I think that the installation of vcenter and openstack is correct because I can create instances of different flavor using TestVM image.
[root@node-39 ~]# glance image-show TestVM
+-------------------------------+-------------------------------------------------+
| Property | Value |
+-------------------------------+-------------------------------------------------+
| Property 'hypervisor_type' | vmware |
| Property 'murano_image_info' | {"title": "Murano Demo", "type": "cirros.demo"} |
| Property 'vmware_adaptertype' | lsilogic |
| Property 'vmware_disktype' | sparse |
| checksum | 55cb970e727c382e06cdd0976e9c7a73 |
| container_format | bare |
| created_at | 2015-01-09T19:59:50 |
| deleted | False |
| disk_format | vmdk |
| id | ce90ba99-1095-4977-ad32-71580b4be207 |
| is_public | True |
| min_disk | 0 |
| min_ram | 64 |
| name | TestVM |
| owner | 37fa82a9ff644564b3fdfc3b5d8a4357 |
| protected | False |
| size | 19791872 |
| status | active |
| updated_at | 2015-01-09T19:59:51 |
+-------------------------------+-------------------------------------------------+
I have problem when I try to launch an instance using any other image. For example I created a cirros image using qemu-img following the guide http://docs.openstack.org/juno/config-reference/content/vmware.html#VMware_images (http://docs.openstack.org/juno/config...) and a centos image downloaded by http://dev.centos.org/centos/hyper-v/CentOS-6.4-x86_64-Minimal-VMware.image.vmdk.bz2 (http://dev.centos.org/centos/hyper-v/...) but when i launch the instance with these images they remain in spawning state.
The nova-compute configuration file is http://pastebin.com/zkk1PQQ1
The nova.conf configuration file is http://pastebin.com/0Nv5Xwda
I obtain the following error in compute.log:
2015-01-14 12:43:46.267 3319 ERROR oslo.vmware.api [-] Task: (returnval){
value = "session[52029b61-29f5-26b4-6d0f-ef2078885fa2]5255558e-7fe0-3594-982b-d6be9ac40db8"
_type = "Task"
} failed with error: File [datastore2] 172.20.1.1_base/9bbcb88d-6ae8-4d8d-9f35-ec8712289869 was not found.
2015-01-14 12:43:46.267 3319 ERROR oslo.vmware.common.loopingcall [-] in fixed duration looping call
2015-01-14 12:43:46.267 3319 TRACE oslo.vmware.common.loopingcall Traceback (most recent call last):
2015-01-14 12:43:46.267 3319 TRACE oslo.vmware.common.loopingcall File "/usr/lib/python2.6/site-packages/oslo/vmware/common/loopingcall.py", line 76, in _inner
2015-01-14 12:43:46.267 3319 TRACE oslo.vmware.common.loopingcall self.f(*self.args, **self.kw)
2015-01-14 12:43:46.267 3319 TRACE oslo.vmware.common.loopingcall File "/usr/lib/python2.6/site-packages/oslo/vmware/api.py", line 419, in _poll_task
2015-01-14 12:43:46.267 3319 TRACE oslo.vmware.common.loopingcall raise task_ex
2015-01-14 12:43:46.267 3319 TRACE oslo.vmware.common.loopingcall FileNotFoundException: File [datastore2] 172.20.1.1_base/9bbcb88d-6ae8-4d8d-9f35-ec8712289869 was not found
9bbcb88d-6ae8-4d8d-9f35-ec8712289869 is the glance id of the my image and I can see that a directory 172.20.1.1_base/9bbcb88d-6ae8-4d8d-9f35-ec8712289869 hasn't been created in VMFS datastore "datastore2".
Here there is the log of nova-compute http://pastebin.com/4abhQ1dF
Here there is the log of all glance services but there isn't any error http://pastebin.com/7QzjzDev
The unique difference that i found between "TestVM" image that is working and the other images is the value of the property vmware_adaptertype that is "lsilogic" for TestVM ...