Comment 8 for bug 1628316

Revision history for this message
Matthew Edmonds (edmondsw) wrote :

Thanks for your help, Brian. The suggestion in comment 7 didn't work, but it got me going in the right direction, and I've opened separate bugs for the problems that kept it from working.

So as for this defecdt... I agree that find_flavor works, and this was user error. I think the question that remains is whether we just invalidate this bug or use it to make a change so that others aren't opening similar bugs in the future. That change would probably be to detect that a keystoneauth session was used and throw a nice error back. You could wrapper the session and keep going, but you might hit more issues... If we don't need to support this because there are better ways to satisfy the argparse usecase, as there appear to be, I probably wouldn't invest in allowing keystoneauth sessions to be used here.