diff options
Diffstat (limited to 'meta-openstack')
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 | |||
| 1174 | backup_driver=cinder.backup.drivers.ceph | ||
| 1175 | backup_ceph_conf=/etc/ceph/ceph.conf | ||
| 1176 | backup_ceph_user=cinder-backup | ||
| 1177 | backup_ceph_chunk_size=134217728 | ||
| 1178 | backup_ceph_pool=cinder-backups | ||
| 1179 | backup_ceph_stripe_unit=0 | ||
| 1180 | backup_ceph_stripe_count=0 | ||
| 1181 | restore_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 | ||
| 106 | PACKAGES += "${SRCNAME}-tests ${SRCNAME} ${SRCNAME}-setup ${SRCNAME}-api ${SRCNAME}-volume ${SRCNAME}-scheduler" | 108 | PACKAGES += "${SRCNAME}-tests ${SRCNAME} ${SRCNAME}-setup ${SRCNAME}-api ${SRCNAME}-volume ${SRCNAME}-scheduler ${SRCNAME}-backup" |
| 107 | ALLOW_EMPTY_${SRCNAME}-setup = "1" | 109 | ALLOW_EMPTY_${SRCNAME}-setup = "1" |
| 108 | 110 | ||
| 109 | FILES_${PN} = "${libdir}/*" | 111 | FILES_${PN} = "${libdir}/*" |
| @@ -120,6 +122,9 @@ FILES_${SRCNAME}-volume = "${bindir}/cinder-volume \ | |||
| 120 | FILES_${SRCNAME}-scheduler = "${bindir}/cinder-scheduler \ | 122 | FILES_${SRCNAME}-scheduler = "${bindir}/cinder-scheduler \ |
| 121 | ${sysconfdir}/init.d/cinder-scheduler" | 123 | ${sysconfdir}/init.d/cinder-scheduler" |
| 122 | 124 | ||
| 125 | FILES_${SRCNAME}-backup = "${bindir}/cinder-backup \ | ||
| 126 | ${sysconfdir}/init.d/cinder-backup" | ||
| 127 | |||
| 123 | FILES_${SRCNAME} = "${bindir}/* \ | 128 | FILES_${SRCNAME} = "${bindir}/* \ |
| 124 | ${sysconfdir}/${SRCNAME}/* \ | 129 | ${sysconfdir}/${SRCNAME}/* \ |
| 125 | ${localstatedir}/* \ | 130 | ${localstatedir}/* \ |
| @@ -166,10 +171,12 @@ RDEPENDS_${SRCNAME}-volume = "${SRCNAME}" | |||
| 166 | RDEPENDS_${SRCNAME}-scheduler = "${SRCNAME}" | 171 | RDEPENDS_${SRCNAME}-scheduler = "${SRCNAME}" |
| 167 | RDEPENDS_${SRCNAME}-setup = "postgresql sudo ${SRCNAME}" | 172 | RDEPENDS_${SRCNAME}-setup = "postgresql sudo ${SRCNAME}" |
| 168 | 173 | ||
| 169 | INITSCRIPT_PACKAGES = "${SRCNAME}-api ${SRCNAME}-volume ${SRCNAME}-scheduler" | 174 | INITSCRIPT_PACKAGES = "${SRCNAME}-api ${SRCNAME}-volume ${SRCNAME}-scheduler ${SRCNAME}-backup" |
| 170 | INITSCRIPT_NAME_${SRCNAME}-api = "cinder-api" | 175 | INITSCRIPT_NAME_${SRCNAME}-api = "cinder-api" |
| 171 | INITSCRIPT_PARAMS_${SRCNAME}-api = "${OS_DEFAULT_INITSCRIPT_PARAMS}" | 176 | INITSCRIPT_PARAMS_${SRCNAME}-api = "${OS_DEFAULT_INITSCRIPT_PARAMS}" |
| 172 | INITSCRIPT_NAME_${SRCNAME}-volume = "cinder-volume" | 177 | INITSCRIPT_NAME_${SRCNAME}-volume = "cinder-volume" |
| 173 | INITSCRIPT_PARAMS_${SRCNAME}-volume = "${OS_DEFAULT_INITSCRIPT_PARAMS}" | 178 | INITSCRIPT_PARAMS_${SRCNAME}-volume = "${OS_DEFAULT_INITSCRIPT_PARAMS}" |
| 174 | INITSCRIPT_NAME_${SRCNAME}-scheduler = "cinder-scheduler" | 179 | INITSCRIPT_NAME_${SRCNAME}-scheduler = "cinder-scheduler" |
| 175 | INITSCRIPT_PARAMS_${SRCNAME}-scheduler = "${OS_DEFAULT_INITSCRIPT_PARAMS}" | 180 | INITSCRIPT_PARAMS_${SRCNAME}-scheduler = "${OS_DEFAULT_INITSCRIPT_PARAMS}" |
| 181 | INITSCRIPT_NAME_${SRCNAME}-backup = "cinder-backup" | ||
| 182 | INITSCRIPT_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 \ |
