Skip to content

stratis pool start --unlock-method clevis --name pool1 does NOT find pool #1246

@aanno

Description

@aanno

I encounter the following problem with stratis 3.8.3 on fedora 43.

# clevis is configured and hence the following 2 commands succeeds:
stratis pool start --unlock-method clevis --name pool1
stratis pool start --unlock-method clevis --name pool2

# hence the following also works as expected
stratis pool
Name                  Total / Used / Free        Properties                                   UUID   Alerts
pool1    1.91 TiB / 619.75 GiB / 1.30 TiB    Le, Ca, Cr, Op   2304641c-8acc-4bbd-910a-b70d3138d00f         
pool2   878.89 GiB / 970 MiB / 877.94 GiB    Le,~Ca, Cr, Op   99aa74b7-4ff9-411f-b8a4-d49e3397b0b3   

# however I think this is VERY strange and feels like a bug to me
stratis pool start --unlock-method clevis --name pool1
Execution failed:
It appears that you issued an unintended command: Command 'start' assumes that resource 'pool with name pool1' exists but it was not found.
stratis pool start --unlock-method clevis --name pool2
Execution failed:
It appears that you issued an unintended command: Command 'start' assumes that resource 'pool with name pool2' exists but it was not found.

# same problem with uuid
stratis pool start --unlock-method clevis --uuid 2304641c-8acc-4bbd-910a-b70d3138d00f
Execution failed:
It appears that you issued an unintended command: Command 'start' assumes that resource 'pool with UUID 2304641c-8acc-4bbd-910a-b70d3138d00f' exists but it was not found.
stratis pool start --unlock-method clevis --uuid 99aa74b7-4ff9-411f-b8a4-d49e3397b0b3 
Execution failed:
It appears that you issued an unintended command: Command 'start' assumes that resource 'pool with UUID 99aa74b7-4ff9-411f-b8a4-d49e3397b0b3' exists but it was not found.

Version:

stratis daemon version
3.8.6

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

Status

In Progress (long term)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions