You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that pylxd marks tmpl_consulserver as not existing.
I'm also noting that the output is a bit flaky and the results can change after adding a new profile. The one constant is that tmpl_consulserver is always marked as not existing.
(edit:ajkavanagh just fixed up formatting)
The text was updated successfully, but these errors were encountered:
Well that's a bit strange. It might be a bug in the underlying LXD implementation; before I 'blame' them, is there anything different, say, between the profiles of tmpl_consulserver and the other variants (with - and _.*1) for example? i.e. please could you past the contents of those profiles.
The "reason" exists comes back as False is if a NotFound exception is raised via the API handling, which would imply a 404 from the LXD daemon. Which as you say, is a bit strange and flaky.
Okay, thanks for letting me know. I'll close it for now, but please feel free to re-open it if you come across it again. The module's tests with sockets isn't very complete at the moment; it's something that I'm working on, as there seem to be a few bugs/issues arising with TCP/IP & web-sockets, whereas most of my testing is with the local unix sockets.
This is with Python 2.7 and pylxd 2.2.5 and lxc version 2.21
I'm running into a situation where pylxd successfully gets a list of all my profiles, but then fails to recognize some of them as existing.
The script below simply iterates through the listing of profiles and then asks if that profile exists:
The result of this script is:
Note that pylxd marks tmpl_consulserver as not existing.
I'm also noting that the output is a bit flaky and the results can change after adding a new profile. The one constant is that tmpl_consulserver is always marked as not existing.
(edit:ajkavanagh just fixed up formatting)
The text was updated successfully, but these errors were encountered: