Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix recent radosgw CI/CD pipeline failures #122

Merged
merged 1 commit into from
Nov 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions ci/radosgw.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,27 +42,28 @@ EOF
--config /tmp/ceph.conf \
--cluster-network $NETWORK \
--mon-ip $IP \
--dashboard-password-noupdate \
--initial-dashboard-user admin \
--initial-dashboard-password ceph \
--allow-fqdn-hostname \
--single-host-defaults
--single-host-defaults \
--log-to-file \
--skip-firewalld \
--skip-dashboard \
--skip-monitoring-stack
}

function osd_setup() {
OSD1_BIN=$OSD_BIN_DIR/osd0.bin
OSD2_BIN=$OSD_BIN_DIR/osd1.bin
dd if=/dev/zero of=$OSD1_BIN bs=512M count=1
dd if=/dev/zero of=$OSD2_BIN bs=512M count=1
dd if=/dev/zero of=$OSD1_BIN bs=512M count=2
dd if=/dev/zero of=$OSD2_BIN bs=512M count=2
OSD1_DEV=$(losetup -f)
losetup $OSD1_DEV $OSD1_BIN
OSD2_DEV=$(losetup -f)
losetup $OSD2_DEV $OSD2_BIN
pvcreate $OSD1_DEV
pvcreate $OSD2_DEV
vgcreate rgw $OSD1_DEV $OSD2_DEV
lvcreate -n rgw-ceph-osd0 -L 500M rgw
lvcreate -n rgw-ceph-osd1 -L 500M rgw
lvcreate -n rgw-ceph-osd0 -L 1000M rgw
lvcreate -n rgw-ceph-osd1 -L 1000M rgw
cephadm shell ceph orch daemon add osd $HOSTNAME:/dev/rgw/rgw-ceph-osd0
cephadm shell ceph orch daemon add osd $HOSTNAME:/dev/rgw/rgw-ceph-osd1
}
Expand Down
Loading