Skip to content

Commit

Permalink
Adding saml2 support
Browse files Browse the repository at this point in the history
Fixing below error by adding proper pkg

$ ceph dashboard sso show saml2
Error EPERM: Required library not found: `python3-saml`

Closes #57

Signed-off-by: Seyeong Kim <[email protected]>
  • Loading branch information
xtrusia committed Aug 21, 2024
1 parent 74c30f7 commit ce91ec0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ jobs:
- name: use local disk and create partitions for osds
run: |
cd rook
./tests/scripts/github-action-helper.sh use_local_disk
#./tests/scripts/github-action-helper.sh use_local_disk
../test/scripts/cephadm_helper.sh use_local_disk
./tests/scripts/github-action-helper.sh create_partitions_for_osds
- name: Download artifact
Expand Down
1 change: 1 addition & 0 deletions rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ parts:
- python3-natsort
- sharutils
- lsof
- python3-onelogin-saml2

kubectl:
plugin: go
Expand Down
2 changes: 1 addition & 1 deletion scripts/deploy-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function deploy_cluster_with_custom_image() {
}

function deploy_cluster() {
local operator_default="rook/ceph:v1.12.0"
local operator_default="rook/ceph:v1.15.0"
local operator_img=${1:-"$operator_default"}
local cluster_default="$( cat custom-image-spec )"
local cluster_img=${2:-"$cluster_default"}
Expand Down
4 changes: 2 additions & 2 deletions test/scripts/cephadm_helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function prep_docker() {

function use_local_disk() {
sudo lsblk -f
datadisk=$(sudo lsblk --paths | awk '/14G/ || /64G/ {print $1}' | head -1)
datadisk=$(sudo lsblk --paths | awk '/15.3G/ || /65.5G/ {print $1}' | head -1)
sudo apt purge snapd -y
sudo dmsetup version || true
sudo swapoff --all --verbose
Expand Down Expand Up @@ -88,4 +88,4 @@ function test_num_objs() {

FUNCTION="$1"
shift
$FUNCTION "$@"
$FUNCTION "$@"

0 comments on commit ce91ec0

Please sign in to comment.