Advertisement
Guest User

Untitled

a guest
Nov 18th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. (venv-bb8-p3.6) ygmbpro-sf22:bb8 brad$ ./scripts/run-in-k8s.py --job-name=bb8-migration-users -- activate-companies-with-users.py --all-companies --del-missing-users
  2. ./scripts/run-in-k8s.py:129: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  3. job_configmap_data = yaml.load(load_template('_job_configmap.yaml'))
  4. Error from server (NotFound): the server could not find the requested resource
  5. Traceback (most recent call last):
  6. File "./scripts/run-in-k8s.py", line 161, in <module>
  7. main()
  8. File "./scripts/run-in-k8s.py", line 114, in main
  9. publish_manifest(job_configmap)
  10. File "./scripts/run-in-k8s.py", line 122, in publish_manifest
  11. stdout_data = get_output(f'kubectl apply -f {f.name}')
  12. File "./scripts/run-in-k8s.py", line 63, in get_output
  13. return check_output(command.split(' '), **kwargs).decode('utf-8')
  14. File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 336, in check_output
  15. **kwargs).stdout
  16. File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 418, in run
  17. output=stdout, stderr=stderr)
  18. subprocess.CalledProcessError: Command '['kubectl', 'apply', '-f', '/var/folders/50/7vjdxprn4lddt61544975qzc0000gp/T/tmpf3z9f44j.yaml']' returned non-zero exit status 1.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement