Skip to content
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

Improve error handling and diagnostics in the proxmox salt-cloud driver #62212

Closed
wants to merge 1 commit into from

Conversation

pjcreath
Copy link
Contributor

@pjcreath pjcreath commented Jun 24, 2022

What does this PR do?

Raises an exception on authentication errors and logs full error details returned by the Proxmox server during VM creation.

What issues does this PR fix or reference?

Fixes: #62211

Previous Behavior

Error messages that prevent effective troubleshooting

New Behavior

  • Authentication errors now report "401 Client Error: authentication failure".
  • Parameter verification failures now include the details returned by the Proxmox server. This fix is generalized so that any additional information provided by the server during VM creation is logged, not just this particular error.

Merge requirements satisfied?

Commits signed with GPG?

Yes

@pjcreath pjcreath requested a review from a team as a code owner June 24, 2022 01:44
@pjcreath pjcreath requested review from twangboy and removed request for a team June 24, 2022 01:44
@pjcreath
Copy link
Contributor Author

pjcreath commented Jul 2, 2022

re-run full pr-centosstream-9-x86_64-py3-pytest

@pjcreath pjcreath force-pushed the proxmox-error-handling branch 2 times, most recently from d3e27da to 84cbc33 Compare July 5, 2022 01:46
@pjcreath
Copy link
Contributor Author

pjcreath commented Jul 6, 2022

@Ch3LL it looks like this got auto-assigned to a reviewer who's away? Is there some way that I can get another randomly-assigned reviewer without pestering you?

@pjcreath
Copy link
Contributor Author

@s0undt3ch, this PR is also still in limbo.

@pjcreath
Copy link
Contributor Author

I've found another bug in the proxmox salt-cloud driver. Should I create new a PR based on master or should I add a commit to this PR?

@pjcreath
Copy link
Contributor Author

Closed, superseded by #62559.

@pjcreath pjcreath closed this Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] proxmox salt-cloud driver provides inadequate information on errors
1 participant