Skip to content

Failed session request should add reason/detail #892

Description

@nphilipp
<Zhenech> can't reserve nodes: quantity=1 pool='metal-ec2-c5n-centos-8s-x86_64'
<arrfab> pool=<name>,quantity=<number> ?
<Zhenech> that's ansible pretty output
<Zhenech> the request was "correct" (as in it always worked before)
<Zhenech> new run succeeded :shrug:
<arrfab> probably not enough machines in ready state in that pool ?
<Zhenech> maybe. right now it shows 2 ready, but no idea what was during the request
<Zhenech> (duffy[client] doesnt check that itself, right?)
<arrfab> Zhenech: if you use show-pool <pool_name>
* mrc0mmand has quit (*.net *.split)
<Zhenech> sure, but why would I? I say (in ansible, but that are details) "duffy client request-session" and that returns me "DuffyApiErrorDetailModel(detail=\"can't reserve nodes: quantity=1 pool='metal-ec2-c5n-centos-8s-x86_64'\")" which is, not a lot of detail ;)
<Zhenech> should I RFE a "reason" in the error?
<arrfab> Zhenech: why not ? :-) ... nils can have a look at this if he has free time :-p

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions