Closed coxley closed 8 years ago
Update: This might be a red herring, but there's definitely a bug or two now.
Witnessing behavior where a REQUIRED_ATTRS
attribute isn't being ensured, site_id isn't applied to resources when --noop
is called, and perhaps pre-emptive "SUCCESS" logs are being printed out before anything has been don.
Will investigate harder soon. Itests will make this so much better!
Confirmed that something is wonky with logs compared to actuality.
Site selection does work but network resources can be claimed to be created when they aren't.
I take back my confirmation. There appears to be a couple bugs upstream in newer version of NSoT. The site functionality works so this issue should be closed.
Very important ASAP fix.
It appears that my understanding of the API behavior regarding assigning site id was incorrect. Currently we are doing:
and regardless of the
site_id
value it'll get set to.pynsotrc
default_site
. I quickly tried instantiating the client with:and that obviously didn't work. May need to raise an issue upstream? Will try fiddling around first, but having to do:
would be annoying but working. (maybe?)