* inherit stx-metadata to help install updated
files from stx 'integ' repo.
* remove the local copy of stx files.
Story: 2008952
Task: 42576
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I41e37d1b0808ad86e2610394691ead37c8875326
There are about 30 patches made in upstream stx-ceph
not added in our recipe, and the ceph-mgr-restful issue
was already fixed by one of these patches:
https://github.com/starlingx-staging/stx-ceph/pull/29
So in order to avoid other issues that has been fixed in upstream
stx-ceph, do the following to align with stx 3.0:
- Change to use the sources from stx-ceph git repos.
- Use the sources for third party libs required by ceph from ceph git
repos.
- Remove the patch 0005-Add-hooks-for-orderly-shutdown-on-controller.patch
since it's already included in the source of stx-ceph.
- Fix the hard coded path of libdir in init scripts.
Closes-bug: 1905376
Change-Id: I18e72d79fc06c3a9b0bceceba7da10c6d220958f
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
The hardcoded path /usr/sbin/service in ceph-disk is
incorrect for yocto.
Story: 2008204
Task: 40988
Change-Id: I374a90886ad679595054ab3b75c3438002f52024
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
In stx 3.0, ceph runs with root user and is not meant to
be managed by systemd, so remove ceph user group, and
disable systemd services by default.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
ceph-disk is used by stx puppet manifest but it's replaced by
ceph-volume in ceph 14.1+, and there might be other incompatible
issues, so add version 13.2.2 to align with stx 3.0, the version
14.1 is kept so it may be used by future stx release.
This includes the following changes:
- Add recipe and patches for version 13.2.2
- Set preferred version to 13.2.2
- Rename ceph_%.bbappend to ceph_14.1.0.bbappend
- Update the conf file and scripts from stx 2.0 to stx 3.0
- Remove the useless files in stx-integ
fix #483
fix #497
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>