Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Error with site enabled computer. #11

Open
Chalcahuite opened this issue Sep 9, 2015 · 0 comments
Open

Error with site enabled computer. #11

Chalcahuite opened this issue Sep 9, 2015 · 0 comments

Comments

@Chalcahuite
Copy link

I may be one of the few people using sites, and jss_helper borks on promoting a package in a policy because a Mac is enabled for a site, I presume. Even though most of my population should be assigned to a site, and other policies process OK. Here's the traceback I got today.

Traceback (most recent call last):
File "/usr/local/bin/jss_helper", line 107, in
main()
File "/usr/local/bin/jss_helper", line 100, in main
args.func(args)
File "/usr/local/bin/jss_helper_lib/actions.py", line 571, in promote
policy.save()
File "/Library/Python/2.7/site-packages/jss/jss.py", line 1772, in save
super(Policy, self).save()
File "/Library/Python/2.7/site-packages/jss/jss.py", line 696, in save
raise JSSPutError(put_error)
jss.exceptions.JSSPutError: Response Code: 409 Response: Conflict. Error: Computer (ID:2795, Name:HQSMD-144605) is enabled for a site.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant