Installation steps
Apt-get update apt-get upgradeapt-get install git python-pipcd /opt/git clone https://git.openstack.org/openstack-dev/devstackcd /opt/devstack./tools/ create-stack-user.sh # creating a stack user vim local.conf # Create a local.conf file [[local|localrc]]git_base=${git_base:- # trystack Source novnc_repo=${novnc_repo:- # trystack Source Database_password=passwordadmin_password=passwordservice_password=passwordservice_token=passwordrabbit_ password=passwordlogfile=/opt/stack/logs/stack.sh.logverbose=truelog_color=truescreen_logdir=/opt/stack/ logsenabled_services=rabbit,mysql,keyenable_plugin ceph https://github.com/openstack/ devstack-plugin-cephceph_loopback_disk_size=10gceph_fsid=$ (Uuidgen) glance_ceph_user=glanceglance_ceph_pool= Imagesglance_ceph_pool_pg=8glance_ceph_pool_pgp=8nova_ceph_pool=vmsnova_ceph_pool_pg=8nova_ceph_pool_pgp=8cinder_ceph_pool=volumescinder_ceph_pool_pg=8cinder_ceph_pool_pgp=8cinder_ceph_ user=cindercinder_ceph_uuid=$ (Uuidgen) Cinder_bak_ceph_pool=backupcinder_bak_ceph_pool_pg=8cinder_bakceph_pool_ Pgp=8cinder_bak_ceph_user=cinder-bakceph_replicas=${ceph_replicas:-1}remote_ceph=falseremote_ceph_admin_key_ Path=/etc/ceph/ceph.client.admin.keyringenabled_services+=,g-api,g-regenabled_services+=,cinder,c-api,c-vol, C-sch,c-bakcinder_driver=cephcinder_enabled_backends=cephenabled_services+=,n-api,n-crt,n-cpu,n-cond,n-sch, n-netdefault_instance_type=m1.microenable_service horizondisable_service n-netenable_service q-svcenable_service q-agtenable_service q-dhcpenable_service q-l3enable_service Q-metaenable_service q-meteringenable_service neutronq_plugin=ml2q_ml2_tenant_network_type= vxlanchown -r stack. /opt/devstacksu stack # switch to Stack user cd /opt/ devstack./stack.sh # InstallationRun
This article is from the "The-way-to-cloud" blog, make sure to keep this source http://iceyao.blog.51cto.com/9426658/1784213
Ubuntu 14.04-devstack + OpenStack +ceph Unified Storage