Skip to content

Commit

Permalink
Fixed cephadm deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
UtkarshBhatthere committed Nov 22, 2024
1 parent 4dad8ff commit 103877a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/scripts/cephadm_helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ function install_apt() {
function bootstrap() {
local image="${1:missing}"
local ip="${2:?missing}"
sudo cephadm --image $image bootstrap --mon-ip $ip --single-host-defaults
# skipping dashboard since the pyo3 dependency for cryptography has failures.
sudo cephadm --image $image bootstrap --mon-ip $ip --single-host-defaults --skip-dashboard
df -H
}

Expand All @@ -84,7 +85,7 @@ function deploy_cephadm() {
local ip=$( get_ip )

install_apt
bootstrap $ip:5000/canonical/ceph:latest $ip
bootstrap localhost:5000/canonical/ceph:latest $ip
test_num_objs mon 1
}

Expand All @@ -111,9 +112,8 @@ function test_num_objs() {
function poll_obj_count() {
local what=${1:?missing}
local count=${2:?missing}
local timeout=${3:?missing}

echo "Polling for $what to reach $count under $timeout"
echo "Polling for $what to reach $count"
i=0
for i in $(seq 1 10); do
num_objs=$( get_num_objs $what )
Expand Down

0 comments on commit 103877a

Please sign in to comment.