diff options
author | Dan Radez <dradez@redhat.com> | 2015-12-14 14:42:51 -0500 |
---|---|---|
committer | Dan Radez <dradez@redhat.com> | 2016-01-11 19:56:03 -0500 |
commit | 95adbace2c76a337027333077a75fe920a868b20 (patch) | |
tree | 394ab68b2ce2ebd187b7bf4db4fc7c7b70889ea2 /build | |
parent | 85485bca140826c2302b5c5a789de9328c3caec8 (diff) |
enabling ceph
Change-Id: I2dc1bf7ffebb6a83face87a62a81cfb15f9a0689
Diffstat (limited to 'build')
-rwxr-xr-x | build/instack.sh | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/build/instack.sh b/build/instack.sh index f3a366a0..54f05d54 100755 --- a/build/instack.sh +++ b/build/instack.sh @@ -226,8 +226,14 @@ PACKAGES+=",openstack-nova-api,openstack-nova-cert,openstack-heat-api-cfn,openst PACKAGES+=",openstack-ceilometer-central,openstack-ceilometer-polling,openstack-ceilometer-collector," PACKAGES+=",openstack-heat-api-cloudwatch,openstack-heat-engine,openstack-heat-common,openstack-ceilometer-notification" PACKAGES+=",hiera,puppet,memcached,keepalived,mariadb,mariadb-server,rabbitmq-server,python-pbr,python-proliantutils" - -LIBGUESTFS_BACKEND=direct virt-customize --install $PACKAGES -a instack.qcow2 +PACKAGES+=",ceph-common" + +# install the packages above and enabling ceph to live on the controller +LIBGUESTFS_BACKEND=direct virt-customize --install $PACKAGES \ + --run-command "sed -i '/ControllerEnableCephStorage/c\\ ControllerEnableCephStorage: true' /usr/share/openstack-tripleo-heat-templates/environments/storage-environment.yaml" \ + --run-command "sed -i '/ \$enable_ceph = /c\\ \$enable_ceph = true' /usr/share/openstack-tripleo-heat-templates/puppet/manifests/overcloud_controller_pacemaker.pp" \ + --run-command "sed -i '/ \$enable_ceph = /c\\ \$enable_ceph = true' /usr/share/openstack-tripleo-heat-templates/puppet/manifests/overcloud_controller.pp" \ + -a instack.qcow2 popd @@ -238,8 +244,10 @@ cp overcloud-full.qcow2 overcloud-full-odl.qcow2 # remove unnecessary packages and install necessary packages LIBGUESTFS_BACKEND=direct virt-customize --run-command "yum remove -y openstack-neutron-openvswitch" \ + --install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \ --upload /etc/yum.repos.d/opendaylight.repo:/etc/yum.repos.d/opendaylight.repo \ - --install opendaylight,python-networking-odl -a overcloud-full-odl.qcow2 + --install opendaylight,python-networking-odl,ceph \ + -a overcloud-full-odl.qcow2 ## WORK AROUND ## when OpenDaylight lands in upstream RDO manager this can be removed |