Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [197.x.x.x] sudo: /home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/bin/python manage.py migrate_multi --noinput
- [197.x.x.x] out: 2021-05-06 13:39:27,197 INFO synced 'auditcare' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,222 INFO synced 'case' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,244 INFO synced 'domain' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,266 INFO synced 'hqadmin' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,291 INFO synced 'hqmedia' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,312 INFO synced 'couchforms' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,333 INFO synced 'app_manager' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,351 INFO synced 'fixtures' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,374 INFO synced 'users' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,393 INFO synced 'groups' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,411 INFO synced 'mobile_auth' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,433 INFO synced 'userreports' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,449 INFO synced 'builds' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,760 INFO synced 'attachments' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,774 INFO synced 'case_types_by_domain' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,786 INFO synced 'reportconfig' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,798 INFO synced 'users_extra' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,810 INFO synced 'deleted_data' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,825 INFO synced 'case_indices' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,838 INFO synced 'export_instances_by_is_daily_saved' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,852 INFO synced 'cases_by_server_date' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,865 INFO synced 'deleted_users_by_username' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,879 INFO synced 'all_docs' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,891 INFO synced 'all_docs' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,902 INFO synced 'all_docs' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,913 INFO synced 'all_docs' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,924 INFO synced 'all_docs' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,936 INFO synced 'all_docs' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,949 INFO synced 'exports_forms_by_app' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,961 INFO synced 'supply_point_by_loc' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,972 INFO synced 'export_instances_by_domain' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,986 INFO synced 'case_by_domain_hq_user_id_type' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:27,999 INFO synced 'program_by_code' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:28,013 INFO synced 'tests' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:28,029 INFO synced 'forms_by_app_info' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:28,050 INFO synced 'open_cases' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:28,071 INFO synced 'cases_by_owner' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:28,092 INFO synced 'app_translations_by_popularity' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:28,109 INFO synced 'exports_forms_by_xform' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:28,121 INFO synced 'doc_conflicts' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:28,133 INFO synced 'schemas_by_xmlns_or_case_type' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:28,149 INFO synced 'apps_with_submissions' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:28,190 INFO synced 'cases_by_domain_external_id' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:28,205 INFO synced 'form_case_index' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:28,220 INFO synced 'all_forms' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:28,232 INFO synced 'saved_apps_auto_generated' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:28,245 INFO synced 'by_domain_doc_type_date' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:28,258 INFO synced 'by_domain_doc_type_date' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:28,270 INFO synced 'by_domain_doc_type_date' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:28,282 INFO synced 'by_domain_doc_type_date' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:28,301 INFO synced 'by_domain_doc_type_date' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:28,316 INFO synced 'by_domain_doc_type_date' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:28,328 INFO synced 'last_modified' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:28,346 INFO synced 'last_modified' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:28,358 INFO synced 'last_modified' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:28,384 INFO synced 'fluff' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:28,395 INFO synced 'fluff' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:28,415 INFO synced 'fluff_filter' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:28,440 INFO synced 'repeaters' in couchdb
- [197.x.x.x] out: 2021-05-06 13:39:28,469 INFO synced 'pact' in couchdb
- [197.x.x.x] out: Traceback (most recent call last):
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/lib/python3.6/site-packages/django/apps/config.py", line 178, in get_model
- [197.x.x.x] out: return self.models[model_name.lower()]
- [197.x.x.x] out: KeyError: 'apikeysettings'
- [197.x.x.x] out:
- [197.x.x.x] out: During handling of the above exception, another exception occurred:
- [197.x.x.x] out:
- [197.x.x.x] out: Traceback (most recent call last):
- [197.x.x.x] out: File "src/gevent/greenlet.py", line 766, in gevent._greenlet.Greenlet.run
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/corehq/sql_db/management/commands/migrate_multi.py", line 41, in migrate_db
- [197.x.x.x] out: call_command('migrate', *args, **call_options)
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/lib/python3.6/site-packages/django/core/management/__init__.py", line 148, in call_command
- [197.x.x.x] out: return command.execute(*args, **defaults)
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute
- [197.x.x.x] out: output = self.handle(*args, **options)
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/lib/python3.6/site-packages/django/core/management/base.py", line 83, in wrapped
- [197.x.x.x] out: res = handle_func(*args, **kwargs)
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 234, in handle
- [197.x.x.x] out: fake_initial=fake_initial,
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/lib/python3.6/site-packages/django/db/migrations/executor.py", line 117, in migrate
- [197.x.x.x] out: state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/lib/python3.6/site-packages/django/db/migrations/executor.py", line 147, in _migrate_all_forwards
- [197.x.x.x] out: state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/lib/python3.6/site-packages/django/db/migrations/executor.py", line 245, in apply_migration
- [197.x.x.x] out: state = migration.apply(state, schema_editor)
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/lib/python3.6/site-packages/django/db/migrations/migration.py", line 124, in apply
- [197.x.x.x] out: operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/lib/python3.6/site-packages/django/db/migrations/operations/special.py", line 190, in database_forwards
- [197.x.x.x] out: self.code(from_state.apps, schema_editor)
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/corehq/util/django_migrations.py", line 103, in _inner
- [197.x.x.x] out: return migration_fn(*args, **kwargs)
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/corehq/apps/users/migrations/0016_hqapikey.py", line 16, in populate_api_keys
- [197.x.x.x] out: ApiKeySettings = apps.get_model('hqwebapp', 'ApiKeySettings')
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/lib/python3.6/site-packages/django/apps/registry.py", line 210, in get_model
- [197.x.x.x] out: return app_config.get_model(model_name, require_ready=require_ready)
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/lib/python3.6/site-packages/django/apps/config.py", line 181, in get_model
- [197.x.x.x] out: "App '%s' doesn't have a '%s' model." % (self.label, model_name))
- [197.x.x.x] out: LookupError: App 'hqwebapp' doesn't have a 'ApiKeySettings' model.
- [197.x.x.x] out: 2021-05-06T13:39:28Z <Greenlet at 0x7f483012f948: migrate_db('default')> failed with LookupError
- [197.x.x.x] out:
- [197.x.x.x] out:
- [197.x.x.x] out: The following databases will be migrated:
- [197.x.x.x] out: * default
- [197.x.x.x] out: * p1
- [197.x.x.x] out: * p2
- [197.x.x.x] out: * proxy
- [197.x.x.x] out: * synclogs
- [197.x.x.x] out:
- [197.x.x.x] out:
- [197.x.x.x] out: The following databases will be skipped:
- [197.x.x.x] out: * ucr
- [197.x.x.x] out:
- [197.x.x.x] out:
- [197.x.x.x] out: ======================= Error During Migration =======================
- [197.x.x.x] out: <Greenlet at 0x7f483012f948: migrate_db('default')>
- [197.x.x.x] out: Traceback (most recent call last):
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/lib/python3.6/site-packages/django/apps/config.py", line 178, in get_model
- [197.x.x.x] out: return self.models[model_name.lower()]
- [197.x.x.x] out: KeyError: 'apikeysettings'
- [197.x.x.x] out:
- [197.x.x.x] out: During handling of the above exception, another exception occurred:
- [197.x.x.x] out:
- [197.x.x.x] out: Traceback (most recent call last):
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/corehq/sql_db/management/commands/migrate_multi.py", line 64, in handle
- [197.x.x.x] out: job.get()
- [197.x.x.x] out: File "src/gevent/greenlet.py", line 683, in gevent._greenlet.Greenlet.get
- [197.x.x.x] out: File "src/gevent/greenlet.py", line 317, in gevent._greenlet.Greenlet._raise_exception
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/lib/python3.6/site-packages/gevent/_compat.py", line 47, in reraise
- [197.x.x.x] out: raise value.with_traceback(tb)
- [197.x.x.x] out: File "src/gevent/greenlet.py", line 766, in gevent._greenlet.Greenlet.run
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/corehq/sql_db/management/commands/migrate_multi.py", line 41, in migrate_db
- [197.x.x.x] out: call_command('migrate', *args, **call_options)
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/lib/python3.6/site-packages/django/core/management/__init__.py", line 148, in call_command
- [197.x.x.x] out: return command.execute(*args, **defaults)
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute
- [197.x.x.x] out: output = self.handle(*args, **options)
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/lib/python3.6/site-packages/django/core/management/base.py", line 83, in wrapped
- [197.x.x.x] out: res = handle_func(*args, **kwargs)
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 234, in handle
- [197.x.x.x] out: fake_initial=fake_initial,
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/lib/python3.6/site-packages/django/db/migrations/executor.py", line 117, in migrate
- [197.x.x.x] out: state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/lib/python3.6/site-packages/django/db/migrations/executor.py", line 147, in _migrate_all_forwards
- [197.x.x.x] out: state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/lib/python3.6/site-packages/django/db/migrations/executor.py", line 245, in apply_migration
- [197.x.x.x] out: state = migration.apply(state, schema_editor)
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/lib/python3.6/site-packages/django/db/migrations/migration.py", line 124, in apply
- [197.x.x.x] out: operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/lib/python3.6/site-packages/django/db/migrations/operations/special.py", line 190, in database_forwards
- [197.x.x.x] out: self.code(from_state.apps, schema_editor)
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/corehq/util/django_migrations.py", line 103, in _inner
- [197.x.x.x] out: return migration_fn(*args, **kwargs)
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/corehq/apps/users/migrations/0016_hqapikey.py", line 16, in populate_api_keys
- [197.x.x.x] out: ApiKeySettings = apps.get_model('hqwebapp', 'ApiKeySettings')
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/lib/python3.6/site-packages/django/apps/registry.py", line 210, in get_model
- [197.x.x.x] out: return app_config.get_model(model_name, require_ready=require_ready)
- [197.x.x.x] out: File "/home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/lib/python3.6/site-packages/django/apps/config.py", line 181, in get_model
- [197.x.x.x] out: "App '%s' doesn't have a '%s' model." % (self.label, model_name))
- [197.x.x.x] out: LookupError: App 'hqwebapp' doesn't have a 'ApiKeySettings' model.
- [197.x.x.x] out:
- [197.x.x.x] out:
- Fatal error: sudo() received nonzero return code 1 while executing!
- Requested: /home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/bin/python manage.py migrate_multi --noinput
- Executed: sudo -S -p 'sudo password:' -H -u "cchq" /bin/bash -l -c "cd /home/cchq/www/monolith/releases/2021-05-06_13.26 >/dev/null && /home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/bin/python manage.py migrate_multi --noinput"
- Aborting.
- [197.x.x.x] Executing task 'send_email'
- [197.x.x.x] sudo: /home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/bin/python manage.py send_email --to-admins --subject 'Deploy to monolith failed. Try resuming with fab monolith deploy:resume=yes.' 'Traceback:
- File "/home/ccc/commcare-cloud/src/commcare_cloud/fab/fabfile.py", line 406, in _deploy_without_asking
- deploy_checkpoint(index, command.__name__, execute_with_timing, command)
- File "/home/ccc/commcare-cloud/src/commcare_cloud/fab/fabfile.py", line 399, in deploy_checkpoint
- fn(*args, **kwargs)
- File "/home/ccc/commcare-cloud/src/commcare_cloud/fab/utils.py", line 25, in execute_with_timing
- execute(fn, *args, **kwargs)
- File "/home/ccc/.virtualenvs/cchq/lib/python3.6/site-packages/fabric/tasks.py", line 385, in execute
- multiprocessing
- File "/home/ccc/.virtualenvs/cchq/lib/python3.6/site-packages/fabric/tasks.py", line 275, in _execute
- return task.run(*args, **kwargs)
- File "/home/ccc/.virtualenvs/cchq/lib/python3.6/site-packages/fabric/tasks.py", line 172, in run
- return self.wrapped(*args, **kwargs)
- File "/home/ccc/commcare-cloud/src/commcare_cloud/fab/fabfile.py", line 389, in conditionally_stop_pillows_and_celery_during_migrate
- execute_with_timing(db.migrate)
- File "/home/ccc/commcare-cloud/src/commcare_cloud/fab/utils.py", line 25, in execute_with_timing
- execute(fn, *args, **kwargs)
- File "/home/ccc/.virtualenvs/cchq/lib/python3.6/site-packages/fabric/tasks.py", line 385, in execute
- multiprocessing
- File "/home/ccc/.virtualenvs/cchq/lib/python3.6/site-packages/fabric/tasks.py", line 275, in _execute
- return task.run(*args, **kwargs)
- File "/home/ccc/.virtualenvs/cchq/lib/python3.6/site-packages/fabric/tasks.py", line 172, in run
- return self.wrapped(*args, **kwargs)
- File "/home/ccc/.virtualenvs/cchq/lib/python3.6/site-packages/fabric/decorators.py", line 52, in inner_decorator
- return func(*args, **kwargs)
- File "/home/ccc/commcare-cloud/src/commcare_cloud/fab/operations/db.py", line 96, in migrate
- sudo('"'"'%(py3_virtualenv_root)s/bin/python manage.py migrate_multi --noinput'"'"' % env)
- File "/home/ccc/.virtualenvs/cchq/lib/python3.6/site-packages/fabric/network.py", line 654, in host_prompting_wrapper
- return func(*args, **kwargs)
- File "/home/ccc/.virtualenvs/cchq/lib/python3.6/site-packages/fabric/operations.py", line 1121, in sudo
- stderr=stderr, timeout=timeout, shell_escape=shell_escape,
- File "/home/ccc/.virtualenvs/cchq/lib/python3.6/site-packages/fabric/operations.py", line 952, in _run_command
- error(message=msg, stdout=out, stderr=err)
- File "/home/ccc/.virtualenvs/cchq/lib/python3.6/site-packages/fabric/utils.py", line 359, in error
- return func(message)
- File "/home/ccc/.virtualenvs/cchq/lib/python3.6/site-packages/fabric/utils.py", line 55, in abort
- raise env.abort_exception(msg)
- Exception: sudo() received nonzero return code 1 while executing!
- Requested: /home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/bin/python manage.py migrate_multi --noinput
- Executed: sudo -S -p '"'"'sudo password:'"'"' -H -u "cchq" /bin/bash -l -c "cd /home/cchq/www/monolith/releases/2021-05-06_13.26 >/dev/null && /home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/bin/python manage.py migrate_multi --noinput"'
- [197.x.x.x] Executing task 'set_in_progress_flag'
- [197.x.x.x] sudo: /home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/bin/python manage.py deploy_in_progress
- [197.x.x.x] Executing task 'restart_webworkers'
- [197.x.x.x] sudo: supervisorctl stop all
- [197.x.x.x] out: commcare-hq-monolith-errand-boy: stopped
- [197.x.x.x] out: commcare-hq-monolith-form_feed: stopped
- [197.x.x.x] out: commcare-hq-monolith-django: stopped
- [197.x.x.x] out: commcare-hq-monolith-formsplayer-spring: stopped
- [197.x.x.x] out: commcare-hq-monolith-pillow_retry_queue: stopped
- [197.x.x.x] out:
- [197.x.x.x] sudo: supervisorctl reread
- [197.x.x.x] out: No config updates to processes
- [197.x.x.x] out:
- [197.x.x.x] sudo: supervisorctl update
- [197.x.x.x] sudo: supervisorctl start all
- [197.x.x.x] out: commcare-hq-monolith-pillow_retry_queue: started
- [197.x.x.x] out: commcare-hq-monolith-form_feed: started
- [197.x.x.x] out: commcare-hq-monolith-errand-boy: started
- [197.x.x.x] out: commcare-hq-monolith-django: started
- [197.x.x.x] out: commcare-hq-monolith-pillowtop-GroupPillow-0: ERROR (spawn error)
- [197.x.x.x] out: commcare-hq-monolith-pillowtop-UserGroupsDbKafkaPillow-0: ERROR (spawn error)
- [197.x.x.x] out: commcare-hq-monolith-pillowtop-KafkaDomainPillow-0: ERROR (spawn error)
- [197.x.x.x] out: commcare-hq-monolith-pillowtop-XFormToElasticsearchPillow-0: ERROR (spawn error)
- [197.x.x.x] out: commcare-hq-monolith-pillowtop-UserPillow-0: ERROR (spawn error)
- [197.x.x.x] out: commcare-hq-monolith-pillowtop-UnknownUsersPillow-0: ERROR (spawn error)
- [197.x.x.x] out: commcare-hq-monolith-pillowtop-kafka-ucr-static-0: ERROR (spawn error)
- [197.x.x.x] out: commcare-hq-monolith-pillowtop-UserCacheInvalidatePillow-0: ERROR (spawn error)
- [197.x.x.x] out: commcare-hq-monolith-pillowtop-CaseToElasticsearchPillow-0: ERROR (spawn error)
- [197.x.x.x] out: commcare-hq-monolith-pillowtop-GroupToUserPillow-0: ERROR (spawn error)
- [197.x.x.x] out: commcare-hq-monolith-pillowtop-UpdateUserSyncHistoryPillow-0: ERROR (spawn error)
- [197.x.x.x] out: commcare-hq-monolith-pillowtop-DefaultChangeFeedPillow-0: ERROR (spawn error)
- [197.x.x.x] out: commcare-hq-monolith-pillowtop-LedgerToElasticsearchPillow-0: ERROR (spawn error)
- [197.x.x.x] out: commcare-hq-monolith-pillowtop-ApplicationToElasticsearchPillow-0: ERROR (spawn error)
- [197.x.x.x] out: commcare-hq-monolith-pillowtop-AppDbChangeFeedPillow-0: ERROR (spawn error)
- [197.x.x.x] out: commcare-hq-monolith-pillowtop-FormSubmissionMetadataTrackerPillow-0: ERROR (spawn error)
- [197.x.x.x] out: commcare-hq-monolith-pillowtop-CacheInvalidatePillow-0: ERROR (spawn error)
- [197.x.x.x] out: commcare-hq-monolith-pillowtop-DomainDbKafkaPillow-0: ERROR (spawn error)
- [197.x.x.x] out: commcare-hq-monolith-pillowtop-SqlSMSPillow-0: ERROR (spawn error)
- [197.x.x.x] out: commcare-hq-monolith-celerybeat: ERROR (spawn error)
- [197.x.x.x] out: commcare-hq-monolith-celery_repeat_record_queue,celery,case_import_queue,background_queue,export_download_queue,saved_exports_queue,analytics_queue,ucr_queue,async_restore_queue,email_queue,case_rule_queue,celery_periodic_0: ERROR (spawn error)
- [197.x.x.x] out: commcare-hq-monolith-celery_flower: ERROR (spawn error)
- [197.x.x.x] out: commcare-hq-monolith-formsplayer-spring: started
- [197.x.x.x] out:
- Traceback (most recent call last):
- File "/home/ccc/.virtualenvs/cchq/lib/python3.6/site-packages/fabric/main.py", line 749, in main
- *args, **kwargs
- File "/home/ccc/.virtualenvs/cchq/lib/python3.6/site-packages/fabric/tasks.py", line 385, in execute
- multiprocessing
- File "/home/ccc/.virtualenvs/cchq/lib/python3.6/site-packages/fabric/tasks.py", line 275, in _execute
- return task.run(*args, **kwargs)
- File "/home/ccc/.virtualenvs/cchq/lib/python3.6/site-packages/fabric/tasks.py", line 172, in run
- return self.wrapped(*args, **kwargs)
- File "/home/ccc/commcare-cloud/src/commcare_cloud/fab/fabfile.py", line 550, in deploy_commcare
- _deploy_without_asking(skip_record)
- File "/home/ccc/commcare-cloud/src/commcare_cloud/fab/fabfile.py", line 406, in _deploy_without_asking
- deploy_checkpoint(index, command.__name__, execute_with_timing, command)
- File "/home/ccc/commcare-cloud/src/commcare_cloud/fab/fabfile.py", line 399, in deploy_checkpoint
- fn(*args, **kwargs)
- File "/home/ccc/commcare-cloud/src/commcare_cloud/fab/utils.py", line 25, in execute_with_timing
- execute(fn, *args, **kwargs)
- File "/home/ccc/.virtualenvs/cchq/lib/python3.6/site-packages/fabric/tasks.py", line 385, in execute
- multiprocessing
- File "/home/ccc/.virtualenvs/cchq/lib/python3.6/site-packages/fabric/tasks.py", line 275, in _execute
- return task.run(*args, **kwargs)
- File "/home/ccc/.virtualenvs/cchq/lib/python3.6/site-packages/fabric/tasks.py", line 172, in run
- return self.wrapped(*args, **kwargs)
- File "/home/ccc/commcare-cloud/src/commcare_cloud/fab/fabfile.py", line 389, in conditionally_stop_pillows_and_celery_during_migrate
- execute_with_timing(db.migrate)
- File "/home/ccc/commcare-cloud/src/commcare_cloud/fab/utils.py", line 25, in execute_with_timing
- execute(fn, *args, **kwargs)
- File "/home/ccc/.virtualenvs/cchq/lib/python3.6/site-packages/fabric/tasks.py", line 385, in execute
- multiprocessing
- File "/home/ccc/.virtualenvs/cchq/lib/python3.6/site-packages/fabric/tasks.py", line 275, in _execute
- return task.run(*args, **kwargs)
- File "/home/ccc/.virtualenvs/cchq/lib/python3.6/site-packages/fabric/tasks.py", line 172, in run
- return self.wrapped(*args, **kwargs)
- File "/home/ccc/.virtualenvs/cchq/lib/python3.6/site-packages/fabric/decorators.py", line 52, in inner_decorator
- return func(*args, **kwargs)
- File "/home/ccc/commcare-cloud/src/commcare_cloud/fab/operations/db.py", line 96, in migrate
- sudo('%(py3_virtualenv_root)s/bin/python manage.py migrate_multi --noinput' % env)
- File "/home/ccc/.virtualenvs/cchq/lib/python3.6/site-packages/fabric/network.py", line 654, in host_prompting_wrapper
- return func(*args, **kwargs)
- File "/home/ccc/.virtualenvs/cchq/lib/python3.6/site-packages/fabric/operations.py", line 1121, in sudo
- stderr=stderr, timeout=timeout, shell_escape=shell_escape,
- File "/home/ccc/.virtualenvs/cchq/lib/python3.6/site-packages/fabric/operations.py", line 952, in _run_command
- error(message=msg, stdout=out, stderr=err)
- File "/home/ccc/.virtualenvs/cchq/lib/python3.6/site-packages/fabric/utils.py", line 359, in error
- return func(message)
- File "/home/ccc/.virtualenvs/cchq/lib/python3.6/site-packages/fabric/utils.py", line 55, in abort
- raise env.abort_exception(msg)
- Exception: sudo() received nonzero return code 1 while executing!
- Requested: /home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/bin/python manage.py migrate_multi --noinput
- Executed: sudo -S -p 'sudo password:' -H -u "cchq" /bin/bash -l -c "cd /home/cchq/www/monolith/releases/2021-05-06_13.26 >/dev/null && /home/cchq/www/monolith/releases/2021-05-06_13.26/python_env-3.6/bin/python manage.py migrate_multi --noinput"
- Disconnecting from 197.x.x.x... done.
- You have new mail in /var/mail/ccc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement