diff --git a/.github/workflows/integration-tests-on-release.yaml b/.github/workflows/integration-tests-on-release.yaml index 050adf3c8..72bc80517 100644 --- a/.github/workflows/integration-tests-on-release.yaml +++ b/.github/workflows/integration-tests-on-release.yaml @@ -44,6 +44,10 @@ jobs: # search for the device since it keeps changing between sda and sdb sudo wipefs --all --force /dev/$(lsblk|awk '/14G/ {print $1}'| head -1)1 sudo lsblk + # add a udev rule to force the disk partitions to ceph + # we have observed that some runners keep detaching/re-attaching the additional disk overriding the permissions to the default root:disk + # for more details see: https://github.com/rook/rook/issues/7405 + echo "SUBSYSTEM==\"block\", ATTR{size}==\"29356032\", ACTION==\"add\", RUN+=\"/bin/chown 167:167 $PARTITION\"" | sudo tee -a /etc/udev/rules.d/01-rook.rules - name: build rook run: | @@ -104,6 +108,10 @@ jobs: # search for the device since it keeps changing between sda and sdb sudo wipefs --all --force /dev/$(lsblk|awk '/14G/ {print $1}'| head -1)1 sudo lsblk + # add a udev rule to force the disk partitions to ceph + # we have observed that some runners keep detaching/re-attaching the additional disk overriding the permissions to the default root:disk + # for more details see: https://github.com/rook/rook/issues/7405 + echo "SUBSYSTEM==\"block\", ATTR{size}==\"29356032\", ACTION==\"add\", RUN+=\"/bin/chown 167:167 $PARTITION\"" | sudo tee -a /etc/udev/rules.d/01-rook.rules - name: build rook run: | @@ -166,6 +174,10 @@ jobs: # search for the device since it keeps changing between sda and sdb sudo wipefs --all --force /dev/$(lsblk|awk '/14G/ {print $1}'| head -1)1 sudo lsblk + # add a udev rule to force the disk partitions to ceph + # we have observed that some runners keep detaching/re-attaching the additional disk overriding the permissions to the default root:disk + # for more details see: https://github.com/rook/rook/issues/7405 + echo "SUBSYSTEM==\"block\", ATTR{size}==\"29356032\", ACTION==\"add\", RUN+=\"/bin/chown 167:167 $PARTITION\"" | sudo tee -a /etc/udev/rules.d/01-rook.rules - name: build rook run: | @@ -227,6 +239,10 @@ jobs: # search for the device since it keeps changing between sda and sdb sudo wipefs --all --force /dev/$(lsblk|awk '/14G/ {print $1}'| head -1)1 sudo lsblk + # add a udev rule to force the disk partitions to ceph + # we have observed that some runners keep detaching/re-attaching the additional disk overriding the permissions to the default root:disk + # for more details see: https://github.com/rook/rook/issues/7405 + echo "SUBSYSTEM==\"block\", ATTR{size}==\"29356032\", ACTION==\"add\", RUN+=\"/bin/chown 167:167 $PARTITION\"" | sudo tee -a /etc/udev/rules.d/01-rook.rules - name: build rook run: | @@ -287,6 +303,10 @@ jobs: # search for the device since it keeps changing between sda and sdb sudo wipefs --all --force /dev/$(lsblk|awk '/14G/ {print $1}'| head -1)1 sudo lsblk + # add a udev rule to force the disk partitions to ceph + # we have observed that some runners keep detaching/re-attaching the additional disk overriding the permissions to the default root:disk + # for more details see: https://github.com/rook/rook/issues/7405 + echo "SUBSYSTEM==\"block\", ATTR{size}==\"29356032\", ACTION==\"add\", RUN+=\"/bin/chown 167:167 $PARTITION\"" | sudo tee -a /etc/udev/rules.d/01-rook.rules - name: build rook run: |