Skip to content

v0.1.17 — fix false 'Failed to create token'

Choose a tag to compare

@abarbarich abarbarich released this 21 Sep 22:26
· 3 commits to main since this release
Immutable release. Only release title and notes can be modified.

Add-a-machine wizard: fixes "Failed to create token" showing when the token had actually been created on the node.

The onboarding script's error output was captured in the same buffer as its normal output, so any warning from pveum (locale/Perl notices and the like) appearing in the middle of the token JSON broke parsing. ProxView then reported failure even though the token existed — and every retry deleted and recreated it. The two streams are now kept separate and the token JSON is extracted robustly.

If token creation genuinely fails, the wizard now shows the reason from the node (for example cluster not ready - no quorum?) instead of a bare "Failed to create token".