Skip to content

[blueprint-planner] Don't fail on sleds with no zpools #8355

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Load example system
load-example --nsleds 3 --ndisks-per-sled 3

# Show the sleds, blueprints, and inventory collections we have.
sled-list
blueprint-list
inventory-list

# Add a new sled with no disks.
sled-add --ndisks 0

# Generate a new inventory collection that includes that sled.
inventory-generate

# Try to plan a new blueprint; this should be okay even though the sled
# we added has no disks.
blueprint-plan dbcbd3d6-41ff-48ae-ac0b-1becc9b2fd21 eb0796d5-ab8a-4f7b-a884-b4aeacb8ab51
blueprint-show 8da82a8e-bf97-4fbd-8ddd-9f6462732cf1
Empty file.
Loading
Loading