Created
July 23, 2020 15:57
-
-
Save pvanheus/2e8df28121125b18553832284a9558cd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
run-parts: executing /app/scripts/0_init_container.sh | |
Apply database migrations from /app/cloudman | |
/app/venv/lib/python3.6/site-packages/urllib3/connectionpool.py:986: InsecureRequestWarning: Unverified HTTPS request is being made to host '192.168.10.54'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings | |
InsecureRequestWarning, | |
System check identified some issues: | |
WARNINGS: | |
?: (urls.W005) URL namespace 'admin' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'djcloudbridge' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'pubapp' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'rest_auth' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'rest_auth_reg' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'rest_auth_reg:rest_auth_reg' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'rest_framework' isn't unique. You may not be able to reverse all URLs in this namespace | |
Operations to perform: | |
Apply all migrations: account, admin, auth, bossoidc, cloudlaunch, clusterman, contenttypes, django_celery_beat, django_celery_results, djcloudbridge, helmsman, projman, public_appliances, sessions, sites, socialaccount | |
Running migrations: | |
No migrations to apply. | |
Migrations successfully applied | |
Load initial data from /app/initial_data/*.json | |
/app/venv/lib/python3.6/site-packages/urllib3/connectionpool.py:986: InsecureRequestWarning: Unverified HTTPS request is being made to host '192.168.10.54'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings | |
InsecureRequestWarning, | |
System check identified some issues: | |
WARNINGS: | |
?: (urls.W005) URL namespace 'admin' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'djcloudbridge' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'pubapp' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'rest_auth' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'rest_auth_reg' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'rest_auth_reg:rest_auth_reg' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'rest_framework' isn't unique. You may not be able to reverse all URLs in this namespace | |
CommandError: No fixture named '*' found. | |
Create a superuser | |
Superuser admin creation skipped. | |
Successfully created the superuser | |
run-parts: executing /app/scripts/load_bootstrap.sh | |
/app/venv/lib/python3.6/site-packages/urllib3/connectionpool.py:986: InsecureRequestWarning: Unverified HTTPS request is being made to host '192.168.10.54'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings | |
InsecureRequestWarning, | |
System check identified some issues: | |
WARNINGS: | |
?: (urls.W005) URL namespace 'admin' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'djcloudbridge' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'pubapp' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'rest_auth' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'rest_auth_reg' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'rest_auth_reg:rest_auth_reg' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'rest_framework' isn't unique. You may not be able to reverse all URLs in this namespace | |
Traceback (most recent call last): | |
File "/app/venv/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute | |
return self.cursor.execute(sql, params) | |
psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "cloudlaunch_applicationv_application_version_id_t_ece11bfa_uniq" | |
DETAIL: Key (application_version_id, target_id)=(1, 1) already exists. | |
The above exception was the direct cause of the following exception: | |
Traceback (most recent call last): | |
File "manage.py", line 22, in <module> | |
execute_from_command_line(sys.argv) | |
File "/app/venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line | |
utility.execute() | |
File "/app/venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 375, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/app/venv/lib/python3.6/site-packages/django/core/management/base.py", line 323, in run_from_argv | |
self.execute(*args, **cmd_options) | |
File "/app/venv/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute | |
output = self.handle(*args, **options) | |
File "/app/cloudman/clusterman/management/commands/import_cloud_data.py", line 32, in handle | |
self.load_cloud_data(decoded_data) | |
File "/app/cloudman/clusterman/management/commands/import_cloud_data.py", line 106, in load_cloud_data | |
application_version=version, target=target, image=image_obj) | |
File "/app/venv/lib/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/app/venv/lib/python3.6/site-packages/django/db/models/query.py", line 422, in create | |
obj.save(force_insert=True, using=self.db) | |
File "/app/venv/lib/python3.6/site-packages/cloudlaunch/models.py", line 212, in save | |
return super(ApplicationVersionTargetConfig, self).save() | |
File "/app/venv/lib/python3.6/site-packages/polymorphic/models.py", line 93, in save | |
return super(PolymorphicModel, self).save(*args, **kwargs) | |
File "/app/venv/lib/python3.6/site-packages/django/db/models/base.py", line 741, in save | |
force_update=force_update, update_fields=update_fields) | |
File "/app/venv/lib/python3.6/site-packages/django/db/models/base.py", line 776, in save_base | |
parent_inserted = self._save_parents(cls, using, update_fields) | |
File "/app/venv/lib/python3.6/site-packages/django/db/models/base.py", line 807, in _save_parents | |
force_insert=parent_inserted, | |
File "/app/venv/lib/python3.6/site-packages/django/db/models/base.py", line 870, in _save_table | |
result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) | |
File "/app/venv/lib/python3.6/site-packages/django/db/models/base.py", line 908, in _do_insert | |
using=using, raw=raw) | |
File "/app/venv/lib/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/app/venv/lib/python3.6/site-packages/django/db/models/query.py", line 1186, in _insert | |
return query.get_compiler(using=using).execute_sql(return_id) | |
File "/app/venv/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1375, in execute_sql | |
cursor.execute(sql, params) | |
File "/app/venv/lib/python3.6/site-packages/sentry_sdk/integrations/django/__init__.py", line 298, in execute | |
return real_execute(self, sql, params) | |
File "/app/venv/lib/python3.6/site-packages/django/db/backends/utils.py", line 67, in execute | |
return self._execute_with_wrappers(sql, params, many=False, executor=self._execute) | |
File "/app/venv/lib/python3.6/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers | |
return executor(sql, params, many, context) | |
File "/app/venv/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute | |
return self.cursor.execute(sql, params) | |
File "/app/venv/lib/python3.6/site-packages/django/db/utils.py", line 89, in __exit__ | |
raise dj_exc_value.with_traceback(traceback) from exc_value | |
File "/app/venv/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute | |
return self.cursor.execute(sql, params) | |
django.db.utils.IntegrityError: duplicate key value violates unique constraint "cloudlaunch_applicationv_application_version_id_t_ece11bfa_uniq" | |
DETAIL: Key (application_version_id, target_id)=(1, 1) already exists. | |
/app/venv/lib/python3.6/site-packages/urllib3/connectionpool.py:986: InsecureRequestWarning: Unverified HTTPS request is being made to host '192.168.10.54'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings | |
InsecureRequestWarning, | |
System check identified some issues: | |
WARNINGS: | |
?: (urls.W005) URL namespace 'admin' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'djcloudbridge' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'pubapp' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'rest_auth' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'rest_auth_reg' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'rest_auth_reg:rest_auth_reg' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'rest_framework' isn't unique. You may not be able to reverse all URLs in this namespace | |
Creating cluster: ubuntu-genomics-virtual-lab-20-07-22t21-22, type: cluster_type | |
cluster already exists. Reinitialized. | |
/app/venv/lib/python3.6/site-packages/urllib3/connectionpool.py:986: InsecureRequestWarning: Unverified HTTPS request is being made to host '192.168.10.54'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings | |
InsecureRequestWarning, | |
Creating autoscale user: autoscaleuser | |
System check identified some issues: | |
WARNINGS: | |
?: (urls.W005) URL namespace 'admin' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'djcloudbridge' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'pubapp' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'rest_auth' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'rest_auth_reg' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'rest_auth_reg:rest_auth_reg' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'rest_framework' isn't unique. You may not be able to reverse all URLs in this namespace | |
Autoscale user already exists. | |
/app/venv/lib/python3.6/site-packages/urllib3/connectionpool.py:986: InsecureRequestWarning: Unverified HTTPS request is being made to host '192.168.10.54'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings | |
InsecureRequestWarning, | |
System check identified some issues: | |
WARNINGS: | |
?: (urls.W005) URL namespace 'admin' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'djcloudbridge' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'pubapp' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'rest_auth' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'rest_auth_reg' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'rest_auth_reg:rest_auth_reg' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'rest_framework' isn't unique. You may not be able to reverse all URLs in this namespace | |
Error: looks like "https://raw.githubusercontent.com/cloudve/helm-charts/gvl-5.0/" is not a valid chart repository or cannot be reached: Get https://raw.githubusercontent.com/cloudve/helm-charts/gvl-5.0/index.yaml: net/http: TLS handshake timeout | |
Traceback (most recent call last): | |
File "/app/cloudman/clusterman/clients/helpers.py", line 16, in run_command | |
stderr=stderr) | |
File "/usr/lib/python3.6/subprocess.py", line 356, in check_output | |
**kwargs).stdout | |
File "/usr/lib/python3.6/subprocess.py", line 438, in run | |
output=stdout, stderr=stderr) | |
subprocess.CalledProcessError: Command '['helm', 'repo', 'add', 'cloudve', 'https://raw.githubusercontent.com/cloudve/helm-charts/gvl-5.0/']' returned non-zero exit status 1. | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "manage.py", line 22, in <module> | |
execute_from_command_line(sys.argv) | |
File "/app/venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line | |
utility.execute() | |
File "/app/venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 375, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/app/venv/lib/python3.6/site-packages/django/core/management/base.py", line 323, in run_from_argv | |
self.execute(*args, **cmd_options) | |
File "/app/venv/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute | |
output = self.handle(*args, **options) | |
File "/app/cloudman/helmsman/management/commands/helmsman_load_config.py", line 18, in handle | |
self.process_settings(settings) | |
File "/app/cloudman/helmsman/management/commands/helmsman_load_config.py", line 23, in process_settings | |
call_command("add_repo", repo.get('name'), repo.get('url')) | |
File "/app/venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 148, in call_command | |
return command.execute(*args, **defaults) | |
File "/app/venv/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute | |
output = self.handle(*args, **options) | |
File "/app/cloudman/helmsman/management/commands/add_repo.py", line 14, in handle | |
self.add_chart(options['name'], options['url']) | |
File "/app/cloudman/helmsman/management/commands/add_repo.py", line 19, in add_chart | |
client.repositories.create(name, url) | |
File "/app/cloudman/helmsman/clients/helm_client.py", line 186, in create | |
return helpers.run_command(["helm", "repo", "add", repo_name, url]) | |
File "/app/cloudman/clusterman/clients/helpers.py", line 18, in run_command | |
raise CMRunCommandException(f"Error running command: {e.output}") | |
clusterman.exceptions.CMRunCommandException: Error running command: | |
/app/venv/lib/python3.6/site-packages/urllib3/connectionpool.py:986: InsecureRequestWarning: Unverified HTTPS request is being made to host '192.168.10.54'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings | |
InsecureRequestWarning, | |
System check identified some issues: | |
WARNINGS: | |
?: (urls.W005) URL namespace 'admin' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'djcloudbridge' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'pubapp' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'rest_auth' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'rest_auth_reg' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'rest_auth_reg:rest_auth_reg' isn't unique. You may not be able to reverse all URLs in this namespace | |
?: (urls.W005) URL namespace 'rest_framework' isn't unique. You may not be able to reverse all URLs in this namespace | |
Creating project: initial | |
Installing template galaxy into project: initial | |
--- Logging error --- | |
Traceback (most recent call last): | |
File "/app/cloudman/helmsman/api.py", line 319, in get | |
obj = models.HMInstallTemplate.objects.get(name=name) | |
File "/app/venv/lib/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/app/venv/lib/python3.6/site-packages/django/db/models/query.py", line 408, in get | |
self.model._meta.object_name | |
helmsman.models.HMInstallTemplate.DoesNotExist: HMInstallTemplate matching query does not exist. | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/app/cloudman/projman/management/commands/install_template_in_project.py", line 46, in install_template_in_project | |
values, context) | |
File "/app/cloudman/projman/api.py", line 204, in create | |
template = self._get_helmsman_api().templates.get(template_name) | |
File "/app/cloudman/helmsman/api.py", line 321, in get | |
raise InstallTemplateNotFoundException("Could not find install template '%s'" % name) | |
helmsman.api.InstallTemplateNotFoundException: Could not find install template 'galaxy' | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit | |
msg = self.format(record) | |
File "/usr/lib/python3.6/logging/__init__.py", line 840, in format | |
return fmt.format(record) | |
File "/usr/lib/python3.6/logging/__init__.py", line 577, in format | |
record.message = record.getMessage() | |
File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage | |
msg = msg % self.args | |
TypeError: not all arguments converted during string formatting | |
Call stack: | |
File "manage.py", line 22, in <module> | |
execute_from_command_line(sys.argv) | |
File "/app/venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line | |
utility.execute() | |
File "/app/venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 375, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/app/venv/lib/python3.6/site-packages/django/core/management/base.py", line 323, in run_from_argv | |
self.execute(*args, **cmd_options) | |
File "/app/venv/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute | |
output = self.handle(*args, **options) | |
File "/app/cloudman/projman/management/commands/projman_load_config.py", line 16, in handle | |
self.process_settings(settings) | |
File "/app/cloudman/projman/management/commands/projman_load_config.py", line 34, in process_settings | |
values, context) | |
File "/app/venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 148, in call_command | |
return command.execute(*args, **defaults) | |
File "/app/venv/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute | |
output = self.handle(*args, **options) | |
File "/app/cloudman/projman/management/commands/install_template_in_project.py", line 29, in handle | |
context=context) | |
File "/app/cloudman/projman/management/commands/install_template_in_project.py", line 58, in install_template_in_project | |
f"into project '{project_name}'", e) | |
File "/usr/lib/python3.6/logging/__init__.py", line 1877, in exception | |
error(msg, *args, exc_info=exc_info, **kwargs) | |
File "/usr/lib/python3.6/logging/__init__.py", line 1869, in error | |
root.error(msg, *args, **kwargs) | |
File "/usr/lib/python3.6/logging/__init__.py", line 1337, in error | |
self._log(ERROR, msg, args, **kwargs) | |
File "/usr/lib/python3.6/logging/__init__.py", line 1444, in _log | |
self.handle(record) | |
File "/usr/lib/python3.6/logging/__init__.py", line 1454, in handle | |
self.callHandlers(record) | |
File "/app/venv/lib/python3.6/site-packages/sentry_sdk/integrations/logging.py", line 58, in sentry_patched_callhandlers | |
return old_callhandlers(self, record) | |
Error occurred while installing template 'galaxy' into project 'initial' Could not find install template 'galaxy' | |
Message: "An error occurred while installing template 'galaxy' into project 'initial'" | |
Arguments: (InstallTemplateNotFoundException("Could not find install template 'galaxy'",),) | |
Traceback (most recent call last): | |
File "/app/cloudman/helmsman/api.py", line 319, in get | |
obj = models.HMInstallTemplate.objects.get(name=name) | |
File "/app/venv/lib/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/app/venv/lib/python3.6/site-packages/django/db/models/query.py", line 408, in get | |
self.model._meta.object_name | |
helmsman.models.DoesNotExist: HMInstallTemplate matching query does not exist. | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "manage.py", line 22, in <module> | |
execute_from_command_line(sys.argv) | |
File "/app/venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line | |
utility.execute() | |
File "/app/venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 375, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/app/venv/lib/python3.6/site-packages/django/core/management/base.py", line 323, in run_from_argv | |
self.execute(*args, **cmd_options) | |
File "/app/venv/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute | |
output = self.handle(*args, **options) | |
File "/app/cloudman/projman/management/commands/projman_load_config.py", line 16, in handle | |
self.process_settings(settings) | |
File "/app/cloudman/projman/management/commands/projman_load_config.py", line 34, in process_settings | |
values, context) | |
File "/app/venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 148, in call_command | |
return command.execute(*args, **defaults) | |
File "/app/venv/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute | |
output = self.handle(*args, **options) | |
File "/app/cloudman/projman/management/commands/install_template_in_project.py", line 29, in handle | |
context=context) | |
File "/app/cloudman/projman/management/commands/install_template_in_project.py", line 62, in install_template_in_project | |
raise e | |
File "/app/cloudman/projman/management/commands/install_template_in_project.py", line 46, in install_template_in_project | |
values, context) | |
File "/app/cloudman/projman/api.py", line 204, in create | |
template = self._get_helmsman_api().templates.get(template_name) | |
File "/app/cloudman/helmsman/api.py", line 321, in get | |
raise InstallTemplateNotFoundException("Could not find install template '%s'" % name) | |
helmsman.api.InstallTemplateNotFoundException: Could not find install template 'galaxy' | |
run-parts: /app/scripts/load_bootstrap.sh exited with return code 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment