summaryrefslogtreecommitdiffstats
path: root/meta-openstack
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack')
-rw-r--r--meta-openstack/recipes-devtools/python/python-cinder/cinder.conf13
-rw-r--r--meta-openstack/recipes-devtools/python/python-cinder_git.bb11
-rw-r--r--meta-openstack/recipes-extended/packagegroups/packagegroup-cloud-controller.bb1
3 files changed, 23 insertions, 2 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-cinder/cinder.conf b/meta-openstack/recipes-devtools/python/python-cinder/cinder.conf
index 10d7d9a..fff6910 100644
--- a/meta-openstack/recipes-devtools/python/python-cinder/cinder.conf
+++ b/meta-openstack/recipes-devtools/python/python-cinder/cinder.conf
@@ -1168,6 +1168,19 @@ rabbit_port=5672
1168 1168
1169 1169
1170# 1170#
1171# Backup backend options
1172#
1173
1174backup_driver=cinder.backup.drivers.ceph
1175backup_ceph_conf=/etc/ceph/ceph.conf
1176backup_ceph_user=cinder-backup
1177backup_ceph_chunk_size=134217728
1178backup_ceph_pool=cinder-backups
1179backup_ceph_stripe_unit=0
1180backup_ceph_stripe_count=0
1181restore_discard_excess_bytes=true
1182
1183#
1171# Multi backend options 1184# Multi backend options
1172# 1185#
1173 1186
diff --git a/meta-openstack/recipes-devtools/python/python-cinder_git.bb b/meta-openstack/recipes-devtools/python/python-cinder_git.bb
index e03b54f..a06aca7 100644
--- a/meta-openstack/recipes-devtools/python/python-cinder_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-cinder_git.bb
@@ -54,6 +54,8 @@ do_install_append() {
54 install -m 0755 ${WORKDIR}/cinder-api.init.sh ${D}${sysconfdir}/init.d/cinder-api 54 install -m 0755 ${WORKDIR}/cinder-api.init.sh ${D}${sysconfdir}/init.d/cinder-api
55 sed 's:@suffix@:scheduler:' < ${WORKDIR}/cinder.init >${WORKDIR}/cinder-scheduler.init.sh 55 sed 's:@suffix@:scheduler:' < ${WORKDIR}/cinder.init >${WORKDIR}/cinder-scheduler.init.sh
56 install -m 0755 ${WORKDIR}/cinder-scheduler.init.sh ${D}${sysconfdir}/init.d/cinder-scheduler 56 install -m 0755 ${WORKDIR}/cinder-scheduler.init.sh ${D}${sysconfdir}/init.d/cinder-scheduler
57 sed 's:@suffix@:backup:' < ${WORKDIR}/cinder.init >${WORKDIR}/cinder-backup.init.sh
58 install -m 0755 ${WORKDIR}/cinder-backup.init.sh ${D}${sysconfdir}/init.d/cinder-backup
57 install -m 0755 ${WORKDIR}/cinder-volume ${D}${sysconfdir}/init.d/cinder-volume 59 install -m 0755 ${WORKDIR}/cinder-volume ${D}${sysconfdir}/init.d/cinder-volume
58 fi 60 fi
59 61
@@ -103,7 +105,7 @@ pkg_postinst_${SRCNAME}-setup () {
103 fi 105 fi
104} 106}
105 107
106PACKAGES += "${SRCNAME}-tests ${SRCNAME} ${SRCNAME}-setup ${SRCNAME}-api ${SRCNAME}-volume ${SRCNAME}-scheduler" 108PACKAGES += "${SRCNAME}-tests ${SRCNAME} ${SRCNAME}-setup ${SRCNAME}-api ${SRCNAME}-volume ${SRCNAME}-scheduler ${SRCNAME}-backup"
107ALLOW_EMPTY_${SRCNAME}-setup = "1" 109ALLOW_EMPTY_${SRCNAME}-setup = "1"
108 110
109FILES_${PN} = "${libdir}/*" 111FILES_${PN} = "${libdir}/*"
@@ -120,6 +122,9 @@ FILES_${SRCNAME}-volume = "${bindir}/cinder-volume \
120FILES_${SRCNAME}-scheduler = "${bindir}/cinder-scheduler \ 122FILES_${SRCNAME}-scheduler = "${bindir}/cinder-scheduler \
121 ${sysconfdir}/init.d/cinder-scheduler" 123 ${sysconfdir}/init.d/cinder-scheduler"
122 124
125FILES_${SRCNAME}-backup = "${bindir}/cinder-backup \
126 ${sysconfdir}/init.d/cinder-backup"
127
123FILES_${SRCNAME} = "${bindir}/* \ 128FILES_${SRCNAME} = "${bindir}/* \
124 ${sysconfdir}/${SRCNAME}/* \ 129 ${sysconfdir}/${SRCNAME}/* \
125 ${localstatedir}/* \ 130 ${localstatedir}/* \
@@ -166,10 +171,12 @@ RDEPENDS_${SRCNAME}-volume = "${SRCNAME}"
166RDEPENDS_${SRCNAME}-scheduler = "${SRCNAME}" 171RDEPENDS_${SRCNAME}-scheduler = "${SRCNAME}"
167RDEPENDS_${SRCNAME}-setup = "postgresql sudo ${SRCNAME}" 172RDEPENDS_${SRCNAME}-setup = "postgresql sudo ${SRCNAME}"
168 173
169INITSCRIPT_PACKAGES = "${SRCNAME}-api ${SRCNAME}-volume ${SRCNAME}-scheduler" 174INITSCRIPT_PACKAGES = "${SRCNAME}-api ${SRCNAME}-volume ${SRCNAME}-scheduler ${SRCNAME}-backup"
170INITSCRIPT_NAME_${SRCNAME}-api = "cinder-api" 175INITSCRIPT_NAME_${SRCNAME}-api = "cinder-api"
171INITSCRIPT_PARAMS_${SRCNAME}-api = "${OS_DEFAULT_INITSCRIPT_PARAMS}" 176INITSCRIPT_PARAMS_${SRCNAME}-api = "${OS_DEFAULT_INITSCRIPT_PARAMS}"
172INITSCRIPT_NAME_${SRCNAME}-volume = "cinder-volume" 177INITSCRIPT_NAME_${SRCNAME}-volume = "cinder-volume"
173INITSCRIPT_PARAMS_${SRCNAME}-volume = "${OS_DEFAULT_INITSCRIPT_PARAMS}" 178INITSCRIPT_PARAMS_${SRCNAME}-volume = "${OS_DEFAULT_INITSCRIPT_PARAMS}"
174INITSCRIPT_NAME_${SRCNAME}-scheduler = "cinder-scheduler" 179INITSCRIPT_NAME_${SRCNAME}-scheduler = "cinder-scheduler"
175INITSCRIPT_PARAMS_${SRCNAME}-scheduler = "${OS_DEFAULT_INITSCRIPT_PARAMS}" 180INITSCRIPT_PARAMS_${SRCNAME}-scheduler = "${OS_DEFAULT_INITSCRIPT_PARAMS}"
181INITSCRIPT_NAME_${SRCNAME}-backup = "cinder-backup"
182INITSCRIPT_PARAMS_${SRCNAME}-backup = "${OS_DEFAULT_INITSCRIPT_PARAMS}"
diff --git a/meta-openstack/recipes-extended/packagegroups/packagegroup-cloud-controller.bb b/meta-openstack/recipes-extended/packagegroups/packagegroup-cloud-controller.bb
index 2b56292..062fe6e 100644
--- a/meta-openstack/recipes-extended/packagegroups/packagegroup-cloud-controller.bb
+++ b/meta-openstack/recipes-extended/packagegroups/packagegroup-cloud-controller.bb
@@ -28,6 +28,7 @@ RDEPENDS_${PN} = " postgresql-setup \
28 cinder-api \ 28 cinder-api \
29 cinder-volume \ 29 cinder-volume \
30 cinder-scheduler \ 30 cinder-scheduler \
31 cinder-backup \
31 cinder-setup \ 32 cinder-setup \
32 ceilometer-setup \ 33 ceilometer-setup \
33 ceilometer-api \ 34 ceilometer-api \