Skip to content

Commit

Permalink
add rados command to microceph
Browse files Browse the repository at this point in the history
Add microceph.rados command as part of snapcraft.

rados utility is used in some of the ceph libraries
like [1] and so expose the utility as part of microceph.

[1] https://github.com/juju/charm-helpers

Signed-off-by: Hemanth Nakkina <[email protected]>
  • Loading branch information
hemanthnakkina authored and ChrisMacNaughton committed Apr 20, 2023
1 parent dfece8b commit fdf6d5e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ apps:
command: commands/rbd
plugs:
- network
rados:
command: commands/rados
plugs:
- network

parts:
ceph:
Expand Down Expand Up @@ -127,6 +131,7 @@ parts:
- bin/ceph-osd
- bin/monmaptool
- bin/rbd
- bin/rados
- bin/radosgw
- bin/radosgw-admin
- lib/*/ceph
Expand Down Expand Up @@ -160,6 +165,7 @@ parts:
- lib/*/librabbitmq.so*
- lib/*/librados.so*
- lib/*/libradosgw.so*
- lib/*/libradosstriper.so.*
- lib/*/librbd.so*
- lib/*/librdmacm.so*
- lib/*/libroken.so*
Expand Down
2 changes: 2 additions & 0 deletions snapcraft/commands/rados
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
exec "${SNAP}/bin/rados" "$@"

0 comments on commit fdf6d5e

Please sign in to comment.