Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (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
- ./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.
- job_configmap_data = yaml.load(load_template('_job_configmap.yaml'))
- Error from server (NotFound): the server could not find the requested resource
- Traceback (most recent call last):
- File "./scripts/run-in-k8s.py", line 161, in <module>
- main()
- File "./scripts/run-in-k8s.py", line 114, in main
- publish_manifest(job_configmap)
- File "./scripts/run-in-k8s.py", line 122, in publish_manifest
- stdout_data = get_output(f'kubectl apply -f {f.name}')
- File "./scripts/run-in-k8s.py", line 63, in get_output
- return check_output(command.split(' '), **kwargs).decode('utf-8')
- File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 336, in check_output
- **kwargs).stdout
- File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 418, in run
- output=stdout, stderr=stderr)
- 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