Skip to content

Commit

Permalink
add a nice error message for you
Browse files Browse the repository at this point in the history
  • Loading branch information
faithanalog committed Sep 1, 2023
1 parent f756d72 commit c9e1421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nexus/db-queries/src/db/queries/region_allocation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ pub fn from_pool(e: async_bb8_diesel::PoolError) -> external::Error {
}
NOT_ENOUGH_ZPOOL_SPACE_SENTINEL => {
return external::Error::unavail(
"Not enough zpool space to allocate disks",
"Not enough zpool space to allocate disks. There may not be enough disks with space for the requested region. You may also see this if your rack is in a degraded state, or you're running the default multi-rack topology configuration in a 1-sled development environment.",
);
}
NOT_ENOUGH_UNIQUE_ZPOOLS_SENTINEL => {
Expand Down

0 comments on commit c9e1421

Please sign in to comment.