7 Commits

Author SHA1 Message Date
Jackie Huang
14e979e087 ceph: update for stx 5.0
* 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
2021-07-23 15:29:35 +08:00
Jackie Huang
a60eb42a1d ceph: use the sources from upstream git repos
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>
2020-11-24 17:17:59 +08:00
Jackie Huang
1eb2bd622a ceph: fix the path for service in ceph-disk
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>
2020-10-28 21:36:19 +08:00
Jackie Huang
1bdadaaafb ceph: remove ceph user and disable systemd services
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>
2020-06-17 13:49:29 -07:00
Jackie Huang
46d78550bd ceph: add version 13.2.2 and align with stx 3.0
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>
2020-06-17 08:55:01 -07:00
Babak Sarashki
63b6601bdd meta-stx: update LICENSE and copyright info
- Change License from Apache2 to MIT.
- Remove Copyright from individual recipes
- Move License to README.md
- Add meta-stx Copyright to README.md

Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-06-08 13:00:26 -07:00
Saul Wold
7ff76ff3b1 ceph: Move to meta-stx-virt
Ceph is part of virtualization, so move it here.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2020-05-17 16:00:29 -07:00