环境:
OS: RHEL6.5
OpenStack: Icehouse
Controller: KVM
Compute: Vcenter 5.5
参考文档:
https://wiki.openstack.org/wiki/VMware-vSphere-support
https://wiki.openstack.org/wiki/NovaVMware/DeveloperGuide
http://docs.openstack.org/trunk/config-reference/content/vmware.html#VMWare_networking
1. 安装vcenter以及下载
vsphere SDK 5.5
http://www.vmware.com/support/developer/vc-sdk/wssdk_5_5_releasenotes.html
https://my.vmware.com/cn/web/vmware/details?downloadGroup=WEBSDK550&productId=353
vsphere 5.5 documents
http://pubs.vmware.com/vsphere-55/index.jsp?topic=%2Fcom.vmware.wssdk.pg.doc%2FPG_Preface.html
vmware product download
https://communities.vmware.com/community/vmtn/developer/downloads
2. 安装OpenStack(keystone/glance/nova/neutron)
推荐devstack/packstack
[root@xianghui-10-9-1-141 ~]# keystone service-list
+----------------------------------+------------+----------------+------------------------------+
| id | name | type | description |
+----------------------------------+------------+----------------+------------------------------+
| 8e9e6a50b26b42e49d8060f4da9611b0 | ceilometer | metering | OpenStack Ceilometer service |
| 48de54344f004595a9123a296076288f | cinder | volume | Cinder Service |
| ce49fbd7917d4efda09a0f181af895e0 | glance | image | Glance Image Service |
| 107258af226f4ed9a6a014eea28b7836 | heat | orchestration | Heat API |
| 324937dab6064b0eae5032a9f26be32b | heat-cfn | cloudformation | Heat CloudFormation API |
| 097e2bd5b0b94f85aa40bf70a0420cb1 | keystone | identity | Keystone Identity Service |
| 78040099207c4a0a9b1697017ec643e7 | neutron | network | OpenStack Networking service |
| dcdb941cb9b84a26b7052fd125de85ab | nova | compute | Nova Compute Service |
| 5f40d29454ab43c68fb95a5f74364d7f | swift | object-store | Object Storage Service |
+----------------------------------+------------+----------------+------------------------------+
3. 下载vmware flat type vmdk 镜像
[root@xianghui-10-9-1-141 ~]# wget http://partnerweb.vmware.com/programs/vmdkimage/trend-tinyvm1-flat.vmdk
[root@xianghui-10-9-1-141 ~]# glance image-create --name trend-thin --is-public=True --container-format=bare --disk-format=vmdk --property vmware_disktype="thin" --property vmware_adaptertype="ide" < trend-tinyvm1-flat.vmdk
+-------------------------------+--------------------------------------+
| Property | Value |
+-------------------------------+--------------------------------------+
| Property 'vmware_adaptertype' | ide |
| Property 'vmware_disktype' | thin |
| checksum | 10477e5a7c756f77974d5dfec2a7afa1 |
| container_format | bare |
| created_at | 2013-11-18T03:11:04 |
| deleted | False |
| deleted_at | None |
| disk_format | vmdk |
| id | 2c1b230e-c338-4572-8f1b-183ef38231b9 |
| is_public | True |
| min_disk | 0 |
| min_ram | 0 |
| name | trend-thin |
| owner | adc4e7a4effa44ffa3c6e48dd5a8555a |
| protected | False |
| size | 268435456 |
| status | active |
| updated_at | 2013-11-18T03:11:05 |
+-------------------------------+--------------------------------------+